/* ═══════════════════════════════════════════════════════════════
   MEGA MODELHD: industrial amber · underground VIP
   Fonts load from the document head (preconnect + stylesheet) instead
   of @import here, so they no longer block CSS parsing.
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
    --clr-orange:        #FF6B35;
    --clr-orange-bright: #FF8C42;
    --clr-orange-deep:   #E55A2B;
    --clr-amber:         #FFB347;
    --clr-copper:        #C77D4D;
    --clr-bg-base:       #0A0A0A;
    --clr-bg-surface:    #131313;
    --clr-bg-elevated:   #1C1C1C;
    --clr-bg-card:       #161616;
    --clr-border:        #262626;
    --clr-border-glow:   rgba(255, 107, 53, 0.25);
    --clr-text:          #E6E6E6;
    --clr-text-muted:    #888888;
    --clr-text-dim:      #5C5C5C;
    --font-display:      'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
    --font-body:         'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:         'JetBrains Mono', 'SF Mono', 'Cascadia Code', monospace;
    --gap-grid:          1.25rem;
    --radius-sm:         4px;
    --radius-md:         6px;
    --radius-lg:         8px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--clr-orange) var(--clr-bg-surface);
}

*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: var(--clr-bg-surface); }
*::-webkit-scrollbar-thumb { background: var(--clr-orange); border-radius: 3px; }
*::-webkit-scrollbar-thumb:hover { background: var(--clr-orange-bright); }

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--clr-bg-base);
    color: var(--clr-text);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

main { flex: 1; }

/* ═══════════════════════════════════════════════════════════════
   HEADER: bold industrial · desktop-first
   ═══════════════════════════════════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--clr-bg-surface);
    border-bottom: 2px solid var(--clr-border);
}

/* ─── Top accent glow bar ──────────────────────────────────── */
.header-accent-bar {
    height: 3px;
    background: linear-gradient(90deg,
        var(--clr-orange-deep) 0%,
        var(--clr-orange) 25%,
        var(--clr-orange-bright) 50%,
        var(--clr-amber) 75%,
        var(--clr-orange) 100%);
    background-size: 200% 100%;
    animation: accentBarShimmer 4s ease-in-out infinite;
}

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

/* ─── Main header row ──────────────────────────────────────── */
.header-main {
    padding: 0.6rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

/* ─── Brand ────────────────────────────────────────────────── */
.header-brand {
    flex-shrink: 0;
}

.header-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.header-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 4vw, 2.2rem);
    font-weight: 400;
    color: var(--clr-orange);
    letter-spacing: 0.07em;
    white-space: nowrap;
    margin: 0;
    line-height: 0.95;
    text-transform: uppercase;
    transition: color 0.25s, text-shadow 0.25s;
}

.header-title-link:hover .header-title {
    color: var(--clr-orange-bright);
    text-shadow: 0 0 24px var(--clr-border-glow);
}

.header-subtitle {
    display: none;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--clr-text-dim);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.1rem;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .header-subtitle { display: block; }
}

/* ─── Stats (desktop) ──────────────────────────────────────── */
.header-stats {
    display: none;
    align-items: center;
    gap: 0;
    flex: 1;
    min-width: 0;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 1100px) {
    .header-stats {
        display: flex;
    }
}

.header-stat {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-md);
    transition: all 0.22s ease;
}

.header-stat:hover {
    background-color: var(--clr-bg-elevated);
}

.header-stat-icon {
    font-size: 0.95rem;
    color: var(--clr-orange-bright);
    display: flex;
    align-items: center;
}

.header-stat-value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--clr-text);
    letter-spacing: 0.04em;
    line-height: 1;
}

.header-stat-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--clr-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
}

.header-stat-divider {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, transparent 0%, var(--clr-border) 30%, var(--clr-border) 70%, transparent 100%);
    margin: 0 0.3rem;
}

/* ─── Actions / Sites dropdown ─────────────────────────────── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
    flex-shrink: 0;
}

.btn-nav-sites {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--clr-bg-elevated);
    border: 1px solid var(--clr-border);
    color: var(--clr-orange-bright);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.22s ease;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-nav-sites:hover,
.btn-nav-sites:focus {
    background-color: var(--clr-bg-surface);
    border-color: var(--clr-orange);
    color: var(--clr-orange);
    box-shadow: 0 0 20px var(--clr-border-glow), inset 0 0 0 1px rgba(255,107,53,0.1);
    outline: none;
}

.btn-nav-sites .bi {
    font-size: 0.95rem;
}

.btn-nav-sites-label {
    display: none;
}

@media (min-width: 992px) {
    .btn-nav-sites-label {
        display: inline;
    }
}

/* ─── Dropdown ─────────────────────────────────────────────── */
.header-actions .dropdown-menu {
    background-color: var(--clr-bg-elevated);
    border: 1px solid var(--clr-border);
    border-top: 2px solid var(--clr-orange);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-top: 0.6rem;
    min-width: 220px;
    padding: 0.4rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 0 1px var(--clr-border-glow);
}

.header-actions .dropdown-item {
    color: var(--clr-text-muted);
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: all 0.18s ease;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.header-actions .dropdown-item i,
.header-actions .dropdown-item .bi {
    font-size: 0.85rem;
    color: var(--clr-orange-bright);
    opacity: 0.7;
    transition: opacity 0.18s ease;
}

.header-actions .dropdown-item:hover {
    background-color: rgba(255,107,53,0.08);
    color: var(--clr-orange-bright);
}

.header-actions .dropdown-item:hover i,
.header-actions .dropdown-item:hover .bi {
    opacity: 1;
}

/* ─── Mobile adjustments ───────────────────────────────────── */
@media (max-width: 767px) {
    .header-inner {
        gap: 0.75rem;
    }

    .header-brand {
        flex: 1;
        min-width: 0;
    }

    .header-actions { gap: 0.4rem; }

    .btn-nav-sites {
        padding: 0.45rem 0.6rem;
        font-size: 0.72rem;
    }
}

/* ─── CARDS GRID ────────────────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: var(--gap-grid);
    padding: 2rem 0;
}

@media (max-width: 576px) {
    .cards-grid { grid-template-columns: 1fr; gap: 1rem; padding: 1rem 0; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
}

@media (min-width: 1025px) {
    .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── CARD ──────────────────────────────────────────────────── */
.youtuber-card {
    background-color: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.youtuber-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 0 0;
    border-color: transparent;
    transition: border-width 0.35s ease, border-color 0.35s ease;
    z-index: 5;
    pointer-events: none;
}

.youtuber-card:hover {
    border-color: var(--clr-orange);
    box-shadow: 0 0 30px var(--clr-border-glow), 0 8px 32px rgba(0,0,0,0.5);
    transform: translateY(-3px);
}

.youtuber-card:hover::after {
    border-width: 0 28px 28px 0;
    border-color: transparent var(--clr-orange) transparent transparent;
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--clr-bg-elevated) 0%, var(--clr-bg-surface) 100%);
    aspect-ratio: 1;
    width: 100%;
    border-bottom: 1px solid var(--clr-border);
    transition: border-color 0.35s ease;
}

.youtuber-card:hover .card-image-wrapper { border-bottom-color: var(--clr-orange); }

.card-image-wrapper .card-image-link { display: block; width: 100%; height: 100%; }

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.45s ease;
    filter: brightness(0.92);
}

.youtuber-card:hover .card-image-wrapper img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.card-favorite-badge {
    position: absolute;
    top: 0.65rem; right: 0.65rem;
    background-color: rgba(10,10,10,0.85);
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-md);
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    color: var(--clr-text-dim);
    font-size: 1.1rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: var(--font-body);
}

.card-favorite-badge:hover {
    border-color: var(--clr-amber);
    color: var(--clr-amber);
    transform: scale(1.12);
    box-shadow: 0 0 18px rgba(255,179,71,0.25);
}

