/* ═══════════════════════════════════════════════════════════════
   FLIXHUB NEXT-GEN ULTRA-FUTURISTIC CYBERPUNK STYLING & ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-deep: #050508;
  --bg-main: #090A10;
  --bg-card: rgba(16, 17, 26, 0.85);
  --bg-card-hover: rgba(23, 24, 38, 0.95);
  --bg-input: rgba(12, 13, 20, 0.9);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(229, 9, 20, 0.4);
  --border-cyan: rgba(0, 240, 255, 0.4);
  
  --red-primary: #E50914;
  --red-hover: #FF1E27;
  --red-dark: #A8060E;
  --red-glow: rgba(229, 9, 20, 0.45);
  
  --cyan-neon: #00F0FF;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --purple-neon: #9D00FF;
  --purple-glow: rgba(157, 0, 255, 0.35);
  --emerald-neon: #00FF9D;
  
  --text-white: #FFFFFF;
  --text-dim: #94A3B8;
  --text-muted: #64748B;
}

* {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

code, kbd, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace !important;
}

.font-cyber {
  font-family: 'Space Grotesk', sans-serif !important;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-white);
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(229, 9, 20, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(157, 0, 255, 0.05) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  background-attachment: fixed;
}

/* Custom Futuristic Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #08080C;
}
::-webkit-scrollbar-thumb {
  background: #1F2232;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.05);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-primary);
  box-shadow: 0 0 10px var(--red-primary);
}

/* ═══════════════════════════════════════════════════════════════
   ULTRA-FUTURISTIC GLASSMORPHIC CARDS
   ═══════════════════════════════════════════════════════════════ */

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  box-shadow: 
    0 10px 30px -10px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.glass-card:hover {
  border-color: rgba(229, 9, 20, 0.35);
  box-shadow: 
    0 14px 40px -8px rgba(0, 0, 0, 0.8),
    0 0 25px -5px rgba(229, 9, 20, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

/* Cyber Glow Utilities */
.red-glow-box {
  box-shadow: 0 0 40px -5px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.1) !important;
}
.red-glow-sm {
  box-shadow: 0 0 18px -2px var(--red-glow) !important;
}
.red-glow-text {
  text-shadow: 0 0 16px var(--red-glow);
}
.cyan-glow-text {
  text-shadow: 0 0 14px var(--cyan-glow);
}

/* ═══════════════════════════════════════════════════════════════
   FUTURISTIC FORM INPUTS
   ═══════════════════════════════════════════════════════════════ */

.dark-input {
  background-color: var(--bg-input) !important;
  border: 1px solid var(--border-subtle) !important;
  color: #FFFFFF !important;
  border-radius: 0.85rem !important;
  padding: 0.85rem 1.15rem !important;
  font-size: 0.95rem !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s ease !important;
}

.dark-input:focus {
  outline: none !important;
  border-color: var(--red-primary) !important;
  box-shadow: 
    0 0 0 3px rgba(229, 9, 20, 0.2),
    0 0 20px -3px rgba(229, 9, 20, 0.35),
    inset 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  background-color: #12131F !important;
}

.dark-input::placeholder {
  color: #475569 !important;
}

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

.btn-red-primary {
  background: linear-gradient(135deg, #FF1E27 0%, #E50914 50%, #B80710 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 0.85rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 6px 22px -4px var(--red-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-red-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 
    0 8px 30px -2px rgba(229, 9, 20, 0.65),
    0 0 15px rgba(255, 30, 39, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-red-primary:active {
  transform: translateY(0) scale(0.985);
}

.btn-dark-secondary {
  background: rgba(24, 25, 38, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  color: #CBD5E1;
  font-weight: 600;
  border-radius: 0.85rem;
  padding: 0.75rem 1.25rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-dark-secondary:hover {
  background: rgba(34, 36, 54, 0.95);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   CYBER RADAR PULSE & LIVE INDICATORS
   ═══════════════════════════════════════════════════════════════ */

@keyframes cyber-radar {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(229, 9, 20, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

.pulse-red {
  animation: cyber-radar 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

/* ═══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS (CYBERPUNK FLOATING HUD)
   ═══════════════════════════════════════════════════════════════ */

#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(15, 16, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 0.95rem 1.35rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 
    0 12px 35px -5px rgba(0, 0, 0, 0.8),
    0 0 20px -3px rgba(229, 9, 20, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 440px;
  animation: toast-entrance 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--red-primary);
}

.toast-success {
  border-left-color: var(--emerald-neon);
  box-shadow: 0 12px 35px -5px rgba(0,0,0,0.8), 0 0 20px -3px rgba(0,255,157,0.3);
}

.toast-error {
  border-left-color: #EF4444;
  box-shadow: 0 12px 35px -5px rgba(0,0,0,0.8), 0 0 20px -3px rgba(239,68,68,0.4);
}

.toast-info {
  border-left-color: var(--cyan-neon);
  box-shadow: 0 12px 35px -5px rgba(0,0,0,0.8), 0 0 20px -3px rgba(0,240,255,0.35);
}

@keyframes toast-entrance {
  from { opacity: 0; transform: translateY(20px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════════════
   FULL-SCREEN CYBERPUNK REVOKE & PROTOCOL HUD ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

@keyframes cyber-scanline {
  0% { transform: translateY(-100vh); opacity: 0.8; }
  50% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0.8; }
}

@keyframes cyber-rotate-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes cyber-rotate-ccw {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes cyber-pulse-neon {
  0%, 100% {
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.6), inset 0 0 15px rgba(229, 9, 20, 0.4);
    border-color: rgba(229, 9, 20, 0.9);
  }
  50% {
    box-shadow: 0 0 55px rgba(229, 9, 20, 0.9), inset 0 0 30px rgba(229, 9, 20, 0.7);
    border-color: rgba(255, 60, 70, 1);
  }
}

@keyframes cyber-flicker {
  0%, 100% { opacity: 1; }
  41% { opacity: 1; }
  42% { opacity: 0.3; }
  43% { opacity: 1; }
  48% { opacity: 1; }
  49% { opacity: 0.4; }
  50% { opacity: 1; }
  82% { opacity: 1; }
  83% { opacity: 0.6; }
  84% { opacity: 1; }
}

.cyber-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.8), #FFFFFF, rgba(229, 9, 20, 0.8), transparent);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.9), 0 0 40px rgba(229, 9, 20, 0.6);
  animation: cyber-scanline 3s linear infinite;
  pointer-events: none;
  z-index: 10;
}

.cyber-grid-overlay {
  background-image: 
    linear-gradient(rgba(229, 9, 20, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 9, 20, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cyber-rotate-fast {
  animation: cyber-rotate-cw 4s linear infinite;
}

.cyber-rotate-slow-rev {
  animation: cyber-rotate-ccw 8s linear infinite;
}

.cyber-pulse-red {
  animation: cyber-pulse-neon 1.8s ease-in-out infinite;
}

.cyber-flicker-text {
  animation: cyber-flicker 4s infinite;
}

.cyber-hud-corner {
  position: relative;
}
.cyber-hud-corner::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 14px;
  height: 14px;
  border-top: 2px solid #E50914;
  border-left: 2px solid #E50914;
}
.cyber-hud-corner::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid #E50914;
  border-right: 2px solid #E50914;
}

/* ═══════════════════════════════════════════════════════════════ */
/* GOOGLE TRANSLATE ENGINE CLEANUP & DARK HUD INTEGRATION */
/* ═══════════════════════════════════════════════════════════════ */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0px !important;
}

.skiptranslate:not(.lang-selector-container *) {
  display: none !important;
}

.goog-tooltip {
  display: none !important;
}

.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.email-copy-address { overflow-wrap: anywhere; }
.email-copy-button { display: inline-block; margin-right: .4rem; padding: .1rem .35rem; border: 1px solid #475569; border-radius: .3rem; color: #cbd5e1; background: #171722; cursor: pointer; font: inherit; }
.email-copy-button:hover, .email-copy-button:focus-visible { color: white; border-color: #ef4444; }
#bulk-unassign-modal button:disabled { opacity: .45; cursor: not-allowed; }

/* Show the supplied square logo's artwork within the compact header. */
.dollarflix-logo { display: block; position: relative; width: 122px; height: 44px; overflow: hidden; flex-shrink: 0; mix-blend-mode: screen; }
.dollarflix-logo img { position: absolute; width: 140px; height: 140px; max-width: none; top: -48px; left: -9px; }
.dollarflix-logo:focus-visible { outline: 2px solid #ef4444; outline-offset: 3px; }
@media (min-width: 640px) {
  .dollarflix-logo { width: 156px; height: 56px; }
  .dollarflix-logo img { width: 180px; height: 180px; top: -61px; left: -12px; }
}

/* Reseller shop and account type selection */
.wallet-shop{padding:28px;border:1px solid #ffffff14;border-radius:22px;background:#101017;color:#f5f5f7}
.wallet-shop-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.shop-eyebrow{font-size:10px;letter-spacing:.16em;color:#f87171;font-weight:700}.wallet-shop h2{font-size:24px;font-weight:750;margin:6px 0}.wallet-shop-header p,.shop-note{font-size:13px;color:#9ca3af}.wallet-badge{min-width:220px;padding:18px 20px;background:#181820;border:1px solid #ffffff0f;border-radius:16px;display:grid;gap:7px}.wallet-badge>span{font-size:11px;color:#9ca3af}.wallet-badge>strong{font-size:28px;line-height:1.2}.wallet-topup{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:6px;padding:9px 14px;border-radius:9px;background:#ffffff0c;font-size:12px;font-weight:600}.wallet-topup:hover{background:#ffffff18}.shop-tiers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.shop-tier{padding:15px 12px;border:1px solid #ffffff12;border-radius:12px;background:#15151e;display:grid;gap:7px}.shop-tier>span{font-size:11px;color:#a1a1aa}.shop-tier>strong{font-size:23px}.shop-tier small{font-size:10px;font-weight:400;color:#9ca3af}.shop-tier.is-selected{border-color:#f8717180;background:#ef44440d}.shop-note{margin:12px 0 22px;font-size:11px}.shop-order-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;border-top:1px solid #ffffff10;padding-top:22px}.shop-order-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-content:start}.shop-order-form label{font-size:12px;display:grid;gap:8px}.shop-order-form input{width:100%;min-width:0}.shop-order-form button{grid-column:1/-1;padding:12px}.shop-summary{display:grid;align-content:center;gap:7px;background:#ffffff03;border-radius:12px;padding:18px}.shop-summary>span{font-size:12px;color:#a1a1aa}.shop-summary>strong{font-size:30px}.shop-confirmation{margin-top:20px;padding:20px;background:#1c1920;border:1px solid #f8717140;border-radius:14px}.shop-confirmation[hidden]{display:none}.shop-confirmation h3{font-weight:700;margin-bottom:8px}.shop-confirmation p{font-size:13px;color:#d1d5db}.shop-confirm-actions{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}.shop-confirm-actions button{padding:10px 18px}.shop-status{font-size:13px;color:#a1a1aa;margin-top:16px}.shop-status:empty{display:none}.shop-status[data-kind="error"]{color:#fca5a5}.shop-status[data-kind="success"]{color:#6ee7b7}.shop-history{border-top:1px solid #ffffff10;margin-top:22px;padding-top:16px;font-size:12px;color:#9ca3af}.shop-history summary{cursor:pointer}.wallet-shop button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.signup-types legend{font-size:12px;font-weight:600;margin-bottom:10px}.signup-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.signup-type-grid label{position:relative;cursor:pointer}.signup-type-grid input{position:absolute;top:14px;left:12px;accent-color:#ef4444}.signup-type-grid label>span{display:block;border:1px solid #ffffff20;border-radius:12px;padding:12px 10px 12px 32px;height:100%}.signup-type-grid strong{display:block;font-size:13px}.signup-type-grid small{display:block;font-size:10px;color:#9ca3af;margin-top:4px}.signup-type-grid input:checked+span{border-color:#f87171;background:#ef444410}.signup-type-grid input:focus-visible+span{outline:2px solid white;outline-offset:3px}
@media(max-width:640px){.wallet-shop{padding:18px}.wallet-shop-header{align-items:stretch;flex-direction:column}.wallet-badge{min-width:0}.shop-tiers{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-tier:last-child{grid-column:1/-1}.shop-order-layout{grid-template-columns:1fr;gap:16px}.wallet-shop h2{font-size:22px}}
