/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Ensure page starts at top */
body {
    scroll-behavior: smooth;
}

/* Force initial scroll position */
html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Microsoft JhengHei', 'PingFang TC', 'Noto Sans TC', 'Source Han Sans TC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: url('images/teams/3.jpeg') center center/cover no-repeat fixed, #000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin: 0;
    padding: 0;
}





/* Fallback for logo loading error */
.logo-fallback {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-fallback .logo-text {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Impact', 'Arial Black', sans-serif;
    background: linear-gradient(135deg, 
        #ff6b35 0%, 
        #f7931e 25%, 
        #ffd700 50%, 
        #d4af37 75%, 
        #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);

}

.logo-fallback .logo-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-top: 0.3rem;
}



/* Animations */


@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}







/* Main Display Section */
.main-display {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.champion-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0;
    transform: scale(1.05);
}

.background-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.background-image.error {
    opacity: 0;
}

/* Ensure proper scaling on different screen ratios */
@media (aspect-ratio: 16/9) {
    .background-image {
        object-position: center center;
    }
}

@media (aspect-ratio: 4/3) {
    .background-image {
        object-position: center top;
    }
}

@media (max-aspect-ratio: 1/1) {
    .background-image {
        object-position: center center;
        object-fit: cover;
    }
}

/* Loading placeholder for background */
.champion-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(45, 45, 45, 0.8) 50%,
        rgba(26, 26, 26, 0.8) 100%
    );
    z-index: 2;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.champion-background.image-loaded::before {
    opacity: 0;
}

/* Fallback background pattern when image fails */
.champion-background.image-error::before {
    background: 
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    opacity: 1;
}

/* Loading spinner */
.champion-background::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 3px solid rgba(212, 175, 55, 0.5);
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 3;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.champion-background.image-loaded::after {
    opacity: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: row;
}

/* Desktop layout adjustments for fixed VS section */
@media (min-width: 768px) {
    .main-content {
        padding-bottom: 200px; /* Add space for fixed VS section */
    }
    
    .champion-side {
        flex: 1;
        width: 100%; /* Take full width when VS section is fixed */
    }
}

.champion-side {
    flex: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    padding-right: 0.5rem;
}