.card-favorite-badge.active {
    background-color: rgba(255,107,53,0.2);
    border-color: var(--clr-amber);
    color: var(--clr-amber);
    box-shadow: 0 0 14px rgba(255,179,71,0.3);
}

/* ─── CARD BODY ─────────────────────────────────────────────── */
.card-body {
    padding: 1.1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0 0 0.65rem 0;
    color: var(--clr-text);
    line-height: 1.15;
    word-break: break-word;
    text-transform: uppercase;
    transition: color 0.25s;
}

.youtuber-card:hover .card-body h2 { color: var(--clr-orange-bright); }

.card-body .visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* ─── STAT CHIPS ────────────────────────────────────────────── */
.card-stats {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.stat-chip {
    background-color: var(--clr-bg-elevated);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 0.3rem 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--clr-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.02em;
    transition: all 0.22s ease;
}

.stat-chip strong { color: var(--clr-orange-bright); font-weight: 500; }
.stat-chip .bi { font-size: 0.7rem; opacity: 0.7; }
.youtuber-card:hover .stat-chip { border-color: rgba(255,107,53,0.2); }

/* ─── CARD ACTIONS ──────────────────────────────────────────── */
.card-actions {
    display: flex;
    gap: 0.45rem;
    margin-top: auto;
}

/* ─── SPECIAL CARDS · Countdown ─────────────────────────────── */
.card-special { border-color: rgba(255,107,53,0.35); }

.card-countdown-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0f0804 0%, #1a0f08 40%, #0d0d0d 100%);
}

.countdown-inner { text-align: center; }

.countdown-icon {
    font-size: 2.6rem;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.countdown-big {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 600;
    color: var(--clr-orange-bright);
    letter-spacing: 0.02em;
}

.countdown-sub {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--clr-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.35rem;
}

.youtuber-card:hover .countdown-big {
    color: var(--clr-amber);
}

/* ─── VIDEO CARD ────────────────────────────────────────────── */
.card-video { border-color: rgba(255,107,53,0.3); }

.card-video-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.card-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── NEXT-UNLOCK INFO BAR ──────────────────────────────────── */
.next-unlock-info {
    background: linear-gradient(135deg, rgba(255,107,53,0.08) 0%, rgba(255,107,53,0.03) 100%);
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: var(--radius-md);
    padding: 0.6rem 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    display: inline-block;
}

.next-unlock-info strong {
    color: var(--clr-orange-bright);
    font-weight: 600;
}

/* ─── BUTTON · Content ──────────────────────────────────────── */
.btn-content {
    flex: 1;
    background: linear-gradient(135deg, var(--clr-orange) 0%, var(--clr-orange-deep) 100%);
    border: none;
    color: #0A0A0A;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    z-index: 0;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr-orange-bright) 0%, var(--clr-orange) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.25s ease;
}

.btn-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,53,0.4);
    color: #0A0A0A;
    text-decoration: none;
}

.btn-content:hover::before { opacity: 1; }

.btn-content:focus {
    outline: 2px solid var(--clr-orange-bright);
    outline-offset: 2px;
}

.btn-content span, .btn-content i, .btn-content .bi { position: relative; z-index: 1; }

.btn-info {
    width: 38px;
    height: auto;
    padding: 0.6rem;
    background-color: var(--clr-bg-elevated);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    border-radius: var(--radius-md);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.22s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
}

.btn-info:hover {
    background-color: var(--clr-bg-surface);
    border-color: var(--clr-orange);
    color: var(--clr-orange-bright);
    box-shadow: 0 0 14px var(--clr-border-glow);
}

.btn-info:focus {
    outline: 2px solid var(--clr-orange-bright);
    outline-offset: 2px;
}

/* ─── PAGINATION ────────────────────────────────────────────── */
#pagination { margin-top: 2.5rem; margin-bottom: 2rem; }

.pagination {
    --bs-pagination-color: var(--clr-text-muted);
    --bs-pagination-bg: var(--clr-bg-surface);
    --bs-pagination-border-color: var(--clr-border);
    --bs-pagination-hover-color: var(--clr-orange-bright);
    --bs-pagination-hover-bg: var(--clr-bg-elevated);
    --bs-pagination-focus-color: var(--clr-orange);
    --bs-pagination-focus-bg: var(--clr-bg-elevated);
    --bs-pagination-active-color: #0A0A0A;
    --bs-pagination-active-bg: var(--clr-orange);
    --bs-pagination-active-border-color: var(--clr-orange);
    --bs-pagination-disabled-color: #444;
    --bs-pagination-disabled-bg: var(--clr-bg-surface);
    --bs-pagination-disabled-border-color: var(--clr-border);
}

.page-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    letter-spacing: 0.03em;
}

.page-link:hover { box-shadow: 0 0 12px var(--clr-border-glow); }
.page-item.active .page-link { box-shadow: 0 0 16px rgba(255,107,53,0.35); }

.page-link:focus {
    box-shadow: 0 0 0 3px var(--clr-border-glow);
    outline: none;
}

/* ─── SEO INTRO ─────────────────────────────────────────────── */
.seo-intro {
    background-color: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    border-left: 4px solid var(--clr-orange);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
}

.seo-intro h2 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    font-weight: 400;
    color: var(--clr-orange-bright);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    line-height: 1.1;
}

.seo-intro p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    line-height: 1.75;
    max-width: 80ch;
    margin: 0;
}

@media (min-width: 768px) {
    .seo-intro {
        padding: 1.75rem 2rem;
    }

    .seo-intro h2 {
        font-size: 2rem;
        letter-spacing: 0.06em;
    }

    .seo-intro p {
        font-size: 0.9rem;
    }
}

.seo-intro strong { color: var(--clr-orange-bright); font-weight: 600; }

/* ─── EMPTY STATE ───────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--clr-text-dim); }

.empty-state p {
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 0.04em;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   TOAST: industrial amber · sleek notification
   ═══════════════════════════════════════════════════════════════ */
.toast-custom {
    background: linear-gradient(180deg,
        rgba(22, 22, 22, 0.98) 0%,
        rgba(19, 19, 19, 0.99) 100%) !important;
    border: 1px solid rgba(255, 107, 53, 0.2) !important;
    border-radius: 10px !important;
    box-shadow:
        0 0 30px rgba(255, 107, 53, 0.1),
        0 0 60px rgba(255, 107, 53, 0.04),
        0 12px 36px rgba(0, 0, 0, 0.6) !important;
    overflow: hidden;
    min-width: 320px;
    max-width: 420px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: toastSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(80px) scale(0.92); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ── Left accent bar ────────────────────────────────────────── */
.toast-custom__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--clr-orange), var(--clr-amber), var(--clr-orange-deep));
    background-size: 100% 200%;
    animation: toastAccentFlow 3s ease-in-out infinite;
}

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

/* ── Body ───────────────────────────────────────────────────── */
.toast-custom__body {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem 1rem 1.4rem;
}

/* ── Icon ───────────────────────────────────────────────────── */
.toast-custom__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 179, 71, 0.08));
    border: 1.5px solid rgba(255, 107, 53, 0.3);
    color: var(--clr-amber);
    font-size: 0.95rem;
    box-shadow: 0 0 14px rgba(255, 179, 71, 0.15);
}

/* ── Text ───────────────────────────────────────────────────── */
.toast-custom__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.toast-custom__title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-text);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.toast-custom__sub {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--clr-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

/* ── Close button ───────────────────────────────────────────── */
.toast-custom__close {
    flex-shrink: 0;
    background: none;
    border: 1px solid transparent;
    color: var(--clr-text-dim);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    padding: 0;
}

.toast-custom__close:hover {
    color: var(--clr-orange-bright);
    background: rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.2);
}

/* ── Override Bootstrap toast defaults ──────────────────────── */
.toast-custom .toast-header { display: none !important; }
.toast-custom .toast-body { display: none !important; }

