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

/* ═══════════════════════════════════════════════════════
   BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; }

body {
    background-color: #141414;
    color: #ffffff;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    /* Prevent horizontal scroll on all devices */
    max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }

/* ═══════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: #141414; }
::-webkit-scrollbar-thumb { background: #555; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #888; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ═══════════════════════════════════════════════════════
   ANTI-COPY
═══════════════════════════════════════════════════════ */
.non-interactable { pointer-events: none; }
.interactable { pointer-events: auto; }

/* ═══════════════════════════════════════════════════════
   SPLASH SCREEN
═══════════════════════════════════════════════════════ */
.splash-screen {
    position: fixed;
    inset: 0;
    background-color: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out;
}
.splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}
.splash-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.splash-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 10px;
    background: #E50914;
    animation: barReveal 0.4s ease forwards;
    transform-origin: top;
}
@keyframes barReveal {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}
.splash-text {
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 900;
    color: #E50914;
    letter-spacing: clamp(2px, 1.5vw, 8px);
    text-transform: uppercase;
    opacity: 0;
    animation: splashReveal 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}
@keyframes splashReveal {
    0%   { opacity: 0; transform: scale(1.3) translateY(10px); filter: blur(20px); }
    20%  { opacity: 1; transform: scale(1) translateY(0);       filter: blur(0); }
    70%  { opacity: 1; transform: scale(1.02); }
    90%  { opacity: 1; }
    100% { opacity: 0; transform: scale(1.1); }
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
.nav-black {
    background: linear-gradient(to bottom, #141414 0%, rgba(20,20,20,0.98) 100%) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}
.nav-transparent {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%) !important;
    transition: all 0.4s ease;
}

/* ═══════════════════════════════════════════════════════
   BILLBOARD / HERO
═══════════════════════════════════════════════════════ */
.billboard-gradient {
    background: linear-gradient(77deg, rgba(0,0,0,.75) 0%, transparent 70%);
}
.billboard-bottom-fade {
    background: linear-gradient(180deg, transparent 0%, rgba(20,20,20,.5) 50%, #141414 100%);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn-play {
    background-color: #fff;
    color: #000;
    transition: background-color 0.2s;
    white-space: nowrap;
}
.btn-play:hover { background-color: rgba(255,255,255,0.75); }

.btn-more {
    background-color: rgba(109,109,110,0.7);
    color: #fff;
    transition: background-color 0.2s;
    white-space: nowrap;
}
.btn-more:hover { background-color: rgba(109,109,110,0.4); }

/* ═══════════════════════════════════════════════════════
   VIDEO CARDS / ROWS
═══════════════════════════════════════════════════════ */
.row-posters {
    display: flex;
    overflow-y: hidden;
    overflow-x: scroll;
    padding: 12px 0 20px 12px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
}

.card-wrapper {
    position: relative;
    flex: none;
    cursor: pointer;
    transition: transform 400ms ease, z-index 0s 400ms;
    border-radius: 4px;
    overflow: hidden;
}
/* Disable hover scale on touch devices — use tap instead */
@media (hover: hover) {
    .card-wrapper:hover {
        transform: scale(1.1);
        z-index: 10;
        transition: transform 400ms ease, z-index 0s;
    }
}

.row-poster {
    display: block;
    object-fit: cover;
    height: 100px;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    transition: inherit;
}
.row-posterLarge {
    height: 150px;
    aspect-ratio: 2 / 3;
}

/* Larger cards on wider screens */
@media (min-width: 480px) {
    .row-poster { height: 120px; }
    .row-posterLarge { height: 175px; }
}
@media (min-width: 768px) {
    .row-poster { height: 140px; }
    .row-posterLarge { height: 210px; }
}
@media (min-width: 1280px) {
    .row-poster { height: 160px; }
    .row-posterLarge { height: 240px; }
}

/* Card hover overlay */
.card-info-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 300ms ease;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.card-wrapper:hover .card-info-overlay { opacity: 1; }
/* Show overlay on mobile (no hover) */
@media (hover: none) {
    .card-info-overlay { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════ */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.animate-fade-in {
    animation: fadeInScale 0.3s ease-out forwards;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
    animation: slideUp 0.4s ease-out forwards;
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════ */
.sidebar-link-active {
    border-left-color: #E50914 !important;
    color: #fff !important;
    background: rgba(255,255,255,0.05);
}

/* ═══════════════════════════════════════════════════════
   AUTH — Floating Labels (Netflix-style)
═══════════════════════════════════════════════════════ */
.auth-input {
    height: 58px;
    font-size: 16px; /* Prevents iOS zoom on focus */
    width: 100%;
}
.auth-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c8c8c;
    font-size: 15px;
    pointer-events: none;
    transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}
.auth-input:focus ~ .auth-label,
.auth-input:not(:placeholder-shown) ~ .auth-label {
    top: 10px;
    transform: none;
    font-size: 11px;
    color: #8c8c8c;
}

/* ═══════════════════════════════════════════════════════
   SEARCH BAR
═══════════════════════════════════════════════════════ */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 32px;
}
.search-input-field {
    background: rgba(0,0,0,0.75);
    border: 1px solid rgba(255,255,255,0.85);
    color: #fff;
    font-size: 14px;
    padding: 4px 36px 4px 32px;
    width: 160px;
    transition: width 0.3s ease;
    outline: none;
}
@media (min-width: 480px) {
    .search-input-field { width: 220px; }
}
.search-input-field::placeholder { color: #aaa; }
.search-collapsed { width: 0; border-color: transparent; padding: 0; }

/* ═══════════════════════════════════════════════════════
   VIDEO PLAYER
═══════════════════════════════════════════════════════ */
.player-container {
    background: #000;
    cursor: default;
}
.player-controls {
    transition: opacity 0.35s ease;
}
.player-controls.hidden {
    opacity: 0;
    pointer-events: none;
}
.player-container.idle { cursor: none; }

.scrubber-track {
    position: relative;
    height: 4px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    border-radius: 2px;
    transition: height 0.15s ease;
}
.scrubber-track:hover { height: 6px; }
/* Bigger scrubber on touch for easy tapping */
@media (hover: none) {
    .scrubber-track { height: 6px; }
}

.scrubber-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: #E50914;
    border-radius: 2px;
    pointer-events: none;
}
.scrubber-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px; height: 14px;
    background: #E50914;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    box-shadow: 0 0 6px rgba(229,9,20,0.8);
}
.scrubber-track:hover .scrubber-thumb { opacity: 1; }
@media (hover: none) {
    .scrubber-thumb { opacity: 1; }
}

.player-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, background 0.15s;
    /* Minimum touch target */
    min-width: 44px;
    min-height: 44px;
}
.player-btn:hover {
    transform: scale(1.2);
    background: rgba(255,255,255,0.1);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.racoon-footer {
    background: #141414;
    border-top: 1px solid #333;
    padding: 32px 16px;
    color: #737373;
    font-size: 13px;
}
@media (min-width: 768px) {
    .racoon-footer { padding: 40px 48px; }
}
.racoon-footer a {
    color: #737373;
    text-decoration: none;
    transition: color 0.2s;
    /* Minimum touch target */
    display: inline-block;
    padding: 4px 0;
}
.racoon-footer a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════════════════ */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #fff;
    color: #000;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99999;
    pointer-events: none;
    white-space: nowrap;
    max-width: 90vw;
    text-align: center;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════
   "NEW" BADGE on cards
═══════════════════════════════════════════════════════ */
.new-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #E50914;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 5;
}

/* ═══════════════════════════════════════════════════════
   MODALS — full-screen on mobile
═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    /* Auth modals fill the screen on mobile */
    .auth-modal-inner {
        min-height: 100dvh;
        padding: 80px 20px 40px;
        border-radius: 0 !important;
    }
    /* Info/detail modal */
    .info-modal-inner {
        max-height: 100dvh;
        border-radius: 0 !important;
        overflow-y: auto;
    }
}

/* ═══════════════════════════════════════════════════════
   INFO MODAL VIDEO EMBED
═══════════════════════════════════════════════════════ */
.info-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.info-video-wrap iframe,
.info-video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ═══════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
═══════════════════════════════════════════════════════ */
.announcement-bar {
    font-size: clamp(11px, 2.5vw, 14px);
}

/* ═══════════════════════════════════════════════════════
   UTILITY — Viewport Height Fix + Auto-Fit Layout
═══════════════════════════════════════════════════════ */

/* --vh is set by applyAutoFit() in JS so 100vh always equals
   the VISIBLE viewport (no address-bar overshoot on mobile).
   !important ensures we beat Tailwind CDN's injected stylesheet. */
.min-h-screen  { min-height: calc(var(--vh, 1vh) * 100) !important; }
.h-screen      { height:     calc(var(--vh, 1vh) * 100) !important; }

/* Content clearance: --navbar-offset = announcement bar + navbar height.
   JS measures both and writes the variable on load + every resize.
   Use this on any element that needs to clear the fixed header. */
#app-content,
main {
    padding-top: var(--navbar-offset, 100px);
}

/* Override the hardcoded Tailwind pt-24/pt-28 that worker.js injects
   into inner divs. We reset that padding so it doesn't double-add. */
#app-content > div[class*="pt-"] {
    padding-top: 0 !important;
}

