:root {
    --bg-dark: #020617;
    /* Slate 950 */
    --bg-blue-gradient: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    --primary-blue: #2563eb;
    --neon-blue: #38bdf8;
    --gold: #facc15;
    --gold-glow: #eab308;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --danger: #ef4444;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: var(--bg-blue-gradient);
    background-blend-mode: overlay;
}

/* Background Elements */
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top center, rgba(37, 99, 235, 0.4), transparent 60%),
        radial-gradient(circle at bottom center, rgba(56, 189, 248, 0.1), transparent 60%);
    z-index: -1;
}

.text-gold {
    color: var(--gold);
}

.glow-gold {
    text-shadow: 0 0 15px rgba(250, 204, 21, 0.6);
}

/* Urgency Bar */
.urgency-bar {
    background: var(--danger);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
    z-index: 10;
}

#countdown {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
    font-variant-numeric: tabular-nums;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    width: 100%;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--neon-blue);
    font-weight: 600;
    margin-bottom: 40px;
}

/* Roulette */
.roulette-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto 50px auto;
}

.roulette-border-neon {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-dark);
    padding: 10px;
    box-shadow: 0 0 30px var(--neon-blue), inset 0 0 20px rgba(56, 189, 248, 0.5);
    z-index: 5;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.roulette-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: conic-gradient(from 0deg, var(--primary-blue), var(--neon-blue), var(--primary-blue));
    border-radius: 50%;
    z-index: 0;
    animation: spinGlow 3s linear infinite;
    opacity: 0.8;
}

@keyframes spinGlow {
    100% {
        transform: rotate(360deg);
    }
}

.pointer {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid var(--gold);
    filter: drop-shadow(0 0 10px var(--gold));
}

#roulette-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    display: block;
}

/* Buttons */
.btn-spin,
.btn-activate {
    position: relative;
    background: linear-gradient(135deg, var(--gold), #d97706);
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 20px 50px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #451a03;
    /* Dark brown for high contrast on gold */
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 25px rgba(250, 204, 21, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-spin:active,
.btn-activate:active {
    transform: scale(0.95);
}

.btn-spin:hover,
.btn-activate:hover {
    box-shadow: 0 15px 35px rgba(250, 204, 21, 0.8);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Social Proof Section */
.social-proof {
    width: 100%;
    max-width: 900px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.t-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #cbd5e1;
}

.t-author {
    font-weight: bold;
    color: var(--neon-blue);
    font-size: 0.9rem;
}

/* Popups Notifications */
.notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notify-popup {
    background: rgba(15, 23, 42, 0.95);
    border-left: 4px solid var(--success);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: translateX(-150%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    max-width: 300px;
}

.notify-popup.show {
    transform: translateX(0);
    opacity: 1;
}

.notify-icon {
    font-size: 1.5rem;
}

.notify-text {
    font-size: 0.85rem;
    line-height: 1.3;
}

.notify-text strong {
    color: var(--success);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 23, 0.85);
    /* Dark Slate bg */
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 10px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 0 50px rgba(250, 204, 21, 0.3);
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 20px;
}

.icon-win {
    font-size: 4rem;
    display: block;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 900;
}

.modal-body {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    margin-top: 10px;
}

.prize-title {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 30px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
}

.redemption-box {
    margin-top: 20px;
}

.redemption-title {
    font-size: 1.2rem;
    color: var(--neon-blue);
    margin-bottom: 10px;
}

.redemption-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.redemption-text strong {
    color: var(--success);
    font-size: 1.1rem;
}

.btn-activate {
    width: 100%;
    font-size: 1.2rem;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.secure-payment {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    background: #000;
    margin-top: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    margin: 10px 0;
}

.footer-links a {
    color: var(--neon-blue);
    text-decoration: none;
}

.disclaimer {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 450px) {
    .hero-title {
        font-size: 2rem;
    }

    .roulette-wrapper {
        width: 300px;
        height: 300px;
    }

    .btn-spin {
        font-size: 1.2rem;
        padding: 15px 30px;
    }

    .modal-title {
        font-size: 2rem;
    }
}