/* =============================================
   SILENT — Premium Dark Design System v6 (Auth & Gmail)
   Monochrome: Black · Off-white · Grays · Auth Modal
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

/* ---------- CSS Reset & Native Cursor ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Hide Default OS Mouse Cursor Globally */
*, *::before, *::after, html, body, a, button, input, select, textarea, label, summary, [role="button"] {
  cursor: none !important;
}

/* Custom Stealth Cursor & Particle Trail Canvas */
#cursor-trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999990;
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #22c55e, 0 0 20px #22c55e;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(34, 197, 94, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
  transition: width 0.25s ease-out, height 0.25s ease-out, border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

/* Hover State on Interactive Elements */
body.cursor-hover .custom-cursor-ring {
  width: 46px;
  height: 46px;
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.45);
}

body.cursor-hover .custom-cursor-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
  background: #050507;
  color: #e8e6e3;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Tokens ---------- */
:root {
  /* Colors - Monochrome refined */
  --black:     #050507;
  --black-2:   #0a0a0c;
  --black-3:   #111114;
  --black-4:   #1a1a1f;
  --gray-dark: #252530;
  --gray:      #4a4a58;
  --gray-mid:  #7a7a8a;
  --gray-light:#a8a8bc;
  --gray-pale: #c8c8d8;
  --offwhite:  #e0dede;
  --white:     #eceae8;
  --pure:      #ffffff;

  /* Semantic */
  --bg:          var(--black);
  --bg-2:        var(--black-2);
  --bg-card:     var(--black-3);
  --bg-hover:    var(--black-4);
  --border:      rgba(255,255,255,0.055);
  --border-md:   rgba(255,255,255,0.09);
  --border-hi:   rgba(255,255,255,0.16);
  --text:        var(--white);
  --text-2:      var(--gray-pale);
  --text-muted:  var(--gray-mid);
  --text-dim:    var(--gray);

  /* Glass tokens */
  --glass-bg:       rgba(255, 255, 255, 0.028);
  --glass-bg-hover: rgba(255, 255, 255, 0.045);
  --glass-border:   rgba(255, 255, 255, 0.08);
  --glass-border-hi:rgba(255, 255, 255, 0.15);
  --glass-inset:    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --glass-shadow:   0 20px 60px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4);

  /* Radii */
  --r-sm:   0.375rem;
  --r:      0.75rem;
  --r-md:   1rem;
  --r-lg:   1.25rem;
  --r-xl:   1.75rem;
  --r-full: 9999px;

  /* Motion */
  --ease-out:  cubic-bezier(0.0, 0, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  --t-fast:   0.15s;
  --t:        0.25s;
  --t-slow:   0.45s;
  --t-xslow:  0.65s;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.6);
  --shadow:    0 8px 24px rgba(0,0,0,0.7);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.8);
  --shadow-xl: 0 28px 88px rgba(0,0,0,0.85);
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hidden { display: none !important; }
.hide-mobile { display: inline; }
.mobile-only { display: none; }
.scroll-offset { scroll-margin-top: 88px; }
.text-center { text-align: center; }

/* =============================================
   SCROLL FADE FX (GPU Accelerated, Smooth)
   ============================================= */
.blur-scroll {
  opacity: 0.15;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.blur-scroll.in-focus {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   BACKGROUND FX
   ============================================= */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}
#snowflake-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 20%, transparent 100%);
}
.noise-layer {
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.glow-top {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.018) 0%, transparent 60%);
}
.glow-side {
  position: absolute;
  top: 10%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.01), transparent 70%);
}

/* =============================================
   HEADER
   ============================================= */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  background: rgba(5, 5, 7, 0.65);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.4);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
  animation: headerSlideDown 0.5s var(--ease) both;
}
@keyframes headerSlideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
.sticky-header.scrolled {
  background: rgba(5, 5, 7, 0.85);
  border-color: rgba(255, 255, 255, 0.065);
}

.header-inner {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

/* Logo fills left cell, left-aligned */
.logo-link { justify-self: start; }

/* Nav fills center cell */
.pill-nav { justify-self: center; }

/* Right actions fill right cell, right-aligned */
.nav-right { justify-self: end; }

/* ── Logo ── */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  padding: 0.25rem 0.375rem;
  border-radius: var(--r-md);
  transition: opacity var(--t) var(--ease);
  text-decoration: none;
}
.logo-link:hover { opacity: 0.8; }
.logo-img {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-md);
}
.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.03em;
  color: var(--white);
}
.logo-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.4;
  align-self: flex-start;
  margin-top: 5px;
}

/* Badge */
.verified-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.45rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-full);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--gray-pale);
  letter-spacing: 0.05em;
}
.verified-badge svg { width: 9px; height: 9px; }

/* ══════════════════════════════════════════════
   PILL NAV — Raycast-style floating nav bar
   ══════════════════════════════════════════════ */
.pill-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.3rem 0.375rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-full);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.07);
  white-space: nowrap;
  animation: pillNavIn 0.6s 0.1s var(--spring) both;
}
@keyframes pillNavIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .pill-nav { display: none; }
}

/* Divider inside pill */
.pill-nav-divider {
  width: 1px;
  height: 1.125rem;
  background: rgba(255,255,255,0.12);
  margin: 0 0.25rem;
  flex-shrink: 0;
}

/* Login link — subtly different */
.pill-nav-link.pill-nav-login {
  color: var(--gray-pale);
  font-weight: 600;
}
.pill-nav-link.pill-nav-login:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

/* Nav Links */
.pill-nav-link {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-full);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
  white-space: nowrap;
  position: relative;
  text-decoration: none;
}
.pill-nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--white);
  border-radius: 99px;
  transform: translateX(-50%);
  transition: width var(--t) var(--ease);
  opacity: 0.5;
}
.pill-nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.pill-nav-link:hover::after {
  width: 60%;
}
.pill-nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.pill-nav-link.active::after {
  width: 60%;
  opacity: 1;
}