/* Billboard hero: start below the fixed header */
.billboard-gradient {
    margin-top: 0;
    /* The billboard already accounts for its own height; just ensure
       the content text starts after the header via pt-[18vh] which
       is relative and always clears the translucent navbar */
}

/* Safe-area insets for notched / punched-hole phones */
@supports (padding: max(0px)) {
    body {
        padding-left:  max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    .racoon-footer {
        padding-bottom: max(32px, env(safe-area-inset-bottom));
    }
}
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    min-width: 0;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}
input,
textarea,
select {
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE STYLES — RACOON PREMIUM FEATURES v2.0
   ═══════════════════════════════════════════════════════════════ */

/* ── CUSTOM CURSOR (Magnetic) ─────────────────────────────────── */
.custom-cursor { cursor: none !important; }
.custom-cursor * { cursor: none !important; }
.cursor-dot,
.cursor-ring {
    pointer-events: none !important;
}
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #E50914;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.2s;
}
.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(229, 9, 20, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.cursor-ring.magnetic {
    width: 56px;
    height: 56px;
    border-color: #E50914;
    background: rgba(229, 9, 20, 0.08);
}
@media (hover: none), (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none !important; }
    .custom-cursor, .custom-cursor * { cursor: auto !important; }
}

/* ── SCROLL PROGRESS BAR ──────────────────────────────────────── */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #E50914, #ff4d6d, #E50914);
    background-size: 200% 100%;
    animation: progressShimmer 2s linear infinite;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.scroll-progress-bar.active { opacity: 1; }
