/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Typography and Colors */
body {
    font-family: 'Rajdhani', sans-serif;
    background: #0d1b0d;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Stadium Background */
.stadium-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #0d1b0d 0%, #1a2e1a 50%, #0d1b0d 100%);
}

/* Stadium Lights */
.stadium-lights {
    position: absolute;
    width: 100%;
    height: 100%;
}

.light {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: stadiumLight 8s ease-in-out infinite;
}

.light-1 { top: 10%; left: 10%; animation-delay: 0s; }
.light-2 { top: 10%; right: 10%; animation-delay: 2s; }
.light-3 { bottom: 20%; left: 15%; animation-delay: 4s; }
.light-4 { bottom: 20%; right: 15%; animation-delay: 6s; }

@keyframes stadiumLight {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Grass Pattern */
.grass-pattern {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(90deg, 
        rgba(34, 139, 34, 0.1) 0%, 
        rgba(50, 205, 50, 0.1) 25%, 
        rgba(34, 139, 34, 0.1) 50%, 
        rgba(50, 205, 50, 0.1) 75%, 
        rgba(34, 139, 34, 0.1) 100%);
    background-size: 100px 100%;
    animation: grassMove 20s linear infinite;
}

@keyframes grassMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 0%; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid #dc143c;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: #dc143c;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item.active,
.nav-item:hover {
    color: #dc143c;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #dc143c;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 100px 20px 50px;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
}

/* Club Emblem */
.club-emblem {
    margin-bottom: 40px;
}

.emblem-ring {
    position: relative;
    display: inline-block;
    padding: 20px;
    border: 3px solid #dc143c;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.1), transparent);
    animation: emblemGlow 3s ease-in-out infinite;
}

@keyframes emblemGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(220, 20, 60, 0.5); }
    50% { box-shadow: 0 0 40px rgba(220, 20, 60, 0.8); }
}

.emblem-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* Hero Title */
.hero-title {
    font-family: 'Bebas Neue', cursive;
    margin-bottom: 30px;
}

.title-line-1 {
    display: block;
    font-size: 4rem;
    color: #ffffff;
    letter-spacing: 8px;
    margin-bottom: 5px;
}

.title-line-2 {
    display: block;
    font-size: 5rem;
    color: #dc143c;
    letter-spacing: 10px;
    margin-bottom: 5px;
    text-shadow: 0 0 30px rgba(220, 20, 60, 0.5);
}

.title-line-3 {
    display: block;
    font-size: 2.5rem;
    color: #cccccc;
    letter-spacing: 4px;
    font-weight: 400;
}

/* Hero Subtitle */
.hero-subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.subtitle-badge {
    background: linear-gradient(45deg, #dc143c, #b71c1c);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.subtitle-text {
    font-size: 1.2rem;
    color: #cccccc;
    font-weight: 500;
    letter-spacing: 2px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: #dc143c;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #dc143c, transparent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: #dc143c;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: #ffffff;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.section-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #dc143c, #ff6b6b);
    margin: 0 auto;
}

/* Matchday Section */
.matchday-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.matchday-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.matchday-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(220, 20, 60, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.matchday-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.1), transparent);
    transition: left 0.5s ease;
}

.matchday-card:hover::before {
    left: 100%;
}

.matchday-card:hover {
    transform: translateY(-10px);
    border-color: #dc143c;
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.2);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: rgba(220, 20, 60, 0.3);
    font-weight: 700;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: #dc143c;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.card-description {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-highlight {
    background: rgba(220, 20, 60, 0.2);
    padding: 8px 16px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
}

/* Spotlight Section */
.spotlight-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(0, 0, 0, 0.8));
}

.spotlight-bg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.spotlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.spotlight-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: #ffffff;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.spotlight-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.spotlight-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spotlight-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: #dc143c;
    min-width: 100px;
}

.stat-text {
    color: #cccccc;
    font-weight: 500;
}

.spotlight-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-silhouette {
    width: 200px;
    height: 300px;
    background: linear-gradient(180deg, #dc143c, #000000);
    clip-path: polygon(40% 0%, 60% 0%, 65% 20%, 70% 40%, 75% 60%, 70% 80%, 60% 100%, 40% 100%, 30% 80%, 25% 60%, 30% 40%, 35% 20%);
    position: relative;
    z-index: 2;
}

.spotlight-beam {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 500px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
    clip-path: polygon(45% 0%, 55% 0%, 80% 100%, 20% 100%);
    animation: spotlightSweep 4s ease-in-out infinite;
}

@keyframes spotlightSweep {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Timeline Section */
.timeline-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container {
    position: relative;
    margin-top: 60px;
}

.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc143c, #ff6b6b, #dc143c);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-milestone {
    position: relative;
    text-align: center;
    z-index: 2;
}

.milestone-dot {
    width: 20px;
    height: 20px;
    background: #dc143c;
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
    animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.milestone-year {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: #dc143c;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.milestone-event {
    font-size: 0.9rem;
    color: #cccccc;
    max-width: 120px;
    line-height: 1.4;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(0, 0, 0, 0.9));
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    color: #ffffff;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 50px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    transition: all 0.3s ease;
    min-width: 280px;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover .btn-glow {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #dc143c, #b71c1c);
    color: white;
    border: 2px solid #dc143c;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #dc143c;
    border: 2px solid #dc143c;
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #dc143c, #b71c1c);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.4);
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-main {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.btn-sub {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Crowd Silhouette */
.crowd-silhouette {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    display: flex;
    z-index: 1;
}

.crowd-section {
    flex: 1;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
    position: relative;
}

.crowd-left {
    clip-path: polygon(0 100%, 0 60%, 20% 50%, 40% 60%, 60% 40%, 80% 50%, 100% 30%, 100% 100%);
}

.crowd-center {
    clip-path: polygon(0 30%, 20% 40%, 40% 20%, 60% 30%, 80% 10%, 100% 20%, 100% 100%, 0 100%);
}

.crowd-right {
    clip-path: polygon(0 20%, 20% 40%, 40% 30%, 60% 50%, 80% 40%, 100% 60%, 100% 100%, 0 100%);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #dc143c;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-logo {
    text-align: left;
}

.logo-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: #dc143c;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.logo-tagline {
    color: #888;
    font-style: italic;
    font-size: 1rem;
}

.footer-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-item {
    text-align: center;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.info-value {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(220, 20, 60, 0.3);
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .title-line-1 { font-size: 2.5rem; }
    .title-line-2 { font-size: 3rem; }
    .title-line-3 { font-size: 1.5rem; }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 60px;
        height: 2px;
        transform: rotate(90deg);
    }
    
    .matchday-grid {
        grid-template-columns: 1fr;
    }
    
    .spotlight-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .timeline-track {
        flex-direction: column;
        gap: 40px;
    }
    
    .timeline-track::before {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 4px;
        height: auto;
        transform: translateX(-50%);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-info {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-btn {
        min-width: 250px;
    }
}

/* Focus styles for accessibility */
.cta-btn:focus {
    outline: 3px solid #4CAF50;
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Page load animation */
.hero-content {
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
