/* ==========================================================================
   ELITEREWARDS 2026 - CYBER GLASSMORPHISM DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #07090e;
    --bg-surface: rgba(15, 23, 42, 0.72);
    --bg-surface-hover: rgba(30, 41, 59, 0.85);
    --bg-card: rgba(18, 26, 46, 0.65);
    --bg-terminal: rgba(6, 10, 20, 0.9);
    
    /* Neon Accents & Gradients */
    --primary: #6366f1;
    --secondary: #06b6d4;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-green: #10b981;
    --accent-gold: #f59e0b;
    --accent-red: #ef4444;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(6, 182, 212, 0.4));
    
    /* Typography & Text */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --text-white: #ffffff;
    --text-slate: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    /* Borders & Glass */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-active: rgba(99, 102, 241, 0.4);
    --border-glass-glow: rgba(6, 182, 212, 0.5);
    
    /* Shadows & Glows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
    --glow-btn: 0 0 25px rgba(99, 102, 241, 0.45);
    
    /* Transitions */
    --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --tr-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-slate);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent accidental text drags */
img {
    -webkit-user-drag: none;
    user-select: none;
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   DYNAMIC AMBIENT BACKGROUND
   ========================================================================== */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: #07090e;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    will-change: transform;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #4f46e5 0%, rgba(99, 102, 241, 0) 70%);
    top: -150px;
    left: -150px;
    animation: floatOrb1 18s ease-in-out infinite alternate;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
    top: 40%;
    right: -200px;
    animation: floatOrb2 22s ease-in-out infinite alternate;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #9333ea 0%, rgba(147, 51, 234, 0) 70%);
    bottom: -150px;
    left: 25%;
    animation: floatOrb3 20s ease-in-out infinite alternate;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 80px) scale(1.15); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, -90px) scale(1.2); }
}

@keyframes floatOrb3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(70px, -60px) scale(0.9); }
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(7, 9, 14, 0.75);
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 0;
    transition: all var(--tr-fast);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
}

.logo-symbol {
    width: 38px;
    height: 38px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
}

.symbol-core {
    width: 14px;
    height: 14px;
    background: var(--gradient-primary);
    border-radius: 4px;
    box-shadow: 0 0 15px var(--primary);
    transform: rotate(45deg);
    transition: transform var(--tr-normal);
}

.brand-logo:hover .symbol-core {
    transform: rotate(225deg);
}

.symbol-ring {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1px dashed rgba(6, 182, 212, 0.4);
    border-radius: 50%;
    animation: rotate 15s linear infinite;
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.brand-name span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-slate);
    box-shadow: var(--shadow-sm);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.status-indicator.online {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

.status-indicator.online::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.35);
    animation: pulseBeacon 2s infinite;
}

.sound-toggle-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--tr-fast);
}

.sound-toggle-btn:hover {
    color: var(--text-white);
    border-color: var(--border-glass-active);
    background: var(--bg-surface-hover);
}

/* ==========================================================================
   PANEL SYSTEM & ANIMATIONS
   ========================================================================== */
.view-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding: 30px 0 60px;
}

.view-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: panelEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes panelEnter {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient text utility */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   HERO SECTION & TRUST BAR
   ========================================================================== */
.hero-section {
    text-align: center;
    margin-bottom: 35px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 8px var(--secondary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 24px;
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-slate);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 20px;
}

.trust-item svg {
    color: var(--accent-green);
}

/* ==========================================================================
   FILTER CONTROLS (SEARCH & CATEGORIES)
   ========================================================================== */
.filter-controls {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
    transition: color var(--tr-fast);
}

.search-box input {
    width: 100%;
    padding: 14px 44px 14px 48px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    color: var(--text-white);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--tr-normal);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), var(--shadow-md);
    background: rgba(20, 30, 55, 0.95);
}

.search-box input:focus + .search-icon {
    color: var(--primary);
}

