﻿/* ==========================================================================
   STEAL AN EGG - MODERN DARK GAMING DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;

    --bg-main: #0a0b12;
    --bg-surface: #111322;
    --bg-card: rgba(18, 21, 37, 0.75);
    --bg-card-hover: rgba(28, 33, 58, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 240, 255, 0.3);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-faint: #64748b;

    /* Rarity Palettes */
    --rarity-secret: #ff2a6d;
    --rarity-secret-glow: rgba(255, 42, 109, 0.45);
    --rarity-divine: #b5179e;
    --rarity-divine-glow: rgba(181, 23, 158, 0.45);
    --rarity-eternal: #f77f00;
    --rarity-eternal-glow: rgba(247, 127, 0, 0.45);
    --rarity-cosmic: #00b4d8;
    --rarity-cosmic-glow: rgba(0, 180, 216, 0.45);

    --accent-cyan: #00f0ff;
    --accent-green: #2ecc71;
    --accent-orange: #f39c12;
    --accent-red: #ef4444;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Background Lights */
.ambient-glow-1 {
    position: fixed;
    top: -150px;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 42, 109, 0.12) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-2 {
    position: fixed;
    top: 40%;
    right: -100px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   LIVE ACTIVITY TICKER (TOP BAR)
   ========================================================================== */
.live-ticker-bar {
    background: rgba(14, 16, 28, 0.9);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    padding: 8px 0;
    font-size: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.ticker-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.live-feed-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.35);
    color: var(--accent-green);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulseGlow 1.8s infinite;
}

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

.feed-text {
    color: var(--text-muted);
    transition: opacity 0.3s ease;
}

.feed-text strong {
    color: var(--text-main);
}

.ticker-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
}

.online-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* ==========================================================================
   LANGUAGE SELECTOR (POZA 1 FIX - DARK OPTION THEME)
   ========================================================================== */
.lang-selector {
    background-color: #151829 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #f8fafc !important;
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    color-scheme: dark;
}

.lang-selector:focus {
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.lang-selector option {
    background-color: #151829 !important;
    color: #f8fafc !important;
    padding: 8px 12px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 40px 0 25px;
    text-align: center;
}

.hero-logo-wrap {
    display: inline-block;
    position: relative;
    margin-bottom: 18px;
}

.hero-logo {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 10px 25px rgba(255, 42, 109, 0.35));
    transition: transform 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.04) rotate(-1deg);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.5;
}

.hero-badges-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-pill span {
    color: var(--accent-cyan);
}

/* ==========================================================================
   FILTER & SEARCH CONTROLS
   ========================================================================== */
.controls-panel {
    background: rgba(17, 20, 35, 0.8);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.search-box-wrap {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 380px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--text-faint);
    pointer-events: none;
}

