/* ================================================
   RUSH TANGO — Cosmic Dark Theme
   Deep purple · Neon pink · Glass-morphism
   ================================================ */

:root {
    --bg: #0d0015;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-border: rgba(255,255,255,0.08);
    --text: #ffffff;
    --text-secondary: rgba(255,255,255,0.5);
    --text-muted: rgba(255,255,255,0.3);
    --accent: #ff3366;
    --accent-hover: #e6295a;
    --accent-soft: rgba(255,51,102,0.12);
    --border: rgba(255,255,255,0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
    --radius: 20px;
    --radius-sm: 14px;
    --radius-full: 9999px;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: var(--bg) !important; color: var(--text) !important; }

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }

.text-accent { color: var(--accent) !important; }

/* ================================================
   PAGE ENTRANCE
   ================================================ */
.page-enter { animation: page-fade-in 0.5s ease both; }
@keyframes page-fade-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   REVEAL
   ================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

.reveal-scale { opacity: 0; transition: opacity 0.6s ease; }
.reveal-scale.revealed { opacity: 1; }

/* ================================================
   STAGGER ENTRANCE
   ================================================ */
.stagger-enter > * {
    opacity: 0; transform: translateY(16px);
    animation: stagger-up 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.stagger-enter > *:nth-child(1) { animation-delay: 0.08s; }
.stagger-enter > *:nth-child(2) { animation-delay: 0.16s; }
.stagger-enter > *:nth-child(3) { animation-delay: 0.24s; }
.stagger-enter > *:nth-child(4) { animation-delay: 0.32s; }
@keyframes stagger-up { to { opacity: 1; transform: translateY(0); } }

/* ================================================
   BUTTON PRIMARY
   ================================================ */
.btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #ff3366, #cc29ff) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    letter-spacing: 0.01em !important;
}
.btn-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 28px rgba(255, 51, 102, 0.5) !important;
}
.btn-primary:active { transform: scale(0.97) !important; }

.btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.06) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border: 1.5px solid rgba(255,255,255,0.15) !important;
    padding: 13px 32px !important;
    border-radius: var(--radius-full) !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
}
.btn-outline:hover {
    border-color: rgba(255,51,102,0.4) !important;
    background: rgba(255,255,255,0.1) !important;
}

/* ================================================
   NAV
   ================================================ */