.search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.search-clear:hover {
    color: var(--text-white);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.cat-pill {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--tr-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cat-pill:hover {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--bg-surface-hover);
}

.cat-pill.active {
    background: var(--gradient-primary);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.pill-count {
    background: rgba(0, 0, 0, 0.25);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
}

/* ==========================================================================
   REWARDS GRID & 3D CARDS
   ========================================================================== */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.reward-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 16px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tr-normal), border-color var(--tr-normal), box-shadow var(--tr-normal);
}

.reward-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass-active);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
}

.card-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--tr-fast);
}

.reward-card:hover .card-glow {
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: var(--gradient-accent);
    color: var(--text-white);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

.card-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reward-card:hover .card-thumb-wrapper img {
    transform: scale(1.06);
}

.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.card-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin: 0 auto 10px;
}

.card-stock {
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    margin: 0 auto 14px;
    width: fit-content;
}

.fomo-urgent {
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    animation: pulseStock 2s infinite;
}

.fomo-normal {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
}

.card-action-btn {
    margin-top: auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all var(--tr-fast);
}

.reward-card:hover .card-action-btn {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    max-width: 500px;
    margin: 40px auto;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.no-results h3 {
    color: var(--text-white);
    margin-bottom: 8px;
}

.reset-filter-btn {
    margin-top: 18px;
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
}

/* ==========================================================================
   STEP 2: HIGH-TECH CODE GENERATOR HUD
   ========================================================================== */
.glass-box {
    background: var(--bg-surface);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 820px;
    margin: 0 auto;
}

.generator-card {
    text-align: center;
    max-width: 680px;
    padding: 36px 28px;
}

/* Card Showcase with Laser Scanner */
.gen-showcase {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gen-card-wrapper {
    position: relative;
    width: 105px;
    height: 135px;
    border-radius: 14px;
    overflow: hidden;
    background: #0d1322;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(99, 102, 241, 0.35);
}

.gen-card-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.35);
    display: block;
    filter: contrast(1.05);
}

.gen-laser-scanner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #06b6d4, #6366f1, #06b6d4, transparent);
    box-shadow: 0 0 15px #06b6d4, 0 0 25px #6366f1, 0 0 8px #ffffff;
    animation: laserScan 2.4s ease-in-out infinite alternate;
}

@keyframes laserScan {
    0% { top: 4%; opacity: 0.8; }
    50% { opacity: 1; }
    100% { top: 94%; opacity: 0.8; }
}

.gen-card-badge {
    margin-top: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-glass-active);
    color: var(--text-white);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Process Info */
.gen-process-info {
    margin-bottom: 20px;
}

.gen-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 6px;
}

.gen-status-headline {
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 24px;
}

/* Sleek Progress Bar */
.gen-progress-wrapper {
    max-width: 520px;
    margin: 0 auto 20px;
}

.gen-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.gen-step-tag {
    color: var(--secondary);
    letter-spacing: 1px;
}

.gen-percent-val {
    color: var(--text-white);
    font-size: 1.1rem;
}

.gen-progress-track {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.gen-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.7);
    transition: width 0.2s linear;
}

/* Live Voucher Code Slot Revealer */
.gen-code-preview-box {
    max-width: 520px;
    margin: 0 auto 20px;
    background: rgba(6, 10, 20, 0.75);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 16px 20px;
}

.code-preview-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.code-preview-slots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
}

.code-slot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 6px 12px;
    border-radius: 8px;
    min-width: 68px;
    display: inline-block;
    transition: all 0.3s ease;
}

.code-slot.locked {
    color: var(--secondary);
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
    animation: popIn 0.3s ease;
}

.code-slot.slot-blurred {
    filter: blur(5px);
    opacity: 0.85;
    user-select: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
    color: var(--secondary);
}

.code-separator {
    color: var(--text-dim);
    font-weight: 700;
}

/* Minimalist Log Stream */
.gen-log-box {
    max-width: 520px;
    margin: 0 auto;
    min-height: 80px;
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-align: left;
}

.stream-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-slate);
    animation: streamFade 0.3s ease forwards;
}

.stream-line .check-mark {
    color: var(--accent-green);
    font-weight: 900;
}

.stream-line .stream-text {
    flex: 1;
}