@keyframes progressShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── AMBIENT MOOD INDICATOR ───────────────────────────────────── */
.ambient-mood-indicator,
.ambient-mood-indicator * {
    pointer-events: auto !important;
}
.ambient-mood-indicator {
    position: fixed;
    top: 80px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    z-index: 99990;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.ambient-mood-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}
.ambient-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: ambientPulse 2s ease-in-out infinite;
}
@keyframes ambientPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}
.ambient-label {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
@media (max-width: 480px) {
    .ambient-mood-indicator {
        top: 70px;
        right: 8px;
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* ── DARK PULSE MODE ──────────────────────────────────────────── */
html.dark-pulse {
    --ambient-bg: #000000 !important;
}
html.dark-pulse body {
    background-color: #000 !important;
}
html.dark-pulse .racoon-footer {
    background: #000 !important;
    border-color: #1a1a1a !important;
}
html.dark-pulse .btn-play {
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}
html.dark-pulse .card-wrapper:hover {
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.15);
}
html.dark-pulse .nav-black {
    background: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.98) 100%) !important;
}
html.dark-pulse img {
    filter: brightness(0.85) contrast(1.05);
}
html.dark-pulse .billboard-gradient {
    background: linear-gradient(77deg, rgba(0,0,0,0.85) 0%, transparent 70%);
}