.nav-bar {
    background: rgba(13, 0, 21, 0.8) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-bottom: 1px solid rgba(255, 51, 102, 0.1) !important;
}
.nav-link {
    color: rgba(255,255,255,0.5) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
}
.nav-link:hover { color: #fff !important; }

/* ================================================
   CARD — Glass-morphism
   ================================================ */
.card {
    background: var(--bg-card) !important;
    border-radius: var(--radius) !important;
    border: 1px solid var(--bg-card-border) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: none !important;
}
.card-hover {
    background: var(--bg-card) !important;
    border-radius: var(--radius) !important;
    border: 1px solid var(--bg-card-border) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}
.card-hover:hover {
    border-color: rgba(255,51,102,0.2) !important;
    transform: translateY(-3px) !important;
}

.glass-depth {
    background: var(--bg-card) !important;
    border-radius: var(--radius) !important;
    border: 1px solid var(--bg-card-border) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* ================================================
   DROPDOWN
   ================================================ */
.dropdown-bg {
    background: rgba(26,10,46,0.95) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

/* ================================================
   INPUT
   ================================================ */
.input-field {
    background: rgba(255,255,255,0.06) !important;
    border: 1.5px solid rgba(255,255,255,0.1) !important;
    border-radius: var(--radius-sm) !important;
    color: #fff !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.input-field::placeholder { color: rgba(255,255,255,0.3) !important; }
.input-field:focus {
    outline: none !important;
    border-color: rgba(255,51,102,0.4) !important;
    box-shadow: 0 0 0 4px rgba(255,51,102,0.08) !important;
    background: rgba(255,255,255,0.08) !important;
}
.input-field option { background: #1a0a2e; color: #fff; }

/* ================================================
   TABS
   ================================================ */
.tab-btn {
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border: none !important;
    background: transparent !important;
    color: rgba(255,255,255,0.4) !important;
    border-radius: var(--radius-full) !important;
    transition: color 0.2s ease, background 0.2s ease !important;
    cursor: pointer !important;
}
.tab-btn:hover { color: #fff !important; background: rgba(255,255,255,0.06) !important; }
.tab-btn.active, .tab-active {
    color: #fff !important;
    background: linear-gradient(135deg, #ff3366, #cc29ff) !important;
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.4) !important;
}
.tab-inactive { background: transparent !important; color: rgba(255,255,255,0.4) !important; }
.tab-inactive:hover { color: #fff !important; background: rgba(255,255,255,0.06) !important; }

/* ================================================
   PILL / BADGE
   ================================================ */
.pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 5px 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.5) !important;
    border-radius: var(--radius-full) !important;
    background: rgba(255,255,255,0.04) !important;
}
.pill-accent {
    border-color: rgba(255,51,102,0.3) !important;
    color: #ff3366 !important;
    background: rgba(255,51,102,0.12) !important;
}

/* ================================================
   INTEREST TAG
   ================================================ */
.interest-tag {
    display: inline-block; padding: 8px 16px;
    border: 1.5px solid rgba(255,255,255,0.1);
    font-size: 13px; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04);
    transition: border-color 0.2s ease, color 0.2s ease;
    cursor: pointer; border-radius: var(--radius-full);
}
.interest-tag:hover:not(.disabled) { border-color: rgba(255,51,102,0.4); color: #ff3366; }
.interest-tag.active {
    background: linear-gradient(135deg, #ff3366, #cc29ff) !important;
    border-color: transparent !important;
    color: #fff !important; font-weight: 500;
    box-shadow: 0 0 12px rgba(255,51,102,0.3);
}
.interest-tag.disabled { opacity: 0.25; cursor: not-allowed; }

/* ================================================
   CHAT BUBBLES
   ================================================ */
.bubble-mine {
    background: #ff3366 !important;
    color: #fff !important;
    border-radius: 20px 20px 4px 20px !important;
}
.bubble-theirs {
    background: #e9e9eb !important;
    color: #1d1d1f !important;
    border-radius: 20px 20px 20px 4px !important;
    border: 1px solid rgba(255,255,255,0.06);
}

/* Typing dots */
@keyframes typing-dot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-2px); }
}
.typing-dots {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 12px 18px;
    background: #e9e9eb;
    border-radius: 20px 20px 20px 4px;
}
.typing-dots span { display: block; width: 5px; height: 5px; border-radius: 50%; background: #86868b; animation: typing-dot 1.4s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ================================================
   AVATAR
   ================================================ */
.avatar-ring {
    padding: 3px; border-radius: 50%;
    background: linear-gradient(135deg, #ff3366, #cc29ff);
    display: inline-flex;
    box-shadow: 0 0 15px rgba(255,51,102,0.25);
}
.avatar-ring > * { border-radius: 50%; border: 2px solid #0d0015; }

/* ================================================
   PLAN CARD
   ================================================ */
.plan-card {
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}
.plan-card:hover { border-color: rgba(255,51,102,0.2) !important; transform: translateY(-4px) !important; }
.plan-card.popular {
    border: 2px solid rgba(255,51,102,0.4) !important;
    box-shadow: 0 0 30px rgba(255,51,102,0.1) !important;
}

/* ================================================
   RADIO CARD
   ================================================ */
.radio-card {
    background: var(--bg-card) !important;
    border: 1.5px solid rgba(255,255,255,0.1) !important;
    border-radius: var(--radius) !important;
    transition: border-color 0.2s ease !important;
    cursor: pointer !important;
}
.radio-card:hover { border-color: rgba(255,255,255,0.2) !important; }
.radio-card:has(:checked) {
    border-color: var(--accent) !important;
    background: var(--accent-soft) !important;
    box-shadow: 0 0 0 4px var(--accent-soft) !important;
}

/* ================================================
   PROGRESS
   ================================================ */
.progress-bar { height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.4s ease; }
.divider { height: 1px; background: rgba(255,255,255,0.06); border: none; }

/* ================================================
   MOBILE MENU
   ================================================ */
.mobile-menu-link {
    display: block; font-size: 32px; font-weight: 700; line-height: 1; color: #fff;
    padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
}
.mobile-menu-link:hover { color: var(--accent); }

/* ================================================
   HERO GRADIENT BLOB (landing page)
   ================================================ */
.hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}
.hero-glow-1 { background: var(--accent); top: -200px; left: 50%; transform: translateX(-70%); }
.hero-glow-2 { background: #cc29ff; top: -100px; left: 50%; transform: translateX(20%); width: 400px; height: 400px; opacity: 0.1; }

/* ================================================
   ACCENT STRIPE
   ================================================ */
.accent-stripe {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.2;
}

/* ================================================
   PROFILE ROWS
   ================================================ */
.profile-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 22px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
}
.profile-row:last-child { border-bottom: none !important; }
.profile-row-label { font-size: 17px !important; font-weight: 500 !important; color: #fff !important; }
.profile-row-value { font-size: 17px !important; color: rgba(255,255,255,0.35) !important; text-align: right !important; }

/* ================================================
   BOTTOM SHEET
   ================================================ */
.bottom-sheet-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(13,0,21,0.6) !important;
    z-index: 999 !important;
}
.bottom-sheet {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 540px !important;
    margin: 0 auto !important;
    background: #1a0a2e !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 20px 24px 36px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 1000 !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.4) !important;
}
.bottom-sheet::before {
    content: none !important;
}
.sheet-close {
    position: absolute !important; top: 16px !important; right: 20px !important;
    width: 32px !important; height: 32px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 28px !important; line-height: 1 !important;
    color: rgba(255,255,255,0.6) !important;
    background: none !important; border: none !important;
    cursor: pointer !important; padding: 0 !important; font-weight: 300 !important;
}
.sheet-title {
    font-size: 22px !important; font-weight: 800 !important;
    color: #fff !important; text-align: center !important;
    text-transform: uppercase !important; letter-spacing: 0.02em !important;
    margin-bottom: 24px !important; margin-top: 4px !important;
}
.sheet-pills {
    display: flex !important; flex-wrap: wrap !important;
    gap: 16px !important; justify-content: center !important; padding: 0 8px !important;
}
.sheet-pill {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 !important; font-size: 14px !important; font-weight: 400 !important;
    text-transform: uppercase !important; letter-spacing: 0.04em !important;
    border-radius: 0 !important; border: none; background: none;
    color: rgba(255,255,255,0.35);
    cursor: pointer !important; transition: all 0.15s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}
.sheet-save-btn {
    display: block !important; width: 100% !important; padding: 18px !important; margin-top: 28px !important;
    font-size: 15px !important; font-weight: 700 !important; color: #fff !important;
    background: linear-gradient(135deg, #ff3366, #cc29ff) !important;
    border: none !important; border-radius: var(--radius-sm) !important;
    cursor: pointer !important; text-transform: uppercase !important; letter-spacing: 0.08em !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 20px rgba(255,51,102,0.35) !important;
}
.sheet-save-btn:hover { box-shadow: 0 6px 28px rgba(255,51,102,0.5) !important; }

/* ================================================
   COSMIC STARS — global background
   ================================================ */
@keyframes sparkle { 0%,100% { opacity:0; transform:scale(0); } 50% { opacity:1; transform:scale(1); } }

/* ================================================
   HIDE / FOCUS
   ================================================ */
[x-cloak] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ================================================
   #1 — ANIMATED GRADIENT BORDERS
   Slowly rotating conic-gradient on key cards
   ================================================ */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes border-rotate {
    to { --border-angle: 360deg; }
}
.glow-border {
    position: relative;
    background: var(--bg-card) !important;
    border: none !important;
}
.glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--border-angle),
        transparent 30%,
        #ff3366 45%,
        #cc29ff 55%,
        transparent 70%
    );
    animation: border-rotate 4s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.glow-border:hover::before {
    opacity: 1;
}
/* Auto-apply to popular plan cards and featured items */
.plan-card.popular {
    position: relative;
    overflow: visible !important;
}
.plan-card.popular::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--border-angle),
        transparent 25%,
        #ff3366 40%,
        #cc29ff 50%,
        #ff3366 60%,
        transparent 75%
    );
    animation: border-rotate 3s linear infinite;
    z-index: -1;
    opacity: 0.7;
    filter: blur(1px);
}
.plan-card.popular::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--bg-card);
    z-index: -1;
}

