/* =============================================================
   NightClip — Nightclub Theme
   Estética de club nocturno · Glassmorphism + Neón refinado
   ============================================================= */

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

/* --- Reset & Base --- */
:root {
    --bg-club: #07040c;
    --bg-club2: #0c0714;
    --bg-card-glass: rgba(255, 255, 255, 0.04);
    --bg-card-glass-hover: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 45, 149, 0.12);
    --glass-border-active: rgba(255, 45, 149, 0.35);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);

    --text-primary: #eee6ff;
    --text-secondary: #a892c9;
    --text-muted: #5a4a6e;

    --neon-rose: #ff2d95;
    --neon-cyan: #00d4ff;
    --neon-teal: #00ffcc;
    --neon-lavender: #c77dff;
    --neon-gold: #ffd700;

    --gradient-club: linear-gradient(135deg, #ff2d95 0%, #c77dff 50%, #00d4ff 100%);
    --gradient-rose: linear-gradient(135deg, #ff2d95 0%, #ff6b9d 100%);
    --gradient-cyan: linear-gradient(135deg, #00d4ff 0%, #00ffcc 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);

    --font-display: 'Orbitron', monospace;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

/* --- Ambient Light Spots --- */
.club-ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
}

.spot-rose {
    width: 50vw;
    height: 50vw;
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, #ff2d95 0%, transparent 70%);
    animation: spotFloat 12s ease-in-out infinite alternate;
}

.spot-cyan {
    width: 45vw;
    height: 45vw;
    bottom: -10%;
    left: -15%;
    background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
    animation: spotFloat 15s ease-in-out infinite alternate-reverse;
}

.spot-lavender {
    width: 35vw;
    height: 35vw;
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, #c77dff 0%, transparent 70%);
    animation: spotFloat 18s ease-in-out infinite alternate;
    opacity: 0.06;
}

@keyframes spotFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.1); }
    100% { transform: translate(-15px, 20px) scale(0.95); }
}

/* --- Screen management --- */
.screen {
    display: none;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
}

.screen.active {
    display: flex;
}

.main-content {
    flex: 1;
    padding: 0 16px 24px;
    position: relative;
    z-index: 1;
}

.main-content.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Header --- */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(7, 4, 12, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo h1 {
    font-size: 0;
    line-height: 0;
}

/* --- Neón Title (NightClip) --- */
.nightclub-title {
    display: flex;
    gap: 1px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.char-night {
    color: var(--neon-rose);
    text-shadow:
        0 0 7px var(--neon-rose),
        0 0 20px var(--neon-rose),
        0 0 40px rgba(255, 45, 149, 0.3);
}

.char-clip {
    color: var(--neon-cyan);
    text-shadow:
        0 0 7px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 40px rgba(0, 212, 255, 0.3);
}

/* --- User Badge --- */
.user-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.user-badge.hidden {
    display: none;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-teal);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
}

.badge-text {
    color: var(--text-secondary);
}

/* --- Hero Section --- */
.hero-section {
    text-align: center;
    padding: 28px 0 16px;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.neon-highlight {
    color: var(--neon-rose);
    font-weight: 800;
    text-shadow: 0 0 12px rgba(255, 45, 149, 0.4);
}

.neon-divider {
    width: 60px;
    height: 2px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, var(--neon-rose), var(--neon-cyan), transparent);
    box-shadow: 0 0 10px rgba(255, 45, 149, 0.3), 0 0 20px rgba(0, 212, 255, 0.15);
    border-radius: 2px;
}

/* --- URL Input --- */
.input-section {
    padding: 4px 0 12px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-card-glass);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--neon-rose);
    box-shadow: 0 0 0 3px rgba(255, 45, 149, 0.08), 0 0 25px rgba(255, 45, 149, 0.08);
}

.input-icon {
    font-size: 18px;
    opacity: 0.6;
}

.input-wrapper input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 500;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.btn-paste {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 45, 149, 0.08);
    border: 1px solid rgba(255, 45, 149, 0.15);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-paste:hover {
    background: rgba(255, 45, 149, 0.15);
}

.url-error-message {
    font-size: 13px;
    color: var(--neon-rose);
    padding: 8px 14px;
    margin-top: 8px;
    background: rgba(255, 45, 149, 0.06);
    border: 1px solid rgba(255, 45, 149, 0.15);
    border-radius: 10px;
    display: none;
}

