/* Custom Styles for QueKey Landing Page */

.insider-section {
    overflow: hidden;
    position: relative;
}

.insider-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 70% 80%, rgba(30, 144, 255, 0.08) 0%, transparent 40%),
        linear-gradient(45deg, rgba(255,255,255,0.02) 0%, transparent 70%);
    animation: backgroundPulse 20s ease-in-out infinite;
    z-index: 1;
}

.insider-section .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    z-index: 1;
}

.insider-section .particle-1 {
    top: 10%; left: 15%; width: 4px; height: 4px;
    animation: particleFloat1 15s linear infinite;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.insider-section .particle-2 {
    top: 20%; right: 20%; width: 6px; height: 6px;
    animation: particleFloat2 18s linear infinite 2s;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

.insider-section .particle-3 {
    bottom: 25%; left: 25%; width: 3px; height: 3px;
    animation: particleFloat3 12s linear infinite 4s;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.5);
}

.insider-section .particle-4 {
    top: 60%; left: 60%; width: 5px; height: 5px;
    animation: particleFloat4 20s linear infinite 1s;
    box-shadow: 0 0 12px rgba(255,255,255,0.4);
}

.insider-section .particle-5 {
    bottom: 15%; right: 30%; width: 4px; height: 4px;
    animation: particleFloat5 16s linear infinite 3s;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.insider-section .particle-6 {
    top: 40%; right: 10%; width: 7px; height: 7px;
    animation: particleFloat6 14s linear infinite 5s;
    box-shadow: 0 0 18px rgba(30, 144, 255, 0.4);
}

.insider-section .particle-7 {
    top: 30%; left: 5%; width: 5px; height: 5px;
    animation: particleFloat1 17s linear infinite 6s;
    box-shadow: 0 0 12px rgba(255,255,255,0.4);
}

.insider-section .particle-8 {
    bottom: 40%; right: 15%; width: 3px; height: 3px;
    animation: particleFloat2 13s linear infinite 7s;
    box-shadow: 0 0 8px rgba(138, 43, 226, 0.5);
}

.insider-section .particle-9 {
    top: 70%; left: 40%; width: 6px; height: 6px;
    animation: particleFloat3 19s linear infinite 1s;
    box-shadow: 0 0 15px rgba(30, 144, 255, 0.3);
}

.insider-section .particle-10 {
    top: 15%; left: 70%; width: 4px; height: 4px;
    animation: particleFloat4 14s linear infinite 8s;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.insider-section .particle-11 {
    bottom: 30%; left: 10%; width: 7px; height: 7px;
    animation: particleFloat5 21s linear infinite 2s;
    box-shadow: 0 0 18px rgba(138, 43, 226, 0.4);
}

.insider-section .particle-12 {
    top: 50%; right: 40%; width: 5px; height: 5px;
    animation: particleFloat6 16s linear infinite 9s;
    box-shadow: 0 0 12px rgba(30, 144, 255, 0.4);
}

.insider-section .geometric {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 1;
}

.insider-section .geo-1 {
    top: 20%; left: 5%; width: 80px; height: 80px;
    border-radius: 50%;
    animation: geometricSpin 25s linear infinite;
    background: linear-gradient(45deg, rgba(255,255,255,0.02), transparent);
}

.insider-section .geo-2 {
    bottom: 20%; right: 8%; width: 60px; height: 60px;
    transform: rotate(45deg);
    animation: geometricFloat 20s ease-in-out infinite 3s;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.03), transparent);
}

.insider-section .geo-3 {
    top: 50%; left: 80%; width: 40px; height: 40px;
    border-radius: 50%;
    animation: geometricSpin 30s linear infinite 5s;
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.02), transparent);
}

.insider-section .geo-4 {
    bottom: 10%; left: 50%; width: 70px; height: 70px;
    transform: rotate(30deg);
    animation: geometricFloat 25s ease-in-out infinite 7s;
    background: linear-gradient(45deg, rgba(255,255,255,0.01), transparent);
}

/* Hero Section Creative Animations */
#home {
    position: relative;
    overflow: hidden;
    background-size: auto 100% !important;
    animation: backgroundSlide 60s linear infinite;
}

#home::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(45deg, rgba(116, 185, 255, 0.03) 0%, transparent 30%),
        linear-gradient(-45deg, rgba(138, 43, 226, 0.02) 0%, transparent 30%);
    animation: gentleBreath 8s ease-in-out infinite;
    z-index: 1;
}

