:root {
    --primary-neon: #ffc300; /* Vibrant Yellow */
    --primary-hover: #eab308;
    --navy-bg: #001429;
    --navy-inner: #002b5b;
    --accent-blue: #005a9c;
    --card-bg: #003d7a;
    --accent-red: #dc2626;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --shadow-thick: 0 8px 0px rgba(0, 0, 0, 0.3);
    --transition-premium: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Lilita One', cursive;
    background: linear-gradient(-45deg, #db2777, #7e22ce, #312e81);
    background-size: 400% 400%;
    animation: gradientMove 40s ease infinite;
    background-attachment: fixed;
    color: var(--text-white);
    line-height: 1.4;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

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

/* Vibrant Atmosphere & Stars */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 1px;
    background: transparent;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.stars {
    box-shadow: 1744px 122px #FFF , 134px 1321px #FFF , 92px 1411px #FFF , 462px 135px #FFF , 1581px 1928px #FFF , 113px 45px #FFF , 1343px 1312px #FFF , 1215px 1290px #FFF , 345px 345px #FFF , 120px 1200px #FFF , 1800px 500px #FFF , 400px 1600px #FFF , 900px 200px #FFF , 1500px 1300px #FFF, 500px 500px #FFF, 1200px 100px #FFF, 800px 1500px #FFF, 200px 800px #FFF, 1900px 1100px #FFF;
    animation: animStar 40s linear infinite;
}

.stars2 {
    width: 2px;
    height: 2px;
    box-shadow: 1244px 322px #FFF , 534px 1121px #FFF , 892px 1011px #FFF , 162px 535px #FFF , 1281px 1128px #FFF , 813px 745px #FFF , 1143px 1012px #FFF , 15px 1590px #FFF , 745px 745px #FFF , 620px 800px #FFF , 1000px 200px #FFF , 200px 1100px #FFF , 1300px 600px #FFF , 800px 1700px #FFF, 450px 1200px #FFF, 1100px 1500px #FFF, 700px 300px #FFF;
    animation: animStar 60s linear infinite;
}

.stars3 {
    width: 3px;
    height: 3px;
    box-shadow: 644px 822px #FFF , 1434px 121px #FFF , 1292px 1511px #FFF , 762px 635px #FFF , 1081px 1828px #FFF , 1413px 1245px #FFF , 543px 412px #FFF , 815px 690px #FFF , 1345px 1345px #FFF , 1120px 200px #FFF , 500px 1200px #FFF , 1600px 1400px #FFF , 400px 300px #FFF , 1200px 900px #FFF, 900px 1100px #FFF, 150px 400px #FFF;
    animation: animStar 80s linear infinite;
}

@keyframes animStar {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -2000px, 0); }
}

.bg-blobs::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/stardust.png');
    opacity: 0.15;
    animation: drift 60s linear infinite;
}

.bg-blobs::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/stardust.png');
    opacity: 0.1;
    transform: rotate(45deg) scale(1.5);
    animation: drift 45s linear infinite reverse;
}

@keyframes drift {
    from { background-position: 0 0; }
    to { background-position: 500px 500px; }
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(100px);
    opacity: 0.2;
    border-radius: 50%;
    animation: move 25s infinite alternate ease-in-out;
    will-change: transform;
}

.blob-1 { top: -10%; left: -10%; background: var(--secondary-blue); }
.blob-2 { bottom: -10%; right: -10%; background: var(--accent-red); animation-delay: -7s; }
.blob-3 { top: 40%; left: 30%; background: var(--primary-neon); opacity: 0.1; animation-duration: 30s; }

@keyframes move {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(100px, 100px) scale(1.3) rotate(180deg); }
}

/* Glassmorphism & Cards */
.glass-panel {
    background: var(--navy-inner);
    border: 4px solid var(--accent-blue);
    border-radius: 20px;
    box-shadow: var(--shadow-thick);
    position: relative;
    overflow: hidden;
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, hsla(0, 0%, 100%, 0.05), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

/* Step Specific Themes */
#step-verify .glass-panel {
    background: #1a472a;
    border: 4px solid #2d5e3e;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.3), var(--shadow-thick);
}

.success-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.reward-card {
    background: var(--card-bg);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--accent-blue);
    border-radius: 16px;
    box-shadow: var(--shadow-thick);
}

.reward-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.reward-card:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: var(--primary-neon);
    background: var(--accent-blue) !important;
}

.reward-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
    will-change: transform;
}

.reward-card:hover img {
    transform: scale(1.1) translateZ(20px);
}

/* Typography & Titles */
h1, h2, h3 {
    font-family: 'Lilita One', cursive;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.gradient-text {
    background: linear-gradient(to bottom, #fff, var(--primary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Premium Buttons */
.btn-premium {
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'Lilita One', cursive;
    font-size: 1.4rem;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    transition: var(--transition-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 6px 0px rgba(0,0,0,0.3);
}

.btn-primary {
    background: var(--primary-neon);
    color: #001429;
    box-shadow: 0 6px 0px #b45309;
}

.btn-primary:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0px #b45309;
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0px #b45309;
}

/* Step Transitions */
.step {
    animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.fade-out {
    animation: fadeOut 0.4s ease-in both;
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}

/* Layout Utilities */
.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 180px;
    width: 60%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    will-change: transform;
    margin-bottom: 10px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--accent-blue);
    padding: 8px 12px;
    border-radius: 12px;
    flex: 1;
    min-width: 90px;
    max-width: 120px;
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.stat-value {
    color: var(--primary-neon);
    font-size: 1.1rem;
}
@media (max-width: 480px) {
    .stars { animation-duration: 4s; }
    .stars2 { animation-duration: 8s; }
    .stars3 { animation-duration: 12s; }
    
    .main-title {
        font-size: 1.8rem;
    }
    .reward-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .stat-box {
        min-width: 80px;
        padding: 6px 8px;
    }
    .stat-value {
        font-size: 0.9rem;
    }
}

.main-title {
    font-size: 2.2rem;
    color: var(--primary-neon);
    text-shadow: 0 4px 0 #b45309;
    margin: 10px 0;
}

.float {
    animation: float 3s ease-in-out infinite;
    will-change: transform;
}

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

