/**
 * AI Skill (aiskill.works) - Next-Gen Ultra-Premium Design System
 * Aesthetic: Obsidian Void, Razor Glassmorphism, 3D Gold & Robotic Laser Cyan
 * Ergonomics: Mobile-First, Touch-Optimized, Centered Grid, Instant Transparent Vector Graphics
 */

/* ================= 1. DESIGN TOKENS & CSS VARIABLES ================= */
:root {
  /* Surface & Base Palette */
  --ai-void: #07080D;
  --ai-void-deep: #05060A;
  --ai-card-surface: rgba(13, 17, 28, 0.84);
  --ai-card-solid: #0D111C;
  --ai-glass-border: rgba(255, 255, 255, 0.09);
  --ai-glass-specular: rgba(255, 255, 255, 0.15);

  /* Elite Metallic Champagne Gold */
  --ai-gold-prime: #D4AF37;
  --ai-gold-light: #FFF4D6;
  --ai-gold-soft: #F5D38A;
  --ai-gold-rich: #E5B24E;
  --ai-gold-deep: #9E7418;
  --ai-gold-glow: rgba(212, 175, 55, 0.28);
  --ai-gold-border: rgba(212, 175, 55, 0.3);

  /* Cybernetic AI Laser & Synapse Palette */
  --ai-cyan-bright: #00F2FE;
  --ai-cyan-glow: rgba(0, 242, 254, 0.35);
  --ai-indigo-bright: #6366F1;
  --ai-indigo-glow: rgba(99, 102, 241, 0.25);
  --ai-emerald-bright: #10B981;
  --ai-emerald-glow: rgba(16, 185, 129, 0.3);

  /* Typography & Neutral Shades */
  --ai-text-primary: #FFFFFF;
  --ai-text-secondary: #CBD5E1;
  --ai-text-muted: #8492A6;
  --ai-text-faint: #475569;

  /* Input Surfaces */
  --ai-input-bg: rgba(10, 14, 26, 0.88);
  --ai-input-border: rgba(148, 188, 235, 0.44);
  --ai-input-focus-border: #00F2FE;

  /* Typography Hierarchy */
  --ai-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ai-font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

/* ================= 2. GLOBAL RESET & BASE STYLING ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  max-width: 100vw;
  height: 100%;
  overflow-x: hidden;
  color-scheme: dark;
}

body {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  background-color: var(--ai-void);
  background-image: 
    radial-gradient(ellipse 90% 60% at 50% -12%, rgba(99, 102, 241, 0.24) 0%, transparent 60%),
    radial-gradient(circle at 88% 82%, rgba(0, 242, 254, 0.12) 0%, transparent 48%),
    radial-gradient(circle at 12% 78%, rgba(212, 175, 55, 0.10) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, var(--ai-void) 0%, #070912 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 46px 46px, 46px 46px, 100% 100%;
  background-attachment: fixed;
  color: var(--ai-text-primary);
  font-family: var(--ai-font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color-scheme: dark;
}

/* ================= 3. ATMOSPHERIC CANVAS & AI ROBOT WATERMARK ================= */
#aiNeuralCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.ai-bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% 38%, rgba(0, 242, 254, 0.07) 0%, rgba(99, 102, 241, 0.045) 38%, transparent 72%),
    radial-gradient(ellipse 65% 45% at 50% 95%, rgba(212, 175, 55, 0.05) 0%, transparent 68%);
}

.ai-bg-robot {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: min(850px, 120vw);
  height: min(850px, 120vw);
  pointer-events: none;
  z-index: 1;
  opacity: 0.38;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 65px rgba(0, 242, 254, 0.24));
  animation: aiRobotAmbientPulse 10s ease-in-out infinite alternate;
}

@keyframes aiRobotAmbientPulse {
  0% {
    transform: translate(-50%, -46%) scale(1);
    opacity: 0.32;
  }
  100% {
    transform: translate(-50%, -48%) scale(1.03);
    opacity: 0.42;
  }
}