/* Search Button inside pill */
.pill-nav-search-wrap {
  position: relative;
  margin-left: 0.25rem;
}
.pill-nav-search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  height: 1.875rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-md);
  border-radius: var(--r-full);
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}
.pill-nav-search-btn:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--border-hi);
  color: var(--gray-light);
}
.pill-search-kbd {
  font-size: 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 0.2rem;
  padding: 0.08rem 0.3rem;
  color: var(--text-dim);
  font-family: inherit;
  margin-left: 0.125rem;
}
.pill-search-input {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 0;
  height: 1.875rem;
  background: rgba(15,15,15,0.95);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-full);
  padding: 0 0.875rem;
  color: var(--white);
  font-size: 0.8125rem;
  font-family: inherit;
  outline: none;
  opacity: 0;
  pointer-events: none;
  transition: width 0.3s var(--ease), opacity 0.2s;
  z-index: 10;
}
.pill-search-input.open {
  width: 240px;
  opacity: 1;
  pointer-events: auto;
}
.pill-search-input::placeholder { color: var(--text-dim); }

/* Search dropdown stays positioned below */
.pill-nav-search-wrap .search-dropdown {
  top: calc(100% + 0.5rem);
  right: 0;
  left: auto;
  width: 320px;
}

/* ── Search (legacy, keep for mobile bar) ── */
.search-wrap {
  position: relative;
  display: none;
}
@media (min-width: 768px) { .search-wrap { display: block; } }

.search-input-el {
  width: 280px;
  height: 2.375rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0 1rem 0 2.625rem;
  color: var(--white);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.search-input-el::placeholder { color: var(--text-dim); }
.search-input-el:focus {
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.06);
}
.search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.9375rem;
  height: 0.9375rem;
  color: var(--text-dim);
  pointer-events: none;
}
.search-kbd {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6875rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-md);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
  pointer-events: none;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--black-2);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  max-height: 380px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-md) transparent;
  z-index: 200;
  animation: dropIn var(--t-slow) var(--spring) both;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Mobile search bar */
.mobile-search-bar {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(8,8,8,0.95);
  animation: slideDown var(--t-slow) var(--ease-out) both;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-search-bar .search-input-el { width: 100%; border-radius: var(--r); }
.mobile-search-bar .search-wrap { display: block; width: 100%; }



/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--r);
  transition:
    background var(--t) var(--ease),
    border-color var(--t) var(--ease),
    color var(--t) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t) var(--ease),
    opacity var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:active::after { opacity: 0.06; }
.btn:active { transform: scale(0.97); }

/* Sizes */
.btn-xs { height: 1.875rem; padding: 0 0.75rem; font-size: 0.75rem; border-radius: var(--r-sm); }
.btn-sm { height: 2.125rem; padding: 0 0.875rem; font-size: 0.8125rem; }
.btn-md { height: 2.375rem; padding: 0 1.125rem; font-size: 0.875rem; }
.btn-lg { height: 2.75rem;  padding: 0 1.5rem;   font-size: 0.9375rem; }
.btn-xl { height: 3.25rem;  padding: 0 2rem;     font-size: 1.0625rem; border-radius: var(--r-md); }

/* Variants */
.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-white:hover {
  background: var(--pure);
  box-shadow: 0 4px 16px rgba(255,255,255,0.12), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-2);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-md);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-md);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--border-hi);
  color: var(--white);
}

.btn-icon-only {
  width: 2.375rem;
  height: 2.375rem;
  padding: 0;
  border-radius: var(--r);
}

/* =============================================
   AUTH MODAL STYLES (GMAIL & REGISTER)
   ============================================= */
.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(440px, 92vw);
  background: linear-gradient(160deg, rgba(22, 22, 28, 0.97) 0%, rgba(12, 12, 15, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  z-index: 160;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-slow) var(--spring), opacity var(--t-slow) var(--ease);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
}
.auth-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.auth-close:hover { background: rgba(255,255,255,0.15); }

.auth-inner { padding: 2rem; }

.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin: 1.25rem 0 1.5rem;
}
.auth-tab {
  flex: 1;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: 8px;
  transition: all var(--t) var(--ease);
  letter-spacing: 0.01em;
}
.auth-tab.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all var(--t) var(--ease);
  backdrop-filter: blur(10px);
}
.btn-oauth:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.oauth-svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0;
  color: var(--text-dim);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.auth-divider span { padding: 0 0.75rem; }

.auth-form { display: flex; flex-direction: column; gap: 0.25rem; }
.auth-submit-btn { width: 100%; margin-top: 1rem; }

.user-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem 0.25rem 0.35rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: background var(--t);
}
.user-profile-pill:hover { background: rgba(255,255,255,0.08); }
.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* =============================================
   CART DRAWER & OVERLAY
   ============================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 149;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  animation: fadeIn var(--t-slow) var(--ease) both;
}
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(460px, 100vw);
  height: 100dvh;
  z-index: 150;
  background: var(--black-2);
  border-left: 1px solid var(--border-md);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  animation: drawerIn var(--t-slow) var(--ease-out) both;
}
@keyframes drawerIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.cart-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cart-count-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 1.375rem;
  height: 1.375rem;
  padding: 0 0.375rem;
  color: var(--text-2);
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-md) transparent;
}
.cart-foot {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 0.75rem;
}
.cart-total-label { font-size: 0.875rem; color: var(--text-muted); }
.cart-total-val { font-size: 1rem; font-weight: 700; }
.cart-checkout { display: flex; width: 100%; height: 2.75rem; font-size: 0.9375rem; border-radius: var(--r-md); }

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
}
.cart-empty-state .empty-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.cart-empty-state h5 { font-size: 1rem; font-weight: 600; }
.cart-empty-state p { font-size: 0.875rem; color: var(--text-muted); max-width: 220px; line-height: 1.5; }

/* =============================================
   PURINCASH CHECKOUT MODAL STYLES
   ============================================= */
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(560px, 94vw);
  max-height: 90vh;
  background: var(--black-2);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  z-index: 160;
  overflow-y: auto;
  scrollbar-width: thin;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-slow) var(--spring), opacity var(--t-slow) var(--ease);
}
.checkout-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.checkout-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.checkout-close:hover { background: rgba(255,255,255,0.15); }

.checkout-inner { padding: 2rem; }
.checkout-step { transition: opacity var(--t) var(--ease); }

.purin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.625rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 0.75rem;
}

.checkout-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.checkout-header p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.checkout-summary-box {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem;
  margin: 1.25rem 0;
}
.chk-summary-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.chk-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.chk-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-2);
}
.chk-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.chk-total { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.125rem; font-weight: 800; }