.url-error-message.visible {
    display: block;
}

/* --- Dashboard Panel (Glass card) --- */
.dashboard-panel {
    margin: 12px 0;
    padding: 16px;
    background: var(--bg-card-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: var(--glass-shadow);
}

.dashboard-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 16px;
}

.dash-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dash-tab-icon {
    font-size: 14px;
}

.dash-tab-label {
    white-space: nowrap;
}

.dash-tab.active {
    background: rgba(255, 45, 149, 0.1);
    color: var(--neon-rose);
    box-shadow: 0 0 15px rgba(255, 45, 149, 0.06);
}

.dash-content {
    display: none;
}

.dash-content.active {
    display: block;
}

/* --- Stats grid --- */
.stats-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 16px 0 8px;
}

.stats-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.stat-card {
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(255, 45, 149, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.stat-card-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-card-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.stat-card-sub {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.stat-card-sub.accent-teal {
    color: var(--neon-teal);
}

.stat-card-sub.accent-rose {
    color: var(--neon-rose);
}

/* --- Global bar --- */
.global-bar-section {
    margin-top: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
}

.global-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.global-bar-pct {
    color: var(--neon-teal);
}

.global-bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.global-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-teal), var(--neon-cyan));
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.2);
    transition: width 0.6s ease;
}

.global-bar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.legend-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

.legend-dot.success {
    background: var(--neon-teal);
    box-shadow: 0 0 6px rgba(0, 255, 204, 0.4);
}

.legend-dot.fail {
    background: var(--neon-rose);
    box-shadow: 0 0 6px rgba(255, 45, 149, 0.4);
}

/* --- Platform health --- */
.platform-health-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.platform-health-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.ph-name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
}

.ph-pct {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 40px;
    text-align: right;
}

.ph-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ph-dot.safe {
    background: var(--neon-teal);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
}

.ph-dot.warning {
    background: var(--neon-gold);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.ph-dot.danger {
    background: var(--neon-rose);
    box-shadow: 0 0 8px rgba(255, 45, 149, 0.5);
}

/* --- History & Trending --- */
.history-list, .trending-list, .changelog-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.history-empty {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
}

.history-empty-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.history-empty p {
    font-size: 14px;
}

/* --- Platform Badge --- */
.platform-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 12px;
}

.platform-badge.hidden {
    display: none;
}

.platform-icon {
    font-size: 20px;
}

.platform-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

.platform-check {
    color: var(--neon-teal);
    font-weight: 800;
}

/* --- Format Selector --- */
.format-section, .quality-section {
    margin: 12px 0;
}

.format-section.hidden, .quality-section.hidden {
    display: none;
}

.section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.format-buttons {
    display: flex;
    gap: 8px;
}

.format-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.format-btn.active {
    background: rgba(255, 45, 149, 0.1);
    border-color: var(--neon-rose);
    color: var(--neon-rose);
    box-shadow: 0 0 15px rgba(255, 45, 149, 0.08);
}

.format-icon {
    font-size: 16px;
}

/* --- Quality Grid --- */
.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 6px;
}

.quality-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.25s;
}

.quality-btn.active {
    background: rgba(255, 45, 149, 0.08);
    border-color: var(--neon-rose);
    color: var(--neon-rose);
    box-shadow: 0 0 12px rgba(255, 45, 149, 0.06);
}

.q-icon {
    font-size: 18px;
}

.q-label {
    font-size: 11px;
    font-weight: 700;
}

/* --- Download Button --- */
.download-section {
    margin: 16px 0;
}

.download-section.hidden {
    display: none;
}

