/* =========================
   SELLAUTH - CUSTOM CSS PREMIUM
========================= */

@tailwind base;
@tailwind components;
@tailwind utilities;

/* =========================
   VARIABLES CSS
========================= */

:root {
    --color-primary:       #b98cff;
    --color-primary-light: #d9b6ff;
    --color-primary-dark:  #9966ff;
    --color-accent:        #ff0bde;
    --color-accent-light:  #ff6bff;
    --color-gray:          #b4b4c8;
    --color-gray-dark:     #8c8ca0;

    --shadow-glow: 0 0 30px rgba(185, 140, 255, 0.4);
    --shadow-hover: 0 20px 60px rgba(160, 120, 255, 0.35);
    --shadow-card:  0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);

    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --altcha-border-width:        1px;
    --altcha-border-radius:       12px;
    --altcha-color-base:          rgba(25, 20, 45, 0.6);
    --altcha-color-border:        rgba(185, 140, 255, 0.15);
    --altcha-color-text:          #fff;
    --altcha-color-border-focus:  rgba(200, 160, 255, 0.6);
    --altcha-color-error-text:    #ef4444;
    --altcha-color-footer-bg:     rgba(25, 20, 45, 0.8);
    --altcha-max-width:           460px;

    --glass-bg:     rgba(25, 20, 45, 0.6);
    --glass-border: rgba(185, 140, 255, 0.15);
}

/* =========================
   UTILITIES
========================= */

[x-cloak] { display: none !important; }

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

html { scroll-behavior: smooth; }

/* Canvas must never be hidden */
canvas { display: block !important; visibility: visible !important; }

/* =========================
   KEYFRAMES
========================= */

@keyframes purpleGlowPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(185, 140, 255, 0.5),
                     0 0 20px rgba(185, 140, 255, 0.3),
                     0 0 30px rgba(185, 140, 255, 0.1);
    }
    50% {
        text-shadow: 0 0 20px rgba(200, 160, 255, 0.8),
                     0 0 40px rgba(200, 160, 255, 0.5),
                     0 0 60px rgba(200, 160, 255, 0.2);
    }
}

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

@keyframes lightEntrance {
    0%   { opacity: 0; transform: scale(0.85) rotate(-3deg); }
    100% { opacity: 1; transform: scale(1)    rotate(0deg);  }
}

@keyframes lightBreathe {
    0%, 100% { opacity: 0.85; filter: blur(60px); transform: scale(1)    rotate(0deg); }
    50%       { opacity: 1;    filter: blur(70px); transform: scale(1.03) rotate(1deg); }
}

@keyframes beamEntrance {
    0%   { opacity: 0; transform: rotate(-8deg) scaleY(0.6); }
    100% { opacity: 1; transform: rotate(0deg)  scaleY(1);   }
}

@keyframes beamSway {
    0%, 100% { transform: rotate(0deg)  scaleY(1);    opacity: 0.75; }
    50%       { transform: rotate(-2deg) scaleY(1.02); opacity: 0.95; }
}

@keyframes shadowsIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes vignetteIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardHoverGlow {
    0%, 100% { box-shadow: var(--shadow-card); }
    50%       { box-shadow: var(--shadow-card), 0 0 60px rgba(200, 160, 255, 0.5); }
}

/* ═══════════════════════════════════════════════════════════
   HERO TITLE — purpleGlowPulse only OUTSIDE .hv2
   Inside .hv2, hero.njk handles gradient via CSS vars
═══════════════════════════════════════════════════════════ */

h1 {
    line-height: 1.15;
    text-align: center;
    position: relative;
}



/* Hero accent — no glow, no blur, hero.njk handles gradient */
.hv2 h1 .text-accent-500,
.hv2-title .text-accent-500 {
    animation: none !important;
    text-shadow: none !important;
    filter: none !important;
}

/* ═══════════════════════════════════════════════════════════
   HEADING GRADIENTS
═══════════════════════════════════════════════════════════ */

