/* Enhanced LEX SUMMIT Countdown Timer Styles - World Cup Style Adaptation */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Oswald:wght@500;700&display=swap');

:root {
    --primary: #ffcc99;
    --secondary: #cc9966;
    --accent: #996633;
    --dark: #003366;
    --light: #f0f9ff;
    --metallic-silver: linear-gradient(90deg, #d9d9d9 0%, #f5f5f5 25%, #bfbfbf 50%, #f5f5f5 75%, #d9d9d9 100%);
}

.countdown-section {
    background: linear-gradient(#000 84%, #eaeaea 91%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    user-select: none;
}

/*.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 204, 153, 0.15) 0%, rgba(0, 51, 102, 0.7) 70%);
    pointer-events: none;
}*/

.crowd-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;/*
    background: linear-gradient(0deg, rgba(0, 51, 102, 0.3) 0%, transparent 100%);*/
    transform-origin: bottom center;
    animation: wave 8s ease-in-out infinite;
}

.countdown-container {
    width: 650px;
    max-width: 90%;
    height: 550px;
    max-height: 90vh;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
     background: #ffcc99 !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.countdown-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 204, 153, 0.1) 0%, transparent 50%, rgba(153, 102, 51, 0.1) 100%);
    pointer-events: none;
    border-radius: 20px;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid rgba(255, 204, 153, 0.3);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: 0;
}

.pulse-ring:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-ring:nth-child(3) {
    animation-delay: 1s;
}

.event-details {
    text-align: center;
    transform: translateY(-30px);
    position: relative;
    z-index: 1;
}

.countdown-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.countdown-subtitle {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 204, 153, 0.5);
    line-height: 1.1;
    color: black;
}

.countdown-venue {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    color: black;
}

.countdown-wrapper {
    position: relative;
    width: 100%;
    padding: 1rem;
    z-index: 1;
}

.countdown-display {
    display: flex;
    justify-content: center;
    perspective: 1000px;
    margin-top: 1rem;
    gap: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 1rem;
    position: relative;
}

.countdown-digit {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    background-clip: text;
    color: #036 ;
    position: relative;
    margin-bottom: 0.5rem;
    text-shadow: 0 5px 15px rgba(204, 153, 102, 0.3);
    transform-style: preserve-3d;
}

.countdown-digit::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #036;
}

.countdown-cta {
    position: relative;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 30px;
    color: var(--dark);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(204, 153, 102, 0.3);
    z-index: 1;
}

.countdown-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 153, 102, 0.5);
}

.countdown-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
}

.countdown-cta:hover::before {
    animation: shimmer 1.5s infinite;
}

.beat-animation {
    animation: beat 0.5s ease-out;
}

.flare {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 204, 153, 0.7);
    animation: flare-animation 4s infinite;
    opacity: 0;
}

/* Ticker styles */
.ticker {
    margin-top: 50px;
    /* position: absolute;
    bottom: 2rem; */
    left: 0;
    right: 0;
    background: rgba(0, 51, 102, 0.7);
    padding: 1rem;
    overflow: hidden;
    border-top: 1px solid rgba(255, 204, 153, 0.3);
    border-bottom: 1px solid rgba(255, 204, 153, 0.3);
}