/* ================= 4. TOP TICKER TICKER / ANNOUNCEMENT BAR ================= */
.ai-ticker-bar {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  background: #070A14;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  z-index: 50;
  height: 28px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.ai-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 100%;
  background: linear-gradient(90deg, #070A14 0%, #0C1222 100%);
  border-right: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 6px 0 14px rgba(7, 10, 20, 0.95);
  font-size: 10px;
  font-weight: 850;
  color: #38BDF8;
  letter-spacing: 0.6px;
  flex-shrink: 0;
  z-index: 10;
  position: relative;
  white-space: nowrap;
}

.ai-ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: aiPulseBeacon 1.5s infinite;
}

.ai-ticker-track-wrap {
  flex: 1;
  min-width: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
}

/* Smooth Motion */
.ai-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: aiTickerRoll 22s linear infinite;
  will-change: transform;
}

.ai-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes aiTickerRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ai-ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ai-tick-star {
  color: #38BDF8;
  font-size: 9px;
  opacity: 0.8;
}

.ai-tick-cyan {
  color: #38BDF8;
  font-weight: 800;
}

.ai-tick-emerald {
  color: #34D399;
  font-weight: 800;
}

.ai-tick-blue {
  color: #818CF8;
  font-weight: 800;
}

.ai-tick-gold {
  color: #FBBF24;
  font-weight: 800;
}

.ai-tick-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 8px;
}

@keyframes aiPulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ================= 5. MAIN CONTENT SHELL & BRAND LOGO ================= */
.ai-shell,
.ai-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  min-width: 0;
  padding: 24px 16px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  margin: 0 auto;
}

.ai-brand,
.ai-brand-header {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ai-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 100%;
  background: transparent;
}

.ai-logo-wrap:hover {
  transform: translateY(-2px) scale(1.02);
}

.ai-logo-glow {
  display: none; /* Removed to ensure zero square boundary artifact */
}

.ai-logo {
  display: block;
  max-width: 100%;
  width: 350px;
  height: auto;
  background: transparent;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.ai-brand-tagline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ai-text-muted);
}

/* ================= 6. AUTHENTICATION CARD ================= */
.ai-card {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: var(--ai-card-surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--ai-glass-border);
  border-radius: 24px;
  padding: 24px 22px 26px;
  box-shadow: 
    inset 0 1px 1px var(--ai-glass-specular),
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 0 45px rgba(99, 102, 241, 0.08);
}

/* Subtle Top Rim Light */
.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  pointer-events: none;
}

/* ================= 7. TWO DISTINCT EXECUTIVE LOGIN & REGISTER BUTTONS (ZERO FADED SWITCH LOOK) ================= */
.ai-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 18px;
  box-sizing: border-box;
  width: 100%;
}

.ai-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.25px;
  color: #FFFFFF;
  transition: transform 0.14s ease, box-shadow 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.ai-tab:active {
  transform: translateY(1.5px);
}

.ai-tab .material-icons-round {
  font-size: 18px;
  color: inherit;
}

/* Login Button: Crisp Royal Sapphire-Cyan (Always Solid & Readable, Never Faded!) */
#tabLogin.ai-tab {
  background: linear-gradient(180deg, #162B54 0%, #0E1D3B 100%);
  border: 1.5px solid #38BDF8;
  color: #E0F2FE;
  box-shadow: 0 3px 0 #082F49, inset 0 1px 0 rgba(186, 230, 253, 0.28);
}
#tabLogin.ai-tab.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 52%, #1D4ED8 100%);
  border: 1.6px solid #BAE6FD;
  box-shadow: 0 3.5px 0 #1E3A8A, 0 8px 20px rgba(14, 165, 233, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Register Button: Crisp Emerald-Cyan (Always Solid & Readable, Never Faded!) */
#tabRegister.ai-tab {
  background: linear-gradient(180deg, #0E342D 0%, #08201C 100%);
  border: 1.5px solid #34D399;
  color: #D1FAE5;
  box-shadow: 0 3px 0 #022C22, inset 0 1px 0 rgba(167, 243, 208, 0.28);
}
#tabRegister.ai-tab.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, #10B981 0%, #059669 52%, #0284C7 100%);
  border: 1.6px solid #A7F3D0;
  box-shadow: 0 3.5px 0 #064E3B, 0 8px 20px rgba(16, 185, 129, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Locked Non-Editable Referral Code Input Styling */
