/* ============================================
   THE HUMPHREY MUCHUMA TOURNAMENT
   Premium Design System
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - From HK Logo */
    --navy-900: #080c1a;
    --navy-800: #0a1029;
    --navy-700: #0f1535;
    --navy-600: #151d45;
    --navy-500: #1a2555;

    /* Accent Colors */
    --pink-500: #ff3366;
    --pink-400: #ff4d7a;
    --pink-300: #ff6b8e;
    --pink-glow: rgba(255, 51, 102, 0.4);

    /* Gold Accents */
    --gold-500: #ffd700;
    --gold-400: #ffe44d;
    --gold-glow: rgba(255, 215, 0, 0.3);

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;

    /* Gradients */
    --gradient-navy: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
    --gradient-pink: linear-gradient(135deg, var(--pink-500) 0%, var(--pink-400) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1100px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-glow-pink: 0 10px 40px var(--pink-glow);
    --shadow-glow-gold: 0 10px 40px var(--gold-glow);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: #0f1535;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-800);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 80px;
    height: auto;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--navy-600);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    left: -50%;
    width: 50%;
    height: 100%;
    background: var(--gradient-pink);
    animation: loading 1s ease-in-out infinite;
}

@keyframes loading {
    0% { left: -50%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(8, 12, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 45px;
    width: auto;
    transition: transform var(--transition-base);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink-500);
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--pink-400);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('DSC02798.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.2); }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(8, 12, 26, 0.88) 0%,
        rgba(15, 21, 53, 0.92) 50%,
        rgba(8, 12, 26, 0.96) 100%
    );
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 51, 102, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
    opacity: 0.6;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 51, 102, 0.15);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 30px;
    color: var(--pink-400);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin: 0 auto 40px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 10px;
}

.title-highlight {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
}

.hero-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.hero-subtitle strong {
    color: #ff4d7a;
}

.hero-date {
    margin-bottom: 50px;
}

.date-card {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 25px 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.date-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ff4d7a;
    margin-bottom: 15px;
}

.date-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.date-day {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.date-details {
    text-align: left;
}

.date-month {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.date-year {
    display: block;
    font-size: 1.1rem;
    color: #94a3b8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #ff3366 0%, #ff4d7a 100%);
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(255, 51, 102, 0.4);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 51, 102, 0.5);
}

.hero-cta svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Countdown Timer */
.countdown-wrapper {
    margin-bottom: 40px;
}

.countdown-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 15px;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px 25px;
    min-width: 90px;
    text-align: center;
}

.countdown-value {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.countdown-unit {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 8px;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 700;
    color: #ff3366;
}

.countdown-complete {
    background: linear-gradient(135deg, #ff3366 0%, #ff4d7a 100%);
    padding: 20px 40px;
    border-radius: 16px;
    text-align: center;
}

.countdown-complete span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--pink-500), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 60px; }
    50% { opacity: 0.5; height: 40px; }
}

/* Animate In */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.2s; }
.animate-in:nth-child(2) { animation-delay: 0.4s; }
.animate-in:nth-child(3) { animation-delay: 0.6s; }
.animate-in:nth-child(4) { animation-delay: 0.8s; }
.animate-in:nth-child(5) { animation-delay: 1s; }
.animate-in:nth-child(6) { animation-delay: 1.2s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 80px 0;
    position: relative;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230f1535' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-label {
    color: var(--pink-400);
}

.section-header.light .section-divider span {
    background: rgba(255,255,255,0.2);
}

.section-header.light .section-divider svg {
    color: var(--pink-400);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ff3366;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: #0f1535;
    margin-bottom: 20px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-divider span {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
}

.section-divider svg {
    color: #ff3366;
}

/* ============================================
   Schedule Section
   ============================================ */
.section-schedule {
    background: var(--white);
}

.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--pink-500), var(--navy-500));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    padding-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: relative;
    z-index: 1;
}