/* ─── TOAST (legacy override) ───────────────────────────────── */
.toast {
    background-color: var(--clr-bg-elevated) !important;
    border: 1px solid var(--clr-orange) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.6), 0 0 20px var(--clr-border-glow) !important;
}

.toast .toast-body { font-family: var(--font-body); color: var(--clr-text); font-size: 0.85rem; }

/* ─── SHARE MODAL ───────────────────────────────────────────── */
#shareModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1055;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

#shareModal .modal-content {
    background-color: var(--clr-bg-elevated);
    border: 1px solid var(--clr-border);
    border-top: 3px solid var(--clr-orange);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 40px var(--clr-border-glow);
    animation: modalSlideIn 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

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

#shareModal .modal-header {
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#shareModal .modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--clr-orange-bright);
    text-transform: uppercase;
}

#shareModal .btn-close { filter: invert(0.7); opacity: 0.7; transition: opacity 0.2s; }
#shareModal .btn-close:hover { opacity: 1; }

#shareModal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

#shareModal .btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    background-color: var(--clr-bg-surface);
    color: var(--clr-text);
    transition: all 0.22s ease;
    letter-spacing: 0.02em;
}

#shareModal .btn:hover {
    border-color: var(--clr-orange);
    color: var(--clr-orange-bright);
    background-color: var(--clr-bg-elevated);
    box-shadow: 0 0 16px var(--clr-border-glow);
}

/* ─── SHARE BUTTONS ─────────────────────────────────────────── */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex: 1;
    min-width: 120px;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.22s ease;
    letter-spacing: 0.02em;
}

.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }

.share-twitter  { background-color: #1DA1F2; color: #fff; }
.share-twitter:hover  { background-color: #0d8bd9; }
.share-whatsapp { background-color: #25D366; color: #fff; }
.share-whatsapp:hover { background-color: #1da851; }
.share-telegram { background-color: #0088CC; color: #fff; }
.share-telegram:hover { background-color: #0070a8; }
.share-facebook { background-color: #1877F2; color: #fff; }
.share-facebook:hover { background-color: #0f63c9; }

.share-copy {
    background-color: var(--clr-bg-surface);
    color: var(--clr-orange-bright);
    border: 1px solid var(--clr-border) !important;
}
.share-copy:hover {
    background-color: var(--clr-bg-elevated);
    border-color: var(--clr-orange) !important;
    color: var(--clr-orange);
}

/* ─── MODAL CUSTOM ──────────────────────────────────────────── */
.modal-custom {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.modal-custom.show { display: flex; }

.modal-custom-content {
    background-color: var(--clr-bg-elevated);
    border: 1px solid var(--clr-border);
    border-top: 3px solid var(--clr-orange);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

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

.modal-custom-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: none;
    border: none;
    color: var(--clr-text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: var(--radius-sm);
}

.modal-custom-close:hover { color: var(--clr-orange); background-color: rgba(255,107,53,0.1); }

.modal-custom-close:focus {
    outline: 2px solid var(--clr-orange-bright);
    outline-offset: 2px;
}

.modal-custom-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    color: var(--clr-text);
    padding-right: 2rem;
    text-transform: uppercase;
}

.modal-custom-text {
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.modal-custom-links {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.modal-custom-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--clr-bg-surface);
    color: var(--clr-orange-bright);
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--font-body);
    transition: all 0.2s;
    border: 1px solid var(--clr-border);
    font-weight: 600;
}

.modal-custom-link:hover {
    background-color: var(--clr-bg-elevated);
    border-color: var(--clr-orange);
    color: var(--clr-orange);
}

.modal-custom-link:focus {
    outline: 2px solid var(--clr-orange-bright);
    outline-offset: 2px;
}

/* ─── CONTAINER ─────────────────────────────────────────────── */
.container-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 576px) { .container-main { padding: 0 0.75rem; } }

/* ═══════════════════════════════════════════════════════════════
   UNLOCK PAGE: digital speakeasy · neo-noir VIP lounge
   ═══════════════════════════════════════════════════════════════ */

/* ─── Page-level ambient layers ──────────────────────────────── */
.unlock-main {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* ─── Scanlines ──────────────────────────────────────────────── */
.unlock-scanlines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.06) 2px,
        rgba(0, 0, 0, 0.06) 4px
    );
    opacity: 0.5;
}

/* ─── Floating particles ─────────────────────────────────────── */
.unlock-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.unlock-particles span {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--clr-amber);
    opacity: 0;
    animation: particleFloat 8s infinite ease-in;
}

.unlock-particles span:nth-child(1)  { left: 10%; animation-delay: 0s; width: 2px; height: 2px; }
.unlock-particles span:nth-child(2)  { left: 20%; animation-delay: 0.8s; width: 3px; height: 3px; }
.unlock-particles span:nth-child(3)  { left: 35%; animation-delay: 1.6s; }
.unlock-particles span:nth-child(4)  { left: 50%; animation-delay: 2.4s; width: 2px; height: 2px; }
.unlock-particles span:nth-child(5)  { left: 65%; animation-delay: 3.2s; width: 5px; height: 5px; }
.unlock-particles span:nth-child(6)  { left: 75%; animation-delay: 4.0s; width: 2px; height: 2px; }
.unlock-particles span:nth-child(7)  { left: 85%; animation-delay: 4.8s; }
.unlock-particles span:nth-child(8)  { left: 15%; animation-delay: 5.6s; width: 3px; height: 3px; }
.unlock-particles span:nth-child(9)  { left: 40%; animation-delay: 6.4s; width: 2px; height: 2px; }
.unlock-particles span:nth-child(10) { left: 55%; animation-delay: 7.2s; }
.unlock-particles span:nth-child(11) { left: 70%; animation-delay: 1.2s; width: 2px; height: 2px; }
.unlock-particles span:nth-child(12) { left: 25%; animation-delay: 2.0s; width: 3px; height: 3px; }
.unlock-particles span:nth-child(13) { left: 45%; animation-delay: 3.6s; }
.unlock-particles span:nth-child(14) { left: 60%; animation-delay: 5.2s; width: 2px; height: 2px; }
.unlock-particles span:nth-child(15) { left: 90%; animation-delay: 6.8s; width: 3px; height: 3px; }

@keyframes particleFloat {
    0%   { opacity: 0; transform: translateY(100vh) scale(0); }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1.5); }
}

/* Success mode: green + amber particles */
.unlock--success .unlock-particles span:nth-child(odd) {
    background: rgba(46, 204, 113, 0.7);
}
.unlock--success .unlock-particles span:nth-child(even) {
    background: var(--clr-amber);
}

/* Failure mode: red particles */
.unlock--failure .unlock-particles span {
    background: rgba(255, 80, 80, 0.6);
}

/* Success: amber spotlight with green tint */
.unlock-spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center,
        rgba(46, 204, 113, 0.06) 0%,
        rgba(255, 179, 71, 0.05) 25%,
        rgba(255, 107, 53, 0.03) 50%,
        transparent 70%);
    animation: spotlightPulse 4s ease-in-out infinite;
}

.unlock--failure .unlock-spotlight {
    background: radial-gradient(ellipse at center,
        rgba(255, 60, 60, 0.07) 0%,
        rgba(255, 60, 60, 0.02) 35%,
        transparent 70%);
}

@keyframes spotlightPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* ─── Container ───────────────────────────────────────────────── */
.unlock-container {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   STEP INDICATOR
   ═══════════════════════════════════════════════════════════════ */
.unlock-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto 2rem;
    max-width: 420px;
}

.unlock-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    z-index: 1;
}

.unlock-step__num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.unlock-step--done .unlock-step__num {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: #0A0A0A;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.35);
}

.unlock-step--current .unlock-step__num {
    background: transparent;
    color: var(--clr-amber);
    border: 2px solid var(--clr-amber);
    animation: stepPulse 2s ease-in-out infinite;
    box-shadow: 0 0 16px rgba(255, 179, 71, 0.3);
}

