/* ==========================================================================
   ULTRA-PREMIUM THEME — NEXT-LEVEL STREAMING PORTAL
   Glassmorphism + Neon Glow + Holographic Cards + Particle Orbits
   ========================================================================== */

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

/* ── DESIGN TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Platform Colors */
  --netflix-red:          #e50914;
  --netflix-glow:         rgba(229,9,20,0.5);
  --disney-blue:          #0d9aff;
  --disney-glow:          rgba(13,154,255,0.5);
  --prime-cyan:           #00d2ff;
  --prime-glow:           rgba(0,210,255,0.5);
  --crunchyroll-orange:   #f47521;
  --crunchyroll-glow:     rgba(244,117,33,0.5);
  --max-purple:           #7c3aed;
  --max-glow:             rgba(124,58,237,0.5);

  /* Core Palette */
  --void:                 #02010a;
  --bg-deep:              #05030f;
  --bg-mid:               #0a0720;
  --panel-bg:             rgba(12, 9, 32, 0.7);
  --panel-border:         rgba(255,255,255,0.06);
  --panel-border-glow:    rgba(139,92,246,0.3);
  --text-primary:         #f4f4ff;
  --text-secondary:       #8b8fa8;
  --text-muted:           #4a4d6b;

  /* Accent System */
  --accent-violet:        #8b5cf6;
  --accent-indigo:        #6366f1;
  --accent-pink:          #ec4899;
  --accent-glow:          rgba(139,92,246,0.45);
  --accent-glow-strong:   rgba(139,92,246,0.65);
  --glow-pink:            rgba(236,72,153,0.3);

  /* UI Variables */
  --glass-blur:           24px;
  --glass-blur-lg:        40px;
  --radius-sm:            12px;
  --radius-md:            18px;
  --radius-lg:            26px;
  --radius-xl:            36px;
  --transition-spring:    cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card:          0 24px 60px rgba(0,0,0,0.7), 0 4px 20px rgba(0,0,0,0.4);
  --shadow-glow:          0 0 40px rgba(139,92,246,0.2), 0 0 80px rgba(139,92,246,0.08);
  --font-display:         'Outfit', sans-serif;
  --font-body:            'Inter', sans-serif;
}

/* ── GLOBAL RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: var(--void) !important;
  background-image:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(100,80,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 0%,  rgba(139,92,246,0.25) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 85%, rgba(229,9,20,0.1)    0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 0%  90%, rgba(0,210,255,0.07)  0%, transparent 55%),
    linear-gradient(180deg, #02010a 0%, #08051e 50%, #02010a 100%) !important;
  background-attachment: fixed !important;
  color: var(--text-primary) !important;
  font-family: var(--font-display);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Fine grid noise overlay */
body::before {
  content: '';
  position: fixed;
  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: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Vignette overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

#fondo1 {
  background: none !important;
  padding: 70px 0 40px;
  position: relative;
  z-index: 2;
}

/* ── GLASSMORPHIC CARD ─────────────────────────────────────────────── */
.premium-card {
  background: var(--panel-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 35px;
  transition: transform 0.5s var(--transition-spring), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.2);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* Holographic shimmer stripe */
.premium-card--holo::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
  animation: holo-shimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes holo-shimmer {
  0%   { left: -100%; }
  60%  { left: 160%;  }
  100% { left: 160%;  }
}

/* ── SECTION TITLE ─────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 40%, #a78bfa 70%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.15;
}

.section-title::before { display: none !important; }

.section-title::after {
  content: '' !important;
  display: block !important;
  position: static !important;
  width: 70px !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--netflix-red), var(--accent-violet), var(--prime-cyan)) !important;
  margin: 14px auto 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 0 16px rgba(139,92,246,0.7) !important;
  opacity: 1 !important;
}

/* ── NAVIGATION BAR ────────────────────────────────────────────────── */
.navbar {
  background: rgba(5,3,15,0.8) !important;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(139,92,246,0.12);
  padding: 18px 50px !important;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 0 60px rgba(139,92,246,0.05);
}

.navbar .links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.navbar .links .link {
  color: var(--text-secondary) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 50px;
  transition: all 0.3s var(--transition-spring);
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.navbar .links .link:hover,
.navbar .links .link.active {
  color: var(--text-primary) !important;
  background: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.25);
  box-shadow: 0 0 20px rgba(139,92,246,0.1);
}

/* Logo */
.logo img {
  max-height: 48px !important;
  width: auto;
  transition: transform 0.4s var(--transition-spring), filter 0.4s;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}

.logo img:hover {
  transform: scale(1.08) rotate(-1.5deg);
  filter: drop-shadow(0 6px 20px rgba(139,92,246,0.4));
}

/* ── LOGIN PAGE ────────────────────────────────────────────────────── */

/* Animated background orbs */
.login-bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  top: -10%; left: -5%;
  animation-duration: 14s;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(229,9,20,0.12) 0%, transparent 70%);
  bottom: -5%; right: 5%;
  animation-duration: 10s;
  animation-direction: alternate-reverse;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,210,255,0.1) 0%, transparent 70%);
  top: 50%; left: 60%;
  animation-duration: 16s;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(-15px, 25px) scale(0.95); }
}