.ai-ref-locked-wrap {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(52, 211, 153, 0.55) !important;
  pointer-events: none;
  user-select: none;
}
.ai-ref-locked-wrap .material-icons-round {
  color: #34D399 !important;
}
.ai-ref-locked-wrap input {
  color: #6EE7B7 !important;
  font-weight: 900 !important;
  letter-spacing: 0.8px;
}

.ai-tab.active .material-icons-round {
  color: #FFFFFF;
  font-weight: 900;
}

/* Standalone Bottom Page Switch CTA (Login -> Create New Account | Register -> Login to Account) */
.ai-auth-switch-bar {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.ai-auth-switch-bar > span {
  font-size: 12.2px;
  font-weight: 750;
  color: #94A3B8;
}
.ai-auth-switch-btn {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.45px;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.14s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.ai-auth-switch-btn .material-icons-round {
  font-size: 18px;
}
.ai-auth-switch-btn:hover {
  transform: translateY(-1.5px);
  filter: brightness(1.06);
}
.ai-auth-switch-btn:active {
  transform: translateY(1.5px);
}
.ai-auth-switch-btn.switch-to-reg {
  background: linear-gradient(135deg, #10B981 0%, #059669 50%, #0284C7 100%);
  border: 1.5px solid rgba(167, 243, 208, 0.78);
  color: #FFFFFF;
  box-shadow:
    0 3.5px 0 #064E3B,
    0 10px 22px rgba(16, 185, 129, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.ai-auth-switch-btn.switch-to-login {
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 50%, #1D4ED8 100%);
  border: 1.5px solid rgba(186, 230, 253, 0.78);
  color: #FFFFFF;
  box-shadow:
    0 3.5px 0 #1E3A8A,
    0 10px 22px rgba(14, 165, 233, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* ================= 8. CENTERED NATURAL CARD HEADER ================= */
/* User requested: Title centered in the middle, small sleek badge centered like logo pill, natural and spacious */
.ai-card-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.ai-card-header h2,
.ai-header-title {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  margin: 0 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  background: linear-gradient(135deg, #FFFFFF 20%, #E0F7FA 52%, #00F2FE 82%, #38BDF8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 12px rgba(0, 242, 254, 0.35)) drop-shadow(0 4px 18px rgba(0, 0, 0, 0.7)) !important;
}

.ai-badge-welcome {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4.5px !important;
  padding: 1.5px 7px !important;
  border-radius: 999px !important;
  background: rgba(4, 18, 30, 0.92) !important;
  border: 1px solid rgba(0, 242, 254, 0.38) !important;
  font-size: 8px !important;
  font-weight: 850 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #00F2FE !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.22) !important;
}

.ai-badge-welcome.ai-badge-cyan {
  border-color: rgba(0, 242, 254, 0.5) !important;
  background: rgba(3, 19, 32, 0.95) !important;
  color: #00F2FE !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3), inset 0 0 6px rgba(0, 242, 254, 0.15) !important;
}

.ai-badge-welcome.ai-badge-secure {
  border-color: rgba(16, 185, 129, 0.42) !important;
  background: rgba(4, 22, 18, 0.92) !important;
  color: #34D399 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25), inset 0 0 6px rgba(16, 185, 129, 0.12) !important;
}

.ai-badge-dot {
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: #00F2FE !important;
  box-shadow: 0 0 6px #00F2FE !important;
  flex-shrink: 0 !important;
}

.ai-badge-dot.ai-badge-dot-cyan {
  background: #00F2FE !important;
  box-shadow: 0 0 7px #00F2FE, 0 0 12px rgba(0, 242, 254, 0.6) !important;
}

.ai-badge-dot.ai-badge-dot-secure {
  background: #10B981 !important;
  box-shadow: 0 0 7px #10B981, 0 0 12px rgba(16, 185, 129, 0.5) !important;
}

.ai-lock-logo {
  width: 104px;
  height: 104px;
  display: block;
  margin: 0 auto 10px;
  filter: drop-shadow(0 10px 28px rgba(0, 242, 254, 0.3));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ai-lock-logo:hover {
  transform: translateY(-2px) scale(1.05);
}

.ai-header-desc {
  display: none;
}

/* ================= 8B. SMOOTH INSTANT TAB PANELS ================= */
.ai-auth-panel {
  animation: aiPanelFade 0.15s ease-out;
}
@keyframes aiPanelFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= 9. FORM FIELDS & MICRO-INTERACTIONS ================= */
.ai-field {
  margin-bottom: 16px;
  width: 100%;
}

.ai-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ai-text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.ai-input {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--ai-input-bg);
  border: 2px solid var(--ai-input-border);
  border-radius: 13px;
  height: 52px;
  padding: 0 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 2px 10px rgba(0, 0, 0, 0.34);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  width: 100%;
}

.ai-input .material-icons-round {
  color: var(--ai-text-muted);
  font-size: 19px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

/* Country Prefix Badge */
.ai-prefix-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  margin-right: 8px;
  font-size: 14.5px;
  font-weight: 850;
  color: var(--ai-gold-soft);
  font-family: var(--ai-font-mono);
  user-select: none;
}

.ai-prefix-bar {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.ai-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  background-color: transparent;
  background-image: none;
  color: var(--ai-text-primary);
  font-size: 14.5px;
  font-weight: 650;
  font-family: inherit;
  padding: 0 4px;
  color-scheme: dark;
  /* Delay UA autofill paint so it cannot flash white/yellow before :-webkit-autofill matches */
  transition: background-color 99999s ease-out, background-image 99999s ease-out;
}

/* Autofill must never paint white/yellow (Android Chrome / Samsung Internet / iOS Safari) */
.ai-input input:-webkit-autofill,
.ai-input input:-webkit-autofill:hover,
.ai-input input:-webkit-autofill:focus,
.ai-input input:-webkit-autofill:active,
.ai-input input:-internal-autofill-selected,
.ai-input input:autofill,
.ai-input input:autofill:hover,
.ai-input input:autofill:focus,
.ai-input input:autofill:active {
  -webkit-text-fill-color: #F1F8FF !important;
  caret-color: #7DD3FC !important;
  box-shadow: 0 0 0 1000px #091020 inset !important;
  -webkit-box-shadow: 0 0 0 1000px #091020 inset !important;
  background-color: transparent !important;
  background-image: none !important;
  transition: background-color 99999s ease-out, background-image 99999s ease-out !important;
  color-scheme: dark;
  filter: none !important;
}

.ai-input input::placeholder {
  color: var(--ai-text-faint);
  font-weight: 450;
}

/* Bold & Vibrant Focus / Typing Glow */
.ai-input:focus-within,
.ai-input.is-focused {
  border-color: var(--ai-input-focus-border);
  background: rgba(13, 17, 30, 0.96);
  box-shadow: 
    0 0 0 3.5px rgba(0, 242, 254, 0.25),
    0 0 24px rgba(0, 242, 254, 0.2);
}

.ai-input:focus-within .material-icons-round,
.ai-input.is-focused .material-icons-round {
  color: var(--ai-cyan-bright);
}

.ai-input.is-typing {
  border-color: var(--ai-cyan-bright);
  box-shadow: 
    0 0 0 3.5px rgba(0, 242, 254, 0.28),
    0 0 25px rgba(0, 242, 254, 0.22);
}

/* Compact input variant for referral box (User requested: make smaller) */
.ai-input.ai-input-compact {
  height: 36px !important;
  min-height: 36px !important;
  border-radius: 9px !important;
  padding: 0 10px !important;
  background: rgba(8, 12, 22, 0.7) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

.ai-input.ai-input-compact input {
  font-size: 12px !important;
  letter-spacing: 0.4px !important;
}

.ai-input.ai-input-compact .material-icons-round {
  font-size: 15px !important;
  color: #38BDF8 !important;
}

/* Password Visibility Toggle */
.ai-eye {
  border: 0;
  background: transparent;
  color: var(--ai-text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -2px;
  transition: color 0.15s ease, background 0.15s ease;
}

.ai-eye:hover {
  color: var(--ai-text-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* VIP Referral Box (Compact, Sleek & Subdued) */
.ai-field-referral {
  margin-bottom: 12px;
  padding: 6px 10px 8px;
  background: rgba(10, 14, 25, 0.45);
  border: 1px dashed rgba(56, 189, 248, 0.28);
  border-radius: 11px;
  box-sizing: border-box;
  width: 100%;
}

.ai-referral-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 6px;
}

.ai-referral-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #94A3B8;
}

.ai-referral-bonus {
  font-size: 9.5px;
  font-weight: 800;
  color: #34D399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.ai-locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 850;
  color: #34D399;
  background: rgba(16, 185, 129, 0.16);
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
}

/* Remember Me & Forgot Password Row (Login — tightly tucked under Password field) */
.ai-field.ai-field-pass {
  margin-bottom: 5px !important;
}

.ai-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 0 !important;
  margin-bottom: 16px;
  font-size: 12px;
  width: 100%;
}

.ai-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ai-text-secondary);
  cursor: pointer;
  user-select: none;
  font-weight: 650;
}

.ai-check input[type="checkbox"] {
  accent-color: var(--ai-gold-rich);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.ai-forgot {
  color: #EF4444;
  text-decoration: none;
  font-weight: 800;
  transition: color 0.15s ease;
}

.ai-forgot:hover {
  color: #F87171;
  text-decoration: underline;
}

/* Ultra-slim, comfortable dark-ruby glass micro-chip for Forgot Password */
.ai-forgot-link {
  font-family: 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif !important;
  font-size: 10.6px !important;
  font-weight: 750 !important;
  color: #FECACA !important;
  text-decoration: none !important;
  letter-spacing: 0.2px !important;
  height: 20px !important;
  padding: 0 8px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.24) 0%, rgba(153, 27, 27, 0.34) 100%) !important;
  border: 1px solid rgba(248, 113, 113, 0.45) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  text-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease !important;
}

.ai-forgot-link:hover {
  color: #FFFFFF !important;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.34) 0%, rgba(185, 28, 28, 0.44) 100%) !important;
  border-color: rgba(252, 165, 165, 0.68) !important;
  text-decoration: none !important;
}

.ai-forgot-link:active {
  transform: scale(0.97) !important;
}

/* Small sleek plain-text "Login Now" link directly below CREATE ACCOUNT button */
.ai-inline-auth-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 2px;
  font-size: 12.4px;
  font-weight: 650;
  color: #94A3B8;
  width: 100%;
}

.ai-inline-auth-link {
  font-family: 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif;
  color: #34D399;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0.28px;
  padding: 0;
  background: transparent;
  border: none;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.34), 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.ai-inline-auth-link:hover {
  color: #6EE7B7;
  text-decoration: underline;
  text-underline-offset: 3.5px;
  text-decoration-thickness: 1.5px;
  text-shadow: 0 0 14px rgba(52, 211, 153, 0.65);
}

/* ================= 10. BUTTONS & ACTIONS ================= */
.ai-btn {
  position: relative;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #FFF6E0 0%, #F5D38A 35%, #D4AF37 75%, #9E7418 100%);
  color: #05060A;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.85),
    inset 0 -2px 4px rgba(0, 0, 0, 0.25),
    0 10px 26px rgba(212, 175, 55, 0.38);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  user-select: none;
  box-sizing: border-box;
}

.ai-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-25deg);
  animation: aiButtonSweep 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aiButtonSweep {
  0%, 65% { left: -120%; }
  100% { left: 180%; }
}

.ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 14px 32px rgba(212, 175, 55, 0.48);
}

.ai-btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.3),
    0 4px 14px rgba(212, 175, 55, 0.28);
}

.ai-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Flagship Bold Executive Typography & Sleek Circular Arrow Pill for LOGIN & CREATE ACCOUNT */
.ai-btn.ai-btn-premium {
  gap: 11px;
  background: linear-gradient(135deg, #FFF8E6 0%, #F8DA8D 32%, #E2B63D 68%, #B48318 100%);
  border: 1.2px solid rgba(255, 248, 224, 0.65);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.92),
    inset 0 -2.5px 5px rgba(92, 58, 4, 0.32),
    0 4px 0 #7C580F,
    0 12px 28px rgba(212, 175, 55, 0.42);
}

.ai-btn.ai-btn-premium:active {
  transform: translateY(2px) scale(0.99);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.28),
    0 2px 0 #7C580F,
    0 5px 14px rgba(212, 175, 55, 0.28);
}