.chk-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.chk-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.chk-method-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.chk-method-card:hover {
  background: var(--black-4);
  border-color: var(--border-md);
}
.chk-method-card.active {
  border-color: var(--white);
  background: rgba(255,255,255,0.04);
}
.chk-method-radio {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  position: relative;
  transition: border-color var(--t);
}
.chk-method-card.active .chk-method-radio {
  border-color: var(--white);
}
.chk-method-card.active .chk-method-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--white);
}
.chk-method-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}
.chk-method-name { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.chk-method-sub { font-size: 0.75rem; color: var(--text-muted); }
.chk-method-icon { width: 1.25rem; height: 1.25rem; color: var(--text-dim); }

.chk-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 480px) { .chk-form-grid { grid-template-columns: 1fr; } }
.chk-field { display: flex; flex-direction: column; gap: 0.35rem; }
.chk-field label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
.chk-field input {
  height: 2.25rem;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0 0.75rem;
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--t);
}
.chk-field input:focus { border-color: var(--border-hi); }
.chk-pay-btn { width: 100%; }

/* Step 2: Payment Box */
.payment-box {
  background: var(--black-3);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.qr-container {
  width: 180px;
  height: 180px;
  background: #fff;
  padding: 0.5rem;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-code-img { width: 100%; height: 100%; object-fit: contain; }
.pix-code-wrap { width: 100%; }
.pix-code-wrap label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.35rem; display: block; }
.copy-input-row { display: flex; gap: 0.5rem; }
.copy-input-row input {
  flex: 1;
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0 0.75rem;
  font-size: 0.8125rem;
  font-family: monospace;
  color: var(--text-2);
  outline: none;
}
.status-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-md);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseGreen 1.5s infinite;
}
@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.ltc-info-card { width: 100%; text-align: left; }
.ltc-amount-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 0.25rem;
}

.chk-timer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.sim-pay-link {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: underline;
}
.sim-pay-link:hover { color: var(--white); }

/* Step 3: Success */
.success-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 1.25rem;
}
.success-icon { width: 2.25rem; height: 2.25rem; color: #22c55e; }
.license-key-box {
  background: var(--black-3);
  border: 1px dashed var(--border-hi);
  border-radius: var(--r-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.license-key-box label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.key-display {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-top: 0.5rem;
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
  padding: 6rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.hero-inner { max-width: 720px; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray-pale);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-h1 em {
  font-style: normal;
  color: var(--gray-mid);
  font-weight: 300;
  font-size: 0.65em;
  display: block;
  letter-spacing: -0.02em;
  margin-top: 0.25rem;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  width: fit-content;
  margin: 0 auto;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.09);
}
.stat-item {
  padding: 1.25rem 2.5rem;
  text-align: center;
  position: relative;
  transition: background var(--t) var(--ease);
}
.stat-item:hover { background: rgba(255,255,255,0.03); }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.stat-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}
.stat-lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.sec-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.sec-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.sec-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: -0.75rem auto 2rem;
  line-height: 1.6;
}
.sec-pad { padding: 3.5rem 0; }
.sec-pad-sm { padding: 1.5rem 0 2.5rem; }

/* =============================================
   COMPACT MINIMAL CATEGORIES
   ============================================= */
.cats-grid-compact {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-full);
  color: var(--text-2);
  transition: all var(--t) var(--ease);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.cat-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.cat-pill-icon {
  width: 1rem;
  height: 1rem;
  color: var(--text-muted);
  transition: color var(--t);
}
.cat-pill:hover .cat-pill-icon { color: var(--white); }
.cat-pill-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}

/* =============================================
   PRODUCTS GRID (Clean, Minimal, Badge-free)
   ============================================= */
.prod-section { margin-top: 3rem; }
.prod-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.875rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.prod-section-label svg { width: 0.875rem; height: 0.875rem; opacity: 0.7; }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.125rem;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
@media (max-width: 1024px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .prod-grid { grid-template-columns: repeat(1, 1fr); } }

.prod-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  cursor: pointer;
  position: relative;
  transition:
    background var(--t) var(--ease),
    border-color var(--t) var(--ease),
    transform var(--t) var(--spring),
    box-shadow var(--t) var(--ease);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}
.prod-card:hover {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.025) 100%);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Compact Image area */
.prod-img {
  height: 110px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-slow) var(--ease);
}
.prod-card:hover .prod-img { transform: scale(1.02); }

.prod-img-gradient {
  position: absolute;
  inset: 0;
  transition: filter var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.prod-card:hover .prod-img-gradient {
  filter: brightness(1.15);
  transform: scale(1.04);
}
.prod-img-icon {
  position: relative;
  z-index: 1;
  width: 1.75rem;
  height: 1.75rem;
  color: rgba(255,255,255,0.7);
  transition: transform var(--t-slow) var(--spring), color var(--t);
}
.prod-card:hover .prod-img-icon {
  transform: scale(1.15);
  color: #ffffff;
}
.prod-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  transition: background var(--t-slow);
  z-index: 2;
}

/* Compact Info */
.prod-info { padding: 0.875rem 1rem; }
.prod-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-2);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
  transition: color var(--t);
}
.prod-card:hover .prod-name { color: var(--white); }
.prod-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.prod-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

/* =============================================
   SHOWCASE SECTION
   ============================================= */
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.sc-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: all var(--t) var(--ease);
}
.sc-tab:hover {
  color: var(--text-2);
  border-color: var(--border-md);
}
.sc-tab.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.showcase-display {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) { .showcase-display { grid-template-columns: 1fr; } }

.sc-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.07);
  transition: border-color var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.sc-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.1);
}

.sc-media-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.sc-placeholder-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #141414 0%, #1f1f1f 50%, #111111 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-placeholder-bg.alt {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #262626 100%);
}
.sc-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.sc-overlay-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
.sc-play-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform var(--t-slow) var(--spring), background var(--t), border-color var(--t);
}
.sc-card:hover .sc-play-btn {
  transform: scale(1.15);
  background: var(--white);
  border-color: var(--white);
}
.sc-play-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
  margin-left: 2px;
  transition: color var(--t);
}
.sc-card:hover .sc-play-icon { color: var(--black); }