/* Login Card */
.login-card {
  background: rgba(8, 5, 24, 0.82) !important;
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(140%) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(140%) !important;
  border: 1px solid rgba(139,92,246,0.2) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.9),
    0 0 60px rgba(139,92,246,0.15),
    inset 0 0 40px rgba(255,255,255,0.015) !important;
  position: relative;
  overflow: hidden;
  z-index: 10;
  animation: card-appear 0.8s var(--transition-spring) both;
}

@keyframes card-appear {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Gradient top bar */
.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--netflix-red) 0%, var(--accent-violet) 40%, var(--prime-cyan) 70%, var(--accent-pink) 100%);
  box-shadow: 0 0 20px rgba(139,92,246,0.6);
}

/* Holographic corner glow */
.login-card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Login Logo Sphere */
.login-logo-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(139,92,246,0.15) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(139,92,246,0.2);
  box-shadow:
    0 25px 50px -10px rgba(0,0,0,0.8),
    0 0 50px rgba(139,92,246,0.2),
    inset 0 0 25px rgba(255,255,255,0.05);
  padding: 18px;
  margin-bottom: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: logo-float 7s ease-in-out infinite;
  position: relative;
}

.login-logo-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(139,92,246,0.5),
    rgba(236,72,153,0.3),
    rgba(0,210,255,0.3),
    rgba(139,92,246,0.5)
  );
  z-index: -1;
  animation: conic-spin 8s linear infinite;
  opacity: 0.6;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(0.5deg); }
  66%       { transform: translateY(-5px) rotate(-0.3deg); }
}

@keyframes conic-spin {
  to { transform: rotate(360deg); }
}

/* Secure Portal Badge */
.login-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(99,102,241,0.1));
  border: 1px solid rgba(139,92,246,0.3);
  color: #c084fc;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(139,92,246,0.15), 0 0 30px rgba(139,92,246,0.08);
  animation: badge-glow 3s ease-in-out infinite alternate;
}

@keyframes badge-glow {
  from { box-shadow: 0 4px 15px rgba(139,92,246,0.15); }
  to   { box-shadow: 0 4px 25px rgba(139,92,246,0.35), 0 0 40px rgba(139,92,246,0.12); }
}

/* ── INPUTS ────────────────────────────────────────────────────────── */
.input-premium {
  width: 100%;
  padding: 15px 22px;
  background: rgba(5,3,18,0.6);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-display);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
  font-weight: 500;
}

.input-premium:focus {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.12), 0 0 30px rgba(139,92,246,0.18);
  background: rgba(5,3,18,0.8);
}

.input-premium::placeholder { color: var(--text-muted); }

.label-premium {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 9px;
  display: block;
  letter-spacing: 0.6px;
}

.form-group-premium { position: relative; margin-bottom: 26px; }

/* Input with icon */
.input-wrapper-icon { position: relative; display: flex; align-items: center; }

.input-field-icon {
  position: absolute;
  left: 18px;
  color: var(--text-muted);
  font-size: 17px;
  pointer-events: none;
  transition: color 0.3s;
}

.input-with-icon { padding-left: 52px !important; }

.input-wrapper-icon:focus-within .input-field-icon { color: var(--accent-violet); }

/* ── BUTTONS ───────────────────────────────────────────────────────── */
.btn-premium {
  padding: 14px 30px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.35s var(--transition-spring);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  text-decoration: none !important;
  letter-spacing: 0.4px;
  position: relative;
  overflow: hidden;
}