.stream-line .stream-hash {
    color: var(--text-dim);
    font-size: 0.72rem;
}

@keyframes streamFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   STEP 3: VERIFICATION & RESERVED VOUCHER
   ========================================================================== */
.verification-card {
    text-align: center;
    max-width: 700px;
}

.verification-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.verify-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 10px;
}

.verify-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 540px;
    margin: 0 auto 20px;
}

.reservation-timer-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.countdown-digits {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 800;
}

/* 3D Voucher Preview Mockup */
.voucher-mockup {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.voucher-chip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chip-lines {
    width: 38px;
    height: 28px;
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.chip-vip {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--secondary);
    letter-spacing: 1px;
}

.voucher-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.voucher-card-img-wrap {
    width: 65px;
    height: 85px;
    border-radius: 10px;
    overflow: hidden;
    background: #0d1322;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.voucher-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.35);
}

.voucher-details {
    flex: 1;
}

.voucher-brand {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 4px;
}

.voucher-status-chip {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.v-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
}

.code-scratch-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.code-display-masked {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

.unmasked-code {
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: 1.5px;
}

.masked-digits {
    color: var(--text-white);
    filter: blur(6px);
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 8px;
    border-radius: 6px;
    user-select: none;
    display: inline-block;
    letter-spacing: 2px;
    transition: filter 0.3s;
}

.scratch-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
}

.voucher-watermark {
    position: absolute;
    bottom: -15px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: 2px;
    pointer-events: none;
    user-select: none;
}

/* Action Zone */
.verify-action-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.verify-action-btn {
    width: 100%;
    max-width: 440px;
    padding: 18px 28px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: var(--glow-btn);
    transition: all var(--tr-normal);
}

.verify-action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.6);
}

.verify-guarantee {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ADBLUEMEDIA CPA LOCKER MODAL OVERLAY
   ========================================================================== */
.overlay-locker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 9, 14, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.overlay-locker.active {
    display: flex;
    opacity: 1;
}

.locker-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 28px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(99, 102, 241, 0.25);
    animation: modalPop 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes modalPop {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.locker-shield {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.locker-header h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}

.locker-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.locker-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.offer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.offer-item {
    position: relative;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: all var(--tr-fast);
}

.offer-item:hover {
    background: rgba(45, 60, 85, 0.9);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.offer-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.offer-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-white);
}

.offer-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.offer-payout {
    background: var(--gradient-primary);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 10px;
    white-space: nowrap;
    margin-left: 10px;
}

/* Featured Offer Styling (TikTok iOS) */
.featured-offer {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(30, 41, 59, 0.85));
}

.featured-tag {
    position: absolute;
    top: -9px;
    right: 14px;
    background: #ffd700;
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.offers-loading {
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.locker-security-notes {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.locker-disclaimer {
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.4;
}

/* ==========================================================================
   FLOATING LIVE CLAIMS TOAST
   ========================================================================== */
.live-claim-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass-active);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 340px;
    animation: toastSlideUp 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes toastSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.toast-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-accent);
    color: var(--text-white);
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-body {
    flex: 1;
}

.toast-msg {
    font-size: 0.8rem;
    color: var(--text-slate);
    line-height: 1.3;
}

.toast-msg b {
    color: var(--text-white);
}

.toast-time {
    font-size: 0.68rem;
    color: var(--accent-green);
    font-weight: 600;
    margin-top: 2px;
}

.toast-close {
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 2px;
    line-height: 1;
}

.toast-close:hover {
    color: var(--text-white);
}

/* ==========================================================================
   COMMUNITY CHAT WIDGET
   ========================================================================== */
.chat-widget {
    position: fixed;
    right: 24px;
    bottom: 0;
    width: 330px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    transition: transform var(--tr-normal), height var(--tr-normal);
}

.chat-widget.minimized {
    transform: translateY(calc(100% - 50px));
}

.chat-header-bar {
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid var(--border-glass);
    user-select: none;
}

.chat-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-beacon {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
}

.chat-title-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
}