.hero-particle {
    position: absolute;
    background: rgba(116, 185, 255, 0.6);
    border-radius: 50%;
    z-index: 2;
}

.hero-particle-1 { top: 20%; left: 10%; width: 6px; height: 6px; animation: heroFloat1 12s linear infinite; }
.hero-particle-2 { top: 60%; right: 15%; width: 4px; height: 4px; animation: heroFloat2 15s linear infinite 2s; }
.hero-particle-3 { bottom: 30%; left: 20%; width: 8px; height: 8px; animation: heroFloat3 18s linear infinite 4s; }
.hero-particle-4 { top: 40%; right: 30%; width: 5px; height: 5px; animation: heroFloat4 14s linear infinite 1s; }
.hero-particle-5 { bottom: 20%; right: 10%; width: 7px; height: 7px; animation: heroFloat5 16s linear infinite 3s; }

.typing-effect {
    border-right: 2px solid #7367f0;
    animation: blink 1s infinite;
}

.stats-card {
    transform: translateY(20px);
    opacity: 0;
    animation: statsSlideUp 0.8s ease-out forwards;
}

.stats-card:nth-child(1) { animation-delay: 0.2s; }
.stats-card:nth-child(2) { animation-delay: 0.4s; }
.stats-card:nth-child(3) { animation-delay: 0.6s; }

.hero-badge {
    animation: badgeFloat 3s ease-in-out infinite;
    position: relative;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #7367f0, #00d4aa);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    animation: badgeGlowPulse 4s ease-in-out infinite;
}

.cta-buttons .btn {
    transform: translateY(30px);
    opacity: 0;
    animation: buttonSlideUp 0.8s ease-out forwards;
}

.cta-buttons .btn:nth-child(1) { animation-delay: 0.8s; }
.cta-buttons .btn:nth-child(2) { animation-delay: 1s; }

.dotted-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 77%;
    height: 77%;
    border: 3px dashed #8c98a4;
    border-radius: 50%;
    animation: slowRotate 90s linear infinite;
    z-index: -1;
}

.free-credit-offer {
    background: linear-gradient(135deg, #00d4aa 0%, #7367f0 100%);
    border-radius: 15px;
    padding: 6px 16px;
    box-shadow: 0 8px 25px rgba(115, 103, 240, 0.25);
    animation: creditPulse 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 8px 0;
}

.free-credit-offer:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 40px rgba(115, 103, 240, 0.4);
}

.credit-glow {
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    background: linear-gradient(135deg, #00d4aa, #7367f0, #00d4aa);
    border-radius: 23px;
    z-index: -1;
    animation: creditGlow 2s linear infinite;
}

.credit-content {
    text-align: left;
    color: white;
}

.credit-amount {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    margin-bottom: 3px;
}

.dollar-sign {
    font-size: 14px;
    font-weight: 700;
    animation: dollarBounce 2s ease-in-out infinite;
}

.amount {
    font-size: 22px;
    font-weight: 800;
    animation: amountScale 2s ease-in-out infinite;
}

.free-text {
    font-size: 11px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 8px;
    animation: freeGlow 1.5s ease-in-out infinite alternate;
}

.credit-details {
    font-size: 10px;
    opacity: 0.9;
}

.highlight {
    font-weight: 600;
    color: #fff;
}

.credit-sparkle {
    position: absolute;
    font-size: 10px;
    animation: sparkleFloat 2s ease-in-out infinite;
}

.sparkle-1 {
    top: -5px; left: 10px;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 10px; right: -5px;
    animation-delay: 0.7s;
}

.sparkle-3 {
    bottom: -5px; left: 50%;
    animation-delay: 1.4s;
}

/* Comparison Section Styles */
.comparison-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    animation: cardFloat 6s ease-in-out infinite;
}

.comparison-card:nth-child(1) { animation-delay: 0s; }
.comparison-card:nth-child(2) { animation-delay: 2s; }
.comparison-card:nth-child(3) { animation-delay: 4s; }

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

.quekey-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 3px solid #ffd700;
    animation: winnerGlow 3s ease-in-out infinite;
}

.winner-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    animation: badgeBounce 2s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
    animation: iconPulse 2s ease-in-out infinite;
}