.sc-badge-hd {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  color: var(--gray-pale);
}
.sc-watermark {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
}

.sc-card-caption {
  padding: 1.25rem;
}
.sc-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.sc-title-row h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
}
.sc-tag {
  font-size: 0.6875rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.sc-card-caption p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Showcase Modal */
.sc-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(1080px, 94vw);
  background: #08080a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.8);
  z-index: 260;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-slow) var(--spring), opacity var(--t-slow) var(--ease);
}
.sc-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.sc-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 20;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--border-md);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
  cursor: pointer;
}
.sc-modal-close:hover { background: rgba(255,255,255,0.15); }

.sc-modal-body { padding: 0; }
.sc-modal-video-placeholder {
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.sc-modal-play-big { width: 3rem; height: 3rem; color: var(--white); opacity: 0.8; }
.sc-modal-h3 { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.35rem; }
.sc-modal-p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   TRUST SECTION
   ============================================= */
.trust-section {
  padding: 4rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-card {
  background: var(--black-2);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: background var(--t) var(--ease);
}
.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  opacity: 0;
  transition: opacity var(--t-slow);
}
.trust-card:hover { background: var(--black-3); }
.trust-card:hover::before { opacity: 1; }

.trust-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), border-color var(--t), transform var(--t-slow) var(--spring);
}
.trust-card:hover .trust-icon-box {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hi);
  transform: rotate(-6deg) scale(1.1);
}
.trust-icon-box svg { width: 1.25rem; height: 1.25rem; color: var(--text-2); }
.trust-title { font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; }
.trust-desc { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   FOOTER
   ============================================= */
.footer-wrap {
  margin-top: auto;
  position: relative;
}
.footer-glow-top {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 250px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.02), transparent 70%);
  pointer-events: none;
}

footer {
  background: rgba(8,8,8,0.95);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.footer-top {
  padding: 3rem 0 2.5rem;
}
.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: 260px;
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}
.footer-powered {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t) var(--ease);
  width: fit-content;
  position: relative;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--gray-pale);
  transition: width var(--t-slow) var(--ease-out);
}
.footer-col a:hover { color: var(--text-2); }
.footer-col a:hover::after { width: 100%; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* =============================================
   ICONS & SCROLLBAR
   ============================================= */
.icon-xs { width: 0.75rem; height: 0.75rem; flex-shrink: 0; }
.icon-sm { width: 0.9375rem; height: 0.9375rem; flex-shrink: 0; }
.icon-md { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #222222; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #383838; }

::selection { background: rgba(255,255,255,0.15); color: var(--white); }

/* =============================================
   PRODUCT DETAILS & PLANS MODAL STYLES (Clean & Full Left Showcase)
   ============================================= */
.prod-details-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(1080px, 94vw);
  max-height: 90vh;
  background: var(--black-2);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  z-index: 160;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-slow) var(--spring), opacity var(--t-slow) var(--ease);
}
.prod-details-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.prod-details-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--border-md);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t);
}
.prod-details-close:hover { background: rgba(255,255,255,0.25); }

.prod-details-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 560px;
}
@media (max-width: 1100px) {
  .prod-details-layout { grid-template-columns: 1fr; }
}

/* Left Side: ENTIRE FULL HEIGHT SOFTWARE SHOWCASE */
.prod-details-left {
  background: #000;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}
.p-showcase-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: #060608;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.p-showcase-container .sw-menu-window {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.p-showcase-container .sw-grid-layout {
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.p-showcase-container .sw-sidebar {
  width: 190px !important;
  padding: 0.85rem 0.6rem !important;
}

.p-showcase-container .sw-dash-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 0.85rem !important;
}

.p-showcase-container .sw-main-panel {
  padding: 1rem !important;
  overflow-y: auto !important;
}
.p-showcase-iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
  pointer-events: none;
}
.p-showcase-video-mask {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
  pointer-events: auto;
}

/* Right Side: Details & Feature List & Stacked Plans */
.prod-details-right {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: 85vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hi) transparent;
}

.p-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.875rem;
}
.p-feature-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
}
.p-feature-chip svg { width: 0.875rem; height: 0.875rem; color: #22c55e; flex-shrink: 0; }
.p-tags-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
}
.p-game-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-sm);
}
.p-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
}
.p-modal-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.p-modal-p {
  font-size: 0.84375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* ── Premium Plan Card Selector ───────────────── */
.plans-list-stacked {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border-md);
  background: var(--black-3);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.plan-card:hover {
  border-color: var(--border-hi);
  background: var(--black-4);
  transform: translateX(2px);
}

.plan-card:hover::before { opacity: 1; }

.plan-card.active {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), inset 0 1px 0 rgba(255,255,255,0.06);
}

.plan-card.active::before { opacity: 1; }

.plan-card.plan-card-lifetime.active {
  border-color: rgba(34,197,94,0.5);
  background: rgba(34,197,94,0.05);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.2), 0 0 20px rgba(34,197,94,0.06);
}

/* Radio dot */
.plan-card-radio {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  border: 2px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}

.plan-card.active .plan-card-radio {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.plan-card.plan-card-lifetime.active .plan-card-radio {
  border-color: #22c55e;
}

.plan-card-radio-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: transparent;
  transition: all 0.2s var(--ease);
}

.plan-card.active .plan-card-radio-dot {
  background: var(--white);
  box-shadow: 0 0 6px rgba(255,255,255,0.5);
}

.plan-card.plan-card-lifetime.active .plan-card-radio-dot {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
}

/* Card body */
.plan-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.plan-card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-card-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.plan-card-dur {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Badges */
.plan-badge {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.125rem 0.45rem;
  border-radius: var(--r-full);
}

.plan-badge-best {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
}

.plan-badge-popular {
  background: rgba(255,255,255,0.08);
  color: var(--gray-pale);
  border: 1px solid var(--border-hi);
}

/* Price column */
.plan-card-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.plan-card-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.plan-card.plan-card-lifetime.active .plan-card-price {
  color: #22c55e;
}

.plan-card-per {
  font-size: 0.6875rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* =============================================
   ADMIN PANEL & DASHBOARD STYLES
   ============================================= */
.admin-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(450px, 92vw);
  background: var(--black-2);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  z-index: 200;
  padding: 2.25rem 2rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: all var(--t-slow) var(--spring);
}
.admin-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--r-full);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}
.admin-login-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.admin-login-header p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.admin-err-msg {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.625rem 0.875rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--r-md);
  color: #ef4444;
  font-size: 0.78125rem;
  font-weight: 600;
}