/* Desktop layout adjustments for main content */
@media (min-width: 768px) {
    .main-content {
        padding-bottom: 0; /* Remove extra padding */
    }
    
    .champion-side {
        flex: 4;
        width: auto; /* Restore normal width */
    }
    
    /* Restore normal VS section positioning with 4:6 ratio */
    .versus-side {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        flex: 6 !important;
        width: auto !important;
        max-width: none !important;
        z-index: auto !important;
        padding: 2rem !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
    }
    
    /* Force left alignment for all children of versus-side */
    .versus-side > * {
        align-self: flex-start !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    
    .versus-container {
        margin-bottom: 0 !important;
        opacity: 1 !important;
        transform: translateY(0) translateX(0) !important;
        animation: none !important;
        z-index: auto !important;
        background: transparent !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        width: 70% !important;
        padding: 2rem !important;
    }
    
    .match-info {
        margin-top: 1rem !important;
        max-width: none !important;
        min-width: none !important;
        width: 50% !important;
        opacity: 1 !important;
        display: flex !important;
        margin-left: 90px !important;
        margin-right: auto !important;
        transform: translateX(90px) !important;
        text-align: left !important;
        align-self: flex-start !important;
        padding: 2rem !important;
        gap: 1rem !important;
        border-radius: 20px !important;
    }
}

.versus-side {
    flex: 6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 2rem;
    position: relative;
    background: transparent; /* Removed mask layer */
    backdrop-filter: none; /* Removed blur effect */
    -webkit-backdrop-filter: none; /* Removed blur effect */
    border: none; /* Removed border */
}

/* Force left alignment for versus-side children */
.versus-side > * {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Team introduction box - visible immediately on desktop */
.team-info {
    max-width: 600px;
    width: 600px; /* Fixed width */
    margin-bottom: 0; /* Remove margin to eliminate gap with carousel */
    padding: 0.5rem; /* Changed to 0.5rem as requested */
    border-radius: 0; /* Remove border radius to eliminate visual boundary */
    min-height: 780px; /* Fixed height - reduced by 20px */
    height: 780px; /* Fixed height - reduced by 20px */
    background: transparent; /* Removed mask layer */
    backdrop-filter: none; /* Removed blur effect */
    -webkit-backdrop-filter: none; /* Removed blur effect */
    border: none; /* Removed border */
    /* Start hidden and animate in after 5 seconds */
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 1s ease-out 5s forwards;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    transform-origin: top left;
    display: flex;
    flex-direction: column;
}

/* Desktop: Show immediately, Mobile: Animate in */
@media (max-width: 767px) {
    .team-info {
        transform: translateY(20px);
        opacity: 0;
        animation: slideInUp 1s ease-out 5s forwards;
        min-height: auto; /* Reset height on mobile */
        height: auto; /* Reset height on mobile */
    }
    
    .team-content {
        justify-content: flex-start; /* Reset layout on mobile */
        gap: 1.5rem;
        min-height: auto; /* Reset height on mobile */
    }
    
    .team-bottom-section {
        margin-top: 1rem; /* Reduced spacing on mobile */
        margin-bottom: 20px; /* Consistent minimal spacing from bottom */
        gap: 0.8rem; /* Smaller gap on mobile */
        max-height: none; /* Remove height restriction on mobile */
    }
}

/* Minimized state - keep original size but hide content */
.team-info.minimized {
    max-height: 70px;
    padding: 1rem 2rem;
    overflow: hidden;
}

/* Content wrapper for smooth animation */
.team-content {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: top center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: calc(100% + 15px); /* Use full available height plus 15px (extended by 5px) */
    flex: 1;
}

/* Top section styling */
.team-top-section {
    flex-shrink: 0;
    flex-grow: 1; /* Allow top section to grow and take more space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically in the expanded space */
    min-height: 50%; /* Changed to 50% for equal distribution */
    max-height: 50%; /* Added max-height to enforce 50% limit */
    margin-top: -50px; /* Changed to -50px as requested */
    padding-top: -100px; /* Extreme negative padding to pull content up */
    padding-bottom: 0.5rem; /* More aggressive reduction - 50% from default */
    gap: 0.5rem; /* More aggressive reduction - 50% spacing between child elements */
}

/* Bottom section styling */
.team-bottom-section {
    flex-shrink: 0; /* Changed to prevent shrinking for equal distribution */
    flex-grow: 1; /* Changed to allow growing for equal distribution */
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Reduced gap from 1.5rem to 1rem */
    margin-top: auto; /* Push to bottom */
    margin-bottom: 20px; /* Minimal spacing from bottom edge */
    align-self: stretch; /* Take full width */
    min-height: 50%; /* Changed to 50% for equal distribution */
    max-height: 50%; /* Changed to 50% for equal distribution */
    overflow: hidden; /* Prevent overflow if content is too large */
}

/* When minimized, slide content up and fade out */
.team-info.minimized .team-content {
    transform: translateY(-100%) scaleY(0);
    opacity: 0;
    max-height: 0;
}

/* Minimize button - top left, no background */
.minimize-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: transparent;
    color: rgba(212, 175, 55, 0.8);
    border: none;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.minimize-btn:hover {
    color: rgba(212, 175, 55, 1);
    transform: scale(1.2);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.minimize-btn:active {
    transform: scale(1.1);
}

/* Keep button in same position when minimized */
.team-info.minimized .minimize-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: transparent;
    color: rgba(212, 175, 55, 1);
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    transform: none;
}

.team-info.minimized .minimize-btn:hover {
    color: rgba(212, 175, 55, 1);
    transform: scale(1.2);
}

@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Fly-in animation for VS box - desktop version */
@keyframes flyInFromRight {
    0% {
        transform: translateY(10%) translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(10%) translateX(-40%);
        opacity: 1;
    }
}

.team-name {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        2px 2px 0px #000000,
        -2px -2px 0px #000000,
        2px -2px 0px #000000,
        -2px 2px 0px #000000,
        0px 2px 0px #000000,
        2px 0px 0px #000000,
        0px -2px 0px #000000,
        -2px 0px 0px #000000,
        0 0 20px rgba(255, 215, 0, 0.6);
    margin-bottom: 0.5rem; /* More aggressive reduction - 50% from 1rem */
    animation: titleGlow 3s ease-in-out infinite alternate;
    letter-spacing: 0.05em;
    word-break: keep-all;
    overflow-wrap: break-word;
    position: relative;
    font-family: 'Impact', 'Arial Black', sans-serif;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center;
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            2px 2px 0px #000000,
            -2px -2px 0px #000000,
            2px -2px 0px #000000,
            -2px 2px 0px #000000,
            0px 2px 0px #000000,
            2px 0px 0px #000000,
            0px -2px 0px #000000,
            -2px 0px 0px #000000,
            0 0 20px rgba(255, 215, 0, 0.6);
    }
    100% {
        text-shadow: 
            2px 2px 0px #000000,
            -2px -2px 0px #000000,
            2px -2px 0px #000000,
            -2px 2px 0px #000000,
            0px 2px 0px #000000,
            2px 0px 0px #000000,
            0px -2px 0px #000000,
            -2px 0px 0px #000000,
            0 0 30px rgba(255, 215, 0, 0.9),
            0 0 40px rgba(255, 140, 0, 0.6);
    }
}

@keyframes backgroundPulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}



/* Floating Logo - Desktop */
.floating-logo {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    top: auto !important;
    left: auto !important;
    z-index: 1000 !important; /* Higher z-index to place in front of team photo background */
    animation: logoFloat 2s ease-out 0.5s both;
    /* Ensure proper positioning */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Additional positioning enforcement */
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    /* Ensure it's not affected by parent containers */
    contain: layout style paint;
    /* Force visibility */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Hide floating logo on mobile to prevent conflicts */
@media (max-width: 767px) {
    .floating-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
    }
    
    .floating-logo-image {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* Ensure desktop floating logo is only visible on desktop */
@media (min-width: 768px) {
    .floating-logo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

.floating-logo-image {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: 
        drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.8))
        drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    animation: logoGlow 3s ease-in-out infinite alternate;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}

/* Responsive sizing for desktop floating logo */
@media (min-width: 768px) and (max-width: 1024px) {
    .floating-logo-image {
        height: 100px;
        max-width: 250px;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .floating-logo-image {
        height: 120px;
        max-width: 300px;
    }
}

@media (min-width: 1441px) {
    .floating-logo-image {
        height: 140px;
        max-width: 350px;
    }
}

.floating-logo-image:hover {
    transform: scale(1.1);
    filter: 
        drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.9))
        drop-shadow(0 0 30px rgba(212, 175, 55, 0.8))
        drop-shadow(0 0 40px rgba(255, 107, 53, 0.6));
}

@keyframes logoFloat {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoGlow {
    0% {
        filter: 
            drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
        transform: scale(1);
    }
    100% {
        filter: 
            drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.9))
            drop-shadow(0 0 25px rgba(212, 175, 55, 0.8))
            drop-shadow(0 0 35px rgba(255, 107, 53, 0.6));
        transform: scale(1.02);
    }
}

/* Team Logo Display */
.team-logo-display {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0; /* Extended margin to make logo lower */
    animation: logoFadeIn 1.5s ease-out 1s both;
}

.team-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 15px;
    border: 3px solid rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(255, 140, 0, 0.05) 100%);
    transition: all 0.3s ease;

}