.ai-btn-label {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif;
  font-size: 16.2px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #070A12;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  -webkit-text-stroke: 0.35px #070A12;
}

.ai-btn-arrow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 999px;
  background: linear-gradient(145deg, #111827 0%, #05070D 100%);
  color: #FDE68A;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.ai-btn.ai-btn-premium:hover .ai-btn-arrow-pill {
  transform: translateX(3px) scale(1.06);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.42),
    0 0 8px rgba(253, 230, 138, 0.35);
}

/* Divider */
.ai-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 11.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ai-text-faint);
  width: 100%;
}

.ai-or::before, .ai-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Ultra-High-Contrast Porcelain White Google Button */
.ai-google {
  position: relative;
  width: 100%;
  height: 52px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: #FFFFFF;
  color: #0F172A;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  cursor: pointer;
  box-shadow: 
    0 4px 18px rgba(0, 0, 0, 0.28),
    0 1px 3px rgba(0, 0, 0, 0.12);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  box-sizing: border-box;
}

.ai-google svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ai-google:hover {
  background: #F8FAFC;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.16);
}

.ai-google:active {
  transform: translateY(1px);
}

/* Footer Link Area */
.ai-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--ai-text-muted);
  width: 100%;
}

.ai-foot a {
  color: var(--ai-gold-soft);
  text-decoration: none;
  font-weight: 750;
  margin-left: 4px;
  transition: color 0.15s ease;
}