.unlock-step--failed .unlock-step__num {
    background: transparent;
    color: #FF5050;
    border: 2px solid #FF5050;
    box-shadow: 0 0 20px rgba(255, 80, 80, 0.3);
    animation: stepShake 0.6s ease-in-out;
}

@keyframes stepPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(255, 179, 71, 0.25); }
    50%      { box-shadow: 0 0 28px rgba(255, 179, 71, 0.55); }
}

@keyframes stepShake {
    0%, 100% { transform: translateX(0); }
    10%, 50%, 90% { transform: translateX(-3px); }
    30%, 70% { transform: translateX(3px); }
}

.unlock-step__label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--clr-text-dim);
}

.unlock-step--done .unlock-step__label { color: #2ECC71; }
.unlock-step--current .unlock-step__label { color: var(--clr-amber); }
.unlock-step--failed .unlock-step__label { color: #FF5050; }

/* Connector between steps */
.unlock-step__connector {
    flex: 1;
    height: 2px;
    margin: 0 0.5rem;
    margin-bottom: 1.2rem;
    position: relative;
    background: var(--clr-border);
    overflow: hidden;
}

.unlock-step__connector-line {
    position: absolute;
    inset: 0;
}

.unlock-step__connector--active {
    background: var(--clr-border);
}

.unlock-step__connector--active .unlock-step__connector-line {
    background: linear-gradient(90deg, #2ECC71, var(--clr-amber));
    animation: connectorFlow 1.5s ease-in-out infinite;
    background-size: 200% 100%;
}

.unlock-step__connector--broken .unlock-step__connector-line {
    background: repeating-linear-gradient(90deg,
        #FF5050 0px, #FF5050 6px,
        transparent 6px, transparent 12px);
    opacity: 0.5;
}

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

/* ═══════════════════════════════════════════════════════════════
   MAIN PANEL
   ═══════════════════════════════════════════════════════════════ */
.unlock-panel {
    margin: 0 auto 3rem;
    max-width: 580px;
    background: linear-gradient(180deg,
        rgba(22, 22, 22, 0.95) 0%,
        rgba(19, 19, 19, 0.98) 100%);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

/* Success panel glow: amber + green tint */
.unlock-panel--success {
    border-color: rgba(46, 204, 113, 0.25);
    box-shadow:
        0 0 60px rgba(46, 204, 113, 0.06),
        0 0 120px rgba(46, 204, 113, 0.03),
        0 0 50px rgba(255, 107, 53, 0.06),
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Failure panel glow */
.unlock-panel--failure {
    border-color: rgba(255, 80, 80, 0.2);
    box-shadow:
        0 0 60px rgba(255, 80, 80, 0.06),
        0 0 120px rgba(255, 80, 80, 0.02),
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

/* ── Decorative corner accents ───────────────────────────────── */
.unlock-panel__corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.unlock-panel__corner {
    position: absolute;
    width: 24px;
    height: 24px;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.unlock-panel--success .unlock-panel__corner { border-color: rgba(46, 204, 113, 0.6); }
.unlock-panel--failure .unlock-panel__corner { border-color: rgba(255, 80, 80, 0.5); }

.unlock-panel__corner--tl { top: 12px; left: 12px; border-top: 2px solid; border-left: 2px solid; }
.unlock-panel__corner--tr { top: 12px; right: 12px; border-top: 2px solid; border-right: 2px solid; }
.unlock-panel__corner--bl { bottom: 12px; left: 12px; border-bottom: 2px solid; border-left: 2px solid; }
.unlock-panel__corner--br { bottom: 12px; right: 12px; border-bottom: 2px solid; border-right: 2px solid; }

.unlock-panel:hover .unlock-panel__corner { opacity: 0.9; }

/* ── Status icon ──────────────────────────────────────────────── */
.unlock-panel__icon {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.unlock-icon-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
}

.unlock-panel--success .unlock-icon-ring {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(255, 179, 71, 0.06));
    border: 2px solid rgba(46, 204, 113, 0.35);
    color: #2ECC71;
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.18), 0 0 50px rgba(255, 179, 71, 0.08), inset 0 0 20px rgba(46, 204, 113, 0.05);
    animation: iconGlowSuccess 2.5s ease-in-out infinite;
}

.unlock-icon-ring--fail {
    background: linear-gradient(135deg, rgba(255, 80, 80, 0.1), rgba(255, 60, 60, 0.06));
    border: 2px solid rgba(255, 80, 80, 0.3);
    color: #FF6060;
    box-shadow: 0 0 30px rgba(255, 80, 80, 0.15), inset 0 0 20px rgba(255, 80, 80, 0.04);
    animation: iconGlowFail 2.5s ease-in-out infinite;
}

@keyframes iconGlowSuccess {
    0%, 100% { box-shadow: 0 0 20px rgba(46, 204, 113, 0.12), 0 0 30px rgba(255, 179, 71, 0.05), inset 0 0 15px rgba(46, 204, 113, 0.03); }
    50%      { box-shadow: 0 0 40px rgba(46, 204, 113, 0.28), 0 0 60px rgba(255, 179, 71, 0.12), inset 0 0 25px rgba(46, 204, 113, 0.07); }
}

@keyframes iconGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.15), inset 0 0 15px rgba(255, 107, 53, 0.04); }
    50%      { box-shadow: 0 0 40px rgba(255, 107, 53, 0.3), inset 0 0 25px rgba(255, 107, 53, 0.08); }
}

@keyframes iconGlowFail {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 80, 80, 0.12), inset 0 0 15px rgba(255, 80, 80, 0.03); }
    50%      { box-shadow: 0 0 35px rgba(255, 80, 80, 0.22), inset 0 0 22px rgba(255, 80, 80, 0.05); }
}

/* ── Heading ──────────────────────────────────────────────────── */
.unlock-panel__heading {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

.unlock-panel--success .unlock-panel__heading {
    color: var(--clr-text);
}

.unlock-panel--failure .unlock-panel__heading {
    color: #FF8080;
    animation: headingGlitch 3s ease-in-out infinite;
}

@keyframes headingGlitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 1px); }
    94% { transform: translate(2px, -1px); }
    96% { transform: translate(-1px, -1px); }
    98% { transform: translate(1px, 1px); }
}

/* ── Model name ───────────────────────────────────────────────── */
.unlock-panel__model {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.2rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.unlock-panel__model-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ECC71;
    box-shadow: 0 0 6px #2ECC71;
    animation: modelDotPulse 2s ease-in-out infinite;
}

@keyframes modelDotPulse {
    0%, 100% { box-shadow: 0 0 4px #2ECC71; }
    50%      { box-shadow: 0 0 10px #2ECC71, 0 0 16px rgba(46, 204, 113, 0.4); }
}

.unlock-panel--failure .unlock-panel__model-dot {
    background: #FF5050;
    box-shadow: 0 0 6px #FF5050;
}

/* ── Message ──────────────────────────────────────────────────── */
.unlock-panel__message {
    margin: 0 auto 2rem;
    max-width: 440px;
    color: var(--clr-text);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ── Actions ──────────────────────────────────────────────────── */
.unlock-panel__actions {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ── Primary CTA button ──────────────────────────────────────── */
.unlock-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
}

.unlock-btn--primary {
    background: linear-gradient(135deg, var(--clr-orange) 0%, var(--clr-orange-deep) 100%);
    color: #0A0A0A;
    box-shadow: 0 4px 24px rgba(255, 107, 53, 0.3);
}

.unlock-btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr-orange-bright) 0%, var(--clr-orange) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.unlock-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(255, 107, 53, 0.5);
    color: #0A0A0A;
    text-decoration: none;
}

.unlock-btn--primary:hover::before { opacity: 1; }

.unlock-btn__glow {
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--clr-orange), var(--clr-amber), var(--clr-orange));
    z-index: -2;
    opacity: 0;
    transition: opacity 0.35s ease;
    animation: glowRotate 3s linear infinite;
}