.team-logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

/* Fallback for missing logo */
.team-logo-img[src=""], .team-logo-img:not([src]) {
    display: none;
}

.team-logo-display:has(.team-logo-img[src=""]), 
.team-logo-display:has(.team-logo-img:not([src])) {
    display: none;
}

.team-description {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 
        1px 1px 0px #000000,
        -1px -1px 0px #000000,
        1px -1px 0px #000000,
        -1px 1px 0px #000000,
        0px 1px 0px #000000,
        1px 0px 0px #000000,
        0px -1px 0px #000000,
        -1px 0px 0px #000000;
    margin-bottom: 5.5rem; /* Changed to 5.5rem as requested */
    margin-top: -5px; /* Changed to -5px as requested */
    line-height: 1.8;
    letter-spacing: 0.02em;
    word-break: keep-all;
    overflow-wrap: break-word;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
    min-height: calc(1.2rem * 1.8 + 15px); /* Increase height by 15px total (additional 10px from 5px) */
    padding: 7.5px 0; /* Add padding to distribute the extra height (increased from 2.5px) */
}

.team-description:hover {
    text-shadow: 
        1px 1px 0px #000000,
        -1px -1px 0px #000000,
        1px -1px 0px #000000,
        -1px 1px 0px #000000,
        0px 1px 0px #000000,
        1px 0px 0px #000000,
        0px -1px 0px #000000,
        -1px 0px 0px #000000,
        0 0 15px rgba(212, 175, 55, 0.5);
}



.streak-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 1.8rem; /* Increased padding from 1rem to 1.5rem for extra height */
    min-height: 70px; /* Added min-height to ensure consistent height increase */
    background: linear-gradient(135deg, 
        rgba(255, 69, 0, 0.95) 0%, 
        rgba(255, 140, 0, 0.98) 25%,
        rgba(255, 215, 0, 1) 50%,
        rgba(255, 140, 0, 0.98) 75%,
        rgba(255, 69, 0, 0.95) 100%);
    border-radius: 20px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 140, 0, 0.8),
        inset 0 3px 0 rgba(255, 255, 255, 0.5),
        inset 0 -3px 0 rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    /* Show immediately on desktop, animate on mobile */
    transform: translateY(0);
    opacity: 1;
    margin-top: -20px; /* Move up by 20px */
    margin-bottom: 20px; /* Add margin-bottom of 20px as requested */
}

/* Desktop: Show immediately, Mobile: Animate in */
@media (max-width: 767px) {
    .streak-counter {
        transform: translateY(20px);
        opacity: 0;
        animation: slideInUp 1s ease-out 1s forwards, challengePulse 3s ease-in-out infinite 2s;
    }
}

.streak-counter {
    width: 100%;
    max-width: 450px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.streak-counter:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, 
        rgba(255, 69, 0, 1) 0%, 
        rgba(255, 140, 0, 1) 25%,
        rgba(255, 215, 0, 1) 50%,
        rgba(255, 140, 0, 1) 75%,
        rgba(255, 69, 0, 1) 100%);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(255, 140, 0, 1),
        0 0 120px rgba(255, 69, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
}

.streak-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes challengePulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(255, 140, 0, 0.8);
    }
    50% {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 
            0 12px 40px rgba(0, 0, 0, 0.6),
            0 0 60px rgba(255, 140, 0, 1),
            0 0 80px rgba(255, 69, 0, 0.6);
    }
}

.streak-label {
    font-size: 1rem;
    font-weight: 800;
    color: #1a0f08;
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.8),
        0 0 12px rgba(255, 255, 255, 0.6);
    z-index: 1;
    position: relative;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
}

.streak-number {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        2px 2px 0px #000000,
        -2px -2px 0px #000000,
        2px -2px 0px #000000,
        -2px 2px 0px #000000,
        0px 2px 0px #000000,
        2px 0px 0px #000000,
        0px -2px 0px #000000,
        -2px 0px 0px #000000;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease-in-out;
    font-family: 'Impact', 'Arial Black', sans-serif;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    filter: none;
    margin: 0 0.5rem;
    display: inline;
}