.ai-foot a:hover {
  color: #FFF6E0;
  text-decoration: underline;
}

/* ================= 11. PERFECTLY CENTERED COMFORTABLE EARNINGS TOAST ================= */
/* Anchored with left:0, right:0, margin: 0 auto - 100% mathematically centered on ANY screen */
.ai-live-container {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: calc(100% - 24px) !important;
  max-width: 360px !important;
  transform: none !important;
  z-index: 99999 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
}

.ai-live-card {
  pointer-events: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  border-radius: 13px !important;
  background: rgba(11, 15, 28, 0.96) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(56, 189, 248, 0.16) !important;
  box-sizing: border-box !important;
  opacity: 0;
  transform: translateY(12px) !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ai-live-card.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.ai-live-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 9px !important;
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  flex-shrink: 0 !important;
}

.ai-live-icon-earn {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
}

.ai-live-icon-withdraw {
  background: rgba(56, 189, 248, 0.16) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

.ai-live-icon-bonus {
  background: rgba(245, 158, 11, 0.16) !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
}

.ai-live-content {
  flex: 1 !important;
  min-width: 0 !important;
}

.ai-live-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  line-height: 1.25 !important;
  margin-bottom: 2px !important;
}

.ai-live-name {
  font-size: 11.5px !important;
  font-weight: 750 !important;
  color: #FFFFFF !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ai-live-city {
  font-size: 10px !important;
  color: #94A3B8 !important;
  font-weight: 600 !important;
}