.unlock-btn--primary:hover .unlock-btn__glow { opacity: 0.6; }

@keyframes glowRotate {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(30deg); }
}

.unlock-btn__content {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.unlock-btn__arrow {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.unlock-btn--primary:hover .unlock-btn__arrow {
    transform: translateX(4px);
}

/* ── Retry button ─────────────────────────────────────────────── */
.unlock-btn--retry {
    background: transparent;
    color: #FF7070;
    border: 2px solid rgba(255, 80, 80, 0.4);
    box-shadow: 0 0 20px rgba(255, 80, 80, 0.08);
}

.unlock-btn--retry:hover {
    background: rgba(255, 80, 80, 0.08);
    border-color: rgba(255, 80, 80, 0.7);
    color: #FF9090;
    box-shadow: 0 0 32px rgba(255, 80, 80, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.unlock-btn--retry .unlock-btn__content i {
    animation: retrySpinPause 3s ease-in-out infinite;
}

@keyframes retrySpinPause {
    0%, 85%, 100% { transform: rotate(0deg); }
    90% { transform: rotate(180deg); }
}

/* ── Footnote ─────────────────────────────────────────────────── */
.unlock-panel__footnote {
    margin-top: 1.2rem;
    color: var(--clr-text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}

.unlock-panel__footnote i {
    font-size: 0.85rem;
}

.unlock-panel__footnote--warn {
    color: #FF9090;
}

/* ── Bottom decorative rule ──────────────────────────────────── */
.unlock-panel__rule {
    margin: 1.8rem auto 0;
    width: 60px;
    height: 2px;
    border-radius: 1px;
    position: relative;
    z-index: 1;
}

.unlock-panel--success .unlock-panel__rule {
    background: linear-gradient(90deg, transparent, #2ECC71, transparent);
}

.unlock-panel--failure .unlock-panel__rule {
    background: linear-gradient(90deg, transparent, rgba(255, 80, 80, 0.5), transparent);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE: unlock page
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    .unlock-panel {
        padding: 1.8rem 1.2rem 1.5rem;
        border-radius: 10px;
    }

    .unlock-panel__heading {
        font-size: 1.5rem;
    }

    .unlock-panel__message {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .unlock-btn {
        padding: 0.75rem 1.4rem;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }

    .unlock-stepper {
        max-width: 300px;
        margin-bottom: 1.5rem;
    }

    .unlock-step__num {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .unlock-icon-ring {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .unlock-spotlight {
        width: 400px;
        height: 350px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   404 PAGE: digital speakeasy · neo-noir
   ═══════════════════════════════════════════════════════════════ */
.page-404 { background: var(--clr-bg-base); }

.notfound-main {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* ── Scanlines ──────────────────────────────────────────────── */
.notfound-scanlines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.06) 2px,
        rgba(0, 0, 0, 0.06) 4px
    );
    opacity: 0.5;
}

/* ── Spotlight ──────────────────────────────────────────────── */
.notfound-spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center,
        rgba(255, 107, 53, 0.06) 0%,
        rgba(255, 107, 53, 0.02) 35%,
        transparent 70%);
    animation: spotlightPulse 4s ease-in-out infinite;
}

/* ── Container ──────────────────────────────────────────────── */
.notfound-container {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
}

/* ── Panel ──────────────────────────────────────────────────── */
.notfound-panel {
    margin: 0 auto 3rem;
    max-width: 560px;
    background: linear-gradient(180deg,
        rgba(22, 22, 22, 0.95) 0%,
        rgba(19, 19, 19, 0.98) 100%);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow:
        0 0 60px rgba(255, 107, 53, 0.06),
        0 0 120px rgba(255, 107, 53, 0.02),
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

/* ── Corners ────────────────────────────────────────────────── */
.notfound-panel__corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.notfound-panel__corner {
    position: absolute;
    width: 24px;
    height: 24px;
    opacity: 0.5;
    transition: opacity 0.4s ease;
    border-color: var(--clr-orange);
}

.notfound-panel__corner--tl { top: 12px; left: 12px; border-top: 2px solid; border-left: 2px solid; }
.notfound-panel__corner--tr { top: 12px; right: 12px; border-top: 2px solid; border-right: 2px solid; }
.notfound-panel__corner--bl { bottom: 12px; left: 12px; border-bottom: 2px solid; border-left: 2px solid; }
.notfound-panel__corner--br { bottom: 12px; right: 12px; border-bottom: 2px solid; border-right: 2px solid; }

.notfound-panel:hover .notfound-panel__corner { opacity: 0.85; }

/* ── Icon ───────────────────────────────────────────────────── */
.notfound-panel__icon {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.notfound-icon-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 179, 71, 0.04));
    border: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.12), inset 0 0 20px rgba(255, 107, 53, 0.04);
    animation: iconGlow 2.5s ease-in-out infinite;
}

.notfound-icon-ring__num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--clr-orange-bright);
    letter-spacing: 0.06em;
    line-height: 1;
}

/* ── Heading ────────────────────────────────────────────────── */
.notfound-panel__heading {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.15;
    color: var(--clr-text);
    position: relative;
    z-index: 1;
}

/* ── Message ────────────────────────────────────────────────── */
.notfound-panel__message {
    margin: 0 auto 2rem;
    max-width: 400px;
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.notfound-panel__message strong { color: var(--clr-orange-bright); }

/* ── Actions ────────────────────────────────────────────────── */
.notfound-panel__actions {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ── Latest section ─────────────────────────────────────────── */
.notfound-latest {
    margin: 2rem auto;
    max-width: 1200px;
    text-align: center;
}

.notfound-latest__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-amber);
    background: rgba(255, 179, 71, 0.06);
    border: 1px solid rgba(255, 179, 71, 0.15);
}

.notfound-latest__label i { font-size: 0.85rem; }

.notfound-latest .cards-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   INDEX & BLOCK PAGES: modern overhaul
   ═══════════════════════════════════════════════════════════════ */

/* ── SEO intro: editorial card ─────────────────────────────── */
.seo-intro {
    background: linear-gradient(180deg,
        rgba(22, 22, 22, 0.95) 0%,
        rgba(19, 19, 19, 0.98) 100%);
    border: 1px solid var(--clr-border);
    border-left: 4px solid var(--clr-orange);
    border-radius: 0 12px 12px 0;
    padding: 1.75rem 2rem;
    margin: 1.5rem 0 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.seo-intro::after {
    content: '';
    position: absolute;
    top: 0; left: -4px;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--clr-orange), var(--clr-amber), var(--clr-orange-deep));
    background-size: 100% 200%;
    animation: introBorderGlow 3s ease-in-out infinite;
    border-radius: 0;
}

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

.seo-intro h2 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    font-weight: 400;
    color: var(--clr-orange-bright);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.seo-intro p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    line-height: 1.75;
    max-width: 80ch;
    margin: 0;
}

@media (min-width: 768px) {
    .seo-intro {
        padding: 2rem 2.25rem;
    }
    .seo-intro h2 {
        font-size: 2rem;
        letter-spacing: 0.06em;
    }
    .seo-intro p {
        font-size: 0.9rem;
    }
}

.seo-intro strong { color: var(--clr-orange-bright); font-weight: 600; }

/* ── Next unlock info bar: sleek badge ─────────────────────── */
.next-unlock-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 179, 71, 0.04) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 24px;
    padding: 0.5rem 1.3rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    letter-spacing: 0.04em;
}

.next-unlock-info strong {
    color: var(--clr-orange-bright);
    font-weight: 600;
}

/* ── Cards grid: refined spacing ───────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: var(--gap-grid);
    padding: 2rem 0;
}

@media (max-width: 576px) {
    .cards-grid { grid-template-columns: 1fr; gap: 1rem; padding: 1rem 0; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
}

@media (min-width: 1025px) {
    .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Card: refined with depth ──────────────────────────────── */