/* Shine sweep on hover */
.btn-premium::after {
  content: '';
  position: absolute;
  top: -50%; left: -70%;
  width: 40%; height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.22), transparent);
  transform: rotate(20deg);
  transition: none;
}

.btn-premium:hover::after {
  left: 140%;
  transition: left 0.7s ease;
}

/* Primary */
.btn-premium-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #7c3aed 100%);
  border-color: rgba(139,92,246,0.3);
  color: white;
  box-shadow: 0 8px 30px rgba(139,92,246,0.3), 0 2px 8px rgba(0,0,0,0.4);
}

.btn-premium-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(139,92,246,0.5), 0 4px 15px rgba(0,0,0,0.5);
}

/* Success */
.btn-premium-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 60%, #047857 100%);
  border-color: rgba(16,185,129,0.3);
  color: white;
  box-shadow: 0 8px 30px rgba(16,185,129,0.25);
}

.btn-premium-success:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(16,185,129,0.45);
}

/* Danger */
.btn-premium-danger {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border-color: rgba(239,68,68,0.3);
  color: white;
  box-shadow: 0 8px 25px rgba(239,68,68,0.25);
}

.btn-premium-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(239,68,68,0.4);
}

/* ── PLATFORM SIDEBAR CARDS ────────────────────────────────────────── */
.platform-sidebar { display: flex; flex-direction: column; gap: 14px; }

.platform-btn {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.05);
  text-decoration: none !important;
  transition: all 0.45s var(--transition-spring);
  position: relative;
  overflow: hidden;
}

/* Gloss overlay */
.platform-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

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

.platform-btn:hover {
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4), inset 0 0 20px rgba(255,255,255,0.02);
}

/* Active brand states */
.platform-btn.active-netflix {
  border-color: rgba(229,9,20,0.5);
  background: rgba(229,9,20,0.06);
  box-shadow: 0 8px 30px rgba(229,9,20,0.12), inset 0 0 20px rgba(229,9,20,0.05);
}
.platform-btn.active-disney {
  border-color: rgba(13,154,255,0.5);
  background: rgba(13,154,255,0.06);
  box-shadow: 0 8px 30px rgba(13,154,255,0.12), inset 0 0 20px rgba(13,154,255,0.05);
}
.platform-btn.active-prime {
  border-color: rgba(0,210,255,0.5);
  background: rgba(0,210,255,0.06);
  box-shadow: 0 8px 30px rgba(0,210,255,0.12), inset 0 0 20px rgba(0,210,255,0.05);
}
.platform-btn.active-crunchyroll {
  border-color: rgba(244,117,33,0.5);
  background: rgba(244,117,33,0.06);
  box-shadow: 0 8px 30px rgba(244,117,33,0.12), inset 0 0 20px rgba(244,117,33,0.05);
}
.platform-btn.active-max {
  border-color: rgba(124,58,237,0.5);
  background: rgba(124,58,237,0.06);
  box-shadow: 0 8px 30px rgba(124,58,237,0.12), inset 0 0 20px rgba(124,58,237,0.05);
}

.platform-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
}

