/* ==========================================================================
   LIUM LOADER - SADE & NET TASARIM SİSTEMİ
   Modern Minimalist Koyu Tema • Profesyonel Mavi Detaylar
   ========================================================================== */

:root {
  /* Renkler: Sade, mat koyu arka plan ve net mavi tonlar */
  --bg-main: #0c0e14;
  --bg-alt: #10131c;
  --bg-card: #141824;
  --bg-card-hover: #181d2c;
  --bg-muted: #1e2436;

  /* Mavi Tonları */
  --blue-primary: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #3b82f6;
  --blue-soft: rgba(37, 99, 235, 0.12);
  --blue-border: rgba(37, 99, 235, 0.25);

  /* Metin Renkleri */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Durum */
  --status-green: #10b981;
  --status-green-bg: rgba(16, 185, 129, 0.12);

  /* Kenarlıklar */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);

  /* Tipografi */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Yuvarlama & Gölgeler */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

/* Temel Sıfırlama */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  padding-top: 68px;
}

/* ==========================================================================
   AMBIENT BACKGROUND BLUR EFFECTS (DARK & LIGHT)
   ========================================================================== */
.bg-blur-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  pointer-events: none;
  opacity: 0.85;
  will-change: transform;
}

.orb-1 {
  top: -120px;
  left: 10%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 70%);
  animation: floatOrb1 18s ease-in-out infinite alternate;
}

.orb-2 {
  top: 35%;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.17) 0%, rgba(59, 130, 246, 0) 70%);
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.orb-3 {
  bottom: 8%;
  left: 8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.15) 0%, rgba(29, 78, 216, 0) 70%);
  animation: floatOrb3 20s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 40px) scale(1.08); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-45px, 45px) scale(0.96); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -35px) scale(1.05); }
}

/* Konteyner */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn .fa-discord {
  position: relative;
  top: 0.09em;
  line-height: 1;
}

.btn-primary {
  background-color: var(--blue-primary);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--blue-hover);
}