.ai-live-badge {
  font-size: 10.5px !important;
  font-weight: 850 !important;
  color: #34D399 !important;
  background: rgba(16, 185, 129, 0.18) !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
  padding: 1.5px 7px !important;
  border-radius: 5px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.ai-live-badge-earn {
  color: #34D399 !important;
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
}

.ai-live-badge-withdraw {
  color: #38BDF8 !important;
  background: rgba(56, 189, 248, 0.18) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

.ai-live-badge-bonus {
  color: #FBBF24 !important;
  background: rgba(245, 158, 11, 0.18) !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
}

.ai-live-sub {
  font-size: 10px !important;
  color: #94A3B8 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  line-height: 1.2 !important;
}

.ai-live-detail {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ai-live-dot {
  color: #64748B !important;
  font-size: 8px !important;
}

.ai-live-time {
  color: #94A3B8 !important;
  font-size: 9.5px !important;
  white-space: nowrap !important;
}

.ai-live-close {
  border: 0 !important;
  background: transparent !important;
  color: #64748B !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 2px 4px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
  transition: color 0.15s ease !important;
}

.ai-live-close:hover {
  color: #FFFFFF !important;
}

/* Error Banner */
.ai-error {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 15px;
  text-align: left;
  box-sizing: border-box;
  width: 100%;
}

.ai-error.show {
  display: block;
}

/* ================= 12. RESPONSIVE BREAKPOINTS (MOBILE PERFECTION) ================= */
@media (max-width: 640px) {
  .ai-shell,
  .ai-container {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px 24px;
    box-sizing: border-box;
  }

  .ai-card {
    padding: 18px 16px 20px;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .ai-logo {
    width: 290px;
  }

  .ai-tabs {
    gap: 6px;
    padding: 4px;
  }

  .ai-tab {
    padding: 8px 2px;
    font-size: 12.5px;
    gap: 4px;
  }

  .ai-tab .material-icons-round {
    font-size: 14px;
  }

  .ai-card-header h2,
  .ai-header-title {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 23px !important;
    font-weight: 800 !important;
  }

  .ai-header-desc {
    font-size: 12px;
  }

  .ai-referral-top {
    flex-wrap: wrap;
    gap: 4px;
  }

  .ai-referral-tag {
    font-size: 11px;
  }

  .ai-referral-bonus, .ai-locked-badge {
    font-size: 10px;
    padding: 2px 6px;
  }

  .ai-btn, .ai-google {
    height: 50px;
    font-size: 14.5px;
  }

  .ai-input {
    height: 50px;
  }

  .ai-live-container {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
    width: calc(100% - 24px) !important;
    max-width: 360px !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
  }

  .ai-live-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
}

@media (max-height: 800px) {
  .ai-brand {
    margin-bottom: 6px !important;
  }
  .ai-brand-tagline {
    font-size: 11px !important;
    margin-top: 3px !important;
  }
  .ai-logo {
    max-height: 64px !important;
    width: auto !important;
  }
  .ai-card {
    padding: 14px 14px 16px !important;
  }
  .ai-field {
    margin-bottom: 9px !important;
  }
  .ai-field.ai-field-pass {
    margin-bottom: 5px !important;
  }
  .ai-btn, .ai-google {
    height: 46px !important;
    min-height: 46px !important;
  }
  .ai-input {
    height: 46px !important;
    min-height: 46px !important;
  }
}


/* ================= REGISTRATION RIYA AI LOGO & MINIMAL LUXURY VOICE STRIP ================= */
.ai-reg-head-wrap {
  margin-bottom: 10px;
}

.ai-reg-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.ai-reg-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ai-reg-robot-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 35% 30%, rgba(56, 189, 248, 0.24) 0%, rgba(15, 23, 42, 0.55) 72%, transparent 100%);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.16s ease;
}

.ai-reg-robot-btn:active {
  transform: scale(0.94);
}

.ai-reg-robot-glow {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, transparent 72%);
  pointer-events: none;
}

.ai-reg-robot-btn.is-speaking .ai-reg-robot-glow {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.42) 0%, transparent 74%);
  animation: aiRegHalo 1.2s ease-in-out infinite alternate;
}

