/* ============================================
   Three.js Canvas Styling
   ============================================ */
.threejs-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

body > *:not(.threejs-background) {
    position: relative;
    z-index: 1;
}

/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-tertiary: #1a1a2e;
    --bg-card: #16213e;
    --bg-card-hover: #1e2a4a;
    
    --text-primary: #ffffff;
    --text-secondary: #b8b8d4;
    --text-muted: #6b6b8a;
    
    --accent-primary: #00d4ff;
    --accent-secondary: #7b61ff;
    --accent-tertiary: #ff6b6b;
    --accent-success: #4ecdc4;
    --accent-warning: #ffe66d;
    
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7b61ff 100%);
    --gradient-secondary: linear-gradient(135deg, #7b61ff 0%, #ff6b6b 100%);
    --gradient-hero: linear-gradient(135deg, #00d4ff 0%, #7b61ff 50%, #ff6b6b 100%);
    
    --border-color: #2a2a3e;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 212, 255, 0.2);
    --shadow-glow: 0 0 40px rgba(123, 97, 255, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.app-shell {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: var(--bg-primary);
}

.mobile-bottom-nav {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo svg {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dashboard button in nav - styled as link, not button */
.nav-links a.btn-primary {
    background: transparent;
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-primary);
    box-shadow: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-links a.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.nav-links a.btn-primary:hover {
    color: var(--text-primary);
    transform: translateY(0);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.nav-links a.btn-primary:hover::before {
    left: 0;
}

.nav-links a.btn-primary::after {
    display: none;
}

/* Logout link styling */
.nav-links a.nav-logout {
    color: var(--text-muted);
    font-size: 14px;
    padding: 0;
    margin-left: 0.5rem;
}

.nav-links a.nav-logout:hover {
    color: var(--accent-tertiary);
}

@media (max-width: 768px) {
    body {
        background: radial-gradient(circle at top, rgba(0, 212, 255, 0.18), transparent 60%), #05050d;
        padding: 0;
    }

    .app-shell {
        border-radius: 0;
        overflow: hidden;
        min-height: 100vh;
        box-shadow: none;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 420px;
        background: rgba(9, 11, 24, 0.92);
        border-radius: 22px;
        padding: 8px;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(18px);
        z-index: 1002;
        border: none;
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 9px 0;
        border-radius: 16px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 11px;
        text-decoration: none;
        transition: var(--transition);
    }

    .bottom-nav-item.active {
        background: rgba(0, 212, 255, 0.15);
        color: #fff;
    }

    .bottom-nav-item i,
    .bottom-nav-item .fa-solid,
    .bottom-nav-item .fas,
    .bottom-nav-item .fa {
        font-size: 20px !important;
        color: rgba(255, 255, 255, 0.6) !important;
        transition: var(--transition);
        display: inline-block !important;
        line-height: 1 !important;
        width: 20px !important;
        height: 20px !important;
        text-align: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .bottom-nav-item.active i,
    .bottom-nav-item.active .fa-solid,
    .bottom-nav-item.active .fas,
    .bottom-nav-item.active .fa {
        color: #fff !important;
    }

    .navbar {
        position: sticky;
        top: 0;
        border-radius: 0 0 20px 20px;
        padding: 16px 0;
        background: rgba(5, 5, 12, 0.94);
        border: none;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    }

    .navbar .container,
    .hero .container,
    .container {
        padding: 0 10px;
    }

    .nav-links {
        position: fixed;
        top: 86px;
        left: 50%;
        transform: translate(-50%, -16px);
        width: calc(100% - 40px);
        max-width: 420px;
        background: rgba(13, 13, 23, 0.95);
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
        flex-direction: column;
        padding: 16px;
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        backdrop-filter: blur(20px);
        z-index: 1001;
    }
    
    .nav-links.active {
        transform: translate(-50%, 0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a,
    .nav-links .btn-primary {
        width: 100%;
        text-align: center;
        border-radius: 14px;
        padding: 12px 0;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hero {
        padding: 14px 0 6px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 16px;
        line-height: 1.02;
        margin-bottom: 8px;
    }
    
    .hero-description {
        font-size: 10px;
        line-height: 1.25;
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 14px;
    }
    
    .hero-cta {
        flex-direction: row;
        gap: 8px;
    }
    
    .hero-cta button {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .hero-stats {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        text-align: center;
    }

    .stat-item {
        align-items: center;
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-label {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.65);
    }

    .hero-image {
        flex-direction: column;
        gap: 18px;
    }

    .wheel-preview {
        max-width: 280px;
        margin: 0 auto;
    }

    section {
        padding: 16px 0;
    }

    .steps-container,
    .prizes-grid,
    .stats-grid {
        gap: 12px;
    }

    .app-shell {
        padding-bottom: 64px;
    }

    .step-card,
    .prize-card,
    .stat-card,
    .faq-item {
        border-radius: 16px;
        border: none;
        background: linear-gradient(145deg, rgba(17, 19, 42, 0.92), rgba(6, 7, 18, 0.96));
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
        padding: 14px;
    }

    .step-card::before {
        display: none;
    }

    .prize-image {
        height: 140px;
    }

    .step-card {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 12px;
    }

    .step-media {
        margin: 0;
        width: 64px;
        min-width: 64px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .step-icon img {
        width: 50px;
        height: 50px;
    }

    .step-number {
        position: static;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
    }

    .step-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .step-title,
    .step-description {
        margin: 0;
        text-align: left;
    }

    .cta {
        padding-bottom: 24px;
    }

    .footer {
        padding: 24px 0 14px;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-select {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-select {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    width: 100%;
    margin-top: 12px;
}

.btn-select:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(123, 97, 255, 0.1);
    border: 1px solid rgba(123, 97, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--accent-secondary);
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    position: relative;
    display: inline-block;
}

.typing-text::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    color: var(--accent-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .wheel-preview {
    position: absolute;
    z-index: 1;
    opacity: 0.7;
}

.hero-image .circular-prize-carousel {
    position: relative;
    z-index: 2;
}

.coin-3d-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .coin-3d-container {
        width: 150px;
        height: 150px;
    }
}

.wheel-preview {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.wheel-img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
}

.wheel-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* ============================================
   Circular Prize Carousel
   ============================================ */
.circular-prize-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
}

/* Use CSS variables for responsive distance */
.carousel-item {
    --orbit-distance: -220px;
}

@media (max-width: 768px) {
    .circular-prize-carousel {
        max-width: 380px;
        height: 380px;
    }
    
    .carousel-item {
        --orbit-distance: -150px;
        width: 110px;
        height: 110px;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(var(--orbit-distance)) rotate(calc(-1 * var(--angle)));
    }
    
    .carousel-center {
        width: 170px;
        height: 170px;
    }
    
    .center-logo {
        width: 55px;
        height: 55px;
    }
    
    .popup-prize-img.pop-out {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .circular-prize-carousel {
        max-width: 340px;
        height: 340px;
    }
    
    .carousel-item {
        --orbit-distance: -120px;
        width: 95px;
        height: 95px;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(var(--orbit-distance)) rotate(calc(-1 * var(--angle)));
    }
    
    .carousel-center {
        width: 150px;
        height: 150px;
    }
    
    .center-logo {
        width: 48px;
        height: 48px;
    }
    
    .popup-prize-img.pop-out {
        width: 120px;
        height: 120px;
    }
}

.carousel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 210px;
    height: 210px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, rgba(123, 97, 255, 0.2) 100%);
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
    animation: centerPulse 3s ease-in-out infinite;
}

.center-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.center-prize-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.popup-prize-img {
    width: 0;
    height: 0;
    opacity: 0;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 212, 255, 0.6));
    transition: all 0.3s ease-out;
}

.popup-prize-img.pop-out {
    width: 180px;
    height: 180px;
    opacity: 1;
    animation: prizePopOut 1.8s ease-out forwards;
}

@keyframes prizePopOut {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
        filter: drop-shadow(0 0 0 rgba(0, 212, 255, 0));
    }
    20% {
        transform: scale(1.2) rotate(5deg);
        opacity: 1;
        filter: drop-shadow(0 8px 24px rgba(0, 212, 255, 0.8));
    }
    40% {
        transform: scale(1) rotate(-2deg);
        opacity: 1;
        filter: drop-shadow(0 8px 24px rgba(123, 97, 255, 0.6));
    }
    60% {
        transform: scale(1.05) rotate(1deg);
        opacity: 1;
        filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.7));
    }
    80% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
        filter: drop-shadow(0 8px 24px rgba(0, 212, 255, 0.6));
    }
    100% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0;
        filter: drop-shadow(0 0 0 rgba(0, 212, 255, 0));
    }
}

@keyframes centerPulse {
    0%, 100% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 60px rgba(0, 212, 255, 0.5);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.carousel-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    animation: rotateOrbit 30s linear infinite;
}

@keyframes rotateOrbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    transform-origin: 0 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(var(--orbit-distance)) rotate(calc(-1 * var(--angle)));
    animation: itemFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes itemFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(var(--orbit-distance)) rotate(calc(-1 * var(--angle))) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(var(--orbit-distance)) rotate(calc(-1 * var(--angle))) translateY(-10px);
    }
}


.prize-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prize-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.4));
    transition: transform 0.3s ease;
    animation: prizeGlow 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes prizeGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 6px 20px rgba(123, 97, 255, 0.6));
        transform: scale(1.1);
    }
}