.streak-number.updating {
    animation: numberPulse 0.6s ease-in-out;
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Player Carousel - visible immediately on desktop */
.player-carousel {
    width: 100%;
    max-width: 600px;
    background: transparent; /* Removed mask layer */
    padding: 1rem; /* Reduced padding for better space efficiency */
    border-radius: 15px;
    border: none; /* Removed border */
    backdrop-filter: none; /* Removed blur effect */
    -webkit-backdrop-filter: none; /* Removed blur effect */
    /* Start hidden and animate in after 2 seconds */
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 1s ease-out 2s forwards;
    margin-top: -40px; /* Move up further - increased by 10px from -30px */
    position: relative;
    z-index: 2;
    flex-shrink: 0; /* Prevent shrinking */
    height: auto; /* Auto height based on content */
}

/* Desktop: Show immediately, Mobile: Animate in */
@media (max-width: 767px) {
    .player-carousel {
        transform: translateY(20px);
        opacity: 0;
        animation: slideInUp 1s ease-out 1.5s forwards;
    }
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    width: 100%;
    overflow: hidden; /* Desktop mask */
}

/* Remove mask layer on mobile */
@media (max-width: 767px) {
    .carousel-container {
        overflow: visible !important;
    }
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow: visible;
    scroll-behavior: smooth;
    padding: 1rem 0;
    cursor: grab;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    width: auto;
    flex: none;
}

/* Only apply transition when not animating */
.carousel-track:not([style*="continuousScroll"]) {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-track:active {
    cursor: grabbing;
}

.player-card {
    flex: 0 0 150px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.2rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.player-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.player-card:hover::before {
    opacity: 1;
}

.player-photo {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
}

.player-photo[src*="default-player.jpg"]::before,
.player-photo:not([src])::before {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.player-card:hover .player-photo {
    border-color: #d4af37;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

.player-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
    word-break: keep-all;
}

.player-position {
    color: #d4af37;
    font-size: 0.8rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.carousel-btn:hover:not(:disabled) {
    background: rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn.prev-btn::before {
    content: '‹';
}

.carousel-btn.next-btn::before {
    content: '›';
}

/* Versus Container - visible immediately on desktop */
.versus-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 1;
    width: 70%; /* Increased from 50% to 70% to provide more space for logos */
    background: transparent; /* Removed mask layer */
    padding: 2rem;
    border-radius: 20px;
    border: none; /* Removed border */
    backdrop-filter: none; /* Removed blur effect */
    -webkit-backdrop-filter: none; /* Removed blur effect */
    /* Start hidden and animate in after 2 seconds */
    transform: translateY(10%) translateX(-40%);
    opacity: 0;
    animation: flyInFromRight 1s ease-out 2s forwards;
    margin: 0; /* Remove auto centering */
    text-align: left; /* Left align content */
}

/* Desktop: Show immediately, Mobile: Animate in */
@media (max-width: 767px) {
    .versus-container {
        transform: translateY(10%) translateX(-40%);
        opacity: 0;
        animation: flyInFromRight 1s ease-out 3s forwards;
    }
}

.team-logo {
    flex: 1;
    max-width: 200px;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible; /* Changed from hidden to visible to prevent logo clipping */
}

/* Champion logo specific styling - wider to prevent logo blocking */
.team-logo.champion-logo {
    max-width: 200px; /* Set to optimal 200px width */
    padding: 2rem; /* Keep increased padding for more internal space */
    overflow: visible; /* Ensure no clipping */
}

.team-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-logo:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-logo:hover::before {
    opacity: 1;
}

.team-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

/* Champion logo image - larger size */
.team-logo.champion-logo img {
    width: 140px;
    height: 140px;
}

.empty-challenger .team-logo img {
    opacity: 0.3;
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

.team-logo:hover img {
    transform: scale(1.05);
    border-color: rgba(212, 175, 55, 0.2);
}

.team-label {
    display: block;
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(255, 215, 0, 0.6);
}

.champion-logo .team-label {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 
        0 0 8px rgba(255, 215, 0, 0.8),
        0 0 15px rgba(255, 215, 0, 0.6),
        1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Empty Challenger State Styles */
.empty-challenger {
    border: 2px dashed rgba(255, 215, 0, 0.8);
    background: rgba(255, 215, 0, 0.15);
    position: relative;
    animation: challengerPulse 2s ease-in-out infinite alternate;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.empty-challenger:hover {
    border-color: rgba(255, 215, 0, 1);
    background: rgba(255, 215, 0, 0.25);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.6),
        0 0 50px rgba(255, 215, 0, 0.4),
        inset 0 0 30px rgba(255, 215, 0, 0.2);
}

.empty-challenger::before {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, transparent 50%);
    opacity: 1;
}

.empty-challenger::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 215, 0, 0.2) 50%,
        transparent 70%
    );
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.empty-challenger-label {
    color: rgba(255, 215, 0, 1) !important;
    font-style: italic;
    animation: labelFade 3s ease-in-out infinite;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.active-challenger {
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes challengerPulse {
    0% {
        border-color: rgba(255, 215, 0, 0.6);
        box-shadow: 
            0 0 15px rgba(255, 215, 0, 0.4),
            inset 0 0 15px rgba(255, 215, 0, 0.1);
        transform: scale(1);
    }
    100% {
        border-color: rgba(255, 215, 0, 1);
        box-shadow: 
            0 0 35px rgba(255, 215, 0, 0.7),
            0 0 50px rgba(255, 215, 0, 0.5),
            inset 0 0 25px rgba(255, 215, 0, 0.2);
        transform: scale(1.02);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes labelFade {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

/* Challenge Status Indicator */
.challenge-status {
    margin-top: 1rem;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.active-challenger .challenge-status {
    opacity: 0;
    pointer-events: none;
}

.status-text {
    display: block;
    color: rgba(212, 175, 55, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        color: rgba(212, 175, 55, 0.8);
    }
    100% {
        text-shadow: 
            1px 1px 2px rgba(0, 0, 0, 0.5),
            0 0 10px rgba(212, 175, 55, 0.6);
        color: rgba(212, 175, 55, 1);
    }
}

.status-indicator {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    animation: pulseDot 1.2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
    position: relative;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: ripple 1.2s ease-in-out infinite;
}

.pulse-dot:nth-child(1) {
    animation-delay: 0s;
}

.pulse-dot:nth-child(1)::before {
    animation-delay: 0s;
}

.pulse-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.pulse-dot:nth-child(2)::before {
    animation-delay: 0.2s;
}

.pulse-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.pulse-dot:nth-child(3)::before {
    animation-delay: 0.4s;
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
    }
    50% {
        transform: scale(1.4);
        opacity: 1;
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.vs-element {
    flex: 0 0 200px;
    width: 200px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0; /* Remove auto centering, let parent control positioning */
    transition: all 0.3s ease;
    cursor: pointer;
}

.vs-element:hover {
    transform: scale(1.2);
}

.vs-element:active {
    transform: scale(1.1);
}

/* Match Information Styles - Now positioned outside VS container */
.match-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 1.5rem;
    width: 50%;
    max-width: none;
    min-width: none;
    margin-left: 90px;
    margin-right: auto;
    transform: translateX(90px) translateY(20px); /* Start hidden with offset */
    opacity: 0; /* Start hidden */
    animation: slideInUp 1s ease-out 2s forwards; /* Fly in after 2 seconds */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: left; /* Left align text content */
    align-self: flex-start; /* Ensure it aligns to the left within its parent */
}

.match-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.match-label {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(255, 215, 0, 0.6);
}

.match-value {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}






.vs-logo {
    width: 144px;
    height: 96px;
    animation: vsPulse 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
    filter: 
        drop-shadow(0 0 10px rgba(212, 175, 55, 0.8))
        drop-shadow(0 0 20px rgba(255, 69, 0, 0.6));
    transform-style: preserve-3d;
    display: block;
    margin: 0 auto; /* Ensure perfect horizontal centering */
    margin-left: calc(50% - 72px - 3px); /* Move 3px to the left from center */
    object-fit: contain;
}

.vs-text {
    font-size: 2.2rem;
    font-weight: 900;
    color: #d4af37;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.8),
        0 0 20px rgba(212, 175, 55, 0.6),
        0 0 30px rgba(212, 175, 55, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: vsPulse 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 0.1em;
    transform-style: preserve-3d;
}



@keyframes vsPulse {
    0% { 
        transform: scale(1) rotateY(0deg);
        text-shadow: 
            0 0 10px rgba(212, 175, 55, 0.8),
            0 0 20px rgba(212, 175, 55, 0.6),
            0 0 30px rgba(212, 175, 55, 0.4),
            2px 2px 4px rgba(0, 0, 0, 0.8);
        filter: 
            drop-shadow(0 0 10px rgba(212, 175, 55, 0.8))
            drop-shadow(0 0 20px rgba(255, 69, 0, 0.6));
    }
    50% {
        transform: scale(1.15) rotateY(2.5deg);
        text-shadow: 
            0 0 20px rgba(212, 175, 55, 1),
            0 0 35px rgba(212, 175, 55, 0.9),
            0 0 50px rgba(212, 175, 55, 0.7),
            2px 2px 8px rgba(0, 0, 0, 0.9);
        filter: 
            drop-shadow(0 0 20px rgba(212, 175, 55, 1))
            drop-shadow(0 0 30px rgba(255, 69, 0, 0.8))
            drop-shadow(0 0 40px rgba(255, 140, 0, 0.6));
    }
    100% { 
        transform: scale(1.1) rotateY(5deg);
        text-shadow: 
            0 0 15px rgba(212, 175, 55, 1),
            0 0 25px rgba(212, 175, 55, 0.8),
            0 0 35px rgba(212, 175, 55, 0.6),
            2px 2px 6px rgba(0, 0, 0, 0.9);
        filter: 
            drop-shadow(0 0 15px rgba(212, 175, 55, 0.9))
            drop-shadow(0 0 25px rgba(255, 69, 0, 0.7));
    }
}

/* Challenge Form Section */
.challenge-form-section {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Form Header */
.form-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.form-container h2 {
    color: #d4af37;
    font-size: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* WhatsApp inquiry styles removed from form header */

/* Form Progress Indicator */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.step-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #333;
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.progress-step.active .step-label {
    color: #d4af37;
    font-weight: bold;
}

.progress-step.completed .step-number {
    background: rgba(76, 175, 80, 0.8);
    color: #fff;
    border-color: #4caf50;
}

.progress-step.completed .step-label {
    color: #4caf50;
}

/* Multi-step Form */
.multi-step-form {
    position: relative;
    min-height: 400px;
}

/* Multi-Step Form Container */
.multi-step-form {
    position: relative;
    overflow: hidden;
}

.form-step {
    display: none !important; /* Use !important to ensure proper hiding */
    animation: fadeIn 0.3s ease-in-out;
    width: 100%;
    position: relative;
    z-index: 1;
}

.form-step.active {
    display: block !important; /* Use !important to ensure proper showing */
}

.form-step h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.field-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
    font-style: italic;
}

/* File Upload Styles */
.file-upload-area {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
}

.file-upload-area:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.1);
}

.file-upload-area.dragover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.02);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    pointer-events: none;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.upload-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.upload-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
}

.file-preview .remove-file {
    background: rgba(244, 67, 54, 0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Confirmation Summary */
.confirmation-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.summary-section {
    margin-bottom: 2rem;
}

.summary-section h4 {
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 0.5rem;
}

.summary-item {
    display: flex;
    margin-bottom: 0.8rem;
    align-items: flex-start;
}

.summary-item .label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    min-width: 120px;
    flex-shrink: 0;
}

.summary-item .value {
    color: #fff;
    flex: 1;
    word-break: break-word;
}

.uploaded-files-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.uploaded-file-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
}

.uploaded-file-item::before {
    content: '📎';
    font-size: 1rem;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    color: #fff;
    line-height: 1.5;
    user-select: none; /* Prevent text selection */
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    /* Ensure clickability */
    pointer-events: auto;
    z-index: 1;
}

.checkmark:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-color: #d4af37;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-weight: bold;
    font-size: 0.8rem;
}

.terms-link {
    color: #d4af37;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.terms-link:hover {
    border-bottom-color: #d4af37;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.submit-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #333;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 180px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* WhatsApp Reminder */
.whatsapp-reminder {
    text-align: center;
    color: #dc3545;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Player Roster Styles */
.player-roster-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.roster-header {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 80px;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 1rem;
    font-weight: bold;
    color: #d4af37;
    font-size: 0.9rem;
}

.player-row {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 80px;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.player-row:last-child {
    border-bottom: none;
}

.player-row input,
.player-row select {
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
}

.player-row input:focus,
.player-row select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.player-row input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.player-row select {
    cursor: pointer;
}

.player-row select option {
    background: #1a1a1a;
    color: #fff;
}

.remove-player-btn {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
    border-radius: 5px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.remove-player-btn:hover {
    background: rgba(244, 67, 54, 0.3);
    border-color: #f44336;
}

.add-player-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: none;
    color: #1a1a1a;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.add-player-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.add-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.player-summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.player-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
}

.player-summary-item .player-info {
    display: flex;
    gap: 1rem;
}

.player-summary-item .player-number {
    color: #d4af37;
    font-weight: bold;
}

.player-summary-item .player-position {
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile responsive for player roster */
@media (max-width: 768px) {
    .roster-header,
    .player-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .roster-header {
        display: none; /* Hide header on mobile for cleaner look */
    }
    
    .player-row {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .player-row input,
    .player-row select {
        margin-bottom: 0.5rem;
    }
    
    .remove-player-btn {
        align-self: flex-end;
        margin-top: 0.5rem;
    }
    
    .player-summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .player-summary-item .player-info {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* Confirmation Popup Styles */
.confirmation-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.confirmation-popup {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.3);
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.popup-header.demo-mode {
    border-bottom-color: rgba(255, 152, 0, 0.5);
}

.popup-header.live-mode {
    border-bottom-color: rgba(76, 175, 80, 0.5);
}

.popup-header h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.popup-header.demo-mode h3 {
    color: #ff9800;
}

.popup-header.live-mode h3 {
    color: #4caf50;
}

.popup-content {
    margin-bottom: 2rem;
}

.success-info {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.success-info p {
    color: #fff;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.success-info strong {
    color: #4caf50;
}

.demo-notice {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.demo-notice p {
    color: #ffb74d;
    margin: 0.3rem 0;
    line-height: 1.6;
}

.upload-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.upload-success p {
    color: #81c784;
    margin: 0.3rem 0;
    line-height: 1.6;
}

.whatsapp-notice {
    background: rgba(244, 67, 54, 0.1);
    border: 2px solid rgba(244, 67, 54, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.whatsapp-notice p {
    color: #f44336;
    font-weight: bold;
    margin: 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.popup-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.popup-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.popup-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
}

.popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Mobile responsive for popup */
@media (max-width: 768px) {
    .confirmation-popup {
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .popup-header h3 {
        font-size: 1.3rem;
    }
    
    .whatsapp-notice p {
        font-size: 1rem;
    }
    
    .popup-btn {
        padding: 1rem 1.5rem;
        width: 100%;
    }
}

.hidden {
    display: none;
}

/* Mobile team photo - hidden on desktop */
.mobile-team-photo {
    display: none;
}

/* Mobile floating logo - shown at top right on mobile only */
.mobile-floating-logo {
    display: none; /* Hidden on desktop */
}

/* Show mobile floating logo at top right on mobile devices */
@media (max-width: 767px) {
    .mobile-floating-logo {
        display: flex !important; /* Use flexbox for centering */
        align-items: center !important; /* Center vertically */
        justify-content: center !important; /* Center horizontally */
        position: fixed !important;
        top: 0.5rem !important; /* Reduced from 1rem to keep it more inside */
        right: 0.5rem !important; /* Reduced from 1rem to keep it more inside */
        z-index: 9999 !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        /* Hardware acceleration for smooth scrolling */
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        will-change: transform !important;
        animation: mobileLogoFloat 0.8s ease-out 0.2s both;
        /* Container sizing */
        width: 120px !important; /* Fixed container width */
        height: 60px !important; /* Fixed container height */
        max-width: 120px !important; /* Limit width */
        max-height: 60px !important; /* Limit height */
        /* Ensure proper viewport positioning */
        margin: 0 !important;
        padding: 0 !important;
        /* Prevent parent container interference */
        contain: layout style paint;
        /* Force positioning relative to viewport */
        bottom: auto !important;
        left: auto !important;
        /* Ensure it stays within viewport */
        overflow: hidden !important; /* Prevent content overflow */
        /* Optional: Add background for debugging */
        /* background: rgba(255, 0, 0, 0.1) !important; */
    }
    
    .mobile-floating-logo-image {
        height: auto !important; /* Auto height to maintain aspect ratio */
        width: auto !important; /* Auto width to maintain aspect ratio */
        max-width: 110px !important; /* Slightly smaller than container for padding */
        max-height: 50px !important; /* Slightly smaller than container for padding */
        object-fit: contain !important; /* Fit within container while maintaining aspect ratio */
        object-position: center !important; /* Center the image within container */
        filter: 
            drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8)) !important; /* Only black shadow, no yellow glow */
        transition: all 0.3s ease !important;
        cursor: pointer !important;
        border-radius: 8px !important;
        /* Ensure image doesn't get constrained */
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        /* Center within flex container */
        margin: auto !important;
        /* Prevent overflow and ensure proper display */
        box-sizing: border-box !important;
        /* Remove any borders or outlines */
        border: none !important;
        outline: none !important;
    }
    
    .mobile-floating-logo-image:hover,
    .mobile-floating-logo-image:active {
        transform: scale(1.05) !important; /* Reduced scale effect */
        filter: 
            drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.9)) !important; /* Only enhanced black shadow on hover */
    }
    
    /* Mobile floating logo animations - no yellow glow */
    @keyframes mobileLogoFloat {
        0% {
            opacity: 0;
            transform: translateY(-20px) scale(0.9) translateZ(0);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1) translateZ(0);
        }
    }
}

/* Desktop Navigation Menu */
.desktop-nav {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1002;
    display: none; /* Hidden by default, shown on desktop */
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block !important;
    }
}

.desktop-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.6); /* Decreased transparency from 0.8 to 0.6 (40% less transparent) */
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    overflow: visible; /* Changed from hidden to visible for dropdown */
}

.desktop-nav-links li {
    position: relative;
}

.desktop-nav-links a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.desktop-nav-links li:last-child a {
    border-right: none;
}

.desktop-nav-links a:hover,
.desktop-nav-links a.active {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #000000;
    text-shadow: none;
}

/* WhatsApp Navigation Link */
.whatsapp-nav-link {
    background: #25D366 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    margin-left: 10px !important;
}

.whatsapp-nav-link:hover {
    background: #128C7E !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.1);
}

.whatsapp-nav-icon {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

/* Mobile WhatsApp Link */
.whatsapp-mobile-link {
    background: #25D366 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 5px 0 !important;
}

.whatsapp-mobile-link:hover {
    background: #128C7E !important;
}

.whatsapp-mobile-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9); /* Increased opacity for better visibility */
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 9999; /* High z-index to ensure visibility */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    padding: 10px 15px;
    color: #ffffff !important;
    background: transparent;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%) !important;
    color: #000000 !important;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Hamburger Menu Button with Logo */
.hamburger-menu {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1002;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: none;
    border-radius: 12px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none; /* Hidden on desktop */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    padding: 6px;
}

.hamburger-menu:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.hamburger-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Hamburger Lines Styling */
.hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 18px; /* Increased height for better spacing */
    transition: all 0.3s ease;
}

.hamburger-lines .line {
    display: block;
    width: 100%;
    height: 3px; /* Slightly thicker for better visibility */
    background: #1a1a1a; /* Darker for better contrast */
    border-radius: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
}

/* Logo styling (hidden by default) */
.hamburger-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hamburger-logo.hidden {
    display: none;
}

/* Active state - hide lines, show logo */
.hamburger-menu.active .hamburger-lines {
    display: none;
}

.hamburger-menu.active .hamburger-logo {
    display: block;
}

/* Hamburger Menu Floating Animations */
@keyframes logoFloat {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoGlow {
    0% {
        filter: 
            drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
        transform: scale(1);
    }
    100% {
        filter: 
            drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.9))
            drop-shadow(0 0 20px rgba(212, 175, 55, 0.8))
            drop-shadow(0 0 25px rgba(255, 107, 53, 0.6));
        transform: scale(1.02);
    }
}

/* Hamburger Navigation Menu - Hidden on Desktop */
.hamburger-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1001;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    display: none; /* Hidden on desktop */
}

.hamburger-nav.active {
    visibility: visible;
    opacity: 1;
}

.nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.nav-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(45, 45, 45, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 2px solid rgba(212, 175, 55, 0.3);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.hamburger-nav.active .nav-menu {
    transform: translateX(0);
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.1);
}

.nav-header h3 {
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}



.nav-links {
    list-style: none;
    padding: 2rem 0;
    margin: 0;
}

.nav-links li {
    margin-bottom: 0.5rem;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(212, 175, 55, 0.15);
    border-left-color: #d4af37;
    color: #d4af37;
    transform: translateX(5px);
}

.nav-dropdown .dropdown-toggle {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.nav-dropdown .dropdown-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.nav-dropdown.active .dropdown-submenu {
    max-height: 200px;
}

.dropdown-submenu a {
    padding: 0.8rem 3rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    border-left: 4px solid transparent;
}

.dropdown-submenu a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: rgba(212, 175, 55, 0.5);
    color: rgba(212, 175, 55, 0.9);
}

/* Hide old navigation */
.main-nav {
    display: none;
}

/* Contact Bar - Fixed at top */
.contact-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffff00; /* Bright fluorescent golden yellow */
    background: linear-gradient(135deg, #ffff00 0%, #ffd700 50%, #ffff00 100%); /* Fluorescent gradient */
    color: #000000;
    padding: 0.25rem 1rem; /* Even thinner bar */
    text-align: center;
    font-weight: bold;
    font-size: 0.75rem; /* Smaller font for thinner bar */
    box-shadow: 0 1px 8px rgba(255, 255, 0, 0.4); /* Yellow glow shadow */
    z-index: 10000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    animation: fluorescent-glow 2s ease-in-out infinite alternate;
    height: 35px; /* Fixed height to prevent overlap */
}

@keyframes fluorescent-glow {
    0% {
        box-shadow: 0 1px 8px rgba(255, 255, 0, 0.4);
    }
    100% {
        box-shadow: 0 1px 12px rgba(255, 255, 0, 0.7);
    }
}

.contact-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    color: #000000;
    transition: all 0.3s ease;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.contact-icon {
    width: 14px; /* Smaller icon for thinner bar */
    height: 14px;
    object-fit: contain;
}

.contact-text {
    font-weight: bold;
    letter-spacing: 0.2px;
    font-size: 0.75rem; /* Smaller text for thinner bar */
}

/* Mobile responsive for contact bar - Show only WhatsApp */
@media (max-width: 768px) {
    .contact-bar {
        position: fixed !important; /* Ensure it stays fixed on mobile */
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding: 0; /* Remove padding to control positioning precisely */
        font-size: 0.7rem;
        height: 30px; /* Thinner on mobile */
        display: flex;
        align-items: center; /* Center content vertically */
        justify-content: center; /* Center content horizontally */
        z-index: 10000 !important; /* Ensure it's above everything */
    }
    
    .contact-bar-content {
        justify-content: center;
        gap: 0;
        height: 100%;
        display: flex;
        align-items: center; /* Center vertically within the banner */
    }
    
    /* Hide email on mobile */
    .contact-item:nth-child(2) {
        display: none !important;
    }
    
    .contact-item {
        gap: 0.2rem;
        padding: 0; /* Remove padding for precise centering */
        display: flex;
        align-items: center; /* Center icon and text vertically */
        height: 100%; /* Take full banner height */
    }
    
    .contact-icon {
        width: 12px;
        height: 12px;
    }
    
    .contact-text {
        font-size: 0.65rem;
        line-height: 1; /* Prevent text from affecting vertical alignment */
    }
}

/* Adjust body padding to account for top contact bar - prevent overlap */
body {
    padding-top: 35px; /* Match contact bar height */
    padding-bottom: 60px; /* Keep some bottom space for other elements */
}

/* Desktop specific - ensure content doesn't overlap */
@media (min-width: 769px) {
    body {
        padding-top: 35px; /* Space for contact bar on desktop */
    }
    
    /* Ensure main content sections start below contact bar */
    .main-display {
        margin-top: 0;
        padding-top: 2rem; /* Add space below contact bar on desktop */
        position: relative;
        z-index: 1;
    }
    
    .fees-page,
    .rules-page {
        margin-top: 0;
        padding-top: 1rem; /* Add some breathing room below contact bar */
        position: relative;
        z-index: 1;
    }
    
    /* Ensure page headers don't get covered */
    .page-header {
        margin-top: 1rem; /* Additional space from contact bar */
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 30px; /* Match mobile contact bar height */
        padding-bottom: 120px; /* Space for floating elements */
    }
}

/* Ensure all main content starts below the contact bar */
.main-display,
.fees-page,
.rules-page {
    margin-top: 0; /* Remove any top margin that might cause overlap */
    position: relative;
    z-index: 1; /* Ensure content is below contact bar */
}

/* Ensure desktop navigation doesn't overlap with contact bar */
.desktop-nav {
    top: calc(2rem + 35px) !important; /* Original top + contact bar height */
}

/* Desktop specific navigation positioning */
@media (min-width: 769px) {
    .desktop-nav {
        top: calc(2rem + 35px) !important; /* Ensure it's below contact bar */
        position: fixed;
        z-index: 1000; /* Below contact bar but above content */
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        top: calc(2rem + 30px) !important; /* Adjust for mobile contact bar height */
    }
}

.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
    min-height: 40px;
}

.main-nav a:hover {
    background: rgba(212, 175, 55, 0.3);
    color: #d4af37;
}

.main-nav .whatsapp-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    min-width: 40px;
    height: 40px;
}

.main-nav .whatsapp-nav-link:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: scale(1.1);
}

.whatsapp-nav-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Dropdown Menu Styles */
.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.main-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-nav .dropdown-menu li {
    list-style: none;
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 0.7rem 1rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 0 0.5rem;
    min-height: auto;
    font-size: 0.9rem;
}

.main-nav .dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.3);
    color: #d4af37;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
/* Player Photo Modal */
.player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.player-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.player-modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(244, 67, 54, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(244, 67, 54, 1);
    transform: scale(1.1);
}

#modal-player-photo {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 3px solid #d4af37;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modal-player-info {
    text-align: center;
    color: #333;
}

#modal-player-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

#modal-player-position {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.modal-player-details {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 1rem;
}

.modal-player-details span {
    background: rgba(212, 175, 55, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Make player photos clickable */
.player-photo {
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.5);
    border-color: #d4af37;
}

.player-card {
    cursor: pointer;
}

.player-card:hover .player-photo {
    transform: scale(1.05);
}
/* Desktop-specific team-info adjustments */
@media (min-width: 769px) {
    .team-info {
        min-height: 780px; /* Fixed height - reduced by 20px */
        height: 780px; /* Fixed height - reduced by 20px */
        width: 600px; /* Fixed width */
        padding: 3rem;
        margin-top: 4rem; /* Move team content lower on desktop */
        padding-top: 4rem; /* Additional top padding for spacing below contact bar */
    }
    
    /* Ensure winning streak bar fits properly */
    .streak-counter {
        margin-top: -20px; /* Move up by 20px - override for desktop */
    }
}

@media (min-width: 1200px) {
    .team-info {
        min-height: 780px; /* Fixed height - reduced by 20px */
        height: 780px; /* Fixed height - reduced by 20px */
        width: 600px; /* Fixed width */
        padding: 3.5rem;
        margin-top: 5rem; /* Even more space on larger screens */
        padding-top: 4.5rem; /* Additional top padding for spacing below contact bar */
    }
}

/* Service Options Cards */
.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.95) 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

.service-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.service-card h4 {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.service-desc {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #333;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
}

.service-features li:last-child {
    border-bottom: none;
}

/* Match Application Form Section */
.match-application-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    padding: 4rem 2rem;
    margin-top: 3rem;
}

.match-application-section .form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.match-application-section .form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.match-application-section .form-header h2 {
    color: #2d2d2d;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
}

.match-application-section .form-header p {
    color: #666;
    font-size: 1rem;
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

.match-form .form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.match-form .form-section:last-of-type {
    border-bottom: none;
}

.match-form .form-section h3 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.match-form .form-section h3 i {
    color: #667eea;
}

.match-form .input-group {
    margin-bottom: 1.2rem;
}

.match-form .input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4a5568;
}

.match-form .input-group input,
.match-form .input-group select,
.match-form .input-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.match-form .input-group input:focus,
.match-form .input-group select:focus,
.match-form .input-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.date-time-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    align-items: start;
}

.time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.game-type-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.game-option {
    position: relative;
}

.game-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.game-card {
    display: block;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.game-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.game-option input[type="radio"]:checked + .game-card {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.game-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.game-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.game-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.counter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    background: #667eea;
    color: white;
}

.counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.counter-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a5568;
    min-width: 30px;
    text-align: center;
}

.match-form .submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.match-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.match-form .submit-btn i {
    margin-right: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    position: relative;
    animation: slideIn 0.3s ease;
    overflow-y: auto;
}

.modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.modal .close:hover {
    color: #000;
}

.booking-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.booking-summary h3 {
    margin-bottom: 1rem;
    color: #4a5568;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
}

.summary-label {
    font-weight: 600;
    color: #4a5568;
}

.summary-value {
    color: #718096;
}

.booking-status {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.status-message i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.status-message p {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.status-message small {
    opacity: 0.9;
    font-size: 0.9rem;
}

.contact-section {
    text-align: center;
}

.contact-section h3 {
    margin-bottom: 1rem;
    color: #4a5568;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-btn i {
    margin-right: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