.marker-dot {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 3px solid var(--pink-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(255, 51, 102, 0.1);
}

.timeline-content {
    flex: 1;
    padding-top: 5px;
}

.timeline-time {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pink-500);
    margin-bottom: 10px;
}

.timeline-card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.timeline-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--pink-300);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--pink-500), var(--pink-400));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.timeline-icon svg {
    color: var(--white);
}

.timeline-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 5px;
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ============================================
   Matches Section
   ============================================ */
.section-matches {
    background: var(--gray-50);
}

.match-block {
    margin-bottom: 40px;
}

.category-section {
    margin-bottom: 50px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px 25px;
    background: var(--gradient-navy);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    color: var(--white);
}

.category-icon.soccer svg {
    color: var(--gold-500);
}

.category-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.category-info span {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.featured-matches {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Match Cards */
.match-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gray-300);
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.match-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--pink-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.match-card:hover .match-card-glow {
    opacity: 0.3;
}

/* Match Types */
.match-curtain-raiser::before {
    background: var(--gradient-gold);
}

.match-playoff::before {
    background: var(--navy-500);
}

.match-final::before {
    background: var(--gradient-pink);
}

/* Match Ribbon */
.match-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient-pink);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 45px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(255, 51, 102, 0.3);
}

.match-ribbon.gold {
    background: var(--gradient-gold);
    color: var(--navy-800);
}

.match-ribbon.pink {
    background: var(--gradient-pink);
}

/* Match Header */
.match-header {
    margin-bottom: 20px;
}

.match-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 6px 14px;
    border-radius: 20px;
}

.match-sport {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pink-500);
    margin-left: 10px;
}

.main-event-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-500);
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Match Time Badge */
.match-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gray-50);
    border-radius: 25px;
    margin-bottom: 20px;
    color: var(--navy-700);
    font-weight: 600;
}

.match-time-badge svg {
    color: var(--pink-500);
}

/* Teams */
.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.team {
    flex: 1;
    text-align: center;
}

.team-left {
    text-align: left;
}

.team-right {
    text-align: right;
}

.team-badge {
    width: 56px;
    height: 56px;
    background: var(--gradient-navy);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.team-left .team-badge {
    margin-right: auto;
}

.team-right .team-badge {
    margin-left: auto;
}

.team-badge.gold {
    background: var(--gradient-gold);
    color: var(--navy-800);
    box-shadow: var(--shadow-glow-gold);
}

.team-badge.featured {
    background: var(--gradient-pink);
    box-shadow: var(--shadow-glow-pink);
}

.team-badge.main {
    width: 70px;
    height: 70px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-800);
    box-shadow: var(--shadow-glow-gold);
    border-radius: 18px;
}

.team-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-700);
}

/* VS */
.match-versus {
    flex-shrink: 0;
}

.vs-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--pink-500);
    background: rgba(255, 51, 102, 0.1);
    padding: 10px 18px;
    border-radius: 25px;
}

.match-versus.featured .vs-text,
.match-versus.main .vs-text {
    background: transparent;
}

.vs-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-pink);
}

.vs-circle .vs-text {
    background: transparent;
    color: var(--white);
    padding: 0;
}

/* Featured Match */
.match-featured {
    background: linear-gradient(145deg, var(--white), var(--gray-50));
    border: 2px solid var(--pink-200);
}

.match-featured::before {
    width: 5px;
    background: var(--gradient-pink);
}

/* Main Event */
.match-main-event {
    background: var(--gradient-navy);
    border: none;
    padding: 40px;
}

.match-main-event::before {
    background: var(--gradient-gold);
    width: 6px;
}

.match-main-event .match-time-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.match-main-event .team-name {
    color: var(--white);
    font-size: 1.1rem;
}

.match-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--gold-glow) 0%, transparent 60%);
    pointer-events: none;
}

/* ============================================
   Gallery Section
   ============================================ */
.section-gallery {
    background: #0a1029;
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #151d45;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   Closing Ceremony Section
   ============================================ */
.section-closing {
    background: var(--white);
}

.ceremony-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.ceremony-card {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.ceremony-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--pink-200);
}