.youtuber-card {
    background: linear-gradient(180deg,
        rgba(22, 22, 22, 0.9) 0%,
        rgba(19, 19, 19, 0.95) 100%);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.youtuber-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 0 0;
    border-color: transparent;
    transition: border-width 0.35s ease, border-color 0.35s ease;
    z-index: 5;
    pointer-events: none;
}

.youtuber-card:hover {
    border-color: var(--clr-orange);
    box-shadow: 0 0 30px var(--clr-border-glow), 0 12px 40px rgba(0,0,0,0.55);
    transform: translateY(-4px);
}

.youtuber-card:hover::after {
    border-width: 0 28px 28px 0;
    border-color: transparent var(--clr-orange) transparent transparent;
}

/* ── Card Image ─────────────────────────────────────────────── */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--clr-bg-elevated) 0%, var(--clr-bg-surface) 100%);
    aspect-ratio: 1;
    width: 100%;
    border-bottom: 1px solid var(--clr-border);
    transition: border-color 0.35s ease;
}

.youtuber-card:hover .card-image-wrapper { border-bottom-color: var(--clr-orange); }

.card-image-wrapper .card-image-link { display: block; width: 100%; height: 100%; }

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.45s ease;
    filter: brightness(0.88);
}

.youtuber-card:hover .card-image-wrapper img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

/* ── Card Favorite Badge ────────────────────────────────────── */
.card-favorite-badge {
    position: absolute;
    top: 0.65rem; right: 0.65rem;
    background-color: rgba(10,10,10,0.85);
    border: 2px solid var(--clr-border);
    border-radius: 8px;
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    color: var(--clr-text-dim);
    font-size: 1.1rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: var(--font-body);
}

.card-favorite-badge:hover {
    border-color: var(--clr-amber);
    color: var(--clr-amber);
    transform: scale(1.12);
    box-shadow: 0 0 18px rgba(255,179,71,0.25);
}

.card-favorite-badge.active {
    background-color: rgba(255,107,53,0.2);
    border-color: var(--clr-amber);
    color: var(--clr-amber);
    box-shadow: 0 0 14px rgba(255,179,71,0.3);
}

/* ── Card Body ──────────────────────────────────────────────── */
.card-body {
    padding: 1.1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0 0 0.65rem 0;
    color: var(--clr-text);
    line-height: 1.15;
    word-break: break-word;
    text-transform: uppercase;
    transition: color 0.25s;
}

.youtuber-card:hover .card-body h2 { color: var(--clr-orange-bright); }

/* ── Stat Chips ─────────────────────────────────────────────── */
.card-stats {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.stat-chip {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--clr-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.02em;
    transition: all 0.22s ease;
}

.stat-chip strong { color: var(--clr-orange-bright); font-weight: 500; }
.stat-chip .bi { font-size: 0.7rem; opacity: 0.7; }
.youtuber-card:hover .stat-chip { border-color: rgba(255,107,53,0.2); }

/* ── Card Actions ───────────────────────────────────────────── */
.card-actions {
    display: flex;
    gap: 0.45rem;
    margin-top: auto;
}

/* ── Countdown card: dramatic hero ─────────────────────────── */
.card-countdown {
    border-color: rgba(255, 107, 53, 0.25);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.card-countdown-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0f0804 0%, #1a0f08 40%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
}

.card-countdown-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%,
        rgba(255, 107, 53, 0.08) 0%,
        transparent 60%);
    animation: countdownGlow 3s ease-in-out infinite;
}

@keyframes countdownGlow {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

.countdown-inner { text-align: center; z-index: 1; }

.countdown-icon {
    font-size: 2.6rem;
    line-height: 1;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 12px rgba(255, 179, 71, 0.3));
}

.countdown-big {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 600;
    color: var(--clr-orange-bright);
    letter-spacing: 0.02em;
}

.countdown-sub {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--clr-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.35rem;
}

.youtuber-card:hover .countdown-big {
    color: var(--clr-amber);
}

/* ── Date Card Overlay ──────────────────────────────────────── */
.card-image-wrapper { position: relative; }

.card-lastunlock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 4;
}

.lastunlock-date {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 40px rgba(255,107,53,0.3);
    line-height: 1;
    letter-spacing: 0.04em;
}

.lastunlock-time {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--clr-amber);
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    margin-top: 0.2rem;
    letter-spacing: 0.06em;
}

.lastunlock-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--clr-text-muted);
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.3rem;
}

.card-date-link:hover .lastunlock-date { color: var(--clr-amber); }

/* ── Video Card ─────────────────────────────────────────────── */
.card-video { border-color: rgba(255, 107, 53, 0.25); }

.card-video-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
    overflow: hidden;
}

.card-video-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 50%,
        rgba(255, 107, 53, 0.06) 100%);
    pointer-events: none;
}

.card-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.youtuber-card:hover .video-card-link::after {
    color: var(--clr-orange-bright);
    transform: translate(-50%, -50%) scale(1.15);
}

/* ─── LOADING ───────────────────────────────────────────────── */
.loading { text-align: center; padding: 2rem; color: var(--clr-text-dim); }

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
    background-color: var(--clr-bg-surface);
    border-top: 2px solid var(--clr-border);
    padding: 1.25rem;
    margin-top: auto;
    text-align: center;
    color: var(--clr-text-dim);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ─── STAGGERED CARD REVEAL ─────────────────────────────────── */
.youtuber-card { animation: cardReveal 0.5s cubic-bezier(0.25,0.46,0.45,0.94) both; }
.youtuber-card:nth-child(1)  { animation-delay: 0.03s; }
.youtuber-card:nth-child(2)  { animation-delay: 0.06s; }
.youtuber-card:nth-child(3)  { animation-delay: 0.09s; }
.youtuber-card:nth-child(4)  { animation-delay: 0.12s; }
.youtuber-card:nth-child(5)  { animation-delay: 0.15s; }
.youtuber-card:nth-child(6)  { animation-delay: 0.18s; }
.youtuber-card:nth-child(7)  { animation-delay: 0.21s; }
.youtuber-card:nth-child(8)  { animation-delay: 0.24s; }
.youtuber-card:nth-child(9)  { animation-delay: 0.27s; }
.youtuber-card:nth-child(10) { animation-delay: 0.30s; }
.youtuber-card:nth-child(11) { animation-delay: 0.33s; }
.youtuber-card:nth-child(12) { animation-delay: 0.36s; }
.youtuber-card:nth-child(13) { animation-delay: 0.39s; }
.youtuber-card:nth-child(14) { animation-delay: 0.42s; }
.youtuber-card:nth-child(15) { animation-delay: 0.45s; }
.youtuber-card:nth-child(16) { animation-delay: 0.48s; }

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

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 480px) {
    .card-body { padding: 0.85rem; }
    .card-body h2 { font-size: 1.1rem; }
    .stat-chip { font-size: 0.62rem; padding: 0.25rem 0.5rem; }
    .btn-content { font-size: 0.75rem; padding: 0.5rem 0.75rem; }
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORIES
   ═══════════════════════════════════════════════════════════════ */

/* Card titles use h3; mirror the h2 card styling */
.card-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0 0 0.65rem 0;
    color: var(--clr-text);
    line-height: 1.15;
    word-break: break-word;
    text-transform: uppercase;
    transition: color 0.25s;
}

.youtuber-card:hover .card-body h3 { color: var(--clr-orange-bright); }

/* Primary category badge over the card image */
.card-cat-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 10;
    width: auto;
    height: auto;
    max-width: calc(100% - 4.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: rgba(10, 10, 10, 0.82);
    border: 1px solid var(--clr-border-glow);
    border-radius: var(--radius-sm);
    padding: 0.2rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-amber);
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.22s ease;
}

.card-cat-badge:hover {
    background-color: rgba(255, 107, 53, 0.25);
    border-color: var(--clr-orange);
    color: #fff;
}