/* Full Admin Dashboard */
#admin-dash-modal-overlay {
  z-index: 210;
}
.admin-dash-modal {
  position: fixed;
  inset: 1.5rem;
  background: var(--black-1);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  z-index: 220;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: all var(--t-slow) var(--spring);
}
.admin-dash-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.admin-nav {
  height: 4.25rem;
  background: var(--black-2);
  border-bottom: 1px solid var(--border);
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-logo-img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-hi);
}
.admin-brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
}
.admin-brand-title small {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-left: 0.25rem;
}
.admin-user-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-dash-body {
  flex: 1;
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
}
@media (max-width: 840px) {
  .admin-dash-body { grid-template-columns: 1fr; }
}

.admin-sidebar {
  background: var(--black-2);
  border-right: 1px solid var(--border);
  padding: 1.25rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.admin-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.admin-tab-btn svg { width: 1.125rem; height: 1.125rem; }
.admin-tab-btn:hover {
  color: var(--white);
  background: var(--black-3);
}
.admin-tab-btn.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border-color: var(--border-md);
}

.admin-content {
  padding: 2rem;
  overflow-y: auto;
  scrollbar-width: thin;
}
.admin-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.admin-pane-head h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}
.admin-pane-head p {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

/* Tables */
.admin-table-wrapper {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.admin-table th {
  background: var(--black-3);
  padding: 0.875rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 1rem 1.25rem;
  font-size: 0.84375rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.admin-stat-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.stat-card-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

/* Clean Admin Form Textbox & Grid Styles (Layered above Dashboard) */
#admin-prod-form-overlay,
#admin-coupon-form-overlay {
  z-index: 300 !important;
}
#admin-prod-form-modal,
#admin-coupon-form-modal {
  z-index: 310 !important;
}
.admin-form-modal {
  width: min(580px, 94vw);
}
.input-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .input-grid-2 { grid-template-columns: 1fr; }
}

.input-group label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.4rem;
}

.input-group input[type="text"],
.input-group input[type="password"],
.input-group input[type="number"],
.input-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: all var(--t) var(--ease);
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.2);
}
.input-group input:focus,
.input-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.15), 0 0 0 3px rgba(255,255,255,0.04);
}
.input-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Animations & Fade Effects */
@keyframes shake {
  0%, 100% { transform: translate(-50%, -50%) translateX(0); }
  20%, 60% { transform: translate(-50%, -50%) translateX(-8px); }
  40%, 80% { transform: translate(-50%, -50%) translateX(8px); }
}

.live-update-pulse {
  animation: liveFlash 1.5s ease-out;
}
@keyframes liveFlash {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  50% { box-shadow: 0 0 30px 10px rgba(34, 197, 94, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ══════════════════════════════════════════════
   CENTRAL DO CLIENTE — New Full Redesign
   ══════════════════════════════════════════════ */
.user-dl-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(880px, 94vw);
  max-height: 90vh;
  background: var(--black-2);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  z-index: 310;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-slow) var(--spring), opacity var(--t-slow) var(--ease);
}
.user-dl-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Close button */
.user-dl-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-md);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t);
}
.user-dl-close:hover { background: rgba(255,255,255,0.14); }

/* ── Header Strip ── */
.user-dl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.75rem 1.125rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.user-dl-header-left { flex: 1; min-width: 0; }
.user-dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gray-pale);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.user-dl-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0;
}
.user-dl-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0;
}

/* Search bar in header */
.user-dl-search-wrap {
  position: relative;
  flex-shrink: 0;
}
.user-dl-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.875rem;
  height: 0.875rem;
  color: var(--text-dim);
  pointer-events: none;
}
.user-dl-search-input {
  width: 220px;
  height: 2.125rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  border-radius: var(--r-full);
  padding: 0 0.875rem 0 2.25rem;
  color: var(--white);
  font-size: 0.8125rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--t), background var(--t), width 0.3s var(--ease);
}
.user-dl-search-input:focus {
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.07);
  width: 280px;
}
.user-dl-search-input::placeholder { color: var(--text-dim); }

/* ── Welcome Screen (Unauthenticated) ── */
.central-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.central-welcome-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.central-welcome-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 40px rgba(255,255,255,0.04);
  animation: iconPulse 3s ease-in-out infinite;
}
@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,255,255,0.04); }
  50% { box-shadow: 0 0 40px rgba(255,255,255,0.1); }
}
.central-welcome-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.central-welcome-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.central-welcome-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.central-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  height: 2.625rem;
  background: var(--white);
  color: var(--black);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--t) var(--ease);
  box-shadow: 0 2px 16px rgba(255,255,255,0.1);
}
.central-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.15);
}
.central-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  height: 2.625rem;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.central-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}
.central-guest-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 320px;
  margin: 1.5rem 0 1.25rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.central-guest-divider::before,
.central-guest-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}
.central-btn-guest {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px dashed var(--border-md);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.central-btn-guest:hover {
  color: var(--white);
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.04);
}
.central-guest-hint {
  font-size: 0.71875rem;
  color: var(--text-dim);
  margin-top: 0.625rem;
}

/* ── Authenticated Content ── */
#central-auth-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  padding: 0 1.75rem 1.75rem;
}

/* User Banner */
.central-user-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.125rem;
  background: var(--black-3);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  margin: 1rem 0 0;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.central-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.central-user-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  object-fit: cover;
}
.central-user-name-text {
  font-size: 0.9375rem;
  color: var(--white);
  font-weight: 700;
}
.central-user-email-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
}
.central-wallet-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.central-wallet-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  display: block;
}
.central-wallet-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1875rem;
  color: #22c55e;
  font-weight: 800;
}

/* Guest Banner */
.central-guest-banner-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Tabs */
.user-portal-tabs {
  display: flex;
  gap: 0.375rem;
  margin: 1rem 0 0.875rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}


.user-purchases-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-height: 58vh;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 0.25rem;
}