.ceremony-card.featured {
    background: var(--gradient-navy);
    border: none;
}

.ceremony-card.featured h3,
.ceremony-card.featured p {
    color: var(--white);
}

.ceremony-card.featured .ceremony-icon {
    background: rgba(255, 51, 102, 0.2);
}

.ceremony-card.featured .ceremony-icon svg {
    color: var(--pink-400);
}

.ceremony-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 51, 102, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ceremony-icon svg {
    color: var(--pink-500);
}

.ceremony-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 8px;
}

.ceremony-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.ceremony-note {
    text-align: center;
}

.ceremony-note p {
    display: inline-block;
    font-style: italic;
    color: var(--gray-500);
    padding: 15px 30px;
    background: var(--gray-50);
    border-radius: 30px;
    border: 1px dashed var(--gray-200);
}

/* ============================================
   Info Section
   ============================================ */
.section-info {
    background: var(--gray-50);
    padding: 60px 0;
}

.info-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 40px;
    background: var(--gradient-navy);
    border-radius: 20px;
    border-left: 5px solid var(--pink-500);
}

.info-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(255, 51, 102, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    color: var(--pink-400);
}

.info-banner p {
    color: var(--gray-300);
    font-size: 1rem;
    line-height: 1.6;
}

.info-banner strong {
    color: var(--pink-400);
}

/* ============================================
   Location Section
   ============================================ */
.section-location {
    background: #ffffff;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.location-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid #e2e8f0;
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff3366 0%, #ff4d7a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon svg {
    color: #ffffff;
}

.location-details h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f1535;
    margin-bottom: 8px;
}

.location-details p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.location-code {
    font-size: 0.85rem !important;
    color: #ff3366 !important;
    font-weight: 600;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0f1535 0%, #1a2555 100%);
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(15, 21, 53, 0.3);
}

.directions-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(15, 21, 53, 0.4);
}

.directions-btn svg {
    color: #ff3366;
}

.location-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 4px solid #ffffff;
}

.location-map iframe {
    display: block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-98%);
}

.footer-wave svg {
    width: 100%;
    height: 80px;
    fill: var(--navy-900);
}

.footer-content {
    padding: 80px 0 40px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    width: 70px;
    height: auto;
    margin-bottom: 20px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-info {
    display: flex;
    gap: 60px;
}

.footer-block h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.footer-block p {
    color: var(--white);
    font-size: 1rem;
}

.footer-block .sponsor {
    color: var(--pink-400);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-menu {
        display: none;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-logo {
        width: 100px;
    }

    .title-line {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .date-card {
        padding: 20px 30px;
    }

    .date-day {
        font-size: 3.5rem;
    }

    .date-month {
        font-size: 1.2rem;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 8px;
    }

    .countdown-item {
        padding: 15px 18px;
        min-width: 70px;
    }

    .countdown-value {
        font-size: 1.8rem;
    }

    .countdown-separator {
        display: none;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .location-map iframe {
        height: 280px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-info {
        gap: 40px;
    }

    .match-teams {
        flex-direction: column;
        gap: 20px;
    }

    .team-left, .team-right {
        text-align: center;
    }

    .team-left .team-badge,
    .team-right .team-badge {
        margin: 0 auto 12px;
    }

    .match-card {
        padding: 25px 20px;
    }

    .match-main-event {
        padding: 30px 20px;
    }

    .info-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        gap: 20px;
    }

    .marker-dot {
        width: 42px;
        height: 42px;
    }

    .timeline-card {
        padding: 20px;
    }

    .category-header {
        padding: 15px 20px;
        gap: 15px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
    }

    .category-info h3 {
        font-size: 1.2rem;
    }

    .ceremony-grid {
        grid-template-columns: 1fr;
    }

    .footer-info {
        flex-direction: column;
        gap: 25px;
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* ============================================
   Animation Observer Styles
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-bg-image {
        animation: none;
        transform: scale(1);
    }

    html {
        scroll-behavior: auto;
    }
}