@keyframes aiRegHalo {
  from { transform: scale(0.94); opacity: 0.7; }
  to   { transform: scale(1.12); opacity: 1; }
}

.ai-reg-robot-img {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(14, 165, 233, 0.42));
}

.ai-reg-title-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ai-reg-premium-title {
  margin: 0 !important;
  font-size: 18.5px !important;
  font-weight: 900 !important;
  letter-spacing: -0.3px !important;
  line-height: 1.12 !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #E0F2FE 58%, #FDE68A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-reg-riya-sub {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.8px;
  font-weight: 800;
  color: #7DD3FC;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.ai-reg-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 6px #34D399;
  display: inline-block;
}

.ai-reg-compact-badge {
  padding: 4px 8px !important;
  font-size: 9px !important;
}

.ai-reg-riya-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.ai-reg-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  border: none;
  background: rgba(56, 189, 248, 0.14);
  color: #E0F2FE;
  font-size: 9.8px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.ai-reg-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
}

.ai-reg-eq i {
  display: block;
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: #38BDF8;
}

.ai-reg-riya-strip.is-speaking .ai-reg-eq i {
  background: #34D399;
  animation: aiRegEqPulse 0.65s ease-in-out infinite alternate;
}

.ai-reg-riya-strip.is-speaking .ai-reg-eq i:nth-child(2) { animation-delay: 0.15s; }
.ai-reg-riya-strip.is-speaking .ai-reg-eq i:nth-child(3) { animation-delay: 0.3s; }
.ai-reg-riya-strip.is-speaking .ai-reg-eq i:nth-child(4) { animation-delay: 0.45s; }