/* ── CINEMATIC BARS ───────────────────────────────────────────── */
.cinema-bar {
    position: fixed;
    left: 0;
    right: 0;
    height: 0;
    background: #000;
    z-index: 90;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.cinema-bar-top { top: 0; }
.cinema-bar-bottom { bottom: 0; }
.cinema-bar.active {
    height: 8vh;
}
@media (min-width: 768px) {
    .cinema-bar.active { height: 10vh; }
}
@media (min-width: 1280px) {
    .cinema-bar.active { height: 12vh; }
}

/* ── KEYBOARD SHORTCUTS OVERLAY ───────────────────────────────── */
.shortcuts-overlay,
.shortcuts-overlay * {
    pointer-events: auto !important;
}
.shortcuts-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.shortcuts-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.shortcuts-panel {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.shortcuts-overlay.open .shortcuts-panel {
    transform: scale(1) translateY(0);
}
.shortcuts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.shortcuts-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.shortcuts-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.shortcuts-close:hover { background: rgba(255, 255, 255, 0.2); }
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.shortcuts-category h3 {
    font-size: 12px;
    font-weight: 700;
    color: #E50914;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.shortcut-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}
.shortcut-row kbd {
    background: #333;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    min-width: 36px;
    text-align: center;
    font-family: inherit;
}
.shortcut-row span {
    font-size: 13px;
    color: #aaa;
}
@media (max-width: 480px) {
    .shortcuts-panel {
        width: 95%;
        padding: 16px;
        max-height: 85vh;
    }
    .shortcuts-grid {
        grid-template-columns: 1fr;
    }
}

/* ── SCREEN INFO HUD ──────────────────────────────────────────── */
.screen-info-hud {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 20px;
    padding: 24px;
    z-index: 200000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 280px;
    max-width: 90vw;
}
.screen-info-hud.open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hud-title {
    font-size: 16px;
    font-weight: 700;
    color: #E50914;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hud-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.hud-close:hover { background: rgba(255, 255, 255, 0.2); }
.hud-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.hud-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.hud-icon {
    font-size: 20px;
    line-height: 1;
}
.hud-detail {
    text-align: center;
}
.hud-label {
    display: block;
    font-size: 9px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.hud-value {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
@media (max-width: 480px) {
    .hud-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
.screen-info-hud,
.screen-info-hud * {
    pointer-events: auto !important;
}
.screen-info-hud {
        padding: 16px;
        min-width: auto;
    }
}

/* ── MOOD DISCOVERY WHEEL ─────────────────────────────────────── */
.mood-wheel,
.mood-wheel * {
    pointer-events: auto !important;
}
.mood-wheel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 280px;
    height: 280px;
    z-index: 200000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mood-wheel.open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.mood-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border: 2px solid #E50914;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.mood-center span {
    font-size: 11px;
    font-weight: 700;
    color: #E50914;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.mood-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid var(--color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}
.mood-node:hover {
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.2);
    box-shadow: 0 0 20px var(--color);
}
.mood-emoji {
    font-size: 18px;
    line-height: 1;
}
.mood-name {
    font-size: 7px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1px;
}
.mood-close {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.mood-close:hover { background: rgba(255, 255, 255, 0.2); }
@media (max-width: 480px) {
    .mood-wheel {
        width: 240px;
        height: 240px;
    }
    .mood-node {
        width: 44px;
        height: 44px;
    }
    .mood-emoji { font-size: 16px; }
    .mood-name { font-size: 6px; }
}

/* ── WATCH STATS MODAL ────────────────────────────────────────── */
.watch-stats-modal,
.watch-stats-modal * {
    pointer-events: auto !important;
}
.watch-stats-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.watch-stats-modal.open {
    opacity: 1;
    pointer-events: auto;
}
.watch-stats-panel {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    padding: 24px;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.watch-stats-modal.open .watch-stats-panel {
    transform: scale(1) translateY(0);
}
.watch-stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.watch-stats-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.watch-stats-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.watch-stats-close:hover { background: rgba(255, 255, 255, 0.2); }
.watch-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.stat-card {
    background: rgba(229, 9, 20, 0.06);
    border: 1px solid rgba(229, 9, 20, 0.15);
    border-radius: 12px;
    padding: 14px 8px;
    text-align: center;
}
.stat-number {
    font-size: 18px;
    font-weight: 800;
    color: #E50914;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 10px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@media (max-width: 480px) {
    .watch-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-number { font-size: 16px; }
}

/* ── FLOATING ACTION BUTTON ───────────────────────────────────── */
.fab-container,
.fab-container * {
    pointer-events: auto !important;
}
.fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 150000;
}
.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E50914, #b20710);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
    transition: all 0.3s ease;
}
.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(229, 9, 20, 0.6);
}
.fab-main.rotated {
    transform: rotate(45deg);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.fab-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}
.fab-menu {
    position: absolute;
    bottom: 64px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 70vh;
    overflow-y: auto;
    padding: 4px;
    scrollbar-width: none;
}
.fab-menu::-webkit-scrollbar { display: none; }
.fab-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.fab-option {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.fab-option:hover {
    transform: scale(1.15);
    border-color: #E50914;
    background: rgba(229, 9, 20, 0.15);
}
.fab-option span {
    font-size: 18px;
    line-height: 1;
}
@media (max-width: 480px) {
    .fab-container {
        bottom: 16px;
        right: 16px;
    }
    .fab-main {
        width: 48px;
        height: 48px;
    }
    .fab-icon { width: 20px; height: 20px; }
    .fab-option {
        width: 40px;
        height: 40px;
    }
    .fab-option span { font-size: 16px; }
}

/* ── GESTURE FEEDBACK ─────────────────────────────────────────── */
.gesture-feedback {
    position: fixed;
    z-index: 300000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gesture-feedback.show { opacity: 1; }
.gesture-feedback span {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.gesture-left { left: 16px; top: 50%; transform: translateY(-50%); }
.gesture-right { right: 16px; top: 50%; transform: translateY(-50%); }
.gesture-up { bottom: 80px; left: 50%; transform: translateX(-50%); }
.gesture-down { top: 100px; left: 50%; transform: translateX(-50%); }

/* ── TOAST OVERWRITE ──────────────────────────────────────────── */
.racoon-toast,
.racoon-toast * {
    pointer-events: auto !important;
}
.racoon-toast {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    z-index: 300001;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    pointer-events: none;
}
.racoon-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
@media (max-width: 480px) {
    .racoon-toast {
        bottom: 88px;
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* ── PARTICLE CANVAS ──────────────────────────────────────────── */
.particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ── PREMIUM CARD HOVER GLOW ──────────────────────────────────── */
@media (hover: hover) {
    .card-wrapper::after {
        content: '';
        position: absolute;
        inset: -2px;
        border-radius: 6px;
        background: linear-gradient(135deg, #E50914, transparent, #E50914);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .card-wrapper:hover::after {
        opacity: 0.3;
    }
}

/* ── RESPONSIVE: Galaxy Fold / iPhone SE ──────────────────────── */
@media (max-width: 360px) {
    .fab-container { bottom: 12px; right: 12px; }
    .fab-main { width: 44px; height: 44px; }
    .fab-option { width: 36px; height: 36px; }
    .fab-option span { font-size: 14px; }
    .shortcuts-panel { padding: 12px; }
    .shortcuts-header h2 { font-size: 16px; }
    .watch-stats-panel { padding: 16px; }
    .stat-number { font-size: 14px; }
    .mood-wheel { width: 220px; height: 220px; }
    .mood-node { width: 40px; height: 40px; }
    .mood-emoji { font-size: 14px; }
    .mood-name { font-size: 5px; }
}

/* ── RESPONSIVE: Tablets ──────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
    .fab-container { bottom: 20px; right: 20px; }
    .shortcuts-panel { max-width: 520px; }
    .watch-stats-panel { max-width: 420px; }
}

/* ── RESPONSIVE: Large Desktop ────────────────────────────────── */
@media (min-width: 1280px) {
    .shortcuts-panel { max-width: 700px; }
    .watch-stats-panel { max-width: 540px; }
    .hud-grid { gap: 16px; }
    .hud-item { padding: 14px 8px; }
}

/* ── RESPONSIVE: 4K / Ultrawide ───────────────────────────────── */
@media (min-width: 2000px) {
    .shortcuts-panel { max-width: 800px; }
    .shortcuts-header h2 { font-size: 24px; }
    .shortcut-row kbd { font-size: 14px; padding: 6px 14px; }
    .shortcut-row span { font-size: 15px; }
    .fab-main { width: 64px; height: 64px; }
    .fab-icon { width: 28px; height: 28px; }
}

/* ── SAFE AREA for Notched Devices ────────────────────────────── */
@supports (padding: env(safe-area-inset-bottom)) {
    .fab-container {
        bottom: calc(24px + env(safe-area-inset-bottom));
        right: calc(24px + env(safe-area-inset-right));
    }
    .racoon-toast {
        bottom: calc(96px + env(safe-area-inset-bottom));
    }
    .qr-modal {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ═══════════════════════════════════════════════════════════════
   QR AUTH SYSTEM STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ── QR MODAL ─────────────────────────────────────────────────── */
.qr-modal,
.qr-modal * {
    pointer-events: auto !important;
}
.qr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 250000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.qr-modal.open {
    opacity: 1;
    pointer-events: auto;
}
.qr-panel {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.qr-modal.open .qr-panel {
    transform: scale(1) translateY(0);
}
.qr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.qr-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.qr-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.qr-close:hover { background: rgba(255, 255, 255, 0.15); }
.qr-body {
    padding: 24px;
}

/* ── QR USER INFO ─────────────────────────────────────────────── */
.qr-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    margin-bottom: 20px;
}
.qr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.qr-username {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.qr-email {
    font-size: 12px;
    color: #888;
    margin: 2px 0 0;
}

/* ── QR INSTRUCTIONS ──────────────────────────────────────────── */
.qr-instructions {
    text-align: center;
    margin-bottom: 20px;
}
.qr-instructions p {
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}
.qr-warning {
    color: #E50914 !important;
    font-size: 11px !important;
    font-weight: 600;
    margin-top: 8px !important;
}

/* ── QR CODE CONTAINER ────────────────────────────────────────── */
.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 16px;
    min-height: 200px;
}
.qr-code-container canvas {
    border-radius: 8px;
    max-width: 200px;
    max-height: 200px;
}
.qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
}
.qr-loading p {
    font-size: 12px;
    color: #888;
}
.qr-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #eee;
    border-top-color: #E50914;
    border-radius: 50%;
    animation: qrSpin 0.8s linear infinite;
}
@keyframes qrSpin {
    to { transform: rotate(360deg); }
}
.qr-countdown {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-top: 8px;
}

/* ── QR BUTTONS ───────────────────────────────────────────────── */
.qr-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.qr-btn-primary {
    background: #E50914;
    color: #fff;
    border: none;
}
.qr-btn-primary:hover {
    background: #ff1a26;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}
.qr-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.qr-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}
.qr-btn-outline {
    background: transparent;
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.qr-btn-outline:hover {
    border-color: #E50914;
    color: #E50914;
}

/* ── QR INPUTS ────────────────────────────────────────────────── */
.qr-input-group {
    margin-bottom: 16px;
}
.qr-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.qr-input:focus {
    border-color: #E50914;
}
.qr-input::placeholder {
    color: #666;
}
.qr-textarea {
    resize: vertical;
    min-height: 80px;
    font-size: 12px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

/* ── QR SCAN STEPS ────────────────────────────────────────────── */
.qr-step-label {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* ── QR CAMERA ────────────────────────────────────────────────── */
.qr-camera-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
}
.qr-camera-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qr-scan-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.qr-scan-frame {
    width: 180px;
    height: 180px;
    border: 2px solid rgba(229, 9, 20, 0.8);
    border-radius: 16px;
    box-shadow: 0 0 0 4000px rgba(0, 0, 0, 0.4);
    animation: qrPulse 2s ease-in-out infinite;
}
@keyframes qrPulse {
    0%, 100% { border-color: rgba(229, 9, 20, 0.8); }
    50% { border-color: rgba(229, 9, 20, 0.3); }
}
.qr-scan-status {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

/* ── QR DIVIDER ───────────────────────────────────────────────── */
.qr-divider,
.qr-scan-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}
.qr-divider::before,
.qr-divider::after,
.qr-scan-divider::before,
.qr-scan-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}
.qr-divider span,
.qr-scan-divider span {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── QR AUTH BUTTONS (on auth page) ───────────────────────────── */
.qr-auth-buttons {
    margin-top: 0;
}
.qr-auth-btn {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}
.qr-auth-btn:hover {
    background: rgba(229, 9, 20, 0.1);
    border-color: rgba(229, 9, 20, 0.4);
}
.qr-auth-btn svg {
    color: #E50914;
}

/* ── QR MENU BUTTONS (in user dropdown popup) ──────────────────── */
.qr-menu-btn {
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #d1d5db;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}
.qr-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.qr-menu-btn svg {
    flex-shrink: 0;
    color: #E50914;
}

/* ── QR TOAST ─────────────────────────────────────────────────── */
.qr-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    z-index: 300000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    pointer-events: none;
    max-width: 90vw;
    text-align: center;
}
.qr-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── QR FLOW ICONS ────────────────────────────────────────────── */
.qr-flow-icon {
    text-align: center;
    margin-bottom: 16px;
}

/* ── QR SECURITY BADGE ────────────────────────────────────────── */
.qr-security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #E50914;
    margin-bottom: 16px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* ── QR VERIFIED BADGE ────────────────────────────────────────── */
.qr-verified-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 16px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* ── QR STEP DESCRIPTION ──────────────────────────────────────── */
.qr-step-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}
.qr-step-desc strong {
    color: #fff;
}

/* ── QR LABEL ─────────────────────────────────────────────────── */
.qr-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── QR OTP INPUT ─────────────────────────────────────────────── */
.qr-otp-input {
    text-align: center;
    font-size: 24px !important;
    font-weight: 700;
    letter-spacing: 12px;
    padding: 14px 16px !important;
    font-family: 'Courier New', monospace;
}

/* ── QR FOOTER NOTE ───────────────────────────────────────────── */
.qr-footer-note {
    text-align: center;
    font-size: 11px;
    color: #666;
    margin-top: 12px;
}

/* ── QR RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 480px) {
    .qr-panel {
        max-height: 95vh;
        border-radius: 16px;
    }
    .qr-body { padding: 16px; }
    .qr-header { padding: 16px; }
    .qr-code-container { padding: 16px; min-height: 160px; }
    .qr-code-container canvas { max-width: 160px; max-height: 160px; }
    .qr-camera-container { border-radius: 12px; }
    .qr-scan-frame { width: 150px; height: 150px; }
    .qr-otp-input { font-size: 20px !important; letter-spacing: 8px; }
}
@media (max-width: 360px) {
    .qr-panel { border-radius: 12px; }
    .qr-btn { padding: 10px 16px; font-size: 13px; }
    .qr-input { padding: 10px 14px; font-size: 13px; }
}