.traditional-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.passkey-icon {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

.quekey-icon {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    animation: winnerIconSpin 4s linear infinite;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.outdated {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    animation: warningBlink 2s ease-in-out infinite;
}

.decent {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
}

.revolutionary {
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
    animation: revolutionaryGlow 1.5s ease-in-out infinite alternate;
}

.comparison-points {
    margin: 25px 0;
}

.point {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    animation: pointSlide 0.6s ease-out;
}

.point i {
    margin-right: 10px;
    font-size: 16px;
}

.positive i {
    color: #28a745;
    animation: checkBounce 2s ease-in-out infinite;
}

.negative i {
    color: #dc3545;
    animation: crossShake 3s ease-in-out infinite;
}

.security-meter {
    margin-top: 20px;
}

.meter-bar {
    width: 100%;
    height: 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 8px 0;
}

.meter-fill {
    height: 100%;
    border-radius: 10px;
    animation: meterFill 2s ease-out;
}

.low {
    background: linear-gradient(90deg, #ff6b6b, #ee5a52);
}

.medium {
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
}

.high {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    animation: meterFill 2s ease-out, meterGlow 2s ease-in-out infinite;
}

/* Speed Comparison */
.auth-olympics {
    background: white;
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: visible;
    color: #333;
    min-height: 480px;
}

.olympics-header h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.olympics-header p {
    color: #666;
}

.stadium {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e0e0e0;
    margin-top: 32px;
}

.track-field {
    position: relative;
    height: 320px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.track-field::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 62px,
            #ddd 62px,
            #ddd 64px
        );
    pointer-events: none;
    z-index: 1;
}

.track-field::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 60px,
            #ddd 60px,
            #ddd 61px,
            transparent 61px,
            transparent 64px
        );
    pointer-events: none;
    z-index: 1;
}