/* Base Card (Details Collapsible) */
details.user-p-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
details.user-p-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}
details.user-p-card[open] {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

/* Card Summary Header (Clickable) */
.user-p-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.user-p-summary::-webkit-details-marker { display: none; }
.user-p-summary-left { flex: 1; min-width: 0; }
.user-p-summary-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.user-p-expand-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color var(--t);
}
.user-p-summary:hover .user-p-expand-label {
  color: var(--white);
}
.user-p-chevron {
  width: 0.9375rem;
  height: 0.9375rem;
  color: var(--text-dim);
  transition: transform var(--t) var(--ease), color var(--t);
}
details[open] .user-p-chevron {
  transform: rotate(180deg);
  color: var(--white);
}

/* Card Body (Expanded Content) */
.user-p-card-body {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  margin-top: 0;
  padding-top: 1rem;
  animation: fadeIn 0.2s var(--ease);
}
.user-p-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
}
.tutorial-box-clean {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-md);
  padding: 0.875rem 1rem;
}

.card-status-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.status-badge-active {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--r-full);
  padding: 0.1rem 0.5rem;
}
.status-dot-active {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.status-badge-locked {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.1rem 0.5rem;
}

.user-p-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* License Key Box */
.license-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.license-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.user-license-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 0.5rem 0.75rem;
}
.license-key-text {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.84rem;
  font-weight: 600;
  color: #22c55e;
  letter-spacing: 0.05em;
}
.btn-copy-key {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  color: var(--gray-pale);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.btn-copy-key:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Tutorial Details Accordion */
.tutorial-details {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.625rem;
}
.tutorial-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: color var(--t);
}
.tutorial-summary::-webkit-details-marker { display: none; }
.tutorial-summary:hover { color: var(--white); }
.summary-arrow {
  margin-left: auto;
  width: 0.85rem;
  height: 0.85rem;
  transition: transform var(--t) var(--ease);
}
.tutorial-details[open] .summary-arrow {
  transform: rotate(180deg);
}
.tutorial-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.625rem;
  padding-left: 0.25rem;
}
.tutorial-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.45;
}
.step-num {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Minimal Clean Locked Card */
.locked-clean {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.75;
}
.locked-clean:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.1);
}
.locked-clean-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.locked-clean-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.locked-clean-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.locked-clean-desc {
  font-size: 0.78125rem;
  color: var(--text-dim);
}

/* Changelog Clean Styling */
.cl-ver-badge {
  font-family: 'SF Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--r-full);
  padding: 0.1rem 0.45rem;
}
.cl-changes-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cl-change-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.45;
}
.cl-check-icon {
  width: 0.8rem;
  height: 0.8rem;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ══════════════════════════════════════════════
   SILENT PORTAL DASHBOARD STYLES (MONOCHROME)
   ══════════════════════════════════════════════ */
.portal-dashboard-modal {
  width: min(1160px, 95vw) !important;
  height: min(750px, 90vh) !important;
  padding: 0 !important;
  background: rgba(6, 6, 9, 0.97) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(60px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(60px) saturate(200%) !important;
}

.portal-dashboard-layout {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
}

/* ── Sidebar Column ── */
.portal-sidebar {
  width: 240px;
  background: rgba(255, 255, 255, 0.018);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
  height: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.portal-user-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.25rem;
}
.portal-avatar-circle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.portal-user-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: hidden;
}
.portal-username {
  font-size: 0.9375rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.portal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 99px;
  padding: 0.08rem 0.45rem;
}

/* XP Bar */
.portal-xp-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.625rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.portal-xp-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
}
.portal-xp-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}
.portal-xp-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 99px;
}
.portal-xp-sub {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-align: right;
}

/* Side Nav List */
.portal-side-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.portal-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  letter-spacing: 0.005em;
}
.portal-nav-btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.7;
}
.portal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
}
.portal-nav-btn:hover svg { opacity: 1; }
.portal-nav-btn.active {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 600;
  border-left: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.portal-nav-btn.active svg { opacity: 1; }
.portal-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 0.4rem 0;
}
.nav-ext-icon {
  width: 0.75rem !important;
  height: 0.75rem !important;
  margin-left: auto;
  opacity: 0.5;
}
.portal-nav-logout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* ── Main Panel & Panes ── */
.portal-main-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(4, 4, 7, 0.9);
  padding: 1.5rem 1.75rem;
  gap: 1.25rem;
  overflow: hidden;
  height: 100%;
}

.user-portal-pane {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 0.35rem;
  height: 100%;
  max-height: calc(100% - 0.5rem);
  animation: portalPaneFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes swPaneFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.portal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  padding-bottom: 1rem;
  flex-shrink: 0;
}
.portal-top-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.portal-page-h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.02em;
}
.portal-top-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.portal-wallet-chip {
  text-align: right;
}
.wallet-chip-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  display: block;
}
.wallet-chip-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  color: #22c55e;
  font-weight: 800;
}

/* Dashboard Grid */
.portal-dash-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 0.25rem;
}
.portal-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 40px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.portal-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 50px rgba(0, 0, 0, 0.6);
}
.portal-icon-square {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.portal-card-h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.portal-card-sub {
  font-size: 0.78125rem;
  color: var(--text-dim);
}

.portal-bonus-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.35rem;
}
.portal-stat-box {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-box-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-dim);
}
.stat-box-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}