.search-input {
    width: 100%;
    background: rgba(10, 11, 18, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 10px 16px 10px 40px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.search-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-chip:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.filter-chip.active {
    background: linear-gradient(135deg, rgba(255, 42, 109, 0.2), rgba(0, 240, 255, 0.2));
    border-color: var(--accent-cyan);
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* ==========================================================================
   ITEMS CATALOG GRID
   ========================================================================== */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.item-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.item-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Card Top Badges */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.rarity-pill {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.rarity-secret {
    background: rgba(255, 42, 109, 0.15);
    border: 1px solid rgba(255, 42, 109, 0.4);
    color: var(--rarity-secret);
}

.rarity-divine {
    background: rgba(181, 23, 158, 0.15);
    border: 1px solid rgba(181, 23, 158, 0.4);
    color: var(--rarity-divine);
}

.rarity-eternal {
    background: rgba(247, 127, 0, 0.15);
    border: 1px solid rgba(247, 127, 0, 0.4);
    color: var(--rarity-eternal);
}

.rarity-cosmic {
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.4);
    color: var(--rarity-cosmic);
}

.stock-pill {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.stock-pill.low {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
}

/* Item Image Box */
.item-img-wrap {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 14px;
}

.item-img-glow {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.rarity-secret ~ .item-img-wrap .item-img-glow { background: var(--rarity-secret-glow); }
.rarity-divine ~ .item-img-wrap .item-img-glow { background: var(--rarity-divine-glow); }
.rarity-eternal ~ .item-img-wrap .item-img-glow { background: var(--rarity-eternal-glow); }
.rarity-cosmic ~ .item-img-wrap .item-img-glow { background: var(--rarity-cosmic-glow); }

.item-card:hover .item-img-glow {
    opacity: 0.8;
}

.item-img {
    max-height: 120px;
    max-width: 120px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.item-card:hover .item-img {
    transform: scale(1.08) translateY(-4px);
}

/* Card Details */
.item-info {
    margin-top: auto;
    text-align: center;
}

.item-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Claim Button */
.btn-claim {
    width: 100%;
    background: linear-gradient(135deg, #ff2a6d 0%, #b5179e 100%);
    border: none;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 0;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 42, 109, 0.3);
    transition: var(--transition-smooth);
}

.btn-claim::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(30deg);
    transition: left 0.7s ease;
}

.btn-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 42, 109, 0.5);
}

.btn-claim:hover::after {
    left: 130%;
}

/* ==========================================================================
   MODAL DIALOG (MULTI-STEP CLAIM WIZARD)
   NO CLOSE BUTTON (POZA 3 FIX)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 6, 11, 0.9);
    backdrop-filter: blur(14px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #111425;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 42, 109, 0.15);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

/* Wizard Steps Timeline */
.wizard-steps-header {
    background: rgba(7, 9, 17, 0.7);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: center;
    gap: 30px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-faint);
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.step-indicator.active {
    color: var(--accent-cyan);
}

.step-indicator.active .step-num {
    background: var(--accent-cyan);
    color: #05060b;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.step-indicator.done {
    color: var(--accent-green);
}

.step-indicator.done .step-num {
    background: var(--accent-green);
    color: #05060b;
}

/* Modal Body */
.modal-body {
    padding: 24px;
}

.modal-screen {
    display: none;
}

.modal-screen.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Screen 1: Item Preview + Username */
.modal-item-spotlight {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.spotlight-thumb {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.spotlight-details h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.spotlight-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(46, 204, 113, 0.15);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.input-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.username-input-wrap {
    position: relative;
    margin-bottom: 15px;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--text-muted);
}

.username-input {
    width: 100%;
    background: #090a12;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px 12px 42px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.username-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.input-error {
    color: var(--accent-red);
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-faint);
    margin-top: 15px;
}

/* ==========================================================================
   SCREEN 2: AVATAR SCANNER & 4 STEP CARDS (POZA 2 FIX)
   ========================================================================== */
.scanner-stage {
    text-align: center;
    padding: 5px 0 10px;
}

.radar-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 14px;
}

.avatar-ring {
    position: absolute;
    inset: -6px;
    border: 2px dashed var(--accent-cyan);
    border-radius: 50%;
    animation: rotateRing 8s linear infinite;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.laser-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    box-shadow: 0 0 12px var(--accent-cyan);
    animation: scanLaser 2s ease-in-out infinite alternate;
    z-index: 5;
}

@keyframes scanLaser {
    0% { top: 5%; opacity: 0.4; }
    100% { top: 95%; opacity: 1; }
}

.radar-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #090a12;
    border: 3px solid rgba(255, 255, 255, 0.15);
    display: block;
}

.scanner-user-label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.scanner-status-label {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    font-weight: 500;
}

/* 4 Progres Step Cards */
.gen-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    margin-bottom: 15px;
}

.gen-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    transition: var(--transition-smooth);
}

.gen-step.active {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.06);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.gen-step.done {
    border-color: rgba(46, 204, 113, 0.35);
    background: rgba(46, 204, 113, 0.04);
}

