/* Font Face Declarations */
@font-face {
    font-family: 'Mexcellent3D';
    src: url('../media/fonts/Mexcellent3D-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mexcellent';
    src: url('../media/fonts/Mexcellent-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ball-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.logo h1 {
    font-family: 'Mexcellent3D', 'Mexcellent', sans-serif;
    font-size: 4rem;
    font-weight: normal;
    background: linear-gradient(135deg, #22c55e, #16a34a, #15803d, #22c55e);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        1px 1px 0px rgba(34, 197, 94, 0.3),
        2px 2px 0px rgba(22, 163, 74, 0.2),
        3px 3px 0px rgba(21, 128, 61, 0.15),
        0 0 10px rgba(34, 197, 94, 0.25);
    animation: gradientShift 3s ease-in-out infinite, titleGlow 2s ease-in-out infinite alternate;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    transform: perspective(500px) rotateX(15deg);
}

.logo h1::before {
    content: 'FURGOL';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(2px);
    z-index: -1;
    opacity: 0.7;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(34, 197, 94, 0.5), 0 0 40px rgba(22, 163, 74, 0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(34, 197, 94, 0.8), 0 0 60px rgba(22, 163, 74, 0.5), 0 0 80px rgba(21, 128, 61, 0.3);
    }
}

/* Main Content */
.main {
    padding: 40px 0;
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 80px;
}

.hero-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Coming Soon Badge */
.coming-soon {
    margin-bottom: 50px;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(245, 158, 11, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    }
}

.badge-text {
    font-size: 1.1rem;
}

/* Email Signup Section */
.signup-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.signup-section h3 {
    font-size: 1.8rem;
    color: #16a34a;
    margin-bottom: 10px;
    font-weight: 600;
}

.signup-section p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.email-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.email-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    font-size: 0.9rem;
    padding: 10px 0;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-message.success {
    color: #059669;
    background: #d1fae5;
    padding: 12px;
}

.form-message.error {
    color: #dc2626;
    background: #fee2e2;
    padding: 12px;
}

/* Hero Visual - Football Field */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.field-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/2;
}

.football-field {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.3);
    border: 4px solid #15803d;
}

.field-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid white;
    border-radius: 16px;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 3px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.center-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
}

.penalty-area {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 120px;
    border: 3px solid white;
    transform: translateY(-50%);
}

.penalty-right {
    right: 0;
    border-right: none;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.penalty-left {
    left: 0;
    border-left: none;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.goal-area {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 60px;
    border: 3px solid white;
    transform: translateY(-50%);
}

.goal-right {
    right: 0;
    border-right: none;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.goal-left {
    left: 0;
    border-left: none;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.ball-animation {
    position: absolute;
    top: 30%;
    left: 20%;
    font-size: 2rem;
    animation: ballMove 4s ease-in-out infinite;
}

@keyframes ballMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(200px, -50px) rotate(90deg);
    }
    50% {
        transform: translate(400px, 0) rotate(180deg);
    }
    75% {
        transform: translate(200px, 50px) rotate(270deg);
    }
}

/* Features Section */
.features {
    text-align: center;
    margin-bottom: 80px;
}

.features h3 {
    font-size: 2.5rem;
    color: #16a34a;
    margin-bottom: 50px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.5rem;
    color: #16a34a;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    margin-top: 60px;
}

.footer p {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo h1 {
        font-size: 3rem;
        letter-spacing: 2px;
        transform: perspective(400px) rotateX(10deg);
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .signup-section {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .field-container {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
        transform: perspective(300px) rotateX(5deg);
    }
    
    .ball-icon {
        font-size: 2rem;
    }
    
    .features h3 {
        font-size: 2rem;
    }
}