.platform-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.platform-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.platform-icon {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.4s var(--transition-spring), box-shadow 0.4s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.platform-btn:hover .platform-icon {
  transform: scale(1.2) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* Brand Gradient Icons */
.platform-btn-netflix   .platform-icon { background: linear-gradient(135deg, #e50914, #7f1d1d); box-shadow: 0 6px 20px rgba(229,9,20,0.4); }
.platform-btn-disney    .platform-icon { background: linear-gradient(135deg, #0d9aff, #1e40af); box-shadow: 0 6px 20px rgba(13,154,255,0.4); }
.platform-btn-prime     .platform-icon { background: linear-gradient(135deg, #00d2ff, #0284c7); box-shadow: 0 6px 20px rgba(0,210,255,0.4); }
.platform-btn-crunchyroll .platform-icon { background: linear-gradient(135deg, #f47521, #92400e); box-shadow: 0 6px 20px rgba(244,117,33,0.4); }
.platform-btn-max       .platform-icon { background: linear-gradient(135deg, #7c3aed, #3b0764); box-shadow: 0 6px 20px rgba(124,58,237,0.4); }

/* ── SEARCH / EMAIL FORM ───────────────────────────────────────────── */
.search-form-card {
  max-width: 560px;
  margin: 0 auto;
}

/* ── CODE DISPLAY BOX ──────────────────────────────────────────────── */
.code-highlight-box {
  background: rgba(5,3,18,0.6);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 22px;
  padding: 32px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s;
}

.code-highlight-box:hover {
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), var(--shadow-glow);
}

.code-highlight-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px; height: 100%;
}

.code-netflix-accent::before     { background: linear-gradient(180deg, var(--netflix-red), transparent); box-shadow: 2px 0 20px rgba(229,9,20,0.5); }
.code-disney-accent::before      { background: linear-gradient(180deg, var(--disney-blue), transparent); box-shadow: 2px 0 20px rgba(13,154,255,0.5); }
.code-prime-accent::before       { background: linear-gradient(180deg, var(--prime-cyan), transparent); box-shadow: 2px 0 20px rgba(0,210,255,0.5); }
.code-crunchyroll-accent::before { background: linear-gradient(180deg, var(--crunchyroll-orange), transparent); box-shadow: 2px 0 20px rgba(244,117,33,0.5); }
.code-max-accent::before         { background: linear-gradient(180deg, var(--max-purple), transparent); box-shadow: 2px 0 20px rgba(124,58,237,0.5); }

.code-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

/* Cyber Digit Boxes Grid */
.code-digits-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
  flex-wrap: wrap;
}

.code-digit-box {
  min-width: 52px;
  height: 64px;
  background: linear-gradient(145deg, rgba(20, 15, 45, 0.9), rgba(8, 5, 24, 0.95));
  border: 1.5px solid rgba(139, 92, 246, 0.35);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', monospace;
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 
    0 10px 25px rgba(0,0,0,0.6),
    0 0 20px rgba(139, 92, 246, 0.2),
    inset 0 1px 1px rgba(255,255,255,0.15);
  transition: all 0.3s var(--transition-spring);
  position: relative;
  overflow: hidden;
  user-select: all;
}

.code-digit-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

.code-digit-box:hover {
  transform: translateY(-5px) scale(1.08);
  border-color: rgba(236, 72, 153, 0.7);
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.8),
    0 0 35px rgba(236, 72, 153, 0.4);
}

/* Radial Timer Ring */
.timer-radial-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 7, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 6px 18px 6px 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.timer-svg-ring {
  width: 32px;
  height: 32px;
  transform: rotate(-90deg);
}

.timer-svg-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3.5;
}

.timer-svg-circle-progress {
  fill: none;
  stroke: #8b5cf6;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 88;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke 0.5s ease;
}

/* Customer Copy Button (WhatsApp Format) */
.btn-copy-client {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: all 0.3s var(--transition-spring);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-copy-client:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

/* Radar scanning overlay loader */
.radar-scan-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 18, 0.92);
  backdrop-filter: blur(16px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  animation: fade-in-scale 0.3s ease-out;
}

.radar-spinner-ring {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-top-color: #8b5cf6;
  border-right-color: #ec4899;
  animation: spin 0.9s linear infinite;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
  margin-bottom: 16px;
}

.btn-copy-code {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s var(--transition-spring);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
}

.btn-copy-code:hover {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.3);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(139,92,246,0.15);
  color: #c084fc;
}

/* ── EMAIL MOCKUP ──────────────────────────────────────────────────── */
.email-client-mockup {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  background: #0a0820;
  margin-top: 28px;
}

.email-header-mock {
  background: rgba(255,255,255,0.02);
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.email-meta-line { font-size: 13.5px; color: var(--text-secondary); }
.email-meta-line strong { color: var(--text-primary); }

.email-body-iframe {
  width: 100%;
  height: 540px;
  border: none;
  background: #fff;
}

/* ── ALERTS ────────────────────────────────────────────────────────── */
.alert-premium-danger {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  color: #fca5a5;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(239,68,68,0.06);
}

.alert-premium-info {
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.2);
  color: #d8b4fe;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 14.5px;
  font-weight: 500;
}

.alert-premium-success {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  color: #6ee7b7;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(16,185,129,0.06);
}

/* ── WELCOME / DASHBOARD AREA ──────────────────────────────────────── */
.welcome-container {
  padding: 45px 28px;
  text-align: center;
}

.welcome-logo {
  max-width: 200px;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 25px rgba(139,92,246,0.4));
  animation: logo-float 7s ease-in-out infinite;
}

.welcome-robot {
  max-width: 300px;
  margin-top: 20px;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.6));
  transition: transform 0.5s var(--transition-spring);
}

.welcome-robot:hover {
  transform: translateY(-12px) rotate(4deg) scale(1.03);
}

.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 40%, #f472b6 80%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

/* ── SPINNER / LOADER ──────────────────────────────────────────────── */
.premium-spinner {
  width: 52px; height: 52px;
  border: 3px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  border-top-color: var(--accent-violet);
  border-right-color: rgba(139,92,246,0.4);
  animation: spin 1s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
  margin: 35px auto;
  box-shadow: 0 0 20px rgba(139,92,246,0.2);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── TOAST NOTIFICATION ────────────────────────────────────────────── */
.toast-premium {
  position: fixed;
  bottom: 28px; right: 28px;
  background: rgba(8,5,24,0.97);
  border: 1px solid rgba(139,92,246,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 30px rgba(139,92,246,0.15);
  color: #fff;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px) scale(0.95);
  opacity: 0;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.4s var(--transition-spring);
  font-family: var(--font-display);
}

.toast-premium.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ── ANIMATIONS ────────────────────────────────────────────────────── */
@keyframes premium-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-scale {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.email-result-card, .search-form-card {
  animation: fade-in-up 0.55s var(--transition-spring) both;
}

/* ── PORTAL FOOTER ─────────────────────────────────────────────────── */
.portal-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(3,2,10,0.9);
  backdrop-filter: blur(12px);
  padding: 20px;
}

/* ── ADMIN TABLE ───────────────────────────────────────────────────── */
table { color: var(--text-primary) !important; }

.table-dark,
.table-dark > * { background: transparent !important; }

thead th {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  border-bottom-color: rgba(255,255,255,0.06) !important;
  padding: 14px 16px !important;
}

tbody td {
  font-size: 13.5px !important;
  color: var(--text-secondary) !important;
  border-bottom-color: rgba(255,255,255,0.04) !important;
  padding: 13px 16px !important;
  vertical-align: middle !important;
}

tbody tr { transition: background 0.2s; }

tbody tr:hover { background: rgba(139,92,246,0.04) !important; }

/* ── MOBILE NAVBAR ─────────────────────────────────────────────────── */
.menu-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hamburger {
  display: none;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.hamburger:hover {
  background: rgba(139,92,246,0.2);
  box-shadow: 0 0 20px rgba(139,92,246,0.2);
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px 20px !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hamburger { display: block; }

  .navbar .links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0 8px;
    gap: 4px;
  }

  .navbar.active .links { display: flex; }

  .navbar .links .link {
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 15px;
  }

  .platform-sidebar { flex-direction: row; overflow-x: auto; gap: 10px; padding-bottom: 8px; }
  .platform-btn { min-width: 160px; }
  .code-number { font-size: 2.5rem; letter-spacing: 5px; }
}

/* ── STAT BADGES (ADMIN PANEL) ─────────────────────────────────────── */
.stat-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.15);
  padding: 12px 20px;
  border-radius: 16px;
  transition: all 0.3s;
}

.stat-badge:hover {
  background: rgba(139,92,246,0.12);
  box-shadow: 0 8px 25px rgba(139,92,246,0.1);
}

/* ── SCROLLBAR ─────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,0.55); }

/* ── UTILITY ───────────────────────────────────────────────────────── */
.text-primary-custom { color: var(--text-primary) !important; }
.text-secondary-custom { color: var(--text-secondary) !important; }
.border-glow { border-color: var(--panel-border-glow) !important; }

/* Renew dropdown */
.renew-dropdown-wrapper { position: relative; display: inline-block; }
.renew-menu {
  display: none;
  position: absolute;
  right: 0; top: 110%;
  background: rgba(10,7,28,0.98);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--radius-md);
  padding: 12px;
  min-width: 230px;
  z-index: 500;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 30px rgba(139,92,246,0.1);
  animation: fade-in-scale 0.25s var(--transition-spring) both;
}