main h2, main h3,
section h2, section h3,
article h2, article h3 {
    background: linear-gradient(135deg, rgba(var(--cl-accent), 1) 0%, rgba(var(--cl-t-accent), 1) 60%, rgba(var(--cl-accent), 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Static gradient — cleaner, more editorial */
}

/* Hero and product titles — white, no gradient */
/* Hero h1 — white, no gradient, keep hv2Up animation */
.hv2 h1, .hv2 h2 {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    /* animation intentionally NOT suppressed — hv2Up handles opacity:0→1 */
}

/* First section headings */
section:first-of-type h1,
section:first-of-type h2 {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
}

/* Product page title */
.pp-title {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    animation: none !important;
}

/* ═══════════════════════════════════════════════════════════
   GLASSMORPHISM CARDS
═══════════════════════════════════════════════════════════ */

.card,
.product,
.product-card,
div[class*="card"]:not(nav):not(header),
div[class*="product"] {
    background: rgba(var(--cl-background), 0.62);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border: 1px solid rgba(var(--cl-accent), 0.10);
    border-top-color:    rgba(var(--cl-accent), 0.18);
    border-right-color:  rgba(var(--cl-accent), 0.10);
    border-bottom-color: rgba(var(--cl-accent), 0.06);
    border-left-color:   rgba(var(--cl-accent), 0.06);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
    border-radius: 16px !important;
    overflow: hidden !important;
    position: relative;
    will-change: transform;
}

/* ═══════════════════════════════════════════════════════════
   CARD HOVER FX
═══════════════════════════════════════════════════════════ */

section:not(:first-of-type) .card,
section:not(:first-of-type) .product,
section:not(:first-of-type) .product-card,
section:not(:first-of-type) div[class*="grid"] > div,
section:not(:first-of-type) div[class*="product"] {
    transform-style: preserve-3d;
    transition: var(--transition-smooth);
}

section:not(:first-of-type) .card:hover,
section:not(:first-of-type) .product:hover,
section:not(:first-of-type) div[class*="grid"] > div:hover,
section:not(:first-of-type) div[class*="product"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(10,5,25,0.5),
                0 0 24px rgba(200,160,255,0.12),
                inset 0 1px 0 rgba(255,255,255,0.07);
    border-color: rgba(200,160,255,0.32);
    border-top-color: rgba(240,220,255,0.42);
    border-right-color: rgba(240,220,255,0.42);
    z-index: 10;
}

.card::before, .product::before, .product-card::before,
div[class*="card"]:not(nav):not(header)::before,
div[class*="product"]::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 60%; height: 60%;
    background: radial-gradient(ellipse at top right, rgba(240,220,255,0.12) 0%, rgba(220,200,255,0.06) 30%, transparent 60%);
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.card:hover::before, .product:hover::before, .product-card:hover::before,
div[class*="card"]:not(nav):not(header):hover::before,
div[class*="product"]:hover::before { opacity: 1; }

section:not(:first-of-type) .card::after,
section:not(:first-of-type) .product::after,
section:not(:first-of-type) div[class*="grid"] > div::after,
section:not(:first-of-type) div[class*="product"]::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(200,160,255,0.35), rgba(160,120,255,0.15) 40%, transparent 70%);
    opacity: 0; transition: opacity 0.45s ease;
    pointer-events: none; filter: blur(18px); z-index: -2;
}
section:not(:first-of-type) .card:hover::after,
section:not(:first-of-type) .product:hover::after,
section:not(:first-of-type) div[class*="grid"] > div:hover::after,
section:not(:first-of-type) div[class*="product"]:hover::after { opacity: 1; }

/* Icon/title hover — exclude .hv2 and nav */
section:not(:first-of-type):not(.hv2) svg,
section:not(:first-of-type):not(.hv2) i {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
section:not(:first-of-type):not(.hv2) div:hover svg,
section:not(:first-of-type):not(.hv2) div:hover i {
    transform: scale(1.25) rotate(5deg);
    filter: drop-shadow(0 0 18px rgba(200,160,255,0.85)) drop-shadow(0 0 36px rgba(160,120,255,0.45));
}
section:not(:first-of-type):not(.hv2) h3 {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
section:not(:first-of-type):not(.hv2) div:hover h3 {
    color: var(--color-primary-light);
    transform: translateY(-2px);
    text-shadow: 0 0 18px rgba(185,140,255,0.55);
}

.card img, .product img, div[class*="card"] img, div[class*="product"] img {
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover img, .product:hover img { transform: scale(1.06) rotate(0.5deg); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */

button, .button, .btn, a[class*="button"] {
    border-radius: 14px !important;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(160, 120, 255, 0.2);
    will-change: transform;
}

button::before, .button::before, .btn::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.10) 50%, transparent 100%);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.5s ease;
    pointer-events: none;
}
button:hover::before, .button:hover::before, .btn:hover::before {
    transform: translateX(100%) skewX(-15deg);
}
button:hover, .button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--cl-accent), 0.28);
}

/* No shimmer on UI control buttons */
.snav-dash::before, .ucm-btn::before, .ucm-close::before,
.ucm-tab::before, .ucm-config-btn::before, .ucm-fav-btn::before,
.peepo-option::before { display: none !important; }

/* No transform on nav/widget buttons */
.peepo-option:hover { transform: translateX(-3px) !important; }

/* ═══════════════════════════════════════════════════════════
   INPUTS
═══════════════════════════════════════════════════════════ */

input[type="text"], input[type="email"], input[type="password"],
input[type="search"], textarea, select {
    border-radius: 12px !important;
    background: rgba(25, 20, 45, 0.5);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}