.ticker-content {
    display: flex;
    animation: ticker 50s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    margin-right: 50px;
    font-weight: 700;
    color: #2c3e50; /* Dark color for contrast with metallic background */
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticker-highlight {
    color: var(--secondary);
}

/* Dual Overlapping Tickers - Subtle X Crossing Pattern */
.dual-ticker-container {
    position: relative;
    /* margin-top: 50px; */
    height: 200px;
    overflow: hidden;
    perspective: 1000px;
}

.ticker-primary,
.ticker-secondary {
    position: absolute;
    width: 120%;
    left: -10%;
    padding: 1rem;
    overflow: hidden;
    z-index: 1;
    transform-origin: left center; /* Pivot from left side */
}

.ticker-primary {
    top: 70px;
    background: linear-gradient(90deg, #d9d9d9 0%, #f5f5f5 25%, #bfbfbf 50%, #f5f5f5 75%, #d9d9d9 100%);
    border: none;
    transform: rotate(-1deg); /* Very subtle angle */
}

.ticker-secondary {
    top: 80px;
    background: linear-gradient(90deg, #c0c0c0 0%, #e0e0e0 25%, #a8a8a8 50%, #e0e0e0 75%, #c0c0c0 100%);
    border: none;
    opacity: 1;
    transform: rotate(0.5deg); /* Very subtle angle, opposite direction */
}

/* Override the original ticker margin for dual setup */
.dual-ticker-container .ticker {
    margin-top: 0;
}

/* Normal left-to-right animation for primary ticker */
.ticker-primary .ticker-content {
    display: flex;
    animation: ticker-left-to-right 40s linear infinite;
    white-space: nowrap;
}

/* Reverse right-to-left animation for secondary ticker */
.ticker-secondary .ticker-content {
    display: flex;
    animation: ticker-right-to-left 40s linear infinite;
    white-space: nowrap;
}

/* Different styling for secondary ticker items */
.ticker-secondary .ticker-item {
    margin-right: 50px;
    font-weight: 700;
    color: #2c3e50; /* Dark color for contrast with metallic background */
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Keyframes for seamless left-to-right movement - responsive for all screen widths */
@keyframes ticker-left-to-right {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Keyframes for seamless right-to-left movement - responsive for all screen widths */
@keyframes ticker-right-to-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-120%);
    }
}

/* Mobile responsive adjustments for subtle X-crossed tickers */
@media (max-width: 768px) {
    .dual-ticker-container {
        height: 100px;
    }
    
    .ticker-primary,
    .ticker-secondary {
        padding: 0.8rem;
        width: 115%;
        left: -7.5%;
    }
    
    .ticker-primary {
        transform: rotate(-1.5deg); /* Even more subtle on mobile */
        top: 15px;
    }
    
    .ticker-secondary {
        transform: rotate(1.5deg);
        top: 35px;
    }
    
    .ticker-primary .ticker-content {
        animation-duration: 50s;
    }
    
    .ticker-secondary .ticker-content {
        animation-duration: 50s!important;
    }
    
    .ticker-item {
        margin-right: 30px;
        font-size: 0.9rem;
    }
    
    .ticker-secondary .ticker-item {
        font-size: 0.85rem;
    }
    
}

/* Responsive Design */
@media (max-width: 600px) {
    .countdown-title {
        font-size: 1rem;
    }
    
    .countdown-subtitle {
        font-size: 1.8rem;
    }
    
    .countdown-digit {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        margin: 0 0.7rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .pulse-ring {
        width: 300px;
        height: 300px;
    }
}

/* Animations */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    70% {
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

@keyframes wave {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.1);
    }
}

@keyframes beat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes flare-animation {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Benefits Section Styles - Redesigned for Visual Appeal */
.benefits-section {
    background: linear-gradient(135deg, #0a1428 0%, #1a2744 50%, #0f1b2f 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 204, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(153, 102, 51, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.benefits-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.benefits-header {
    position: relative;
    z-index: 2;
}

.benefits-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: var(--metallic-silver);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefits-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-weight: 300;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 204, 153, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 204, 153, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(255, 204, 153, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 204, 153, 0.4);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(255, 204, 153, 0.3);
}

.benefit-card:hover .benefit-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(255, 204, 153, 0.4);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--light);
    margin-bottom: 0.8rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.benefit-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 300;
}

/* Staggered animation on scroll */
.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive design */
@media (max-width: 992px) {
    .benefits-title {
        font-size: 2rem;
    }
    
    .benefit-card {
        min-height: 200px;
        padding: 2rem 1.5rem;
    }
    
    .benefit-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .benefit-icon {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 4rem 0;
    }
    
    .benefits-title {
        font-size: 1.8rem;
    }
    
    .benefits-subtitle {
        font-size: 1rem;
    }
    
    .benefit-card {
        min-height: 180px;
        padding: 1.5rem 1rem;
    }
    
    .benefit-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .benefit-icon {
        font-size: 1.5rem;
    }
    
    .benefit-title {
        font-size: 1.1rem;
    }
    
    .benefit-description {
        font-size: 0.9rem;
    }
}