.unread-badge {
    background: var(--accent-pink);
    color: var(--text-white);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    animation: popIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.chat-minimize-icon {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.chat-body {
    display: flex;
    flex-direction: column;
    height: 380px;
}

.chat-pinned-alert {
    background: rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 8px 14px;
    font-size: 0.7rem;
    color: var(--secondary);
    line-height: 1.3;
}

.chat-msgs {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.c-msg {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.c-msg-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.c-user {
    font-weight: 700;
    color: var(--secondary);
}

.c-user.self {
    color: var(--accent-green);
}

.c-badge {
    font-size: 0.6rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.1);
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--text-slate);
}

.c-badge.mod {
    background: var(--accent-pink);
    color: white;
}

.c-text {
    color: var(--text-slate);
    word-break: break-word;
}

.chat-input-area {
    padding: 12px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    gap: 8px;
    background: rgba(6, 10, 20, 0.7);
}

.chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--text-white);
    font-size: 0.82rem;
    outline: none;
    font-family: inherit;
}

.chat-input-area input:focus {
    border-color: var(--primary);
}

.chat-input-area button {
    background: var(--primary);
    border: none;
    color: var(--text-white);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-glass);
    background: rgba(6, 8, 14, 0.95);
    padding: 40px 0;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 6px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--tr-fast);
}

.footer-links a:hover {
    color: var(--text-white);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes pulseBeacon {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

@keyframes pulseStock {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .rewards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .generator-workspace {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gauge-wrapper {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .rewards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .glass-box {
        padding: 20px 14px;
        border-radius: 20px;
    }

    .generator-card {
        padding: 20px 12px;
        max-width: 100%;
    }

    .gen-showcase {
        margin-bottom: 12px;
    }

    .gen-card-wrapper {
        width: 85px;
        height: 110px;
        border-radius: 12px;
    }

    .gen-card-badge {
        margin-top: 8px;
        font-size: 0.75rem;
        padding: 2px 10px;
    }

    .gen-process-info {
        margin-bottom: 14px;
    }

    .gen-title {
        font-size: 1.45rem;
        margin-bottom: 4px;
    }

    .gen-status-headline {
        font-size: 0.82rem;
        min-height: 20px;
    }

    .gen-progress-wrapper {
        margin: 10px auto;
        max-width: 100%;
    }

    .gen-progress-track {
        height: 9px;
    }

    .gen-code-preview-box {
        margin: 12px auto;
        padding: 10px 8px;
        border-radius: 12px;
        max-width: 100%;
    }

    .code-preview-label {
        font-size: 0.62rem;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .code-preview-slots {
        font-size: 0.95rem;
        letter-spacing: 1px;
        gap: 4px;
    }

    .code-slot {
        min-width: 52px;
        padding: 4px 6px;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .code-separator {
        font-size: 0.8rem;
    }

    .gen-log-box {
        min-height: 55px;
        font-size: 0.72rem;
        gap: 4px;
        max-width: 100%;
    }

    .voucher-inner {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .voucher-card-img-wrap {
        width: 60px;
        height: 80px;
        border-radius: 8px;
    }

    .voucher-brand {
        font-size: 1.05rem;
    }

    .code-scratch-box {
        padding: 8px 10px;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .code-display-masked {
        font-size: 0.88rem;
        white-space: nowrap;
        justify-content: center;
        width: 100%;
    }

    .unmasked-code {
        letter-spacing: 1px;
    }

    .masked-digits {
        padding: 2px 6px;
        letter-spacing: 1px;
    }

    .scratch-label {
        font-size: 0.6rem;
        text-align: center;
    }

    .chat-widget {
        right: 12px;
        width: calc(100vw - 24px);
        max-width: 360px;
    }

    .live-claim-toast {
        left: 12px;
        right: 12px;
        max-width: calc(100% - 24px);
        bottom: 60px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .trust-bar {
        gap: 8px;
    }

    .trust-item {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .category-pills {
        gap: 6px;
    }

    .cat-pill {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .reward-card {
        padding: 12px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-value {
        font-size: 0.75rem;
    }
}