/* Milestones Row */
.portal-milestones-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.portal-milestone-item {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.85rem 0.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  position: relative;
  transition: all 0.2s ease;
}
.portal-milestone-item:hover {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.35);
  transform: translateY(-2px);
}
.m-num {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
}
.portal-milestone-item strong {
  font-size: 0.84rem;
  color: #fff;
}
.m-sub { font-size: 0.65rem; color: var(--text-dim); }
.m-bonus { font-size: 0.7rem; font-weight: 700; color: #22c55e; margin-top: 0.2rem; }

/* Bonus Circle Glow */
.portal-bonus-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
}
.bonus-circle-glow {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.bonus-disp-label { font-size: 0.75rem; color: var(--text-dim); }
.bonus-disp-amount { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.625rem; color: #22c55e; font-weight: 800; }

/* Activity list */
.portal-activity-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 0.75rem;
}
.portal-activity-title { font-size: 0.75rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
.portal-act-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78125rem;
  padding: 0.35rem 0;
}
.portal-act-item strong { color: var(--gray-pale); display: block; }
.act-date { font-size: 0.6875rem; color: var(--text-dim); }
.act-val { color: #22c55e; font-weight: 700; font-family: monospace; }

/* Month Pills Filter */
.portal-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.portal-filter-title { font-size: 0.78125rem; font-weight: 800; color: #fff; letter-spacing: 0.08em; display: block; }
.portal-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-full);
  padding: 0.35rem 0.85rem;
  width: 220px;
}
.portal-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.78125rem;
  width: 100%;
}
.month-pills-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 0.25rem;
}
.month-pill {
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.month-pill.active, .month-pill:hover {
  background: #ffffff;
  color: #000;
  border-color: #ffffff;
}

/* Payment Methods Grid */
.pay-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.pay-method-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.pay-method-card.active, .pay-method-card:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
.pay-method-card strong { font-size: 0.875rem; color: #fff; }
.pay-method-card span { font-size: 0.72rem; color: var(--text-dim); }

.quick-val-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.quick-val-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.78125rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-md);
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.quick-val-btn.active, .quick-val-btn:hover {
  background: #ffffff;
  color: #000;
  border-color: #ffffff;
}

/* ══════════════════════════════════════════════
   INTERACTIVE SOFTWARE MENU REPLICA (SILENT CS2)
   ══════════════════════════════════════════════ */
.sw-menu-window {
  width: 100%;
  max-width: 1060px;
  margin: 1.5rem auto 0;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
}

.sw-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.sw-title-bar {
  padding: 0.75rem 1rem 0;
  position: relative;
  z-index: 2;
}

.sw-title-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.4rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
}

.sw-grid-layout {
  display: flex;
  min-height: 520px;
  position: relative;
  z-index: 2;
}

/* Sidebar */
.sw-sidebar {
  width: 230px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 12, 0.5);
}

.sw-user-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.25rem;
}
.sw-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 800;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sw-user-meta {
  display: flex;
  flex-direction: column;
}
.sw-username {
  font-size: 0.875rem;
  color: #fff;
  font-weight: 700;
}
.sw-user-role {
  font-size: 0.6875rem;
  color: var(--text-dim);
}

.sw-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
}
.sw-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.78125rem;
  width: 100%;
}

.sw-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow-y: auto;
}
.sw-nav-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  margin: 0.65rem 0.5rem 0.2rem;
  display: block;
}
.sw-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.sw-nav-item svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}
.sw-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.sw-nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  border-left: 3px solid #ffffff;
}

/* Main Content Panel */
.sw-main-panel {
  flex: 1;
  padding: 1.25rem;
  background: rgba(6, 6, 8, 0.4);
  overflow-y: auto;
}

.sw-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.sw-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.sw-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.65rem;
}
.sw-card-header h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.sw-info-table {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.sw-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78125rem;
}
.sw-info-lbl {
  color: var(--text-dim);
}
.sw-info-val {
  color: #fff;
  font-weight: 600;
}
.sw-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  padding: 0.1rem 0.55rem;
  color: #fff;
}
.sw-pill-badge.green {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.08);
}
.sw-auth-success-msg {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Checkboxes & Controls */
.sw-controls-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sw-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.sw-checkbox-row:hover {
  color: #fff;
}
.sw-checkbox-row input {
  display: none;
}
.sw-checkbox-box {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.sw-checkbox-row input:checked + .sw-checkbox-box {
  background: #ffffff;
  border-color: #ffffff;
}
.sw-checkbox-row input:checked + .sw-checkbox-box::after {
  content: '✓';
  font-size: 0.75rem;
  font-weight: 900;
  color: #000;
}
.sw-checkbox-row input:checked ~ .sw-toggle-label {
  color: #ffffff;
  font-weight: 600;
}

/* Sub Group Indentation */
.sw-sub-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-left: 0.5rem;
  padding-left: 0.85rem;
  border-left: 1px dashed rgba(255, 255, 255, 0.12);
}

/* Sliders */
.sw-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sw-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78125rem;
  color: var(--text-muted);
}
.sw-slider-header strong {
  color: #fff;
  font-family: monospace;
}
.sw-slider-group input[type="range"] {
  accent-color: #ffffff;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  cursor: pointer;
}

/* Select Inputs */
.sw-select-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sw-select-group label {
  font-size: 0.78125rem;
  color: var(--text-muted);
}
.sw-select-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  color: #fff;
  font-size: 0.78125rem;
  outline: none;
}
.sw-select-input option {
  background: #09090b;
  color: #fff;
}

/* Color Pickers */
.sw-color-picker-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78125rem;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sw-color-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

/* CS2 External Live ESP Preview Panel */
.sw-esp-preview-panel {
  width: 220px;
  background: rgba(8, 8, 11, 0.7);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.sw-esp-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
}

.sw-esp-mode-toggle {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px;
}

.sw-mode-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sw-mode-btn.active {
  background: #ffffff;
  color: #000000;
}

.sw-esp-viewport {
  flex: 1;
  min-height: 380px;
  background: rgba(4, 4, 6, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  overflow: hidden;
}

.esp-live-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.esp-name-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  letter-spacing: 0.02em;
}

.esp-hat-icon {
  margin-bottom: -6px;
  z-index: 3;
  width: 38px;
  height: 18px;
}

.china-hat-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px #ff007f);
}

.esp-box-outline {
  position: relative;
  border: 1.5px solid #ffffff;
  width: 105px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
  transition: transform 0.3s var(--ease), border-color 0.2s ease;
}

.esp-bar-health {
  position: absolute;
  left: -7px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #22c55e;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
}

.esp-bar-armor {
  position: absolute;
  right: -7px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #3b82f6;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.7);
}

.esp-skeleton-svg {
  width: 75px;
  height: 170px;
  transition: opacity 0.2s ease;
}

.esp-bottom-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  margin-top: 0.15rem;
  line-height: 1.15;
}

/* Redeem Key Animation & Result Card */
.redeem-anim-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

.redeem-checkmark-svg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  stroke-width: 2.5;
  stroke: #22c55e;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #22c55e;
  animation: fillCircle .4s ease-in-out .4s forwards, scaleCheck .3s ease-in-out .9s bounce;
}

.redeem-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2.5;
  stroke-miterlimit: 10;
  stroke: #22c55e;
  fill: none;
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.redeem-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeCheck 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes strokeCircle {
  100% { stroke-dashoffset: 0; }
}