.prize-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-tertiary);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    background: var(--bg-secondary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 64px;
    font-weight: 800;
    color: rgba(123, 97, 255, 0.1);
    line-height: 1;
}

.step-media {
    margin-bottom: 24px;
}

.step-icon {
    margin: 0;
}

.step-icon img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Prizes Section
   ============================================ */
.prizes {
    background: var(--bg-primary);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.prize-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.prize-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
}

.prize-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.prize-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.prize-card:hover .prize-image img {
    transform: scale(1.1);
}

.prize-content {
    padding: 24px;
}

.prize-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.prize-value {
    font-size: 18px;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 16px;
}

/* ============================================
   Spin and Win Prizes Section
   ============================================ */
.spin-prizes {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.weeks-tabs {
    margin-bottom: 48px;
}

.week-tabs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.week-tab {
    padding: 12px 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.week-tab:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.week-tab.active {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
}

.week-prizes-container {
    position: relative;
    min-height: 400px;
}

.week-prizes-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.week-prizes-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.week-header {
    text-align: center;
    margin-bottom: 40px;
}

.week-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.week-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.prizes-slider-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

.prizes-slider {
    overflow: hidden;
    position: relative;
    margin: 0 60px;
}

.prizes-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
}

.week-prize-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    flex: 0 0 calc(25% - 18px);
    min-width: 0;
    box-sizing: border-box;
}