.gen-step-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.gen-step.active .gen-step-icon {
    background: var(--accent-cyan);
    color: #05060b;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.gen-step.done .gen-step-icon {
    background: var(--accent-green);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.gen-step-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 1px;
}

.gen-step-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.gen-step.done .gen-step-sub {
    color: #a7f3d0;
}

/* Progress bar */
.progress-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff2a6d, #00f0ff);
    border-radius: var(--radius-full);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
    transition: width 0.4s ease;
}

/* ==========================================================================
   SCREEN 3: TRANSFER RIBBON (POZA 3 & 4 FIX: CONNECTED & READY BADGES)
   ========================================================================== */
.connection-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(14, 16, 28, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.transfer-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
}

.node-avatar-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #090a14;
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.item-node .node-img {
    object-fit: contain;
    padding: 4px;
}

.status-indicator {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #111425;
}

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

.status-indicator.pending {
    background-color: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
}

.node-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    max-width: 115px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Exact Badges matching Poza 4 */
.transfer-status-badge {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

.badge-connected {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.6);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
}

.badge-ready {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.6);
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.2);
}

.connection-wire {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 12px;
    position: relative;
}

.wire-pulse {
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    background: #00f0ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00f0ff;
    animation: wirePulse 1.6s linear infinite;
}

@keyframes wirePulse {
    0% { left: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.locker-instruction {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 15px;
}

.locker-instruction strong {
    color: var(--text-main);
}

/* Offer Cards List */
.offers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.offer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.offer-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    transform: translateX(4px);
}

.offer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.offer-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.offer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

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

.offer-btn {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.offer-card:hover .offer-btn {
    background: var(--accent-cyan);
    color: #05060b;
}

.locker-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
}

.timer-pill {
    color: #fca5a5;
    font-weight: 700;
}

/* Success Card */
.unlock-success-box {
    display: none;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid var(--accent-green);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 15px;
}

.unlock-success-box.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

/* Dev test unlock helper */
.dev-test-unlock {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.72rem;
    color: var(--text-faint);
    text-decoration: underline;
    cursor: pointer;
}

.dev-test-unlock:hover {
    color: var(--accent-cyan);
}

/* ==========================================================================
   IN-APP BROWSER (TIKTOK / INSTAGRAM) OVERLAY
   ========================================================================== */
.inapp-sheet {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(16px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.inapp-card {
    background: #151829;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    max-width: 420px;
    width: 100%;
    padding: 25px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.inapp-gif-wrap {
    margin-bottom: 18px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.inapp-gif-wrap img {
    width: 100%;
    display: block;
}

.inapp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.inapp-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}

.inapp-card strong {
    color: var(--accent-cyan);
}

.btn-inapp-dismiss {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-inapp-dismiss:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    background: #07080f;
    padding: 35px 0 25px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-faint);
}

.footer-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

.disclaimer-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.75rem;
    line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 768px) {
    .hero-title { font-size: 1.85rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .controls-panel { flex-direction: column; align-items: stretch; }
    .search-box-wrap { max-width: 100%; }
    .items-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .item-card { padding: 12px; }
    .item-img-wrap { height: 110px; }
    .item-img { max-height: 95px; }
    .item-title { font-size: 0.95rem; }
    .modal-card { max-width: 95vw; }
    .ticker-content { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 420px) {
    .items-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CLEAN & HIGH-CONVERTING MOBILE-FIRST CPA OFFER CARDS
   ========================================================================== */
.offers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.offer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.offer-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.offer-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.offer-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #090a14;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-text-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    min-width: 0;
}

.offer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.3;
    word-break: break-word;
}

.offer-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.25;
}

.offer-btn {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(0, 240, 255, 0.08));
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 16px;
    border-radius: 8px;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.offer-card:hover .offer-btn {
    background: var(--accent-cyan);
    color: #05060b;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}