/* Category chip used as link inside card stats */
.stat-chip--link { text-decoration: none; color: var(--clr-text-muted); }
.stat-chip--link:hover {
    border-color: var(--clr-orange);
    color: var(--clr-orange-bright);
    background-color: rgba(255, 107, 53, 0.08);
}

/* ─── Browse-by-category strip ──────────────────────────────── */
.category-strip {
    margin: 0 0 1.75rem;
    padding: 1.25rem;
    background-color: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
}

.category-strip__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.category-strip__head h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    color: var(--clr-text);
}

.category-strip__head h2 .bi { color: var(--clr-orange); margin-right: 0.35rem; }

.category-strip__all {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-orange-bright);
    text-decoration: none;
    white-space: nowrap;
}

.category-strip__all:hover { color: var(--clr-amber); }

.category-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background-color: var(--clr-bg-elevated);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: all 0.22s ease;
}

.category-chip:hover {
    border-color: var(--clr-orange);
    background-color: rgba(255, 107, 53, 0.08);
    transform: translateY(-1px);
}

.category-chip__label { font-size: 0.78rem; color: var(--clr-text); }
.category-chip__count { font-family: var(--font-mono); font-size: 0.62rem; color: var(--clr-text-dim); }
.category-chip:hover .category-chip__count { color: var(--clr-orange-bright); }

/* ─── Category pages ────────────────────────────────────────── */
.category-hero { padding-bottom: 1rem; }

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--clr-text-dim);
    margin-bottom: 0.6rem;
}

.breadcrumb-nav a { color: var(--clr-text-muted); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--clr-orange-bright); }
.breadcrumb-sep { color: var(--clr-text-dim); }
.breadcrumb-current { color: var(--clr-orange-bright); }

/* ─── Category hub grid ─────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0.5rem 0 2rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.category-card:hover {
    border-color: var(--clr-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.category-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.category-card__head h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    color: var(--clr-text);
}

.category-card:hover .category-card__head h3 { color: var(--clr-orange-bright); }

.category-card__count {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--clr-orange-bright);
    background-color: var(--clr-bg-elevated);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 0.15rem 0.45rem;
}

.category-card p { font-size: 0.82rem; color: var(--clr-text-muted); margin: 0; line-height: 1.5; }

.category-card__cta {
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-orange);
}

/* ─── Footer category links ─────────────────────────────────── */
.footer-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-cats a { color: var(--clr-text-dim); text-decoration: none; font-size: 0.66rem; letter-spacing: 0.05em; }
.footer-cats a:hover { color: var(--clr-orange-bright); }
.footer-dot { color: var(--clr-border); }

/* ─── Footer updated date ───────────────────────────────────── */
.footer-updated {
    margin: 0.5rem 0 0;
    font-size: var(--fs-xs);
    letter-spacing: 0.05em;
    color: var(--clr-text-dim);
}

/* ─── Categories dropdown ───────────────────────────────────── */
.dropdown-menu-cats { max-height: 70vh; overflow-y: auto; }
.dropdown-count {
    float: right;
    margin-left: 1rem;
    color: var(--clr-text-dim);
    font-family: var(--font-mono);
    font-size: 0.65rem;
}

@media (min-width: 900px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
    .category-grid { grid-template-columns: 1fr; }
    .category-strip { padding: 1rem; }
    .category-strip__head h2 { font-size: 1.1rem; }
    .card-body h3 { font-size: 1.1rem; }
}

/* ─── Unique H1 per page (SEO) ──────────────────────────────── */
.seo-intro h1 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    font-weight: 400;
    color: var(--clr-orange-bright);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .seo-intro h1 { font-size: 2rem; letter-spacing: 0.06em; }
}

/* ═══════════════════════════════════════════════════════════════
   LANDING (HOME)
   ═══════════════════════════════════════════════════════════════ */

.landing-hero {
    position: relative;
    margin: 1.5rem 0 0.5rem;
    padding: 2.25rem 2rem;
    background: linear-gradient(180deg,
        rgba(22, 22, 22, 0.95) 0%,
        rgba(19, 19, 19, 0.98) 100%);
    border: 1px solid var(--clr-border);
    border-left: 4px solid var(--clr-orange);
    border-radius: 0 12px 12px 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.landing-hero::after {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.landing-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 5vw, 2.9rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--clr-orange-bright);
    margin: 0 0 0.9rem;
    max-width: 22ch;
}

.landing-hero__lead {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--clr-text-muted);
    max-width: 78ch;
    margin: 0;
}

.landing-hero__lead strong { color: var(--clr-text); font-weight: 600; }

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-hero-primary,
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.22s ease;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--clr-orange) 0%, var(--clr-orange-deep) 100%);
    color: #14100e;
    border: 1px solid var(--clr-orange-bright);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
}

.btn-hero-primary:hover {
    color: #14100e;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(255, 107, 53, 0.35);
}

.btn-hero-ghost {
    background-color: var(--clr-bg-elevated);
    color: var(--clr-orange-bright);
    border: 1px solid var(--clr-border);
}

.btn-hero-ghost:hover {
    color: var(--clr-orange);
    border-color: var(--clr-orange);
    background-color: var(--clr-bg-surface);
}

.landing-hero__stats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    padding: 1.25rem 0 0;
    margin: 1.75rem 0 0;
    border-top: 1px solid var(--clr-border);
}

.landing-hero__stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--clr-orange-bright);
    line-height: 1;
}

.landing-hero__stats span {
    display: block;
    margin-top: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-text-dim);
}

.landing-section { margin: 2.5rem 0; }

.landing-section > h2 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--clr-text);
    margin-bottom: 0.75rem;
}

.landing-prose h2 { margin-top: 2.25rem; }
.landing-prose h2:first-child { margin-top: 0; }

.landing-prose p {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--clr-text-muted);
    max-width: 85ch;
    margin: 0 0 0.5rem;
}

.landing-prose p strong { color: var(--clr-orange-bright); font-weight: 600; }

.landing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 0;
    font-size: 0.85rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.landing-table th,
.landing-table td {
    border: 1px solid var(--clr-border);
    padding: 0.65rem 0.85rem;
    text-align: left;
    vertical-align: top;
}

.landing-table th {
    background-color: var(--clr-bg-elevated);
    color: var(--clr-orange-bright);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-table td { color: var(--clr-text-muted); line-height: 1.6; }
.landing-table td strong { color: var(--clr-text); }

.landing-cat { margin: 2.75rem 0; }

.landing-cat__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--clr-border);
}

.landing-cat__head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

.landing-cat__head h2 a { color: var(--clr-text); text-decoration: none; transition: color 0.22s; }
.landing-cat__head h2 a:hover { color: var(--clr-orange-bright); }

.landing-cat__count {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: var(--clr-text-dim);
    margin-left: 0.6rem;
    white-space: nowrap;
}

.landing-cat__all {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-orange-bright);
    text-decoration: none;
    white-space: nowrap;
}

.landing-cat__all:hover { color: var(--clr-amber); }

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.mini-card { display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; }

.mini-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    background-color: var(--clr-bg-elevated);
    transition: border-color 0.25s ease;
}

.mini-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.mini-card:hover .mini-card__thumb { border-color: var(--clr-orange); }
.mini-card:hover .mini-card__thumb img { transform: scale(1.06); filter: brightness(1.05); }

.mini-card__title {
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--clr-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.22s ease;
}

.mini-card:hover .mini-card__title { color: var(--clr-orange-bright); }

.landing-faq details {
    background-color: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.6rem;
}

.landing-faq details[open] { border-color: rgba(255, 107, 53, 0.35); }

.landing-faq summary {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text);
}

.landing-faq summary::marker { color: var(--clr-orange); }

.landing-faq details p {
    margin: 0.7rem 0 0;
    font-size: 0.85rem;
    line-height: 1.75;
    color: var(--clr-text-muted);
}

