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

:root {
  /* Core Colors */
  --bg-primary: #050608;
  --bg-secondary: #0c0e14;
  --bg-card: #11141c;
  --bg-card-hover: #161a25;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  /* Text */
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  /* Status Colors */
  --accent: #3b82f6; /* Electric Blue instead of Green */
  --accent-hover: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --success: #06b6d4; /* Vivid Cyan instead of Green */
  --success-soft: rgba(6, 182, 212, 0.12);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.12);
  
  /* Layout & Effects */
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 0;
}

/* ─── Premium Mobile-Performant Aurora Background ─── */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--bg-primary);
  overflow: hidden;
  pointer-events: none;
}

.aurora-1, .aurora-2 {
  position: absolute;
  top: -50vh;
  left: -50vw;
  width: 200vw;
  height: 200vh;
  opacity: 0.5;
  transform-origin: center;
}

.aurora-1 {
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.2) 0%, transparent 35%);
  animation: aurora-spin 20s linear infinite;
}

.aurora-2 {
  background-image: 
    radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.15) 0%, transparent 35%);
  animation: aurora-spin 25s linear infinite reverse;
}

@keyframes aurora-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Faint Grain Overlay for Premium Texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
}

/* ─── Utilities ──────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }

/* ─── Layout ─────────────────────────────────────────── */
.app {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── Landing Screen ─────────────────────────────────── */
.landing-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
  animation: fadeIn 0.6s ease-out;
}

.landing-hero {
  text-align: center;
  padding: 60px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-hero h1 {
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  max-width: 800px;
}

.landing-hero h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--success) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero p {
  font-size: clamp(16px, 4vw, 19px);
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-actions .btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
}

/* Features Grid (Bento) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 16px;
  width: 100%;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-large {
  grid-row: span 2;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.bento-large h3 { font-size: 24px; }
.bento-large p { font-size: 16px; }

.bento-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
}

.feature-stats {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  margin-top: auto;
  letter-spacing: -1px;
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide, .bento-large {
    grid-column: auto;
    grid-row: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .landing-hero {
    padding: 40px 0;
  }
}

/* ─── Login Screen ───────────────────────────────────── */
.login-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo p {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
}

.login-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
}

.login-box h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.login-box p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Dev login button */
.dev-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2AABEE;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.dev-login-btn:hover {
  background: #229ED9;
}

/* ─── Dashboard ──────────────────────────────────────── */
.dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 600px) {
  .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .header {
    grid-column: span 2;
  }
}

.dashboard-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-info h2 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.header-info span {
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.card-title svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* Subscription Card */
.sub-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-active {
  background: var(--success-soft);
  color: var(--success);
}

.badge-inactive {
  background: var(--danger-soft);
  color: var(--danger);
}

.sub-expires {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.sub-expires strong {
  color: var(--text-primary);
}

/* ─── Typography & Utilities ─────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--text-primary);
  color: #000;
}

.btn-primary:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.btn-success {
  background: var(--success);
  color: #000;
}

.btn-success:hover {
  background: #0891b2;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Sub Link */
.sub-link-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: 'Inter', monospace;
  font-size: 14px;
}

.sub-link-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Inter', monospace;
  font-size: 13px;
  outline: none;
  min-width: 0;
}

.sub-link-box .btn-icon {
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
}

.sub-link-box .btn-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Config List */
.config-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 320px;
  overflow-y: auto;
}

.config-list::-webkit-scrollbar {
  width: 4px;
}

.config-list::-webkit-scrollbar-track {
  background: transparent;
}

.config-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.config-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.config-item svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

.config-item span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.config-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Info text */
.info-text {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  padding: 16px 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Loading spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 480px) {
  .app {
    padding: 16px 12px;
  }

  .login-box {
    padding: 24px 20px;
  }
}

/* ─── Dashboard Tabs ────────────────────────────────── */
.dashboard-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--bg-card);
  padding: 6px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.dashboard-tabs .tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dashboard-tabs .tab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.dashboard-tabs .tab-btn.active {
  color: #000;
  background: var(--text-primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

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

/* ─── Referral List ─────────────────────────────────── */
.referral-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.referral-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.ref-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ref-name {
  font-size: 14px;
  font-weight: 600;
}

.ref-date {
  font-size: 11px;
  color: var(--text-muted);
}

.ref-status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

.ref-status.success {
  background: var(--success-soft);
  color: var(--success);
}

.ref-status.pending {
  background: var(--bg-primary);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ─── Plan Toggle ──────────────────────────────────── */
.plan-toggle {
  display: flex;
  background: var(--bg-secondary);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.plan-toggle button {
  flex: 1;
  background: none;
  border: none;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition);
}

.plan-toggle button.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.tier-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
}
.tier-badge.standart { background: var(--bg-primary); color: var(--text-secondary); border: 1px solid var(--border); }
.tier-badge.vip { background: #ffcc00; color: #000; }

/* ─── Support Card ──────────────────────────────────── */
.support-card {
  text-align: center;
  padding: 40px 24px;
}

.support-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.support-icon svg {
  width: 32px;
  height: 32px;
}

.support-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.support-card p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 300px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.support-btn {
  display: inline-flex;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
}

/* ─── FAQ Detailed ──────────────────────────────────── */
.faq-detailed .faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-detailed .faq-item:last-child {
  border-bottom: none;
}

.faq-detailed .faq-q {
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-detailed .faq-a {
  padding-bottom: 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.faq-detailed .faq-a b {
  color: var(--accent);
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq-item {
  margin-bottom: 20px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.faq-a {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
/* ─── Modals ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  width: 100%;
  max-width: 420px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 40px rgba(129, 140, 248, 0.1);
  animation: modal-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: var(--radius) var(--radius) 0 0;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(15, 17, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.payment-option:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateX(4px) translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.payment-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.payment-option-icon.stars {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.payment-option-icon.card-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.payment-option-info {
  flex: 1;
}

.payment-option-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.payment-option-price {
  font-size: 13px;
  color: var(--text-secondary);
}

.payment-option-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--success-soft);
  color: var(--success);
  border-radius: 6px;
}

.modal-footer-tip {
  margin-top: 20px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.tg-link-banner {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tg-link-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tg-link-content i {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

.tg-link-content strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
}

.tg-link-content p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.icon-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.auth-switch {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-switch span {
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
  margin-left: 4px;
  transition: all 0.2s;
}

.auth-switch span:hover {
  filter: brightness(1.2);
  text-decoration: underline;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 32px 0;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.6;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.divider:not(:empty)::before { margin-right: 16px; }
.divider:not(:empty)::after { margin-left: 16px; }

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.btn-link {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px;
  width: 100%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-link:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.login-box {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 163, 255, 0.05);
}

.login-box h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.login-box p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