.starting-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: 
        linear-gradient(90deg, #10b981 0%, #059669 100%),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.1) 0px,
            rgba(255,255,255,0.1) 8px,
            transparent 8px,
            transparent 16px
        );
    border-radius: 16px 0 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    box-shadow: 
        0 0 20px rgba(16,185,129,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.start-flag {
    font-size: 18px;
    margin-bottom: 4px;
    animation: flagWave 2s ease-in-out infinite;
}

.runner-container {
    position: relative;
    height: 100%;
    padding-left: 0;
    z-index: 2;
    overflow: visible;
}

.f1-car {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: raceProgress 10s ease-out infinite;
    left: 20px;
}

.car-1 {
    top: 15px;
    animation-duration: 35s;
}

.car-2 {
    top: 75px;
    animation-duration: 20s;
}

.car-3 {
    top: 135px;
    animation-duration: 15s;
}

.car-4 {
    top: 195px;
    animation-duration: 12s;
}

.car-5 {
    top: 255px;
    animation-duration: 8s;
}

/* F1 Car Image Styling */
.car-image {
    width: 60px;
    height: auto;
    max-height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.car-placeholder {
    font-size: 20px;
    width: 60px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.car-info {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.9);
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.car-name {
    font-size: 9px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.lap-count {
    font-size: 8px;
    color: #666;
    font-weight: 400;
}

.finish-line-olympic {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: 
        linear-gradient(90deg, #f59e0b 0%, #d97706 100%),
        repeating-linear-gradient(
            -45deg,
            rgba(255,255,255,0.2) 0px,
            rgba(255,255,255,0.2) 8px,
            transparent 8px,
            transparent 16px
        );
    border-radius: 0 16px 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    box-shadow: 
        0 0 25px rgba(245,158,11,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.finish-flag {
    font-size: 20px;
    margin-bottom: 4px;
    animation: finishGlow 2s ease-in-out infinite;
}

.race-controls {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.race-status {
    background: rgba(0,0,0,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.lap-indicator {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    color: #333;
    z-index: 4;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lap-indicator::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #333;
}

.lap-icon {
    font-size: 14px;
    animation: pulse 2s ease-in-out infinite;
}

.lap-ticks {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 5;
}

.lap-tick {
    width: 20px;
    height: 20px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease;
}

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



/* Floating Elements */
.floating-element {
    position: absolute;
    font-size: 30px;
    opacity: 0.1;
    animation: floatAround 15s linear infinite;
}

.elem-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.elem-2 {
    top: 20%;
    right: 15%;
    animation-delay: 3s;
}

.elem-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 6s;
}

.elem-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 9s;
}

.live-users-indicator {
    display: inline-block;
    animation: usersFloat 3s ease-in-out infinite;
}

.users-online {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
    color: #28a745;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulseDot 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
}

.users-count {
    font-weight: 700;
    color: #28a745;
}

.users-text {
    font-size: 10px;
    color: #6c757d;
    text-align: center;
}

.simple-counter {
    text-align: left;
}

.counter-number {
    font-size: 18px;
    font-weight: 700;
    color: #7367f0;
    animation: numberPop 2s ease-in-out infinite;
}

.counter-label {
    font-size: 10px;
    color: #6c757d;
    font-weight: 500;
}

.hero-capsule {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 15px 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.capsule-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.capsule-item {
    display: flex;
    align-items: center;
}

.capsule-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(115, 103, 240, 0.3), transparent);
}

.click-to-start {
    background: rgba(255, 255, 255, 0.3);
    padding: 1px 4px;
    border-radius: 6px;
    font-weight: 600;
    animation: clickPulse 2s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.click-to-start-large {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    animation: clickPulse 2s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.dollar-sign-small {
    font-size: 12px;
    font-weight: 700;
    animation: dollarBounce 2s ease-in-out infinite;
}

.amount-small {
    font-size: 16px;
    font-weight: 800;
    animation: amountScale 2s ease-in-out infinite;
}

.free-text-small {
    font-size: 9px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 1px 4px;
    border-radius: 6px;
    animation: freeGlow 1.5s ease-in-out infinite alternate;
}

.logo-animated {
    transition: all 0.3s ease;
    animation: logoFloat 4s ease-in-out infinite, logoGlow 3s ease-in-out infinite;
    position: relative;
}

.logo-animated::before {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    background: linear-gradient(45deg, #7367f0, #00d4aa, #7367f0);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    animation: logoPulse 4s ease-in-out infinite;
}

.logo-animated:hover {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 25px rgba(115, 103, 240, 0.5)) brightness(1.1);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 25px;
    padding: 8px 16px;
    position: relative;
    overflow: hidden;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
}

.status-text {
    color: #22c55e;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.status-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    animation: statusWave 3s ease-in-out infinite;
}

.insider-badge {
    position: relative;
    display: inline-block;
}

.insider-badge .badge-glow {
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    border-radius: 25px;
    animation: badgeGlow 3s ease-in-out infinite;
    z-index: -1;
}

.insider-badge .badge-text {
    display: inline-block;
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.insider-badge .badge-icon {
    display: inline-block;
    animation: rocketBounce 2s ease-in-out infinite;
    margin-right: 8px;
}

.insider-badge .badge-counter {
    color: #e74c3c;
    font-weight: 700;
    animation: counterPulse 2s ease-in-out infinite;
}

.unlock-emoji {
    display: inline-block;
    animation: unlockShake 3s ease-in-out infinite;
}

.community-emoji {
    display: inline-block;
    animation: communityBounce 2.5s ease-in-out infinite;
}

/* Animations */
@keyframes backgroundPulse {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

@keyframes particleFloat1 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(300px, -200px) scale(0.5); opacity: 0; }
}

@keyframes particleFloat2 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translate(-250px, 180px) scale(0.3); opacity: 0; }
}

@keyframes particleFloat3 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(200px, -300px) scale(0.8); opacity: 0; }
}

@keyframes particleFloat4 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translate(-180px, -150px) scale(0.4); opacity: 0; }
}

@keyframes particleFloat5 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    82% { opacity: 1; }
    100% { transform: translate(-300px, -100px) scale(0.6); opacity: 0; }
}

@keyframes particleFloat6 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    86% { opacity: 1; }
    100% { transform: translate(-200px, 250px) scale(0.2); opacity: 0; }
}

@keyframes geometricSpin {
    0% { transform: rotate(0deg) scale(1); opacity: 0.3; }
    50% { transform: rotate(180deg) scale(1.2); opacity: 0.1; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.3; }
}

@keyframes geometricFloat {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    25% { transform: rotate(135deg) translateY(-30px); }
    50% { transform: rotate(225deg) translateY(0px); }
    75% { transform: rotate(315deg) translateY(30px); }
}

@keyframes backgroundSlide {
    0% { background-position: 0px bottom; }
    100% { background-position: -1000px bottom; }
}

@keyframes gentleBreath {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes heroFloat1 {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(200px, -150px); opacity: 0; }
}

@keyframes heroFloat2 {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(-180px, 120px); opacity: 0; }
}

@keyframes heroFloat3 {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(150px, -200px); opacity: 0; }
}

@keyframes heroFloat4 {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(-200px, -100px); opacity: 0; }
}

@keyframes heroFloat5 {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(-150px, 180px); opacity: 0; }
}