@keyframes strokeCheck {
  100% { stroke-dashoffset: 0; }
}

.redeem-result-card {
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.redeem-res-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* Card Sub-Tabs in Central Cliente */
.user-card-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 0.85rem;
}

.user-card-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
  font-size: 0.78125rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.user-card-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.user-card-tab.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Game Category Filter Bar in Downloads Hub */
.user-game-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.game-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.game-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.game-filter-btn.active {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #22c55e;
  font-weight: 700;
}

/* Balance Breakdown Box in Checkout */
.balance-breakdown-box {
  margin-top: 0.85rem;
  padding: 0.85rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.balance-row.remaining {
  font-size: 0.875rem;
  font-weight: 700;
}

.balance-divider {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  margin: 0.25rem 0;
}

/* =============================================
   MOBILE & TOUCH DEVICE RESPONSIVENESS
   ============================================= */

/* Touch screens & Mobile Cursor handling */
@media (hover: none) and (pointer: coarse) {
  #cursor-trail-canvas,
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
  *, *::before, *::after, html, body, a, button, input, select, textarea, label, summary, [role="button"] {
    cursor: auto !important;
  }
}

/* Mobile Screen Adjustments (< 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .sticky-header {
    padding: 0.5rem 0 !important;
  }

  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  /* Hide center pill nav on mobile to prevent header overflow */
  .pill-nav {
    display: none !important;
  }

  /* Hide verified badge text on mobile header to save space */
  .verified-badge {
    display: none !important;
  }

  .logo-link {
    gap: 0.35rem !important;
  }

  .logo-img {
    width: 28px !important;
    height: 28px !important;
  }

  .logo-text {
    font-size: 1.15rem !important;
  }

  .nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }

  .lang-selector-btn {
    padding: 0.25rem 0.4rem !important;
    font-size: 0.72rem !important;
  }

  .open-cart {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.75rem !important;
  }

  /* Modals full height & scrollable on mobile */
  .auth-modal,
  .admin-dash-modal,
  .user-downloads-modal,
  .checkout-modal,
  .prod-details-modal,
  .admin-modal {
    width: 92vw !important;
    max-width: 92vw !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 1.5rem 1.15rem !important;
  }

  .admin-dash-body {
    flex-direction: column !important;
  }

  .admin-sidebar {
    width: 100% !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    padding-bottom: 0.5rem !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .admin-tab-btn {
    white-space: nowrap !important;
    font-size: 0.78125rem !important;
    padding: 0.5rem 0.75rem !important;
  }

  .portal-layout {
    flex-direction: column !important;
  }

  .portal-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 1rem !important;
  }

  .portal-side-nav {
    flex-direction: row !important;
    overflow-x: auto !important;
    padding-bottom: 0.5rem !important;
  }

  .portal-nav-btn {
    white-space: nowrap !important;
    padding: 0.4rem 0.75rem !important;
  }

  .admin-table-wrapper,
  .portal-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .admin-table,
  .portal-table {
    min-width: 580px !important;
  }

  .hero-h1 {
    font-size: 2.25rem !important;
  }

  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
  }

  .btn-xl {
    width: 100% !important;
  }
}

/* =============================================
   DISCORD OAUTH AUTHORIZATION MODAL STYLES
   ============================================= */
.discord-oauth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90vw;
  max-width: 480px;
  background: #313338; /* Authentic Discord Dark Theme */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  z-index: 10005;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  color: #dbdee1;
  font-family: 'Inter', sans-serif;
}

.discord-oauth-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.discord-auth-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.discord-avatars-connect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-avatar-circle,
.user-avatar-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2b2d31;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.app-avatar-circle img,
.user-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.connect-dots {
  display: flex;
  gap: 0.3rem;
}

.connect-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseConnect 1.5s infinite ease-in-out;
}

.connect-dots span:nth-child(2) { animation-delay: 0.2s; }
.connect-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulseConnect {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.discord-app-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.discord-app-subtitle {
  color: #949ba4;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.discord-permissions-box {
  background: #2b2d31;
  border-radius: 12px;
  padding: 1.15rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.discord-perm-intro {
  font-size: 0.8125rem;
  color: #dbdee1;
  margin-bottom: 0.85rem;
}

.discord-perm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.discord-perm-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: #f2f3f5;
}

.perm-icon.check {
  color: #23a55a;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.perm-icon.cancel {
  color: #f23f43;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.discord-redirect-notice {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #949ba4;
}

.discord-actions-row {
  display: flex;
  gap: 0.75rem;
}

.btn-discord-cancel {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-discord-cancel:hover {
  text-decoration: underline;
  background: rgba(255, 255, 255, 0.04);
}

.btn-discord-authorize {
  flex: 1.5;
  background: #5865F2; /* Official Discord Blurple */
  border: none;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}

.btn-discord-authorize:hover {
  background: #4752C4;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
  transform: translateY(-1px);
}

/* =============================================
   MOBILE BOTTOM NAVIGATION BAR STYLES
   ============================================= */
.mobile-bottom-navbar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-navbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9990;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.6875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    flex: 1;
  }

  .mobile-nav-item svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
  }

  .mobile-nav-item:hover,
  .mobile-nav-item.active {
    color: #22c55e;
  }

  .mobile-nav-item.active svg {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.6));
  }

  body {
    padding-bottom: 70px !important;
  }
}

/* Ensure Redeem License Key Modal & Overlay always open on top of Central Cliente */
#redeem-modal-overlay {
  z-index: 999980 !important;
}

#redeem-modal {
  z-index: 999990 !important;
}

/* Custom Flag Language Dropdown */
.custom-lang-dropdown {
  position: relative;
  display: inline-block;
}

.custom-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.custom-lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.lang-flag-img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.custom-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 195px;
  max-height: 280px;
  overflow-y: auto;
  background: #111215;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.5rem;
  z-index: 999999;
  box-shadow: 0 16px 40px rgba(0,0,0,0.85);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.lang-group-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 0.4rem 0.5rem 0.2rem;
  font-weight: 700;
}

.custom-lang-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 0.6rem;
  font-size: 0.78125rem;
  color: #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-lang-item:hover,
.custom-lang-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}