input:focus, textarea:focus, select:focus {
    border-color: rgba(200, 160, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(185,140,255,0.1), 0 0 18px rgba(160,120,255,0.18);
    outline: none;
}
/* Range sliders — no border or bg override */
input[type="range"] {
    border: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(var(--cl-accent), 0.35);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--cl-accent), 0.6);
}

/* ═══════════════════════════════════════════════════════════
   Z-INDEX
═══════════════════════════════════════════════════════════ */

header, nav, section, footer,
.product, .card, article,
div[class*="container"] {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   MICRO INTERACTIONS
═══════════════════════════════════════════════════════════ */

p, span, a { transition: color 0.2s ease; }
a:hover { color: rgba(var(--cl-accent), 1); text-shadow: none; }

/* ═══════════════════════════════════════════════════════════
   NAV / FOOTER — no transforms or animations
═══════════════════════════════════════════════════════════ */

nav *, .navbar *, .snav *,
footer *, header nav * {
    transform: none !important;
    animation:  none !important;
}
nav *:hover, .snav *:hover,
.navbar *:hover, footer *:hover {
    transform:  none !important;
    box-shadow: none !important;
}

/* Exceptions — specific nav elements with intentional hover */
.snav-dash:hover { transform: translateY(-1px) !important; }
.footer-social-btn:hover { transform: translateY(-2px) !important; }

/* ═══════════════════════════════════════════════════════════
   MISC SHAPES
═══════════════════════════════════════════════════════════ */

div[class*="item"], div[class*="box"], article {
    border-radius: 20px !important;
    overflow: visible !important;
}

/* ═══════════════════════════════════════════════════════════
   CINEMATIC LIGHTING
═══════════════════════════════════════════════════════════ */

body::before {
    content: "";
    position: fixed; top: -30%; right: -15%;
    width: 90%; height: 90%;
    background: radial-gradient(ellipse 75% 65% at 85% 25%,
        rgba(220,180,255,0.18) 0%, rgba(200,160,255,0.12) 20%,
        rgba(180,140,255,0.07) 35%, rgba(160,120,255,0.04) 50%, transparent 70%);
    pointer-events: none; z-index: 0; opacity: 0;
    animation: lightEntrance 2s ease-out forwards, lightBreathe 8s ease-in-out 2s infinite;
    filter: blur(60px);
}

body::after {
    content: "";
    position: fixed; top: -20%; right: -8%;
    width: 55%; height: 110%;
    background: linear-gradient(140deg,
        rgba(240,200,255,0.08) 0%, rgba(220,180,255,0.05) 25%,
        rgba(200,160,255,0.03) 45%, transparent 70%);
    pointer-events: none; z-index: 0; opacity: 0;
    animation: beamEntrance 2.5s ease-out 0.3s forwards, beamSway 12s ease-in-out 2.8s infinite;
    transform-origin: top right; filter: blur(40px);
}

html::before {
    content: "";
    position: fixed; inset: 0;
    background:
        linear-gradient(180deg, rgba(5,2,15,0.8) 0%, rgba(8,4,20,0.6) 15%, rgba(10,5,25,0.4) 30%, rgba(12,7,28,0.25) 50%, transparent 80%),
        radial-gradient(ellipse 120% 120% at 0% 0%, transparent 40%, rgba(8,4,20,0.35) 70%, rgba(5,2,15,0.5) 100%),
        radial-gradient(ellipse 130% 130% at 0% 100%, transparent 45%, rgba(8,4,20,0.4) 75%, rgba(5,2,15,0.55) 100%);
    pointer-events: none; z-index: 0; opacity: 0;
    animation: shadowsIn 2s ease-out 0.5s forwards;
}

html::after {
    content: "";
    position: fixed; inset: 0;
    background: radial-gradient(ellipse 110% 100% at 50% 40%,
        transparent 0%, transparent 50%, rgba(5,2,15,0.12) 70%, rgba(5,2,15,0.28) 85%, rgba(0,0,0,0.45) 100%);
    pointer-events: none; z-index: 0; opacity: 0;
    animation: vignetteIn 2.5s ease-out 1s forwards;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR (legacy)
═══════════════════════════════════════════════════════════ */

.modern-navbar {
    position: sticky; top: 0; left: 0; right: 0; z-index: 50;
    width: 100%; border-radius: 0 !important; overflow: visible;
}

/* ═══════════════════════════════════════════════════════════
   PEEPO WIDGET
═══════════════════════════════════════════════════════════ */

.peepo-widget {
    position: fixed; bottom: 2rem; right: 2rem;
    z-index: 9999; display: flex; flex-direction: column;
    align-items: flex-end; gap: 0.5rem; user-select: none;
}

@keyframes peepoIdle {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    25%       { transform: rotate(-3deg) translateY(-3px); }
    75%       { transform: rotate(3deg)  translateY(-1px); }
}
@keyframes peepoEnter {
    from { opacity: 0; transform: translateY(30px) scale(0.8); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}
@keyframes peepoBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
@keyframes badgePop {
    0%   { transform: scale(0); }
    70%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}
@keyframes ppPulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.5; transform:scale(1.4); }
}

.peepo-link {
    display: block; cursor: grab;
    animation: peepoEnter 0.6s cubic-bezier(0.68,-0.55,0.265,1.55) 0.5s both,
               peepoIdle  4s ease-in-out 2s infinite;
    transform-origin: bottom center;
    transition: filter 0.2s ease; position: relative;
}
.peepo-link:hover {
    filter: drop-shadow(0 0 18px rgba(185,140,255,0.65));
    animation: peepoEnter 0.6s cubic-bezier(0.68,-0.55,0.265,1.55) 0.5s both,
               peepoBounce 0.4s ease-in-out;
}
.peepo-link:active { cursor: grabbing; }

.peepo-img {
    width: 130px; height: auto; display: block;
    border-radius: 0 !important;
    filter: drop-shadow(0 4px 16px rgba(185,140,255,0.35));
}
.peepo-notif-dot {
    position: absolute; top: 4px; right: 4px;
    width: 14px; height: 14px; background: #ff0bde;
    border-radius: 50%; border: 2px solid rgba(10,5,25,0.8);
    animation: badgePop 0.4s cubic-bezier(0.68,-0.55,0.265,1.55) 1.5s both,
               ppPulse  2s ease-in-out 2s infinite;
    box-shadow: 0 0 10px rgba(255,11,222,0.7);
}
.peepo-bubble {
    position: relative; background: rgba(25,20,45,0.92);
    backdrop-filter: blur(16px); border: 1px solid rgba(185,140,255,0.35);
    border-radius: 1rem 1rem 0.25rem 1rem; padding: 0.55rem 1.1rem;
    box-shadow: 0 4px 20px rgba(185,140,255,0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    animation: peepoEnter 0.5s cubic-bezier(0.68,-0.55,0.265,1.55) 1.2s both;
    min-width: 130px; text-align: center;
}
.peepo-bubble--hidden { opacity: 0; transform: translateY(6px); pointer-events: none; }
.peepo-bubble span {
    font-size: 0.88rem; font-weight: 600;
    color: #e8d5ff !important; white-space: nowrap;
    background: none !important; -webkit-text-fill-color: #e8d5ff !important;
    animation: none !important;
}
.peepo-arrow {
    position: absolute; bottom: -2rem; right: 1rem;
    width: 2.5rem; height: 2.5rem; transform: rotate(15deg);
    filter: drop-shadow(0 0 6px rgba(185,140,255,0.5));
}
.peepo-menu {
    display: flex; flex-direction: column; gap: 0.4rem;
    background: rgba(18,12,38,0.97); backdrop-filter: blur(20px);
    border: 1px solid rgba(185,140,255,0.25);
    border-top-color: rgba(220,190,255,0.4);
    border-radius: 1rem; padding: 1rem; min-width: 250px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 40px rgba(185,140,255,0.12);
    opacity: 0; pointer-events: none;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.68,-0.55,0.265,1.55);
}
.peepo-menu--open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.peepo-menu-title {
    font-size: 0.85rem; font-weight: 700;
    color: #c9a6ff !important; background: none !important;
    -webkit-text-fill-color: #c9a6ff !important; animation: none !important;
    margin: 0 0 0.5rem; text-align: center;
    border-bottom: 1px solid rgba(185,140,255,0.1); padding-bottom: 0.5rem;
}
.peepo-divider { height: 1px; background: rgba(185,140,255,0.1); margin: 0.25rem 0; }
.peepo-option {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.6rem 0.85rem; border-radius: 0.65rem;
    font-size: 0.875rem; font-weight: 600;
    text-decoration: none; transition: all 0.25s ease;
    border: 1px solid transparent; cursor: pointer; width: 100%; text-align: left;
}
.peepo-option i { width: 1rem; text-align: center; }
.peepo-option--discord  { background: rgba(88,101,242,0.18); border-color: rgba(88,101,242,0.3);   color: #a5b4fc !important; -webkit-text-fill-color: #a5b4fc !important; }
.peepo-option--discord:hover  { background: rgba(88,101,242,0.3);  border-color: rgba(88,101,242,0.55); transform: translateX(-3px) !important; color: #c7d2fe !important; -webkit-text-fill-color: #c7d2fe !important; }
.peepo-option--catalog  { background: rgba(185,140,255,0.12); border-color: rgba(185,140,255,0.25); color: #d8b4fe !important; -webkit-text-fill-color: #d8b4fe !important; }
.peepo-option--catalog:hover  { background: rgba(185,140,255,0.22); border-color: rgba(185,140,255,0.45); transform: translateX(-3px) !important; color: #ede9fe !important; -webkit-text-fill-color: #ede9fe !important; }
.peepo-option--ticket   { background: rgba(56,189,248,0.10);  border-color: rgba(56,189,248,0.22);  color: #7dd3fc !important; -webkit-text-fill-color: #7dd3fc !important; }
.peepo-option--ticket:hover   { background: rgba(56,189,248,0.2);   border-color: rgba(56,189,248,0.45); transform: translateX(-3px) !important; color: #bae6fd !important; -webkit-text-fill-color: #bae6fd !important; }
.peepo-option--promo    { background: rgba(255,180,50,0.10);  border-color: rgba(255,180,50,0.25);  color: #fcd34d !important; -webkit-text-fill-color: #fcd34d !important; justify-content: space-between; }
.peepo-option--promo:hover    { background: rgba(255,180,50,0.18);  border-color: rgba(255,180,50,0.45); transform: translateX(-3px) !important; }
.peepo-promo-arrow { font-size: 0.75rem; transition: transform 0.2s ease; }
.peepo-promo-badge {
    background: rgba(255,11,222,0.25); border: 1px solid rgba(255,11,222,0.4);
    border-radius: 99px; font-size: 0.6rem; font-weight: 800; padding: 0.1rem 0.45rem;
    color: #f0abfc !important; -webkit-text-fill-color: #f0abfc !important;
    margin-left: auto; margin-right: 0.3rem; letter-spacing: 0.05em;
}
.peepo-promos { overflow: hidden; max-height: 0; transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease; opacity: 0; }
.peepo-promos--open { max-height: 300px; opacity: 1; }
.peepo-promo-card {
    background: rgba(255,180,50,0.07); border: 1px solid rgba(255,180,50,0.2);
    border-radius: 0.65rem; padding: 0.75rem 0.9rem; margin-top: 0.25rem;
    display: flex; flex-direction: column; gap: 0.3rem;
    cursor: pointer; transition: all 0.2s ease; position: relative;
}
.peepo-promo-card:hover { background: rgba(255,180,50,0.12); border-color: rgba(255,180,50,0.4); transform: translateX(-2px) !important; }
.peepo-promo-card-copy { position: absolute; top: 0.55rem; right: 0.7rem; font-size: 0.65rem; font-weight: 700; color: rgba(253,230,138,0.5) !important; -webkit-text-fill-color: rgba(253,230,138,0.5) !important; background: none !important; animation: none !important; transition: color 0.2s; }
.peepo-promo-card:hover .peepo-promo-card-copy { color: #fbbf24 !important; -webkit-text-fill-color: #fbbf24 !important; }
.peepo-promo-code   { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.08em; color: #fbbf24 !important; -webkit-text-fill-color: #fbbf24 !important; background: none !important; animation: none !important; }
.peepo-promo-desc   { font-size: 0.78rem; color: #fde68a !important; -webkit-text-fill-color: #fde68a !important; background: none !important; animation: none !important; }
.peepo-promo-expiry { font-size: 0.75rem; color: rgba(253,230,138,0.7) !important; -webkit-text-fill-color: rgba(253,230,138,0.7) !important; background: none !important; animation: none !important; display: flex; align-items: center; gap: 0.3rem; margin-top: 0.1rem; }
.peepo-promo-expiry strong { color: #fbbf24 !important; -webkit-text-fill-color: #fbbf24 !important; }

/* ═══════════════════════════════════════════════════════════
   PROMO POPUP
═══════════════════════════════════════════════════════════ */

.promo-overlay { display: none; position: fixed; inset: 0; background: rgba(5,2,15,0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 99999; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity 0.4s ease; }
.promo-overlay--visible { opacity: 1; }
.promo-overlay--closing { opacity: 0; }
@keyframes promoPopIn { to { transform: scale(1) translateY(0); } }
.promo-popup { position: relative; background: rgba(18,12,38,0.97); border: 1px solid rgba(185,140,255,0.3); border-top-color: rgba(220,190,255,0.5); border-right-color: rgba(220,190,255,0.5); border-radius: 24px; padding: 2.5rem 2rem 2rem; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(185,140,255,0.15); overflow: hidden; transform: scale(0.85) translateY(20px); animation: promoPopIn 0.5s cubic-bezier(0.68,-0.55,0.265,1.55) 0.1s forwards; }
.promo-glow-orb { position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 250px; height: 250px; background: radial-gradient(circle, rgba(185,140,255,0.18) 0%, transparent 70%); pointer-events: none; border-radius: 50%; }
.promo-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(185,140,255,0.2); border-radius: 8px; color: rgba(200,180,255,0.6); width: 2rem; height: 2rem; font-size: 0.75rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; z-index: 2; }
.promo-close:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(185,140,255,0.5); }
.promo-badge { display: inline-block; background: linear-gradient(135deg, rgba(185,140,255,0.25), rgba(255,11,222,0.2)); border: 1px solid rgba(185,140,255,0.35); border-radius: 99px; padding: 0.25rem 0.85rem; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; color: #d8b4fe; margin-bottom: 0.75rem; position: relative; z-index: 1; }
.promo-emoji { font-size: 2.5rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.promo-title { font-size: 1.4rem !important; font-weight: 700 !important; color: #ffffff !important; background: none !important; -webkit-text-fill-color: #ffffff !important; animation: none !important; margin: 0 0 0.4rem !important; position: relative; z-index: 1; }
.promo-subtitle { font-size: 0.875rem; color: rgba(200,180,255,0.7) !important; background: none !important; -webkit-text-fill-color: rgba(200,180,255,0.7) !important; animation: none !important; margin: 0 0 1rem; position: relative; z-index: 1; }
.promo-subtitle strong { color: #d8b4fe !important; -webkit-text-fill-color: #d8b4fe !important; }
.promo-value { font-size: 3rem; font-weight: 800; background: linear-gradient(135deg, #b98cff, #ff0bde) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; line-height: 1; margin-bottom: 1.25rem; animation: none !important; position: relative; z-index: 1; }
.promo-code-box { display: flex; align-items: center; justify-content: space-between; background: rgba(185,140,255,0.08); border: 1.5px dashed rgba(185,140,255,0.4); border-radius: 14px; padding: 0.75rem 1rem; margin-bottom: 1rem; cursor: pointer; transition: all 0.25s ease; position: relative; z-index: 1; }
.promo-code-box:hover { background: rgba(185,140,255,0.14); border-color: rgba(185,140,255,0.7); }
.promo-code-box--copied { background: rgba(50,200,130,0.1) !important; border-color: rgba(50,200,130,0.5) !important; }
.promo-code-text { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.1em; color: #e8d5ff !important; background: none !important; -webkit-text-fill-color: #e8d5ff !important; animation: none !important; }
.promo-copy-btn { font-size: 0.75rem; font-weight: 600; color: #b98cff !important; -webkit-text-fill-color: #b98cff !important; background: rgba(185,140,255,0.15); border: 1px solid rgba(185,140,255,0.3); border-radius: 8px; padding: 0.3rem 0.65rem; white-space: nowrap; transition: all 0.2s ease; }
.promo-code-box--copied .promo-copy-btn { color: #4ade80 !important; -webkit-text-fill-color: #4ade80 !important; background: rgba(50,200,130,0.15); border-color: rgba(50,200,130,0.4); }
.promo-tabs { display: flex; gap: 0.4rem; justify-content: center; margin-bottom: 1rem; position: relative; z-index: 1; }
.promo-tab-btn { padding: 0.3rem 0.8rem; border-radius: 99px; font-size: 0.72rem; font-weight: 700; border: 1px solid rgba(185,140,255,0.2); background: transparent; color: rgba(200,180,255,0.5) !important; -webkit-text-fill-color: rgba(200,180,255,0.5) !important; cursor: pointer; transition: all 0.2s ease; }
.promo-tab-btn--active { background: rgba(185,140,255,0.2); border-color: rgba(185,140,255,0.5); color: #d8b4fe !important; -webkit-text-fill-color: #d8b4fe !important; }
.promo-timer { font-size: 0.8rem; color: rgba(200,180,255,0.6) !important; background: none !important; -webkit-text-fill-color: rgba(200,180,255,0.6) !important; animation: none !important; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; position: relative; z-index: 1; }
.promo-timer span { color: #fbbf24 !important; -webkit-text-fill-color: #fbbf24 !important; font-weight: 700; font-variant-numeric: tabular-nums; }
.promo-cta { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.75rem 1.5rem; background: linear-gradient(135deg, #b98cff 0%, #9966ff 100%); border: none; border-radius: 14px; color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: all 0.3s ease; margin-bottom: 0.75rem; box-shadow: 0 4px 20px rgba(185,140,255,0.35); position: relative; z-index: 1; }
.promo-cta:hover { background: linear-gradient(135deg, #c9a6ff 0%, #a87fff 100%); transform: translateY(-2px) !important; box-shadow: 0 8px 28px rgba(185,140,255,0.5); color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.promo-dismiss { font-size: 0.75rem; color: rgba(180,160,220,0.4) !important; background: none !important; -webkit-text-fill-color: rgba(180,160,220,0.4) !important; animation: none !important; cursor: pointer; transition: color 0.2s ease; margin: 0; position: relative; z-index: 1; }
.promo-dismiss:hover { color: rgba(200,180,255,0.7) !important; -webkit-text-fill-color: rgba(200,180,255,0.7) !important; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   PRODUCT PAGE
═══════════════════════════════════════════════════════════ */

.pp-wrapper { padding: 1.25rem 0 3rem; }
.pp-breadcrumb { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: rgba(185,160,230,0.4); margin-bottom: 0.75rem; }
.pp-breadcrumb a { color: rgba(185,160,230,0.5); text-decoration: none; transition: color 0.2s; }
.pp-breadcrumb a:hover { color: rgba(210,190,255,0.8); -webkit-text-fill-color: rgba(210,190,255,0.8); }
.pp-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.pp-status { display: inline-flex; align-items: center; gap: 0.45rem; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.07); border-radius: 99px; padding: 0.3rem 0.85rem; }
.pp-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sc, #22c55e); box-shadow: 0 0 8px var(--sc, #22c55e); animation: ppPulse 2s ease-in-out infinite; }
.pp-status-label { font-size: 0.75rem; font-weight: 700; color: var(--sc, #22c55e) !important; -webkit-text-fill-color: var(--sc, #22c55e) !important; background: none !important; animation: none !important; }
.pp-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .pp-grid { grid-template-columns: 3fr 2fr; } }
.pp-left { display: flex; flex-direction: column; gap: 0; }
.pp-img-wrap { border-radius: 14px; overflow: hidden; background: transparent; border: none; position: relative; }
.pp-img-wrap::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 140px; background: linear-gradient(to top, #080514 0%, transparent 100%); pointer-events: none; z-index: 1; }
.pp-img { width: 100%; height: 420px; display: block; object-fit: cover; object-position: center; background: transparent; border-radius: 14px; }
@media (min-width: 1024px) { .pp-img { height: 480px; } }
@media (max-width: 768px)  { .pp-img { height: 280px; } }
.pp-tabs-wrap { border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow: hidden; background: rgba(12,8,25,0.6); margin-top: 0.75rem; }
.pp-variants-label { display: none; }
.pp-tab-nav { display: flex; overflow-x: auto; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0 0.75rem; background: rgba(0,0,0,0.2); }
.pp-tab-btn { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.85rem 1rem; font-size: 0.78rem; font-weight: 600; color: rgba(185,160,230,0.4); background: transparent; border: none; border-bottom: 2px solid transparent; white-space: nowrap; cursor: pointer; transition: all 0.2s ease; position: relative; bottom: -1px; }
.pp-tab-btn:hover { color: rgba(210,190,255,0.75); }
.pp-tab-btn--on { color: #c4a0ff !important; border-bottom-color: #9060e0 !important; }
.pp-tab-body { padding: 1.5rem; min-height: 80px; }
.pp-desc { font-size: 0.875rem; line-height: 1.85; color: rgba(200,178,255,0.6); }
.pp-desc strong, .pp-desc b { color: #e0d0ff; font-weight: 700; }
.pp-feat-tab { font-size: 0.875rem; color: rgba(200,178,255,0.6); }
.pp-feat-tab ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.pp-feat-tab ul li { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.85rem; background: rgba(185,140,255,0.04); border: 1px solid rgba(185,140,255,0.09); border-radius: 8px; font-size: 0.83rem; color: rgba(210,190,255,0.7); transition: all 0.18s ease; }
.pp-feat-tab ul li:hover { background: rgba(185,140,255,0.09); border-color: rgba(185,140,255,0.2); color: #e0d0ff; transform: translateX(3px) !important; }
.pp-feat-tab ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #9060e0; flex-shrink: 0; }
.pp-req-tab .req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.55rem; }
.pp-req-tab .req-card { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); border-radius: 11px; padding: 0.85rem 0.9rem; display: flex; flex-direction: column; gap: 0.3rem; transition: all 0.18s ease; }
.pp-req-tab .req-card:hover { background: rgba(185,140,255,0.06); border-color: rgba(185,140,255,0.16); transform: translateY(-2px) !important; }
.pp-req-tab .req-icon { font-size: 1rem; color: rgba(185,140,255,0.4); margin-bottom: 0.1rem; }
.pp-req-tab .req-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(185,140,255,0.4) !important; -webkit-text-fill-color: rgba(185,140,255,0.4) !important; background: none !important; animation: none !important; }
.pp-req-tab .req-value { font-size: 0.83rem; font-weight: 700; color: #e8d5ff !important; -webkit-text-fill-color: #e8d5ff !important; background: none !important; animation: none !important; }
.pp-right { position: sticky; top: 5.5rem; }
.pp-live { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); }
.pp-live-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(185,160,230,0.45); }
.pp-live-item strong { color: rgba(210,190,255,0.7); font-weight: 700; }
.pp-live-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; animation: ppPulse 2s ease-in-out infinite; }
.pp-live-dot--v { background: #818cf8; }
.pp-live-dot--s { background: #34d399; }
.pp-notif { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: rgba(12,8,28,0.97); border: 1px solid rgba(185,140,255,0.15); border-radius: 13px; backdrop-filter: blur(20px); box-shadow: 0 8px 32px rgba(0,0,0,0.5); max-width: 300px; }
.pp-notif-img  { width:3rem; height:3rem; object-fit:cover; border-radius:8px; flex-shrink:0; }
.pp-notif-sub  { font-size:0.7rem; color:rgba(185,160,230,0.45)!important; -webkit-text-fill-color:rgba(185,160,230,0.45)!important; background:none!important; animation:none!important; margin:0; }
.pp-notif-name { font-size:0.82rem; font-weight:700; color:#e0d0ff!important; -webkit-text-fill-color:#e0d0ff!important; background:none!important; animation:none!important; margin:0.1rem 0; }
.pp-notif-time { font-size:0.68rem; color:rgba(185,140,255,0.35)!important; -webkit-text-fill-color:rgba(185,140,255,0.35)!important; background:none!important; animation:none!important; margin:0; }
.pp-upsells { margin-top: 2.5rem; }
.pp-upsells-title { font-size: 1rem !important; font-weight: 700 !important; color: #c4a0ff !important; background: none !important; -webkit-text-fill-color: #c4a0ff !important; animation: none !important; margin: 0 0 1rem !important; display: flex; align-items: center; gap: 0.5rem; }
.pp-upsells-title i { color: #f97316; }
.pp-upsells-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.pp-upsell-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; padding: 1rem 1.5rem; background: rgba(185,140,255,0.06); border: 1px solid rgba(185,140,255,0.18); border-radius: 14px; position: relative; overflow: hidden; }
.pp-upsell-banner::before { content: ""; position: absolute; top: -40px; left: -40px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(185,140,255,0.12) 0%, transparent 70%); pointer-events: none; }
.pp-upsell-banner-text { display: flex; align-items: center; gap: 0.65rem; font-size: 0.875rem; color: rgba(210,190,255,0.65); flex: 1; min-width: 200px; }
.pp-upsell-banner-text i { color: #b98cff; font-size: 1rem; flex-shrink: 0; }
.pp-upsell-banner-text strong { color: #e0d0ff; font-weight: 700; }
.pp-upsell-banner-links { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.pp-upsell-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; font-size: 0.78rem; font-weight: 700; border-radius: 9px; text-decoration: none; transition: all 0.25s ease; border: 1px solid transparent; background: rgba(185,140,255,0.15); border-color: rgba(185,140,255,0.3); color: #d8b4fe !important; -webkit-text-fill-color: #d8b4fe !important; }
.pp-upsell-btn:hover { background: rgba(185,140,255,0.25); border-color: rgba(185,140,255,0.5); transform: translateY(-2px) !important; color: #ede9fe !important; -webkit-text-fill-color: #ede9fe !important; }
.pp-upsell-btn--alt { background: rgba(255,11,222,0.08); border-color: rgba(255,11,222,0.25); color: #f0abfc !important; -webkit-text-fill-color: #f0abfc !important; }
.pp-upsell-btn--alt:hover { background: rgba(255,11,222,0.15); border-color: rgba(255,11,222,0.45); color: #f5d0fe !important; -webkit-text-fill-color: #f5d0fe !important; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    section:not(:first-of-type) .card:hover,
    section:not(:first-of-type) .product:hover {
        transform: translateY(-6px) scale(1.02);
    }
    body::before { opacity: 0.7 !important; filter: blur(50px); }
    body::after  { opacity: 0.6 !important; }
    html::before, html::after { opacity: 0.8 !important; }
    .peepo-widget { bottom: 1rem; right: 1rem; }
    .peepo-img    { width: 100px; }
    .peepo-menu   { min-width: 210px; }
    .pp-title     { font-size: 1.35rem !important; }
    .pp-img       { height: 260px; }
    .pp-tab-body  { padding: 1rem; }
    .pp-right     { position: static; }
    .promo-popup  { padding: 2rem 1.25rem 1.5rem; border-radius: 20px; }
    .promo-value  { font-size: 2.25rem; }
    .promo-code-text { font-size: 1.1rem; }
    .pp-upsell-banner { flex-direction: column; align-items: flex-start; }
    .pp-upsell-banner-links { width: 100%; }
    .pp-upsell-btn { flex: 1; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION TITLE PATTERN — editorial style
═══════════════════════════════════════════════════════════ */

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.9rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(var(--cl-accent), 1);
    border: 1px solid rgba(var(--cl-accent), 0.22);
    background: rgba(var(--cl-accent), 0.07);
    margin-bottom: 0.75rem;
}

.section-title-block {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-block h2,
.section-title-block h3 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0 0 0.5rem;
}

.section-title-block p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.42);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   GRAIN TEXTURE OVERLAY
═══════════════════════════════════════════════════════════ */

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

/* ═══════════════════════════════════════════════════════════
   GRADIENT BORDER UTILITY
═══════════════════════════════════════════════════════════ */

.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(var(--cl-accent), 0.4) 0%,
        rgba(var(--cl-accent), 0.1) 40%,
        rgba(var(--cl-accent), 0.4) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL FADE-IN — refined
═══════════════════════════════════════════════════════════ */

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}