.btn-secondary {
  background-color: var(--bg-muted);
  color: var(--text-main);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background-color: #272f44;
  color: #ffffff;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}

/* ==========================================================================
   DYNAMIC FLOATING ISLAND NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  height: 68px;
  z-index: 100;
  background-color: rgba(12, 14, 20, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  transition: top 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled / Detached Floating State - Symmetrical & Seamlessly Centered */
.navbar.scrolled {
  top: 12px;
  width: calc(100% - 32px);
  max-width: 1100px;
  height: 54px;
  border-radius: 9999px;
  background-color: rgba(14, 18, 28, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(37, 99, 235, 0.22);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  transition: padding 0.3s ease;
}

.navbar.scrolled .nav-container {
  padding-inline: 18px;
}

.navbar.scrolled .brand-logo {
  width: 26px;
  height: 26px;
}

.navbar.scrolled .brand-name {
  font-size: 1.08rem;
}

.navbar.scrolled .nav-links {
  gap: 22px;
}

.navbar.scrolled .nav-links a {
  font-size: 0.88rem;
}

.navbar.scrolled .btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: 9999px;
}

.navbar.scrolled .theme-toggle {
  width: 32px;
  height: 32px;
  font-size: 0.82rem;
  border-radius: 50%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.accent {
  color: var(--blue-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--status-green);
  background: var(--status-green-bg);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-family: var(--font-mono);
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--status-green);
  border-radius: 50%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Sade Hero Bölümü */
.hero {
  padding-block: 80px 70px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-container {
  max-width: 820px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-soft);
  color: var(--blue-light);
  border: 1px solid var(--blue-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--blue-light);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #ffffff;
}

.text-blue {
  color: var(--blue-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 640px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: fit-content;
  margin-inline: auto;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.spec-divider {
  width: 1px;
  height: 28px;
  background-color: var(--border-strong);
}

/* Bölümler */
.section {
  padding-block: 70px;
}

.section-alt {
  background-color: var(--bg-alt);
  border-block: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Oyunlar Izgarası */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.game-card {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.game-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--blue-border);
  transform: translateY(-2px);
}

.card-game-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.card-bg-watermark {
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 120px;
  height: 120px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.game-card:hover .card-bg-watermark {
  opacity: 0.18;
  transform: scale(1.1) rotate(-6deg);
}

.card-header,
.card-footer {
  position: relative;
  z-index: 1;
}

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

.game-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--blue-light);
  display: block;
  margin-bottom: 2px;
}

.game-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.status-pill {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.status-pill.safe {
  background-color: var(--status-green-bg);
  color: var(--status-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.version-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.version-info {
  background-color: var(--blue-soft);
  color: var(--blue-light);
  border: 1px solid var(--blue-border);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Özellikler */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--blue-soft);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.feature-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Canlı Durum Tablosu */
.table-wrap {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.status-table th {
  padding: 14px 20px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.status-table td {
  padding: 16px 20px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.status-table td strong {
  color: #ffffff;
}

.status-table code {
  font-family: var(--font-mono);
  background-color: var(--bg-muted);
  color: var(--text-main);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* İndirme Bölümü */
.download-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.download-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.download-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.download-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.meta-row code {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.setup-guide {
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.setup-guide h3 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.setup-list {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setup-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.setup-list li strong {
  color: #ffffff;
}

/* S.S.S Akordeon */
.faq-list {
  max-width: 740px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-toggle i {
  color: var(--text-dim);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle i {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 20px 16px 20px;
}

.faq-item.active .faq-content {
  display: block;
}

.faq-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Minimalist Footer */
.footer {
  padding-block: 40px;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-main);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.footer-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* Mobil Uyumluluk */
@media (max-width: 820px) {
  .download-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border-strong);
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links.active {
    display: flex;
  }

  .navbar.scrolled .nav-links {
    top: 58px;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  }

  .status-indicator {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-specs {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .spec-divider {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   AUTH & USER DASHBOARD MODAL STYLES
   ========================================================================== */
.btn-block {
  width: 100%;
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 8, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.auth-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(14px);
  transition: transform 0.2s ease;
}

.auth-modal-backdrop.active .auth-modal-card {
  transform: translateY(0);
}

.auth-modal-header {
  padding: 18px 24px;
  background-color: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-mini-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.auth-modal-brand h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.auth-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.auth-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.auth-close-btn:hover {
  color: #ffffff;
}

.discord-gate {
  text-align: left;
}

.discord-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5865f2;
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.discord-gate-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.discord-gate-copy,
.discord-gate-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 42ch;
}

.discord-gate-copy {
  margin-bottom: 20px;
}

.discord-gate-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.btn-discord {
  background: #5865f2;
  color: #ffffff;
  border: none;
  min-height: 48px;
  font-weight: 700;
}

.btn-discord:hover {
  background: #4752c4;
}

.btn-discord:disabled {
  opacity: 0.7;
  cursor: wait;
}

.dash-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dash-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.auth-tab-bar {
  display: flex;
  background-color: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid var(--border-subtle);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.auth-tab:hover {
  color: #ffffff;
}

.auth-tab.active {
  color: var(--blue-light);
  border-bottom-color: var(--blue-light);
}

.auth-view {
  padding: 24px;
}

.auth-view.hidden {
  display: none !important;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus {
  border-color: var(--blue-light);
}

.password-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 6px;
}

.auth-alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  margin-bottom: 16px;
  display: none;
}

.auth-alert.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.auth-alert.success {
  display: block;
  background-color: var(--status-green-bg);
  color: var(--status-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* 2-Step Email Verification Styles */
.back-link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-bottom: 14px;
  padding: 0;
  transition: color 0.15s;
}

.back-link-btn:hover {
  color: #ffffff;
}

.security-notice {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.security-notice i.fa-shield-halved {
  color: #f59e0b;
  font-size: 1.35rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.security-notice-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 4px;
}

.security-notice-content p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 8px 0;
}

.security-ip-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue-light);
}

.security-ip-tag i {
  color: #60a5fa;
  font-size: 0.75rem;
}

body.light-theme .security-notice {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(217, 119, 6, 0.35);
}

body.light-theme .security-notice-content h4 {
  color: #b45309;
}

body.light-theme .security-ip-tag {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2563eb;
}

.verify-instructions {
  margin-bottom: 16px;
}

.verify-instructions h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.verify-instructions p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.dev-code-hint {
  background: var(--blue-soft);
  border: 1px dashed var(--blue-border);
  color: var(--blue-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.otp-input {
  text-align: center;
  font-size: 1.6rem !important;
  font-family: var(--font-mono) !important;
  letter-spacing: 0.38em;
  font-weight: 800;
  color: var(--blue-light) !important;
  padding: 12px !important;
}

.resend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.btn-link {
  background: none;
  border: none;
  color: var(--blue-light);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  padding: 0;
}

.btn-link:hover {
  color: #60a5fa;
}

.btn-link:disabled {
  color: var(--text-dim);
  cursor: not-allowed;
  text-decoration: none;
}

.dash-email {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  display: block;
  margin-top: 2px;
}

/* User Dashboard Interior */
.dash-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.dash-hello {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-user {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.dash-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
}

.dash-box-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.key-display-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-block: 8px;
}

.license-key-code {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-light);
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  flex: 1;
  user-select: all;
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.hwid-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
}

.hwid-hash-box {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 12px;
}

.hwid-hash-box.hidden {
  display: none;
}

.hash-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.hash-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--status-green);
  word-break: break-all;
}

.hwid-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hwid-hint {
  font-size: 0.78rem;
  color: var(--status-green);
}

/* ==========================================================================
   THEME TOGGLE & LIGHT THEME STYLES
   ========================================================================== */
.theme-toggle {
  background: var(--bg-muted);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.theme-toggle:hover {
  background: var(--blue-soft);
  color: var(--blue-light);
  border-color: var(--blue-border);
}

/* Light Theme Variables & Component Overrides */
body.light-theme {
  --bg-main: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-muted: #e2e8f0;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);

  --blue-soft: rgba(37, 99, 235, 0.08);
  --blue-border: rgba(37, 99, 235, 0.22);
}

body.light-theme .navbar {
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border-subtle);
}

body.light-theme .navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.14);
}

body.light-theme .orb-1 {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.13) 0%, rgba(37, 99, 235, 0) 70%);
}

body.light-theme .orb-2 {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.16) 0%, rgba(96, 165, 250, 0) 70%);
}

body.light-theme .orb-3 {
  background: radial-gradient(circle, rgba(147, 197, 253, 0.18) 0%, rgba(147, 197, 253, 0) 70%);
}

body.light-theme .brand-name {
  color: #0f172a;
}

body.light-theme .brand {
  color: #0f172a;
}

body.light-theme .hero-title {
  color: #0f172a;
}

body.light-theme .game-card {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

body.light-theme .game-card:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

body.light-theme .game-title {
  color: #0f172a;
}

body.light-theme .version-info {
  background-color: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.25);
}

body.light-theme .feature-heading,
body.light-theme .section-title,
body.light-theme .download-title,
body.light-theme .spec-value,
body.light-theme .faq-toggle,
body.light-theme .footer-brand,
body.light-theme .setup-guide h3 {
  color: #0f172a;
}

body.light-theme .auth-modal-card {
  background-color: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
}

body.light-theme .auth-modal-header {
  background-color: #f8fafc;
}

body.light-theme .auth-modal-brand h3 {
  color: #0f172a;
}

body.light-theme .dash-user,
body.light-theme .discord-gate-title {
  color: #0f172a;
}

body.light-theme .form-group input {
  background-color: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

body.light-theme .otp-input {
  background-color: #f8fafc !important;
  color: #1d4ed8 !important;
  border-color: #cbd5e1 !important;
}

body.light-theme .verify-instructions h4 {
  color: #0f172a;
}

body.light-theme .dev-code-hint {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.3);
}

body.light-theme .back-link-btn:hover {
  color: #0f172a;
}

body.light-theme .dash-box {
  background-color: #f8fafc;
}

body.light-theme .footer {
  background-color: #ffffff;
}

/* Auth Required Banner */
.auth-required-banner {
  background-color: rgba(245, 158, 11, 0.12);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  color: #d97706;
  padding: 12px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-required-banner.hidden {
  display: none;
}

body.light-theme .auth-required-banner {
  background-color: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}

/* Dashboard Download Box */
.dash-dl-box {
  border-color: var(--blue-border) !important;
  background: var(--blue-soft) !important;
}

.dash-dl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CUSTOM CONFIRMATION MODAL (HWID RESET & ACTIONS)
   ========================================================================== */
.confirm-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background-color: rgba(6, 8, 14, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.confirm-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.confirm-modal-card {
  background-color: #141824;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 30px 26px 24px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(239, 68, 68, 0.2);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.confirm-modal-backdrop.active .confirm-modal-card {
  transform: scale(1) translateY(0);
}

.confirm-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.confirm-icon-box.danger {
  background-color: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.28);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.2);
}

.confirm-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.confirm-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.confirm-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.confirm-note i {
  color: #60a5fa;
}

.confirm-actions {
  display: flex;
  gap: 12px;
}

.confirm-actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn-danger {
  background-color: #dc2626;
  color: #ffffff;
  border: 1px solid #ef4444;
}

.btn-danger:hover {
  background-color: #b91c1c;
  border-color: #dc2626;
  color: #ffffff;
}

body.light-theme .confirm-modal-card {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(239, 68, 68, 0.2);
}

body.light-theme .confirm-title {
  color: #0f172a;
}