/* ================================================
   #3 — NOISE TEXTURE OVERLAY
   Subtle film grain for depth
   ================================================ */
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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    mix-blend-mode: overlay;
}

/* ================================================
   #4 — SKELETON SHIMMER LOADERS
   Ghost placeholders with sweeping gradient
   ================================================ */
.skeleton {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.04) !important;
    color: transparent !important;
    border-radius: var(--radius-sm);
    pointer-events: none;
    user-select: none;
}
.skeleton * { visibility: hidden; }
.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.06) 40%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.06) 60%,
        transparent 100%
    );
    animation: shimmer-sweep 1.8s ease-in-out infinite;
}
@keyframes shimmer-sweep {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
/* Skeleton shapes */
.skeleton-circle {
    display: inline-block;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    animation: skeleton-pulse 1.8s ease-in-out infinite;
}
.skeleton-line {
    display: block;
    height: 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    animation: skeleton-pulse 1.8s ease-in-out infinite;
}
.skeleton-line + .skeleton-line { margin-top: 8px; }
.skeleton-line:nth-child(odd) { width: 80%; }
@keyframes skeleton-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* ================================================
   #5 — SCROLL PROGRESS BAR
   Thin gradient line at top of viewport
   ================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #ff3366, #cc29ff, #ff3366);
    background-size: 200% 100%;
    animation: progress-gradient 3s linear infinite;
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255,51,102,0.5);
    pointer-events: none;
}
@keyframes progress-gradient {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ================================================
   #7 — 3D TILT ON ALL CARDS
   Light-reflection surface on hover
   ================================================ */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    will-change: transform;
}
.tilt-card .tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(
        circle at var(--shine-x, 50%) var(--shine-y, 50%),
        rgba(255,255,255,0.08) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tilt-card:hover .tilt-shine { opacity: 1; }

/* ================================================
   #10 — MORPHING BUTTON STATES
   Submit → loading spinner → checkmark
   ================================================ */
.btn-morph {
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1) !important;
    min-width: 120px;
}
.btn-morph.is-loading {
    pointer-events: none;
    color: transparent !important;
    min-width: 52px;
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-radius: 50px !important;
}
.btn-morph.is-loading::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 22px; height: 22px;
    margin: -11px 0 0 -11px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: morph-spin 0.7s linear infinite;
}
.btn-morph.is-success {
    pointer-events: none;
    color: transparent !important;
    background: #34c759 !important;
    box-shadow: 0 4px 20px rgba(52,199,89,0.4) !important;
    min-width: 52px;
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-radius: 50px !important;
}
.btn-morph.is-success::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 18px;
    margin: -12px 0 0 -5px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    animation: morph-check 0.3s ease-out forwards;
}
@keyframes morph-spin {
    to { transform: rotate(360deg); }
}
@keyframes morph-check {
    from { opacity: 0; transform: rotate(45deg) scale(0.5); }
    to   { opacity: 1; transform: rotate(45deg) scale(1); }
}