@keyframes aiRegEqPulse {
  from { height: 3px; }
  to   { height: 10px; }
}

.ai-reg-lang-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.65);
}

.ai-reg-lang-btn {
  border: none;
  background: transparent;
  color: #CBD5E1;
  font-size: 9.3px;
  font-weight: 850;
  padding: 3.5px 6.5px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.1;
  transition: background 0.15s ease, color 0.15s ease;
}

.ai-reg-lang-btn.active {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #090D16;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.38);
}

.ai-reg-mute-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 7px;
  border-radius: 999px;
  border: none;
  background: rgba(16, 185, 129, 0.16);
  color: #A7F3D0;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.ai-reg-mute-btn.is-off {
  background: rgba(239, 68, 68, 0.20);
  color: #FECACA;
}

/* ================= PREMIUM ACCOUNT CREATED SUCCESS POPUP ================= */
.ai-succ-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 7, 15, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.ai-succ-overlay[hidden] {
  display: none !important;
}

.ai-succ-overlay.show {
  opacity: 1;
}

.ai-succ-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 26px 22px 22px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(16, 23, 40, 0.98) 0%, rgba(9, 13, 24, 0.98) 100%);
  border: 1.4px solid rgba(52, 211, 153, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 24px 64px rgba(0, 0, 0, 0.78),
    0 0 42px rgba(16, 185, 129, 0.2);
  transform: scale(0.9) translateY(14px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-succ-overlay.show .ai-succ-card {
  transform: scale(1) translateY(0);
}

.ai-succ-orb-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-succ-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(52, 211, 153, 0.55);
  animation: aiSuccPulse 1.5s ease-out infinite;
}

@keyframes aiSuccPulse {
  0%   { transform: scale(0.92); opacity: 0.9; }
  100% { transform: scale(1.36); opacity: 0; }
}

.ai-succ-badge-circle {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6EE7B7 0%, #10B981 48%, #F5D38A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.65),
    0 8px 24px rgba(16, 185, 129, 0.45);
}

.ai-succ-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.42);
  color: #6EE7B7;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.9px;
  margin-bottom: 10px;
}

.ai-succ-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
}

.ai-succ-title {
  margin: 0 0 6px;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 20%, #A7F3D0 60%, #FDE68A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-succ-sub {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #CBD5E1;
  line-height: 1.45;
}

.ai-succ-progress {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 16px;
}

.ai-succ-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10B981 0%, #38BDF8 55%, #F5D38A 100%);
  transition: width 1.85s linear;
}

.ai-succ-progress-bar.run {
  width: 100%;
}

.ai-succ-btn {
  height: 46px !important;
  min-height: 46px !important;
}
