/* Reset & Base Styles */
:root {
    --gold: #FFD700;
    --gold-dim: #b39500;
    --black-deep: #050505;
    --black-surface: #0a0a0a;
    --neon-purple: #bc13fe;
    --neon-blue: #00f3ff;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black-deep);
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100%;
    /* Changed from 100vh to ensure it grows */
    display: block;
    position: relative;
    padding-top: 50px;
    /* Adjusted safe area */
    padding-bottom: 50px;
    padding-left: 10px;
    /* Reduced side padding for small screens */
    padding-right: 10px;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
}

html {
    height: auto;
    /* Prevent lock */
    min-height: 100%;
}

/* Background Effects */
.background-effects {
    position: fixed;
    /* Keep fixed to not scroll with content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    pointer-events: none;
    /* Improve scroll performance */
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    /* Reduced blur for performance */
    opacity: 0.3;
    /* Reduced opacity */
    /* Removed heavy animation for performance stability */
}

.orb-1 {
    width: 250px;
    height: 250px;
    background: var(--neon-purple);
    top: -20px;
    left: -20px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gold-dim);
    bottom: -50px;
    right: -50px;
}

.particles {
    display: none;
    /* Removed particles for mobile performance (lag fix) */
}

/* Layout */
/* Layout */
.container {
    width: 100%;
    max-width: 450px;
    /* Slightly reduced max-width to ensure fit */
    padding: 0;
    text-align: center;
    z-index: 10;
    margin: 40px auto;
    /* Explicit top/bottom margin */
}

.content-wrapper {
    background: rgba(10, 10, 10, 0.85);
    /* More opaque, less glass calculation */
    /* backdrop-filter: blur(16px); REMOVED heavy blur for mobile performance */
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 32px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Simplified shadow */
}

/* Header */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff44;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff44;
    animation: pulse-green 2s infinite;
}

h1 {
    font-size: 1.5rem;
    /* Reduced base size */
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 24px;
    /* Reduced margin */
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, #fff 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
    text-align: left;
}

.benefit-item {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    padding: 10px 12px;
    border-radius: 12px;
    border-left: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

.icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 165, 0, 0.5));
}

.benefit-item .text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #eee;
    line-height: 1.2;
}

.benefit-item .highlight {
    color: var(--gold);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* CTA Section */
.main-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 900;
    text-decoration: none;
    color: #000;
    background-color: var(--gold);
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 24px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.main-btn:hover {
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.6);
    transform: scale(1.02);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: sheen 3s infinite;
}

.timer-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: monospace;
    letter-spacing: 1px;
}

#countdown {
    color: var(--gold);
    font-weight: bold;
}

/* Animations */
@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 255, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 68, 0);
    }
}

@keyframes floating {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 20px);
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 0.2;
    }
}

@keyframes sheen {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.animate-zoom-in {
    animation: zoomIn 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
/* Responsive */
@media (max-width: 400px) {
    body {
        padding-top: 20px;
        /* Less padding on small screens */
    }

    .container {
        margin-top: 20px;
    }

    h1 {
        font-size: 1.3rem;
        /* Small font for small screens */
        margin-bottom: 20px;
    }

    .content-wrapper {
        padding: 24px 16px;
    }

    .main-btn {
        font-size: 1rem;
        padding: 16px;
    }

    .status-badge {
        margin-bottom: 16px;
        font-size: 0.7rem;
    }

    .benefits-grid {
        gap: 8px;
        margin-bottom: 30px;
    }

    .benefit-item {
        padding: 8px 10px;
    }
}