/* ================================================
   #13 — ANIMATED UNDERLINE LINKS
   Gradient underline slides in from left on hover
   ================================================ */
.link-underline {
    position: relative;
    text-decoration: none !important;
    display: inline;
}
.link-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff3366, #cc29ff);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
.link-underline:hover::after {
    transform: scaleX(1);
}
/* Auto-apply to nav links */
.nav-link {
    position: relative !important;
}
.nav-link::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -4px !important;
    width: 100% !important;
    height: 2px !important;
    background: linear-gradient(90deg, #ff3366, #cc29ff) !important;
    border-radius: 1px !important;
    transform: scaleX(0) !important;
    transform-origin: left !important;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1) !important;
}
.nav-link:hover::after {
    transform: scaleX(1) !important;
}

/* ================================================
   #14 — FLOATING HEARTS AMBIENT
   Translucent hearts drifting upward
   ================================================ */
.floating-hearts {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.float-heart {
    position: absolute;
    bottom: -30px;
    font-size: 16px;
    opacity: 0;
    animation: heart-float linear forwards;
    filter: blur(0.5px);
}
@keyframes heart-float {
    0%   { opacity: 0; transform: translateY(0) translateX(0) rotate(0deg) scale(0.5); }
    10%  { opacity: 0.4; }
    90%  { opacity: 0.1; }
    100% { opacity: 0; transform: translateY(-100vh) translateX(var(--drift, 30px)) rotate(var(--spin, 45deg)) scale(1); }
}

/* ================================================
   #15 — AURORA BACKGROUND WAVES
   Slow northern-lights color waves
   ================================================ */
.aurora {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.aurora-wave {
    position: absolute;
    width: 200%;
    height: 40%;
    border-radius: 40%;
    filter: blur(80px);
    opacity: 0.04;
    will-change: transform;
}
.aurora-wave-1 {
    background: linear-gradient(90deg, #ff3366, #cc29ff, #3366ff, #ff3366);
    background-size: 300% 100%;
    top: -15%;
    left: -50%;
    animation: aurora-drift-1 18s ease-in-out infinite, aurora-color 12s ease infinite;
}
.aurora-wave-2 {
    background: linear-gradient(90deg, #cc29ff, #3366ff, #ff3366, #cc29ff);
    background-size: 300% 100%;
    top: 10%;
    left: -30%;
    animation: aurora-drift-2 22s ease-in-out infinite, aurora-color 15s ease infinite reverse;
    opacity: 0.03;
}
.aurora-wave-3 {
    background: linear-gradient(90deg, #3366ff, #ff3366, #cc29ff, #3366ff);
    background-size: 300% 100%;
    top: -5%;
    left: -40%;
    animation: aurora-drift-3 25s ease-in-out infinite, aurora-color 20s ease infinite;
    opacity: 0.025;
}
@keyframes aurora-drift-1 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(-5deg); }
    33%      { transform: translateX(10%) translateY(15px) rotate(2deg); }
    66%      { transform: translateX(-8%) translateY(-10px) rotate(-3deg); }
}
@keyframes aurora-drift-2 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(3deg); }
    50%      { transform: translateX(-12%) translateY(20px) rotate(-4deg); }
}
@keyframes aurora-drift-3 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(-2deg); }
    33%      { transform: translateX(15%) translateY(-15px) rotate(5deg); }
    66%      { transform: translateX(-5%) translateY(10px) rotate(-1deg); }
}
@keyframes aurora-color {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ================================================
   PROFILE MODAL (global)
   ================================================ */
.profile-modal-card {
    background: rgba(18,8,32,1);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 28px;
    box-shadow: 0 32px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
@media (max-width: 639px) {
    .profile-modal-card { border-radius: 28px 28px 0 0; }
}
@keyframes modal-in {
    0%   { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
.modal-enter { animation: modal-in 0.3s cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ================================================
   REDUCED MOTION
   ================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-scale { opacity: 1; transform: none; }
    .hero-split-chars .char { opacity: 1; transform: none; animation: none; }
    .gradient-text .char { -webkit-text-fill-color: transparent; animation: none; }
    .scroll-progress,
    .floating-hearts,
    .aurora,
    .cursor-glow,
    .mesh-bg,
    body::before { display: none !important; }
}

/* ================================================
   2026 STYLE UPGRADE
   ================================================ */

/* ================================================
   #U1 — CURSOR GLOW TRAIL (desktop only)
   300px radial orb following mouse with lerp lag
   ================================================ */
@media (hover: hover) {
    .cursor-glow {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,51,102,0.12), rgba(204,41,255,0.06) 40%, transparent 70%);
        pointer-events: none;
        z-index: 9998;
        will-change: transform;
        mix-blend-mode: screen;
        filter: blur(1px);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .cursor-glow.active { opacity: 1; }
}

/* ================================================
   #U2 — SCROLL-DRIVEN ANIMATIONS
   Native CSS parallax + reveal via animation-timeline
   ================================================ */
@supports (animation-timeline: view()) {
    .scroll-reveal-native {
        animation: scroll-reveal-native linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 35%;
    }
    @keyframes scroll-reveal-native {
        from { opacity: 0; transform: translateY(40px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .scroll-parallax {
        animation: scroll-parallax linear both;
        animation-timeline: view();
        animation-range: entry 0% exit 100%;
    }
    @keyframes scroll-parallax {
        from { transform: translateY(30px); }
        to   { transform: translateY(-30px); }
    }
}

/* ================================================
   #U3 — CHARACTER STAGGER
   .char spans fly up with 0.04s nth-child delays
   ================================================ */
.hero-split-chars .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: char-fly-up 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.hero-split-chars .char.space { width: 0.3em; }
/* Gradient chars: re-apply gradient to each inline-block child (parent background-clip:text can't reach them) */
.gradient-text .char {
    background: linear-gradient(135deg, #ff3366, #cc29ff, #ff3366, #cc29ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: char-fly-up 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards, grad-shift 4s ease infinite;
}
@keyframes char-fly-up {
    to { opacity: 1; transform: translateY(0); }
}
.hero-split-chars .char:nth-child(1)  { animation-delay: 0.04s; }
.hero-split-chars .char:nth-child(2)  { animation-delay: 0.08s; }
.hero-split-chars .char:nth-child(3)  { animation-delay: 0.12s; }
.hero-split-chars .char:nth-child(4)  { animation-delay: 0.16s; }
.hero-split-chars .char:nth-child(5)  { animation-delay: 0.20s; }
.hero-split-chars .char:nth-child(6)  { animation-delay: 0.24s; }
.hero-split-chars .char:nth-child(7)  { animation-delay: 0.28s; }
.hero-split-chars .char:nth-child(8)  { animation-delay: 0.32s; }
.hero-split-chars .char:nth-child(9)  { animation-delay: 0.36s; }
.hero-split-chars .char:nth-child(10) { animation-delay: 0.40s; }
.hero-split-chars .char:nth-child(11) { animation-delay: 0.44s; }
.hero-split-chars .char:nth-child(12) { animation-delay: 0.48s; }
.hero-split-chars .char:nth-child(13) { animation-delay: 0.52s; }
.hero-split-chars .char:nth-child(14) { animation-delay: 0.56s; }
.hero-split-chars .char:nth-child(15) { animation-delay: 0.60s; }
.hero-split-chars .char:nth-child(16) { animation-delay: 0.64s; }
.hero-split-chars .char:nth-child(17) { animation-delay: 0.68s; }
.hero-split-chars .char:nth-child(18) { animation-delay: 0.72s; }
.hero-split-chars .char:nth-child(19) { animation-delay: 0.76s; }
.hero-split-chars .char:nth-child(20) { animation-delay: 0.80s; }

/* ================================================
   #U4 — ANIMATED MESH GRADIENT
   3x @property radial-gradient points drifting
   ================================================ */
@property --mesh-x1 {
    syntax: '<percentage>';
    initial-value: 20%;
    inherits: false;
}
@property --mesh-y1 {
    syntax: '<percentage>';
    initial-value: 30%;
    inherits: false;
}
@property --mesh-x2 {
    syntax: '<percentage>';
    initial-value: 80%;
    inherits: false;
}
.mesh-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(circle at var(--mesh-x1) var(--mesh-y1), rgba(255,51,102,0.12), transparent 50%),
        radial-gradient(circle at var(--mesh-x2) 70%, rgba(204,41,255,0.1), transparent 50%),
        radial-gradient(circle at 50% var(--mesh-y1), rgba(123,97,255,0.08), transparent 50%);
    animation:
        mesh-drift-1 14s ease-in-out infinite alternate,
        mesh-drift-2 18s ease-in-out infinite alternate,
        mesh-drift-3 22s ease-in-out infinite alternate;
}
@keyframes mesh-drift-1 {
    from { --mesh-x1: 20%; }
    to   { --mesh-x1: 70%; }
}
@keyframes mesh-drift-2 {
    from { --mesh-y1: 30%; }
    to   { --mesh-y1: 75%; }
}
@keyframes mesh-drift-3 {
    from { --mesh-x2: 80%; }
    to   { --mesh-x2: 25%; }
}

/* ================================================
   #U5 — VIEW TRANSITIONS API
   Cross-fade page navigations
   ================================================ */
@view-transition {
    navigation: auto;
}
::view-transition-old(root) {
    animation: vt-fade-out 0.25s ease both;
}
::view-transition-new(root) {
    animation: vt-fade-in 0.3s ease both;
}
@keyframes vt-fade-out {
    to { opacity: 0; transform: scale(0.98); }
}
@keyframes vt-fade-in {
    from { opacity: 0; transform: scale(1.02); }
}

/* ================================================
   #U6 — MICRO-INTERACTIONS
   Haptic press, focus glow, card tint, breathing
   ================================================ */
.btn-pressed {
    animation: haptic-press 0.15s ease both !important;
}
@keyframes haptic-press {
    50% { transform: scale(0.95); }
}
.input-field:focus {
    animation: focus-glow-pulse 1.5s ease-in-out infinite !important;
}
@keyframes focus-glow-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255,51,102,0.08); border-color: rgba(255,51,102,0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(255,51,102,0.15); border-color: rgba(255,51,102,0.6); }
}
.btn-breathing {
    animation: btn-breathe 3s ease-in-out infinite;
}
@keyframes btn-breathe {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,51,102,0.4); }
    50%      { box-shadow: 0 6px 30px rgba(255,51,102,0.6); }
}

/* ================================================
   #U7 — CHROMATIC GRAIN
   color-dodge blend + hue-rotate step animation
   ================================================ */
body::before {
    mix-blend-mode: color-dodge;
    animation: chromatic-grain 0.15s steps(1) infinite;
}
@keyframes chromatic-grain {
    0%   { filter: hue-rotate(0deg); }
    25%  { filter: hue-rotate(90deg); }
    50%  { filter: hue-rotate(180deg); }
    75%  { filter: hue-rotate(270deg); }
    100% { filter: hue-rotate(360deg); }
}

/* ================================================
   #U8 — TABULAR NUMBER MORPH
   tabular-nums + counting flash on digit change
   ================================================ */
.stat-num {
    font-variant-numeric: tabular-nums;
}
.counting {
    animation: digit-morph 0.15s ease both;
}
@keyframes digit-morph {
    0%   { transform: translateY(0); opacity: 1; }
    50%  { transform: translateY(-4px); opacity: 0.5; color: #ff3366; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ================================================
   #U9 — GLASSMORPHISM 2.0
   Brighter glass, inner accent glow on card hover
   ================================================ */
.glass-depth,
.dark-card,
.cta-glass {
    backdrop-filter: blur(16px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
}
.card-hover:hover,
.dark-card:hover,
.plan-card:hover {
    box-shadow: 0 0 1px rgba(255,255,255,0.1), inset 0 0 40px rgba(255,51,102,0.03), 0 12px 40px rgba(0,0,0,0.4) !important;
}

/* ================================================
   #U10 — SCROLL PROGRESS DOT
   Pulsing 8px orb at leading edge of progress bar
   ================================================ */
.scroll-progress {
    overflow: visible;
}
.scroll-progress::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3366;
    box-shadow: 0 0 12px rgba(255,51,102,0.8), 0 0 24px rgba(255,51,102,0.4);
    animation: dot-pulse 1.5s ease-in-out infinite;
}
@keyframes dot-pulse {
    0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 12px rgba(255,51,102,0.8), 0 0 24px rgba(255,51,102,0.4); }
    50%      { transform: translateY(-50%) scale(1.4); box-shadow: 0 0 16px rgba(255,51,102,1), 0 0 32px rgba(255,51,102,0.6); }
}

/* ================================================
   MOBILE ADAPTATION
   ================================================ */

/* --- iOS safe areas --- */
.nav-bar {
    padding-top: env(safe-area-inset-top, 0px) !important;
}
body {
    padding-left: env(safe-area-inset-left, 0px) !important;
    padding-right: env(safe-area-inset-right, 0px) !important;
}

/* --- Prevent horizontal overflow from decorative elements --- */
html, body { overflow-x: hidden !important; }

/* --- Cosmic profile tabs: 4-tab adaptive --- */
.cosmic-tab {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 420px) {
    .cosmic-tab { font-size: 11px !important; padding: 8px 2px !important; }
    .cosmic-tab span { font-size: 10px !important; }
}
@media (min-width: 421px) and (max-width: 540px) {
    .cosmic-tab { font-size: 12px !important; padding: 9px 4px !important; }
}

/* --- Small screens (≤ 480px) --- */
@media (max-width: 480px) {
    /* Tighter nav */
    .nav-bar > div { padding-left: 14px !important; padding-right: 14px !important; }

    /* Bigger burger touch target */
    .nav-bar button[class*="md:hidden"] {
        width: 44px !important; height: 44px !important;
        min-width: 44px; min-height: 44px;
    }

    /* Mobile menu padding */
    .mobile-menu-link { font-size: 26px !important; padding: 14px 0 !important; }

    /* Buttons: ensure minimum touch size */
    .btn-primary, .btn-outline, .btn-glow {
        min-height: 44px !important;
        padding: 12px 24px !important;
        font-size: 14px !important;
    }

    /* Cards: tighter padding */
    .card, .card-hover, .glass-depth { border-radius: 16px !important; }

    /* Input fields: comfortable touch size */
    .input-field { padding: 14px 16px !important; font-size: 16px !important; /* prevents iOS zoom */ }

    /* Tabs: smaller padding */
    .tab-btn { padding: 8px 12px !important; font-size: 12px !important; }

    /* Interest tags: wrap-friendly */
    .interest-tag { padding: 7px 12px !important; font-size: 12px !important; }

    /* Bottom sheet: full-width on small screens */
    .bottom-sheet {
        padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .sheet-title { font-size: 18px !important; margin-bottom: 18px !important; }
    .sheet-pills { gap: 12px !important; }
    .sheet-pill { font-size: 13px !important; }
    .sheet-save-btn { padding: 16px !important; margin-top: 20px !important; }

    /* Profile rows: comfortable touch */
    .profile-row { padding: 16px 0 !important; }
    .profile-row-label { font-size: 15px !important; }
    .profile-row-value { font-size: 15px !important; }

    /* Pills / badges */
    .pill { font-size: 10px !important; padding: 4px 10px !important; }

    /* Disable heavy animations on mobile for performance */
    .aurora, .cursor-glow, .floating-hearts { display: none !important; }

    /* Scroll progress: thinner on mobile */
    .scroll-progress { height: 2px !important; }
    .scroll-progress::after { width: 6px !important; height: 6px !important; }

    /* Plan cards: ensure single-col readability */
    .plan-card { padding: 24px 20px !important; }
}

/* --- Medium screens (481px - 768px) --- */
@media (min-width: 481px) and (max-width: 768px) {
    .bottom-sheet {
        padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
    /* Reduce aurora blur for performance */
    .aurora-wave { filter: blur(60px) !important; }
}

/* --- Chat page: safe area for bottom input --- */
.chat-input-area {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e5e5 !important;
}
.chat-expired-area {
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
}
/* Chat container: JS sets exact height via setProperty('important').
   CSS fallback: bottom:0 keeps it within the viewport. */
.chat-container {
    bottom: 0;
    background: #ffffff !important;
}
@supports (height: 100dvh) {
    .chat-container {
        height: calc(100dvh - 57px);
        bottom: auto;
    }
}
/* Ensure input stays above mobile browser bottom bar */
@media (max-width: 768px) {
    .chat-container {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}
/* Chat message input: adaptive sizing */
.chat-msg-input {
    font-size: 16px !important; /* prevents iOS zoom */
    -webkit-appearance: none;
    background: #f5f5f5 !important;
    color: #1d1d1f !important;
    border: 1px solid #e5e5e5 !important;
}
@media (max-width: 380px) {
    .chat-input-area { padding: 8px 8px 8px !important; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important; }
    .chat-input-area form { gap: 6px !important; }
    .chat-msg-input { padding: 9px 12px !important; font-size: 16px !important; }
}

/* --- Footer safe area --- */
footer { padding-bottom: env(safe-area-inset-bottom, 0px) !important; }

/* --- Fullscreen mobile menu: safe areas --- */
@media (max-width: 767px) {
    [class*="md:hidden"][style*="position:fixed"] {
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}

/* --- Landscape phone: reduce vertical spacing --- */
@media (max-height: 500px) and (orientation: landscape) {
    .bottom-sheet { max-height: 90vh !important; }
    .sheet-title { font-size: 16px !important; margin-bottom: 12px !important; }
    .sheet-save-btn { padding: 12px !important; margin-top: 12px !important; }
}

/* --- Font size 16px on inputs to prevent iOS zoom --- */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* ================================================
   SCREENSHOT BLOCKER — Demon Overlay
   ================================================ */
#screenshotBlocker {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(13, 0, 21, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
    user-select: none;
    -webkit-user-select: none;
}
#screenshotBlocker.active {
    display: flex;
    animation: demon-appear 0.3s ease-out both;
}
#screenshotBlocker.fade-out {
    animation: demon-disappear 0.4s ease-in both;
}
@keyframes demon-appear {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes demon-disappear {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(1.1); }
}

/* Demon face container */
.demon-face {
    position: relative;
    width: 200px;
    height: 200px;
}

/* Horns */
.demon-horn-left,
.demon-horn-right {
    position: absolute;
    top: -30px;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 55px solid var(--accent);
    filter: drop-shadow(0 0 12px rgba(255, 51, 102, 0.6));
}
.demon-horn-left {
    left: 30px;
    transform: rotate(-15deg);
}
.demon-horn-right {
    right: 30px;
    transform: rotate(15deg);
}

/* Eyes */
.demon-eye-left,
.demon-eye-right {
    position: absolute;
    top: 60px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent), 0 0 60px rgba(255, 51, 102, 0.4);
    animation: demon-eye-glow 1.5s ease-in-out infinite alternate;
}
.demon-eye-left  { left: 48px; }
.demon-eye-right { right: 48px; }
.demon-eye-left::after,
.demon-eye-right::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 14px;
    background: #0d0015;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
@keyframes demon-eye-glow {
    from { box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent), 0 0 60px rgba(255,51,102,0.4); }
    to   { box-shadow: 0 0 30px var(--accent), 0 0 60px var(--accent), 0 0 90px rgba(255,51,102,0.6); }
}

/* Mouth — evil grin */
.demon-mouth {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 36px;
    border-bottom: 4px solid var(--accent);
    border-radius: 0 0 40px 40px;
    filter: drop-shadow(0 0 8px rgba(255, 51, 102, 0.5));
}
/* Fangs */
.demon-mouth::before,
.demon-mouth::after {
    content: '';
    position: absolute;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 14px solid var(--accent);
    filter: drop-shadow(0 0 4px rgba(255, 51, 102, 0.5));
}
.demon-mouth::before { left: 10px; }
.demon-mouth::after  { right: 10px; }

/* "NO NO NO" text */
.demon-text {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.8), 0 0 40px rgba(255, 51, 102, 0.4);
    animation: demon-shake 0.4s ease-in-out infinite;
}
@keyframes demon-shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-6px) rotate(-1deg); }
    75%      { transform: translateX(6px) rotate(1deg); }
}

/* Content blur when demon is active */
.screenshot-blur > *:not(#screenshotBlocker) {
    filter: blur(20px) !important;
    transition: filter 0.2s ease;
}
