:root {
    /* Gold Color Palette - Matching Main Page */
    --gold-primary: #FFD700;
    --gold-light: #FFF8DC;
    --gold-medium: #ab9000;
    --gold-dark: #B8860B;
    --gold-accent: #ab9000;
    
    /* Updated Primary Colors */
    --primary: var(--gold-primary);
    --primary-dark: var(--gold-dark);
    --primary-light: var(--gold-light);
    --secondary: #8B4513;
    --accent: #CD853F;
    --warning: #FF8C00;
    --danger: #DC143C;
    
    /* Background Colors */
    --bg-primary: #000000;
    --bg-secondary: #0D0D0D;
    --bg-tertiary: #1A1A1A;
    --bg-card: rgba(26, 26, 26, 0.9);
    --bg-overlay: rgba(0, 0, 0, 0.9);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #D4D4D4;
    --text-muted: #A0A0A0;
    --text-gold: var(--gold-primary);
    
    /* Border Colors */
    --border: rgba(255, 215, 0, 0.2);
    --border-light: rgba(255, 215, 0, 0.1);
    --border-strong: rgba(255, 215, 0, 0.4);
    
    /* Effects */
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    --glow-gold-strong: 0 0 40px rgba(255, 215, 0, 0.6);
    --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.2);
    --glow-danger: 0 0 40px rgba(220, 20, 60, 0.4);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    --gradient-gold-radial: radial-gradient(circle, #FFD700 0%, #B8860B 100%);
    --gradient-dark-gold: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    --gradient-danger: linear-gradient(135deg, #DC143C 0%, #B91C1C 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Chinese Rocks", system-ui, Arial, sans-serif !important; 
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Consistent background overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -2;
    pointer-events: none;
}

/* Enhanced Background Pattern - Matching Main Page */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(218, 165, 32, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(184, 134, 11, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
}

/* Floating Particles - Matching Main Page */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Animated Chart Background */
.chart-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { left: 30%; animation-delay: 5s; animation-duration: 30s; }
.particle:nth-child(3) { left: 60%; animation-delay: 10s; animation-duration: 20s; }
.particle:nth-child(4) { left: 80%; animation-delay: 15s; animation-duration: 35s; }
.particle:nth-child(5) { left: 45%; animation-delay: 8s; animation-duration: 28s; }

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

/* Entry Container */
.entry-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    font-family: "Chinese Rocks", system-ui, Arial, sans-serif !important; 
    font-size: 3rem;
    font-weight: 200;
    color: var(--text-gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
}
    @font-face {
      font-family: "Chinese Rocks";
      src: url("../fonts/chinese rocks rg.otf") format("otf"),
      url("../fonts/ChineseRocksRg-Regular.woff") format("woff"),
      url("../fonts/ChineseRocksRg-Regular.woff2") format("woff2"),
      font-weight: 200;
      font-style: normal;
      font-display: swap;
    }
.logo:hover {
    transform: translateY(-2px);
    text-shadow: var(--glow-gold);
}

.logo-icon {
    font-size: 3rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

.entry-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 200;
    margin-bottom: 2.5rem;
    font-family: "Chinese Rocks", system-ui, Arial, sans-serif !important; 
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.entry-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Level Selection */
.level-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Enhanced pulsating glow animation */
@keyframes cardGlow {
    0%, 100% { 
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(255, 215, 0, 0.1),
            inset 0 1px 0 rgba(255, 215, 0, 0.1);
    }
    50% { 
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.3),
            0 0 50px rgba(255, 215, 0, 0.2),
            inset 0 1px 0 rgba(255, 215, 0, 0.2);
    }
}

.level-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
    animation: cardGlow 4s ease-in-out infinite;
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold-radial);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.level-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.level-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold-primary);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.4),
        0 0 100px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 215, 0, 0.3);
}

.level-card:hover::before {
    opacity: 0.05;
}

.level-card:hover::after {
    transform: scaleX(1);
}

/* Individual level card glow colors */
.level-card:nth-child(1) {
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(244, 164, 96, 0.1),
        inset 0 1px 0 rgba(244, 164, 96, 0.1);
}

.level-card:nth-child(1):hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold-accent);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(244, 164, 96, 0.4),
        0 0 100px rgba(244, 164, 96, 0.2),
        inset 0 1px 0 rgba(244, 164, 96, 0.3);
}

.level-card:nth-child(2) {
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(218, 165, 32, 0.1),
        inset 0 1px 0 rgba(218, 165, 32, 0.1);
}

.level-card:nth-child(2):hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold-medium);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(218, 165, 32, 0.4),
        0 0 100px rgba(218, 165, 32, 0.2),
        inset 0 1px 0 rgba(218, 165, 32, 0.3);
}

.level-card:nth-child(3) {
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 80px rgba(255, 215, 0, 0.5), 0 0 120px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 215, 0, 0.4);
}

.level-card:nth-child(3):hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold-primary);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 80px rgba(255, 215, 0, 0.5), 0 0 120px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 215, 0, 0.4);
}