.landing-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 2rem 0 3rem;
}

@media (max-width: 900px) {
    .mini-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-hero { padding: 1.75rem 1.5rem; }
}

@media (max-width: 560px) {
    .landing-table th, .landing-table td { padding: 0.5rem 0.6rem; }
    .landing-hero__stats { gap: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════
   TYPE SCALE: single source of truth for font sizes
   Declared last on purpose: same specificity as the legacy rules
   above, so it wins by source order and overrides their one-off
   values (including the duplicated blocks) without deleting them.
   ═══════════════════════════════════════════════════════════════ */

:root {
    --fs-xs:      0.75rem;                        /* 12px · chips, badges, meta, micro labels */
    --fs-sm:      0.875rem;                       /* 14px · UI, tables, nav */
    --fs-base:    1rem;                           /* 16px · body copy */
    --fs-md:      1.125rem;                       /* 18px · lead, subheads */
    --fs-lg:      1.25rem;                        /* 20px · card titles */
    --fs-xl:      1.5rem;                         /* 24px · section titles */
    --fs-2xl:     2rem;                           /* 32px · page titles */
    --fs-3xl:     2.5rem;                         /* 40px · numbers */
    --fs-display: clamp(2.125rem, 5vw, 2.9rem);   /* hero */
}

/* Respect the user's browser font-size preference (default 16px) */
html { font-size: 100%; }
body { font-size: var(--fs-base); }

/* ─── Display / headings ────────────────────────────────────── */
.header-title                { font-size: clamp(1.45rem, 4vw, 2.2rem); }
.landing-hero h1             { font-size: var(--fs-display); }
.seo-intro h1                { font-size: clamp(1.5rem, 3.5vw, 2rem); }
.seo-intro h2                { font-size: clamp(1.5rem, 3.5vw, 2rem); }
.landing-section > h2        { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.landing-cat__head h2        { font-size: clamp(1.35rem, 2.5vw, 1.6rem); }
.category-strip__head h2     { font-size: var(--fs-xl); }
.card-body h2,
.card-body h3                { font-size: var(--fs-lg); }
.category-card__head h3      { font-size: var(--fs-lg); }
.notfound-panel__heading     { font-size: var(--fs-2xl); }
.unlock-panel__heading       { font-size: clamp(1.75rem, 4vw, 2.2rem); }
.modal-custom-title,
#shareModal .modal-title     { font-size: var(--fs-xl); }
.modal-custom-close          { font-size: var(--fs-xl); }
.countdown-big               { font-size: var(--fs-2xl); }
.countdown-icon              { font-size: var(--fs-3xl); }
.notfound-icon-ring__num     { font-size: var(--fs-3xl); }
.unlock-icon-ring            { font-size: var(--fs-xl); }
.landing-hero__stats strong  { font-size: var(--fs-xl); }
.header-stat-value           { font-size: var(--fs-md); }

/* ─── Body copy ─────────────────────────────────────────────── */
.landing-prose p             { font-size: var(--fs-base); }
.landing-hero__lead          { font-size: var(--fs-md); }
.seo-intro p                 { font-size: var(--fs-base); }
.landing-faq summary         { font-size: var(--fs-base); }
.landing-faq details p       { font-size: var(--fs-base); }
.category-card p             { font-size: var(--fs-sm); }
.notfound-panel__message     { font-size: var(--fs-base); }
.modal-custom-text           { font-size: var(--fs-base); }
.unlock-panel__message       { font-size: var(--fs-base); }
.empty-state p               { font-size: var(--fs-base); }
.landing-table               { font-size: var(--fs-sm); }
.landing-table th            { font-size: var(--fs-xs); }

/* ─── Buttons & navigation ──────────────────────────────────── */
.btn-nav-sites               { font-size: var(--fs-sm); }
.btn-content                 { font-size: var(--fs-sm); }
.btn-hero-primary,
.btn-hero-ghost              { font-size: var(--fs-sm); }
.btn-info                    { font-size: var(--fs-base); }
.page-link                   { font-size: var(--fs-sm); }
.share-btn                   { font-size: var(--fs-sm); }
#shareModal .btn             { font-size: var(--fs-sm); }
.modal-custom-link           { font-size: var(--fs-sm); }
.unlock-btn                  { font-size: var(--fs-sm); }
.header-actions .dropdown-item,
.header-actions .dropdown-item i,
.header-actions .dropdown-item .bi { font-size: var(--fs-sm); }
.dropdown-count              { font-size: var(--fs-xs); }
.header-subtitle             { font-size: var(--fs-xs); }
.header-stat-label           { font-size: var(--fs-xs); line-height: 1.25; }
.header-stat-icon            { font-size: var(--fs-base); }
.breadcrumb-nav              { font-size: var(--fs-xs); }

/* ─── Chips, badges & cards ─────────────────────────────────── */
.stat-chip                   { font-size: var(--fs-xs); }
.stat-chip .bi               { font-size: var(--fs-xs); }
.card-cat-badge              { font-size: var(--fs-xs); }
.card-favorite-badge         { font-size: var(--fs-md); }
.mini-card__title            { font-size: var(--fs-sm); }
.category-chip__label        { font-size: var(--fs-sm); }
.category-chip__count        { font-size: var(--fs-xs); }
.category-card__count        { font-size: var(--fs-xs); }
.category-card__cta          { font-size: var(--fs-xs); }
.category-strip__all         { font-size: var(--fs-xs); }
.landing-cat__all            { font-size: var(--fs-xs); }
.landing-cat__count          { font-size: var(--fs-xs); }
.landing-hero__stats span    { font-size: var(--fs-xs); }

/* ─── Toasts & feedback ─────────────────────────────────────── */
.toast .toast-body           { font-size: var(--fs-sm); }
.toast-custom__title         { font-size: var(--fs-sm); }
.toast-custom__sub           { font-size: var(--fs-xs); }
.toast-custom__icon          { font-size: var(--fs-base); }
.toast-custom__close         { font-size: var(--fs-xs); }

/* ─── Error page ────────────────────────────────────────────── */
.unlock-panel__model         { font-size: var(--fs-xs); }
.unlock-panel__footnote      { font-size: var(--fs-sm); }
.unlock-panel__footnote i    { font-size: var(--fs-sm); }
.unlock-step__label          { font-size: var(--fs-xs); }
.unlock-step__num            { font-size: var(--fs-base); }
.notfound-latest__label      { font-size: var(--fs-xs); }
.notfound-latest__label i    { font-size: var(--fs-sm); }
.lastunlock-label            { font-size: var(--fs-xs); }
.lastunlock-time             { font-size: var(--fs-sm); }
.lastunlock-date             { font-size: var(--fs-xl); }
.next-unlock-info            { font-size: var(--fs-sm); }

/* ─── Footer ────────────────────────────────────────────────── */
footer                       { font-size: var(--fs-xs); }
.footer-cats a               { font-size: var(--fs-xs); }

/* ─── Mobile: keep the same readable minimums, never shrink below ─ */
@media (max-width: 767px) {
    .btn-nav-sites           { font-size: var(--fs-sm); }
}
@media (max-width: 600px) {
    .unlock-btn              { font-size: var(--fs-sm); }
    .unlock-step__num        { font-size: var(--fs-sm); }
    .unlock-icon-ring        { font-size: var(--fs-lg); }
    .unlock-panel__message   { font-size: var(--fs-base); }
}
@media (max-width: 560px) {
    .card-body h3            { font-size: var(--fs-lg); }
    .category-strip__head h2 { font-size: var(--fs-xl); }
    .landing-hero__stats strong { font-size: var(--fs-xl); }
    .landing-table           { font-size: var(--fs-sm); }
}
@media (max-width: 480px) {
    .card-body h2            { font-size: var(--fs-lg); }
    .stat-chip               { font-size: var(--fs-xs); }
    .btn-content             { font-size: var(--fs-sm); }
}