@keyframes blink {
    0%, 50% { border-color: #7367f0; }
    51%, 100% { border-color: transparent; }
}

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

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

@keyframes badgeGlowPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

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

@keyframes slowRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes creditPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes creditGlow {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

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

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

@keyframes freeGlow {
    0% { background: rgba(255,255,255,0.2); }
    100% { background: rgba(255,255,255,0.4); }
}

@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-8px) rotate(180deg); opacity: 1; }
}

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

@keyframes winnerGlow {
    0%, 100% { box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5); }
}

@keyframes badgeBounce {
    0%, 100% { transform: scale(1) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

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

@keyframes winnerIconSpin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes warningBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes revolutionaryGlow {
    0% { background: rgba(255, 215, 0, 0.3); }
    100% { background: rgba(255, 215, 0, 0.6); }
}

@keyframes checkBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes crossShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes meterFill {
    0% { width: 0%; }
    100% { width: var(--fill-width, 100%); }
}

@keyframes meterGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

@keyframes flagWave {
    0%, 100% { transform: rotate(-3deg) scale(1); }
    50% { transform: rotate(3deg) scale(1.1); }
}

@keyframes finishGlow {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.2); }
}

@keyframes raceProgress {
    0% { left: -220px; }
    15% { left: 70px; }
    85% { left: calc(100% - 220px); }
    100% { left: calc(100% + 20px); }
}

@keyframes finishPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}