.level-icon {
    font-size: 4rem;
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}
        .arrow-left {
            position: absolute;
            top: 17%;
            left: -10px;
transform: translateY(-50%) rotate(140deg);
            z-index: 5;
            animation: arrowPulse 2s ease-in-out infinite, arrowFloat 3s ease-in-out infinite;
        }

        .arrow-right {
            position: absolute;
            top: 17%;
            right: -10px;
transform: translateY(-50%) rotate(-140deg) scaleX(-1);
            z-index: 5;
            animation: arrowPulse 2s ease-in-out infinite 0.5s, arrowFloat 3s ease-in-out infinite 0.5s;
        }


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

.level-card:nth-child(1) .level-icon {
    color: var(--gold-accent);
    animation-delay: 0s;

}

.level-card:nth-child(2) .level-icon {
    color: var(--gold-medium);
    animation-delay: 0.5s;

}

.level-card:nth-child(3) .level-icon {
    color: var(--gold-primary);
    animation-delay: 1s;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

.level-title {
	font-weight:200;
    font-size: 1.9rem;
    margin-bottom: 1rem;
    font-family: "Chinese Rocks", system-ui, Arial, sans-serif !important; 
}

.level-card:nth-child(1) .level-title { color: var(--gold-accent); }
.level-card:nth-child(2) .level-title { color: var(--gold-medium); }
.level-card:nth-child(3) .level-title { color: var(--gold-primary); }

.level-description {
    color: var(--text-secondary);
    font-family: "arial", system-ui, Arial, sans-serif !important; 
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.level-percentage {
    font-size: 1.4rem;
    font-weight: 200;
    font-family: "Chinese Rocks", system-ui, Arial, sans-serif !important; 
}

.level-card:nth-child(1) .level-percentage { color: var(--gold-accent); }
.level-card:nth-child(2) .level-percentage { color: var(--gold-medium); }
.level-card:nth-child(3) .level-percentage { color: var(--gold-primary); }

/* Warning Modal */
.warning-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.warning-content {
    background: var(--bg-card);
    border: 2px solid var(--danger);
    border-radius: 16px;
    padding: 3rem 2rem;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.5s ease;
    backdrop-filter: blur(20px);
}

@keyframes modalSlideIn {
    0% { transform: scale(0.8) translateY(-50px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.warning-icon {
    font-size: 4rem;
    color: var(--danger);
    margin-bottom: 1.5rem;
    animation: warningPulse 1.5s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 20px var(--danger));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px var(--danger));
    }
}

.warning-title {
    font-size: 1.8rem;
    font-weight: 200;
    color: var(--danger);
    margin-bottom: 1rem;
    font-family: "Chinese Rocks", system-ui, Arial, sans-serif !important; 
}
.warning-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
font-family: "Arial", system-ui, Arial, sans-serif !important; 
}

.warning-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 200;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Chinese Rocks", system-ui, Arial, sans-serif !important; 
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger {
    background: var(--gradient-danger);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-danger);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--text-secondary);
}

.btn-secondary:hover {
    background: var(--text-secondary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-gold-strong);
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
    box-shadow: var(--glow-gold);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.5rem;
    color: var(--gold-primary);
    font-family: "Chinese Rocks", system-ui, Arial, sans-serif !important; 
    font-weight: 200;
    animation: loadingTextPulse 1.5s ease-in-out infinite;
}

@keyframes loadingTextPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Disclaimer */
.disclaimer {
    font-weight: 100;
    padding: 2rem;
    background: rgba(220, 20, 60, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 12px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    backdrop-filter: blur(10px);
}

.disclaimer strong {
    color: var(--danger);
}

/* Success Message Styling */
.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: floatIcon 3s ease-in-out infinite;
}

.success-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
    font-family: "Chinese Rocks", system-ui, Arial, sans-serif !important; 
    font-weight: 200;
}

.success-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    line-height: 1.6;
}

.success-button {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    padding: 1.5rem 3rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
}

.success-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--glow-gold-strong);
}

.success-note {
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Enhanced Animations */
.text-shimmer {
    background: linear-gradient(45deg, #FFD700, #FFF8DC, #DAA520, #FFD700);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Animations for fade up effect */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

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

/* Glitch Effect */
.glitch {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Pulse effect for denial */
.denial-pulse {
    animation: denialPulse 0.5s ease-in-out 3;
}

@keyframes denialPulse {
    0%, 100% { 
        border-color: var(--danger);
        box-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
    }
    50% { 
        border-color: var(--danger);
        box-shadow: 0 0 30px rgba(220, 20, 60, 0.8);
    }
}

/* Additional animations */
@keyframes goldFall {
    0% { transform: translateY(-50px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(calc(100vh + 50px)) rotate(360deg); opacity: 0; }
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .entry-container {
        padding: 2rem 1rem;
    }

    .level-selection {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .warning-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .warning-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .logo {
        font-size: 2.5rem;
    }

    .logo-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .level-selection {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .level-card {
        padding: 2rem 1.5rem;
    }
}