.week-prize-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
}

.week-prize-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    padding: 16px;
    overflow: hidden;
}

.week-prize-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.week-prize-item:hover .week-prize-image img {
    transform: scale(1.1);
}

.week-prize-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    color: var(--text-primary);
    font-size: 18px;
}

.slider-btn:hover {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-btn:disabled:hover {
    transform: translateY(-50%);
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot:hover {
    background: var(--accent-primary);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    width: 24px;
    border-radius: 5px;
}

/* ============================================
   Wheel Section
   ============================================ */
.wheel-section {
    background: var(--bg-secondary);
}

.wheel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.wheel-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 14px;
}

.wheel-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.wheel-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.wheel-main {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid var(--accent-primary);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.wheel-prizes-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.preview-prize {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.stat-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 1s ease-out;
}

.stat-progress span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent-primary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cta-feature {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero .container,
    .wheel-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    
    .hero {
        padding: 0px 0 100px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-title {
        line-height: 1.3;
    }
    
    .hero-title .typing-text {
        margin: 0 4px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .prizes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .prize-name {
        font-size: 16px;
    }
    
    .prize-value {
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .wheel-content {
        grid-template-columns: 1fr;
    }
    
    .wheel-display {
        order: -1;
    }
    
    .hero-image {
        /* overflow: hidden; */
        padding: 15px;
    }
    
    .spin-prizes {
        padding: 60px 0;
    }
    
    .week-tabs-container {
        padding: 12px;
        gap: 8px;
    }
    
    .week-tab {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .week-title {
        font-size: 28px;
    }
    
    .week-subtitle {
        font-size: 16px;
    }
    
    .prizes-slider {
        margin: 0 50px;
    }
    
    .week-prize-item {
        flex: 0 0 calc(33.333% - 16px);
        padding: 16px;
        box-sizing: border-box;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-btn-prev {
        left: -10px;
    }
    
    .slider-btn-next {
        right: -10px;
    }
    
    .week-prize-image {
        height: 140px;
        padding: 12px;
    }
    
    .week-prize-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .app-shell {
        border-radius: 0;
        min-height: 100vh;
    }
    
    .navbar {
        padding: 10px 0;
    }

    .nav-links {
        top: 68px;
        width: calc(100% - 18px);
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-title .typing-text {
        margin: 0 4px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .btn-large {
        padding: 9px 14px;
        font-size: 10px;
    }
    
    section {
        padding: 14px 0;
    }

    .step-card,
    .prize-card,
    .stat-card,
    .faq-item {
        padding: 12px;
        border-radius: 14px;
    }

    .wheel-preview {
        max-width: 280px;
    }
    
    .circular-prize-carousel {
        max-width: 320px;
        height: 320px;
    }
    
    .carousel-center {
        width: 100px;
        height: 100px;
    }
    
    .center-logo {
        width: 50px;
        height: 50px;
    }
    
    .carousel-item {
        width: 110px;
        height: 110px;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-150px) rotate(calc(-1 * var(--angle)));
    }
    
    .prizes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .prize-name {
        font-size: 14px;
    }
    
    .prize-value {
        font-size: 12px;
    }
    
    .hero-image {
        /* overflow: hidden; */
        padding: 8px;
    }
    
    .circular-prize-carousel {
        max-width: 340px;
        height: 340px;
    }
    
    .carousel-center {
        width: 95px;
        height: 95px;
    }
    
    .center-logo {
        width: 48px;
        height: 48px;
    }
    
    .carousel-item {
        width: 95px;
        height: 95px;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-120px) rotate(calc(-1 * var(--angle)));
    }
    
    .hero-image .wheel-preview {
        max-width: 250px;
    }
    
    .week-tabs-container {
        padding: 8px;
        gap: 6px;
    }
    
    .week-tab {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .prizes-slider {
        margin: 0 40px;
    }
    
    .week-prize-item {
        flex: 0 0 calc(50% - 12px);
        padding: 12px;
        box-sizing: border-box;
    }
    
    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .slider-btn-prev {
        left: -5px;
    }
    
    .slider-btn-next {
        right: -5px;
    }
    
    .week-prize-image {
        height: 120px;
        padding: 10px;
    }
    
    .week-prize-name {
        font-size: 14px;
    }
    
    @media (max-width: 400px) {
        .week-prize-item {
            flex: 0 0 100%;
        }
        
        .prizes-slider {
            margin: 0 35px;
        }
    }
}

/* ============================================
   Payment Modal Styles
   ============================================ */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.payment-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.payment-modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.payment-modal-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.payment-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.payment-modal-close:hover {
    color: var(--text-primary);
}

.payment-modal-body {
    padding: 1.5rem;
}

.payment-info {
    margin-bottom: 1.5rem;
}

.payment-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.payment-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.payment-value {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-address {
    margin-bottom: 1rem;
}

.address-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
}

.address-container code {
    flex: 1;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 0.875rem;
    word-break: break-all;
}

.btn-copy {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
}

.payment-qr {
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.qr-placeholder {
    padding: 2rem;
}

.payment-status {
    margin-top: 1rem;
}

.status-message {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.payment-progress {
    margin-top: 0.5rem;
}

.progress-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.payment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-pay-now {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-pay-now:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-cancel {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: var(--bg-tertiary);
}

@media (max-width: 768px) {
    .payment-modal-content {
        max-width: 100%;
        margin: 0;
    }
    
    .payment-actions {
        flex-direction: column;
    }
    
    .btn-pay-now,
    .btn-cancel {
        width: 100%;
    }
}