@keyframes floatAround {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, -30px) rotate(90deg); }
    50% { transform: translate(0, -60px) rotate(180deg); }
    75% { transform: translate(-50px, -30px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

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

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

@keyframes numberPop {
    0%, 90%, 100% { transform: scale(1); }
    5% { transform: scale(1.1); }
}

@keyframes clickPulse {
    0%, 100% { background: rgba(255, 255, 255, 0.3); transform: scale(1); }
    50% { background: rgba(255, 255, 255, 0.5); transform: scale(1.05); }
}

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

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(115, 103, 240, 0.2)); }
    50% { filter: drop-shadow(0 0 15px rgba(115, 103, 240, 0.4)); }
}

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

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes statusPulseAmber {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

@keyframes statusPulseOrange {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.8); }
    70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(255, 107, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

@keyframes statusWave {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

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

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

@keyframes unlockShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

@keyframes communityBounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}

.track-label {
    position: absolute;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 4px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
    z-index: 10;
}

.start-label {
    top: 50%;
    left: 90px;
    transform: translateY(-50%);
}

.finish-label {
    top: 50%;
    right: 90px;
    transform: translateY(-50%);
}

.f1-lights {
    position: absolute;
    width: 60px;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 3px solid #333;
    z-index: 3;
}

.start-lights {
    left: 0;
    top: 0;
}

.finish-lights {
    right: 0;
    top: 0;
}

.light-panel {
    position: relative;
    width: 100%;
    height: 100%;
}

.light {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #444;
    background: #333;
    transition: all 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

/* Position lights to align with car lanes */
.runner-light-1 { top: 15px; }
.runner-light-2 { top: 75px; }
.runner-light-3 { top: 135px; }
.runner-light-4 { top: 195px; }
.runner-light-5 { top: 255px; }



/* Runner 1 - Password Pete (35s) */
.runner-light-1.green {
    animation: runnerStartLight 35s infinite;
}
.runner-light-1.red {
    animation: runnerFinishLight 35s infinite;
}

/* Runner 2 - OTP Oliver (20s) */
.runner-light-2.green {
    animation: runnerStartLight 20s infinite;
}
.runner-light-2.red {
    animation: runnerFinishLight 20s infinite;
}

/* Runner 3 - OAuth Oscar (15s) */
.runner-light-3.green {
    animation: runnerStartLight 15s infinite;
}
.runner-light-3.red {
    animation: runnerFinishLight 15s infinite;
}

/* Runner 4 - Passkey Paul (12s) */
.runner-light-4.green {
    animation: runnerStartLight 12s infinite;
}
.runner-light-4.red {
    animation: runnerFinishLight 12s infinite;
}

/* Runner 5 - QueKey Quinn (8s) */
.runner-light-5.green {
    animation: runnerStartLight 8s infinite;
}
.runner-light-5.red {
    animation: runnerFinishLight 8s infinite;
}

@keyframes runnerStartLight {
    0%, 3% { 
        background: #00ff00;
        box-shadow: 0 0 15px #00ff00, inset 0 0 10px #44ff44;
    }
    4%, 100% { 
        background: #333;
        box-shadow: none;
    }
}

@keyframes runnerFinishLight {
    0%, 88% { 
        background: #333;
        box-shadow: none;
    }
    89%, 95% { 
        background: #ff0000;
        box-shadow: 0 0 15px #ff0000, inset 0 0 10px #ff4444;
    }
    96%, 100% { 
        background: #333;
        box-shadow: none;
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .stadium {
        margin: 0;
        border-radius: 8px;
    }
    
    .track-field {
        height: 180px;
        overflow: hidden;
        position: relative;
    }
    
    .runner-container {
        padding-left: 0;
        width: 100%;
        min-width: 300px;
    }
    
    .f1-lights {
        width: 25px;
    }
    
    .light {
        width: 8px;
        height: 8px;
    }
    
    .track-label {
        font-size: 8px;
        padding: 2px 1px;
        letter-spacing: 1px;
    }
    
    .start-label {
        left: 28px;
    }
    
    .finish-label {
        right: 28px;
    }
    
    .runner-light-1 { top: 8px; }
    .runner-light-2 { top: 40px; }
    .runner-light-3 { top: 72px; }
    .runner-light-4 { top: 104px; }
    .runner-light-5 { top: 136px; }
    
    .f1-car {
        gap: 2px;
    }
    
    .car-1 { top: 8px; }
    .car-2 { top: 40px; }
    .car-3 { top: 72px; }
    .car-4 { top: 104px; }
    .car-5 { top: 136px; }
    
    .car-image {
        width: 30px;
        max-height: 12px;
    }
    
    .car-placeholder {
        font-size: 12px;
        width: 30px;
        height: 12px;
    }
    
    .car-info {
        padding: 1px 3px;
        border-radius: 2px;
        font-size: 6px;
    }
    
    .car-name {
        font-size: 6px;
        line-height: 1;
    }
    
    .lap-count {
        font-size: 5px;
        line-height: 1;
    }
    
    .lap-indicator {
        top: -20px;
        padding: 2px 6px;
        font-size: 8px;
        gap: 3px;
    }
    
    .lap-text {
        display: none;
    }
    
    .lap-icon {
        font-size: 10px;
    }
    
    .race-controls {
        bottom: -20px;
        font-size: 8px;
    }
    
    .olympics-header h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .olympics-header p {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile race animation */
    @keyframes raceProgress {
        0% { left: -120px; }
        15% { left: 30px; }
        85% { left: calc(100% - 120px); }
        100% { left: calc(100% + 10px); }
    }
}

@media (max-width: 480px) {
    .track-field {
        height: 140px;
    }
    
    .f1-lights {
        width: 20px;
    }
    
    .light {
        width: 6px;
        height: 6px;
    }
    
    .track-label {
        font-size: 6px;
        padding: 1px;
        letter-spacing: 0.5px;
    }
    
    .start-label {
        left: 22px;
    }
    
    .finish-label {
        right: 22px;
    }
    
    .runner-light-1 { top: 6px; }
    .runner-light-2 { top: 30px; }
    .runner-light-3 { top: 54px; }
    .runner-light-4 { top: 78px; }
    .runner-light-5 { top: 102px; }
    
    .car-1 { top: 6px; }
    .car-2 { top: 30px; }
    .car-3 { top: 54px; }
    .car-4 { top: 78px; }
    .car-5 { top: 102px; }
    
    .car-image {
        width: 24px;
        max-height: 10px;
    }
    
    .car-placeholder {
        font-size: 10px;
        width: 24px;
        height: 10px;
    }
    
    .car-info {
        padding: 0px 2px;
        font-size: 5px;
    }
    
    .car-name {
        font-size: 5px;
        line-height: 1;
    }
    
    .lap-count {
        font-size: 4px;
        line-height: 1;
    }
    
    .lap-indicator {
        top: -15px;
        padding: 1px 4px;
        font-size: 6px;
        gap: 2px;
    }
    
    .lap-icon {
        font-size: 8px;
    }
    
    .race-controls {
        bottom: -15px;
        font-size: 6px;
    }
    
    .olympics-header h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .olympics-header p {
        font-size: 0.65rem;
        margin-bottom: 0.75rem;
        padding: 0 5px;
    }
    
    /* Extra small mobile race animation */
    @keyframes raceProgress {
        0% { left: -80px; }
        15% { left: 25px; }
        85% { left: calc(100% - 80px); }
        100% { left: calc(100% + 5px); }
    }
}