.btn-download {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: var(--gradient-club);
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(255, 45, 149, 0.3), 0 6px 25px rgba(199, 125, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-download:hover::before {
    transform: translateX(100%);
}

.btn-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 35px rgba(255, 45, 149, 0.4), 0 8px 30px rgba(199, 125, 255, 0.25);
}

.btn-download:active {
    transform: translateY(0);
}

.btn-download-icon {
    font-size: 18px;
}

/* --- Stats bar --- */
.stats-bar {
    display: flex;
    justify-content: center;
    padding: 10px;
    margin: 4px 0;
    background: var(--bg-card-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.stats-bar.hidden {
    display: none;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-icon {
    font-size: 14px;
}

#stat-downloads {
    font-weight: 800;
    color: var(--neon-teal);
}

.stat-label {
    color: var(--text-muted);
}

/* --- Upsell Banner --- */
.upsell-banner {
    margin: 8px 0;
}

.upsell-banner.hidden {
    display: none;
}

.upsell-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(199, 125, 255, 0.06), rgba(255, 45, 149, 0.04));
    border: 1px solid rgba(199, 125, 255, 0.12);
    border-radius: 14px;
}

.upsell-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.upsell-text {
    flex: 1;
}

.upsell-text strong {
    display: block;
    font-size: 14px;
    color: var(--neon-lavender);
    margin-bottom: 2px;
}

.upsell-text p {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-upsell {
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    background: var(--gradient-club);
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 45, 149, 0.2);
    transition: all 0.2s;
}

.btn-upsell:hover {
    box-shadow: 0 0 20px rgba(255, 45, 149, 0.35);
}

/* --- Reward Ad --- */
.ad-banner-slot {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px 12px;
    background: rgba(7, 4, 12, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border);
    z-index: 20;
}

.reward-ad-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.reward-ad-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.reward-ad-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reward-ad-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--gradient-club);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 45, 149, 0.25);
}

.reward-ad-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.reward-ad-text span {
    font-size: 11px;
    color: var(--neon-teal);
    font-weight: 500;
}

.reward-ad-badge {
    padding: 6px 14px;
    background: var(--gradient-club);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(255, 45, 149, 0.2);
}

/* --- Interstitial --- */
.interstitial-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(7, 4, 12, 0.95);
    backdrop-filter: blur(20px);
}

.interstitial-content {
    text-align: center;
    padding: 24px;
}

.interstitial-ad {
    margin-bottom: 20px;
}

.ad-placeholder-large {
    width: 280px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 auto;
}

.interstitial-footer {
    margin-top: 16px;
}

.interstitial-timer {
    font-size: 14px;
    color: var(--text-secondary);
}

.interstitial-timer span {
    color: var(--neon-rose);
    font-weight: 800;
}

.btn-skip {
    padding: 12px 40px;
    border: none;
    border-radius: 12px;
    background: var(--gradient-club);
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 45, 149, 0.25);
    transition: all 0.2s;
}

.btn-skip.hidden {
    display: none;
}

.interstitial-upsell {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.interstitial-upsell a {
    color: var(--neon-lavender);
    text-decoration: none;
    font-weight: 600;
}

/* --- Progress Screen --- */
.progress-container {
    text-align: center;
    padding: 20px;
}

.progress-icon-wrapper {
    margin-bottom: 20px;
}

.progress-spinner {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid rgba(255, 45, 149, 0.1);
    border-top-color: var(--neon-rose);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    box-shadow: 0 0 30px rgba(255, 45, 149, 0.08);
}

.spinner-emoji {
    font-size: 28px;
    animation: bob 1.2s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

.progress-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.progress-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.progress-bar-container {
    width: 280px;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 8px;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-club);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(255, 45, 149, 0.3);
    transition: width 0.3s ease;
}

.progress-percent {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--neon-rose);
    margin-bottom: 16px;
}

.progress-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.detail-icon {
    font-size: 14px;
}

.detail-value {
    font-weight: 500;
}

/* --- Done Screen --- */
.done-container {
    text-align: center;
    padding: 20px;
}

.done-icon-wrapper {
    margin-bottom: 20px;
}

.done-icon {
    font-size: 64px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.3));
}

.done-title {
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.done-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.done-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: var(--gradient-cyan);
    color: #000;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
    transition: all 0.2s;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.35);
}

.btn-secondary {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--neon-rose);
    color: var(--text-primary);
}

/* --- Button Back --- */
.btn-back {
    padding: 8px 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--neon-cyan);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* --- Smooth transitions --- */
.screen {
    animation: fadeIn 0.35s ease;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 45, 149, 0.2);
    border-radius: 2px;
}

/* --- Skeleton placeholder --- */
.skeleton {
    opacity: 0.4;
    pointer-events: none