/* =========================================================
   Lucky365 — Black & Gold Casino Theme
   ========================================================= */

:root {
  --black: #060504;
  --black-soft: #0d0b09;
  --panel: #141110;
  --panel-2: #1b1714;
  --border: #2b241a;

  --gold: #f4c542;
  --gold-light: #ffe9a8;
  --gold-deep: #b8860b;
  --gold-grad: linear-gradient(135deg, #fff3c4 0%, #f4c542 25%, #c9971e 55%, #f4c542 80%, #fff3c4 100%);
  --gold-grad-soft: linear-gradient(180deg, #f4c542 0%, #c9971e 100%);

  --text: #f3ede0;
  --text-muted: #b8ac95;
  --text-dim: #8a7f6c;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-gold: 0 0 0 1px rgba(244, 197, 66, 0.25), 0 8px 24px rgba(0, 0, 0, 0.55);
  --header-h: 76px;

  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { padding-left: 1.25em; }

h1, h2, h3, h4 {
  font-family: 'Cinzel', 'Poppins', serif;
  margin: 0 0 0.5em;
  color: var(--text);
  letter-spacing: 0.02em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-register {
  background: var(--gold-grad-soft);
  color: #221a05;
  box-shadow: 0 4px 14px rgba(244, 197, 66, 0.35);
}
.btn-register:hover { box-shadow: 0 6px 20px rgba(244, 197, 66, 0.55); }

.btn-login {
  background: transparent;
  color: var(--gold-light);
  border-color: rgba(244, 197, 66, 0.5);
}
.btn-login:hover { background: rgba(244, 197, 66, 0.08); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(244, 197, 66, 0.4);
}
.btn-outline:hover { background: rgba(244, 197, 66, 0.08); }

.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn-icon { width: 18px; height: 18px; flex: none; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 500;
  background: rgba(6, 5, 4, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 197, 66, 0.18);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-img { height: 40px; width: auto; }

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger */
.hamburger {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  border: 1px solid rgba(244, 197, 66, 0.35);
  background: rgba(244, 197, 66, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger:hover { background: rgba(244, 197, 66, 0.14); }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Language Switcher
   ========================================================= */
.lang-switcher { position: relative; }

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.3);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
}
.lang-current img { border-radius: 50%; width: 20px; height: 20px; object-fit: cover; }
.lang-current .chev { width: 14px; height: 14px; color: var(--gold); transition: transform 0.2s ease; }
.lang-switcher.open .lang-current .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 190px;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 50;
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.lang-menu a:hover { background: rgba(244, 197, 66, 0.1); color: var(--text); }
.lang-menu img { border-radius: 50%; width: 20px; height: 20px; object-fit: cover; }

.lang-check {
  display: none;
  margin-left: auto;
  color: var(--gold);
  font-size: 0.85rem;
  flex: none;
}
.lang-menu li.is-active a {
  color: var(--gold-light);
  background: rgba(244, 197, 66, 0.08);
  pointer-events: none;
  cursor: default;
}
.lang-menu li.is-active .lang-check { display: inline-block; }

/* =========================================================
   Sidebar (off-canvas) — transform-only animation for perf
   ========================================================= */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.sidebar-overlay.is-visible { opacity: 1; visibility: visible; }

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  height: 100dvh;
  width: min(320px, 86vw);
  background: linear-gradient(180deg, #0d0b09 0%, #050403 100%);
  border-right: 1px solid rgba(244, 197, 66, 0.2);
  z-index: 950;
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 197, 66, 0.35) transparent;
}
.sidebar.is-open { transform: translate3d(0, 0, 0); }
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(244, 197, 66, 0.3); border-radius: 4px; }

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 14px;
  flex: none;
}
.sidebar-logo { height: 34px; width: auto; }

.sidebar-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(244, 197, 66, 0.3);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.sidebar-close:hover { background: rgba(244, 197, 66, 0.1); transform: rotate(90deg); }
.sidebar-close svg { width: 16px; height: 16px; }

.sidebar-tagline {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
}

.sidebar-nav {
  flex: 1;
  padding: 14px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-link, .sidebar-group-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  margin: 0 -2px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  border: none;
  background: transparent;
  width: calc(100% + 4px);
  text-align: left;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sidebar-group-toggle { justify-content: space-between; width: 100%; margin: 0; }
.sidebar-group-toggle > span:first-child { display: flex; align-items: center; gap: 12px; }
.sidebar-link:hover, .sidebar-group-toggle:hover {
  background: rgba(244, 197, 66, 0.08);
  color: var(--gold-light);
  border-left-color: var(--gold);
}

.icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--gold);
  opacity: 0.85;
}
.icon svg { width: 20px; height: 20px; }
.sidebar-link:hover .icon, .sidebar-group-toggle:hover .icon { opacity: 1; }

.sidebar-badge {
  margin-left: auto;
  background: var(--gold-grad-soft);
  color: #221a05;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  flex: none;
}

.sidebar-group-toggle .chev { width: 15px; height: 15px; flex: none; transition: transform 0.2s ease; color: var(--gold); }
.sidebar-group-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.sidebar-submenu {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-left: 27px;
  padding-left: 15px;
  border-left: 1px solid var(--border);
  transition: max-height 0.25s ease;
}
.sidebar-submenu a {
  padding: 9px 12px;
  color: var(--text-dim);
  font-size: 0.87rem;
  border-radius: 8px;
}
.sidebar-submenu a:hover { color: var(--gold-light); background: rgba(244, 197, 66, 0.06); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,5,4,0.55) 0%, rgba(6,5,4,0.75) 55%, var(--black) 100%),
    linear-gradient(90deg, rgba(6,5,4,0.55) 0%, rgba(6,5,4,0.15) 45%, rgba(6,5,4,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h2 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
.hero-sub {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* =========================================================
   Sections (shared)
   ========================================================= */
.section { padding: 78px 0; }
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  margin-bottom: 10px;
}
.section-title.left { text-align: left; }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 44px;
  font-size: 0.98rem;
}

/* Get Started steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 26px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 197, 66, 0.5);
  box-shadow: var(--shadow-gold);
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-grad-soft);
  color: #221a05;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(244, 197, 66, 0.3);
}
.step-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 14px;
}
.step-icon svg { width: 100%; height: 100%; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.step-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* Feature / why-choose grid */
.why-section { background: var(--black-soft); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(244,197,66,0.4); }
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--gold-light); }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* =========================================================
   APK Download page — unique components
   ========================================================= */
.apk-breadcrumb {
  padding: 14px 0;
  background: var(--black-soft);
  border-bottom: 1px solid var(--border);
}
.apk-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}
.apk-breadcrumb-list a { color: var(--text-muted); transition: color 0.15s ease; }
.apk-breadcrumb-list a:hover { color: var(--gold-light); }
.apk-breadcrumb-list [aria-current="page"] { color: var(--gold-light); }
.apk-breadcrumb-sep { color: var(--text-dim); opacity: 0.55; }

.apk-hub {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(244, 197, 66, 0.08) 0%, transparent 70%),
    var(--black);
}
.apk-hub-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  margin-top: 36px;
}
.apk-device-frame {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  padding: 14px 12px 18px;
  border-radius: 32px;
  background: linear-gradient(160deg, #2a241c 0%, #12100e 100%);
  border: 2px solid rgba(244, 197, 66, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.apk-device-notch {
  width: 80px;
  height: 6px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
}
.apk-device-screen {
  min-height: 320px;
  padding: 22px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1a1612 0%, #0d0b09 100%);
  border: 1px solid rgba(244, 197, 66, 0.15);
  position: relative;
  overflow: hidden;
}
.apk-device-preview {
  display: none;
  animation: apkFadeIn 0.35s ease;
}
.apk-device-preview.is-active { display: block; }
@keyframes apkFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.apk-preview-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #221a05;
  background: var(--gold-grad-soft);
}
.apk-preview-title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  margin: 0 0 10px;
  color: var(--gold-light);
}
.apk-preview-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 22px;
}
.apk-preview-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.12);
  margin-bottom: 10px;
  overflow: hidden;
}
.apk-preview-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold-grad-soft);
}
.apk-preview-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.apk-hub-panel {
  background: rgba(20, 17, 16, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-gold);
}
.apk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.apk-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.apk-tab svg { width: 18px; height: 18px; flex: none; }
.apk-tab:hover { border-color: rgba(244, 197, 66, 0.4); color: var(--text); }
.apk-tab.is-active {
  background: rgba(244, 197, 66, 0.12);
  border-color: rgba(244, 197, 66, 0.55);
  color: var(--gold-light);
}
.apk-tab-panel { animation: apkFadeIn 0.3s ease; }
.apk-step-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.apk-step-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(6, 5, 4, 0.55);
  border: 1px solid rgba(244, 197, 66, 0.1);
}
.apk-step-num {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #221a05;
  background: var(--gold-grad-soft);
}
.apk-step-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}
.apk-step-list p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.apk-tab-cta { width: 100%; }

.apk-spec-strip {
  padding: 28px 0;
  background: var(--black-soft);
  border-block: 1px solid var(--border);
}
.apk-spec-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.apk-spec-item {
  text-align: center;
  padding: 16px 10px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
}
.apk-spec-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.apk-spec-item strong {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 700;
}

.apk-safety { background: var(--black); }
.apk-safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.apk-check-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.apk-check-card:hover { border-color: rgba(244, 197, 66, 0.35); }
.apk-check-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.apk-check-box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  border: 2px solid rgba(244, 197, 66, 0.4);
  background: rgba(6, 5, 4, 0.8);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.apk-check-input:checked + .apk-check-box {
  background: var(--gold-grad-soft);
  border-color: var(--gold);
}
.apk-check-input:checked + .apk-check-box::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #221a05;
}
.apk-check-input:checked ~ .apk-check-text strong { color: var(--gold-light); }
.apk-check-card:has(.apk-check-input:checked) {
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(244, 197, 66, 0.05);
}
.apk-check-text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--text);
  transition: color 0.2s ease;
}
.apk-check-text span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.apk-safety-note {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-muted);
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.apk-safety-note.is-complete {
  color: var(--gold-light);
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(244, 197, 66, 0.1);
}

.apk-fixes { background: var(--black-soft); }
.apk-fix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
}
.apk-fix-card {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s ease;
  align-self: start;
  height: auto;
}
.apk-fix-card[open] { border-color: rgba(244, 197, 66, 0.4); }
.apk-fix-card summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.apk-fix-card summary::-webkit-details-marker { display: none; }
.apk-fix-icon { font-size: 1.25rem; flex: none; }
.apk-fix-title {
  flex: 1;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}
.apk-fix-toggle {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--gold-light);
  background: rgba(244, 197, 66, 0.1);
  border: 1px solid rgba(244, 197, 66, 0.25);
  transition: transform 0.2s ease;
}
.apk-fix-card[open] .apk-fix-toggle { transform: rotate(45deg); }
.apk-fix-body {
  padding: 0 18px 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.apk-fix-body p { margin: 0 0 10px; }
.apk-fix-body p:last-child { margin-bottom: 0; }
.apk-fix-body strong { color: var(--gold-light); }
.apk-fix-body a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Lucky365 Game page — unique components
   ========================================================= */
.game-breadcrumb {
  padding: 14px 0;
  background: var(--black-soft);
  border-bottom: 1px solid var(--border);
}
.game-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}
.game-breadcrumb-list a { color: var(--text-muted); transition: color 0.15s ease; }
.game-breadcrumb-list a:hover { color: var(--gold-light); }
.game-breadcrumb-list [aria-current="page"] { color: var(--gold-light); }
.game-breadcrumb-sep { color: var(--text-dim); opacity: 0.55; }

.game-explorer {
  background:
    radial-gradient(ellipse 45% 55% at 0% 20%, rgba(244, 197, 66, 0.07) 0%, transparent 70%),
    var(--black);
}
.game-explorer-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.42fr) 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-top: 36px;
  align-items: start;
}
.game-cat-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.game-cat-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-muted);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.game-cat-btn:hover {
  border-color: rgba(244, 197, 66, 0.35);
  transform: translateX(4px);
}
.game-cat-btn.is-active {
  background: rgba(244, 197, 66, 0.1);
  border-color: rgba(244, 197, 66, 0.5);
  box-shadow: inset 3px 0 0 var(--gold);
}
.game-cat-icon { font-size: 1.5rem; line-height: 1; margin-bottom: 6px; }
.game-cat-label {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.game-cat-btn.is-active .game-cat-label { color: var(--gold-light); }
.game-cat-sub { font-size: 0.78rem; color: var(--text-dim); }

.game-cat-panels { min-width: 0; }
.game-cat-panel {
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: rgba(20, 17, 16, 0.85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-gold);
  animation: gameFadeIn 0.35s ease;
}
.game-cat-panel.is-active { display: block; }
@keyframes gameFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.game-panel-badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #221a05;
  background: var(--gold-grad-soft);
}
.game-panel-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  color: var(--gold-light);
  margin: 0 0 12px;
}
.game-panel-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 22px;
}
.game-meters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.game-meter { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; }
.game-meter-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.game-meter-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.1);
  overflow: hidden;
}
.game-meter-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold-grad-soft);
}
.game-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.game-panel-tags li {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(244, 197, 66, 0.08);
  border: 1px solid rgba(244, 197, 66, 0.22);
}
.game-panel-best {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.5;
}
.game-panel-best strong { color: var(--gold-light); }
.game-panel-cta { width: 100%; max-width: 280px; }

.game-spec-strip {
  padding: 28px 0;
  background: var(--black-soft);
  border-block: 1px solid var(--border);
}
.game-spec-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.game-spec-item {
  text-align: center;
  padding: 16px 10px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
}
.game-spec-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.game-spec-item strong {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  color: var(--gold-light);
  font-weight: 700;
}

.game-matcher { background: var(--black-soft); }
.game-style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.game-style-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.game-style-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px dashed transparent;
  transition: border-color 0.2s ease;
}
.game-style-btn:hover {
  border-color: rgba(244, 197, 66, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.game-style-btn:hover::after {
  border-color: rgba(244, 197, 66, 0.25);
}
.game-style-btn.is-selected {
  border-color: rgba(244, 197, 66, 0.55);
  background: rgba(244, 197, 66, 0.08);
  box-shadow: 0 0 0 1px rgba(244, 197, 66, 0.2);
}
.game-style-emoji { font-size: 1.6rem; line-height: 1; }
.game-style-btn strong {
  font-size: 0.95rem;
  color: var(--text);
}
.game-style-btn.is-selected strong { color: var(--gold-light); }
.game-style-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.game-style-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding-top: 10px;
  width: 100%;
  border-top: 1px solid rgba(244, 197, 66, 0.12);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.game-style-btn:hover .game-style-action,
.game-style-btn.is-selected .game-style-action {
  opacity: 1;
}

.game-match-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(244, 197, 66, 0.04);
  border: 1px dashed rgba(244, 197, 66, 0.28);
  text-align: center;
  animation: gameGoalPulse 2.5s ease-in-out infinite;
}
.game-match-placeholder[hidden] { display: none !important; }
.game-match-placeholder-icon {
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
}
.game-match-placeholder p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}
@keyframes gameGoalPulse {
  0%, 100% { border-color: rgba(244, 197, 66, 0.22); }
  50% { border-color: rgba(244, 197, 66, 0.42); }
}

.game-match-result {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.28);
  animation: gameFadeIn 0.35s ease;
}
.game-match-result[hidden] { display: none !important; }
.game-match-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 197, 66, 0.3);
  border-radius: 50%;
  background: var(--panel);
  color: var(--gold-light);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.game-match-close:hover {
  border-color: rgba(244, 197, 66, 0.55);
  background: rgba(244, 197, 66, 0.1);
  transform: scale(1.05);
}
.game-match-body {
  flex: 1;
  min-width: 0;
  padding-right: 36px;
}
.game-match-icon {
  flex: none;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid rgba(244, 197, 66, 0.3);
}
.game-match-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.game-match-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--gold-light);
  margin: 0 0 8px;
}
.game-match-desc {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.game-prep { background: var(--black); }
.game-prep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.game-prep-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.game-prep-card:hover { border-color: rgba(244, 197, 66, 0.35); }
.game-prep-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.game-prep-box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  border: 2px solid rgba(244, 197, 66, 0.4);
  background: rgba(6, 5, 4, 0.8);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.game-prep-input:checked + .game-prep-box {
  background: var(--gold-grad-soft);
  border-color: var(--gold);
}
.game-prep-input:checked + .game-prep-box::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #221a05;
}
.game-prep-card:has(.game-prep-input:checked) {
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(244, 197, 66, 0.05);
}
.game-prep-text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--text);
  transition: color 0.2s ease;
}
.game-prep-input:checked ~ .game-prep-text strong { color: var(--gold-light); }
.game-prep-text span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.game-prep-note {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-muted);
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.game-prep-note.is-complete {
  color: var(--gold-light);
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(244, 197, 66, 0.1);
}

/* =========================================================
   Lucky365 Login page — unique components
   ========================================================= */
.login-breadcrumb {
  padding: 14px 0;
  background: var(--black-soft);
  border-bottom: 1px solid var(--border);
}
.login-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}
.login-breadcrumb-list a { color: var(--text-muted); transition: color 0.15s ease; }
.login-breadcrumb-list a:hover { color: var(--gold-light); }
.login-breadcrumb-list [aria-current="page"] { color: var(--gold-light); }
.login-breadcrumb-sep { color: var(--text-dim); opacity: 0.55; }

.login-hub {
  background:
    radial-gradient(ellipse 50% 60% at 100% 30%, rgba(244, 197, 66, 0.08) 0%, transparent 70%),
    var(--black);
}
.login-hub-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  margin-top: 36px;
}
.login-portal-card {
  max-width: 300px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #2a241c 0%, #12100e 100%);
  border: 2px solid rgba(244, 197, 66, 0.32);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.login-portal-head {
  display: flex;
  gap: 6px;
  padding: 14px 16px 0;
}
.login-portal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(244, 197, 66, 0.25);
}
.login-portal-dot:first-child { background: rgba(244, 197, 66, 0.55); }
.login-portal-body {
  padding: 22px 24px 26px;
}
.login-portal-preview { display: none; animation: loginFadeIn 0.35s ease; }
.login-portal-preview.is-active { display: block; }
@keyframes loginFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.login-portal-label {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--gold-light);
  margin: 0 0 18px;
}
.login-portal-field {
  height: 12px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.12);
  margin-bottom: 12px;
}
.login-portal-field.short { width: 65%; }
.login-portal-btn {
  margin-top: 18px;
  padding: 10px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #221a05;
  background: var(--gold-grad-soft);
}
.login-portal-status {
  margin: 20px 0 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-align: center;
}

.login-hub-panel {
  background: rgba(20, 17, 16, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-gold);
}
.login-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.login-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.login-tab svg { width: 18px; height: 18px; flex: none; }
.login-tab:hover { border-color: rgba(244, 197, 66, 0.4); color: var(--text); }
.login-tab.is-active {
  background: rgba(244, 197, 66, 0.12);
  border-color: rgba(244, 197, 66, 0.55);
  color: var(--gold-light);
}
.login-tab-panel { animation: loginFadeIn 0.3s ease; }
.login-step-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login-step-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(6, 5, 4, 0.55);
  border: 1px solid rgba(244, 197, 66, 0.1);
}
.login-step-num {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #221a05;
  background: var(--gold-grad-soft);
}
.login-step-list strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text);
  margin-bottom: 4px;
}
.login-step-list p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.login-tab-cta { width: 100%; }

.login-spec-strip {
  padding: 28px 0;
  background: var(--black-soft);
  border-block: 1px solid var(--border);
}
.login-spec-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.login-spec-item {
  text-align: center;
  padding: 16px 10px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
}
.login-spec-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.login-spec-item strong {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  color: var(--gold-light);
  font-weight: 700;
}

.login-solver { background: var(--black-soft); }
.login-issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.login-issue-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  color: inherit;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.login-issue-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px dashed transparent;
  transition: border-color 0.2s ease;
}
.login-issue-btn:hover {
  border-color: rgba(244, 197, 66, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.login-issue-btn:hover::after {
  border-color: rgba(244, 197, 66, 0.25);
}
.login-issue-btn.is-selected {
  border-color: rgba(244, 197, 66, 0.55);
  background: rgba(244, 197, 66, 0.08);
  box-shadow: 0 0 0 1px rgba(244, 197, 66, 0.2);
}
.login-issue-icon { font-size: 1.5rem; line-height: 1; }
.login-issue-btn strong {
  font-size: 0.86rem;
  text-align: center;
  color: var(--text);
}
.login-issue-btn.is-selected strong { color: var(--gold-light); }
.login-issue-action {
  display: block;
  width: 100%;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 197, 66, 0.12);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.login-issue-btn:hover .login-issue-action,
.login-issue-btn.is-selected .login-issue-action {
  opacity: 1;
}

.login-issue-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(244, 197, 66, 0.04);
  border: 1px dashed rgba(244, 197, 66, 0.28);
  text-align: center;
  animation: loginGoalPulse 2.5s ease-in-out infinite;
}
.login-issue-placeholder[hidden] { display: none !important; }
.login-issue-placeholder-icon {
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
}
.login-issue-placeholder p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}
@keyframes loginGoalPulse {
  0%, 100% { border-color: rgba(244, 197, 66, 0.22); }
  50% { border-color: rgba(244, 197, 66, 0.42); }
}

.login-issue-result {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.28);
  animation: loginFadeIn 0.35s ease;
}
.login-issue-result[hidden] { display: none !important; }
.login-issue-result-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 197, 66, 0.3);
  border-radius: 50%;
  background: var(--panel);
  color: var(--gold-light);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.login-issue-result-close:hover {
  border-color: rgba(244, 197, 66, 0.55);
  background: rgba(244, 197, 66, 0.1);
  transform: scale(1.05);
}
.login-issue-result-body {
  flex: 1;
  min-width: 0;
  padding-right: 36px;
}
.login-issue-result-icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid rgba(244, 197, 66, 0.3);
}
.login-issue-result-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.login-issue-result-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin: 0 0 8px;
}
.login-issue-result-desc {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.login-issue-result-steps {
  margin: 0 0 16px;
  padding-left: 1.1em;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}
.login-issue-result-steps li { margin-bottom: 4px; }

.login-secure { background: var(--black); }
.login-secure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.login-secure-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.login-secure-card:hover { border-color: rgba(244, 197, 66, 0.35); }
.login-secure-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.login-secure-box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  border: 2px solid rgba(244, 197, 66, 0.4);
  background: rgba(6, 5, 4, 0.8);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.login-secure-input:checked + .login-secure-box {
  background: var(--gold-grad-soft);
  border-color: var(--gold);
}
.login-secure-input:checked + .login-secure-box::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #221a05;
}
.login-secure-card:has(.login-secure-input:checked) {
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(244, 197, 66, 0.05);
}
.login-secure-text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--text);
  transition: color 0.2s ease;
}
.login-secure-input:checked ~ .login-secure-text strong { color: var(--gold-light); }
.login-secure-text span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.login-secure-note {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-muted);
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.login-secure-note.is-complete {
  color: var(--gold-light);
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(244, 197, 66, 0.1);
}

/* =========================================================
   Lucky365 Slot page — unique components
   ========================================================= */
.slot-breadcrumb {
  padding: 14px 0;
  background: var(--black-soft);
  border-bottom: 1px solid var(--border);
}
.slot-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}
.slot-breadcrumb-list a { color: var(--text-muted); transition: color 0.15s ease; }
.slot-breadcrumb-list a:hover { color: var(--gold-light); }
.slot-breadcrumb-list [aria-current="page"] { color: var(--gold-light); }
.slot-breadcrumb-sep { color: var(--text-dim); opacity: 0.55; }

.slot-hub {
  background:
    radial-gradient(ellipse 45% 55% at 0% 15%, rgba(244, 197, 66, 0.07) 0%, transparent 70%),
    var(--black);
}
.slot-hub-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  margin-top: 36px;
}
.slot-reel-frame {
  max-width: 320px;
  margin: 0 auto;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #2a241c 0%, #12100e 100%);
  border: 2px solid rgba(244, 197, 66, 0.32);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}
.slot-reel-head {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.slot-reel-head span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(244, 197, 66, 0.35);
}
.slot-reel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(6, 5, 4, 0.8);
  border: 1px solid rgba(244, 197, 66, 0.15);
}
.slot-reel-cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1.35rem;
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.slot-reel-cell.highlight {
  background: rgba(244, 197, 66, 0.18);
  border-color: rgba(244, 197, 66, 0.55);
  transform: scale(1.04);
}
.slot-reel-cell.wild,
.slot-reel-cell.scatter {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold-light);
}
.slot-reel-caption {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.slot-hub-panel {
  background: rgba(20, 17, 16, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-gold);
}
.slot-feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.slot-feature-tab {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.slot-feature-tab:hover { border-color: rgba(244, 197, 66, 0.4); color: var(--text); }
.slot-feature-tab.is-active {
  background: rgba(244, 197, 66, 0.12);
  border-color: rgba(244, 197, 66, 0.55);
  color: var(--gold-light);
}
.slot-feature-panel { animation: slotFadeIn 0.3s ease; }
.slot-feature-panel h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin: 0 0 10px;
}
.slot-feature-panel p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.slot-feature-checks {
  margin: 0 0 20px;
  padding-left: 1.1em;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}
.slot-feature-checks li { margin-bottom: 4px; }
.slot-hub-cta { width: 100%; }
@keyframes slotFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.slot-spec-strip {
  padding: 28px 0;
  background: var(--black-soft);
  border-block: 1px solid var(--border);
}
.slot-spec-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.slot-spec-item {
  text-align: center;
  padding: 16px 10px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
}
.slot-spec-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.slot-spec-item strong {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  color: var(--gold-light);
  font-weight: 700;
}

.slot-volatility { background: var(--black-soft); }
.slot-vol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.slot-vol-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.slot-vol-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px dashed transparent;
  transition: border-color 0.2s ease;
}
.slot-vol-btn:hover {
  border-color: rgba(244, 197, 66, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.slot-vol-btn:hover::after {
  border-color: rgba(244, 197, 66, 0.25);
}
.slot-vol-btn.is-selected {
  border-color: rgba(244, 197, 66, 0.55);
  background: rgba(244, 197, 66, 0.08);
  box-shadow: 0 0 0 1px rgba(244, 197, 66, 0.2);
}
.slot-vol-level {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #221a05;
  background: var(--gold-grad-soft);
}
.slot-vol-btn strong {
  font-size: 0.95rem;
  color: var(--text);
}
.slot-vol-btn.is-selected strong { color: var(--gold-light); }
.slot-vol-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.slot-vol-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding-top: 10px;
  width: 100%;
  border-top: 1px solid rgba(244, 197, 66, 0.12);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.slot-vol-btn:hover .slot-vol-action,
.slot-vol-btn.is-selected .slot-vol-action {
  opacity: 1;
}

.slot-vol-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(244, 197, 66, 0.04);
  border: 1px dashed rgba(244, 197, 66, 0.28);
  text-align: center;
  animation: slotGoalPulse 2.5s ease-in-out infinite;
}
.slot-vol-placeholder[hidden] { display: none !important; }
.slot-vol-placeholder-icon {
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
}
.slot-vol-placeholder p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}
@keyframes slotGoalPulse {
  0%, 100% { border-color: rgba(244, 197, 66, 0.22); }
  50% { border-color: rgba(244, 197, 66, 0.42); }
}

.slot-vol-result {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.28);
  animation: slotFadeIn 0.35s ease;
}
.slot-vol-result[hidden] { display: none !important; }
.slot-vol-result-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 197, 66, 0.3);
  border-radius: 50%;
  background: var(--panel);
  color: var(--gold-light);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.slot-vol-result-close:hover {
  border-color: rgba(244, 197, 66, 0.55);
  background: rgba(244, 197, 66, 0.1);
  transform: scale(1.05);
}
.slot-vol-result-icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid rgba(244, 197, 66, 0.3);
}
.slot-vol-result-body {
  flex: 1;
  min-width: 0;
  padding-right: 36px;
}
.slot-vol-result-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.slot-vol-result-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin: 0 0 8px;
}
.slot-vol-result-desc {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.slot-vol-result-list {
  margin: 0 0 16px;
  padding-left: 1.1em;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}
.slot-vol-result-list li { margin-bottom: 4px; }

.slot-prep { background: var(--black); }
.slot-prep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.slot-prep-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.slot-prep-card:hover { border-color: rgba(244, 197, 66, 0.35); }
.slot-prep-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.slot-prep-box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  border: 2px solid rgba(244, 197, 66, 0.4);
  background: rgba(6, 5, 4, 0.8);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.slot-prep-input:checked + .slot-prep-box {
  background: var(--gold-grad-soft);
  border-color: var(--gold);
}
.slot-prep-input:checked + .slot-prep-box::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #221a05;
}
.slot-prep-card:has(.slot-prep-input:checked) {
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(244, 197, 66, 0.05);
}
.slot-prep-text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--text);
  transition: color 0.2s ease;
}
.slot-prep-input:checked ~ .slot-prep-text strong { color: var(--gold-light); }
.slot-prep-text span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.slot-prep-note {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-muted);
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.slot-prep-note.is-complete {
  color: var(--gold-light);
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(244, 197, 66, 0.1);
}

/* =========================================================
   Lucky365 Test ID page — unique components
   ========================================================= */
.tid-breadcrumb {
  padding: 14px 0;
  background: var(--black-soft);
  border-bottom: 1px solid var(--border);
}
.tid-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}
.tid-breadcrumb-list a { color: var(--text-muted); transition: color 0.15s ease; }
.tid-breadcrumb-list a:hover { color: var(--gold-light); }
.tid-breadcrumb-list [aria-current="page"] { color: var(--gold-light); }
.tid-breadcrumb-sep { color: var(--text-dim); opacity: 0.55; }

.tid-hub {
  background:
    radial-gradient(ellipse 50% 55% at 100% 20%, rgba(244, 197, 66, 0.07) 0%, transparent 70%),
    var(--black);
}
.tid-hub-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  margin-top: 36px;
}
.tid-access-card {
  max-width: 320px;
  margin: 0 auto;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #2a241c 0%, #12100e 100%);
  border: 2px solid rgba(244, 197, 66, 0.32);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}
.tid-access-badge {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #221a05;
  background: var(--gold-grad-soft);
}
.tid-access-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.tid-access-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.tid-access-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.1);
  overflow: hidden;
}
.tid-access-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold-grad-soft);
  transition: width 0.35s ease;
}
.tid-access-caption {
  margin: 18px 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

.tid-hub-panel {
  background: rgba(20, 17, 16, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-gold);
}
.tid-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.tid-type-tab {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.tid-type-tab:hover { border-color: rgba(244, 197, 66, 0.4); color: var(--text); }
.tid-type-tab.is-active {
  background: rgba(244, 197, 66, 0.12);
  border-color: rgba(244, 197, 66, 0.55);
  color: var(--gold-light);
}
.tid-type-panel { animation: tidFadeIn 0.3s ease; }
.tid-type-panel h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin: 0 0 10px;
}
.tid-type-panel p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.tid-type-list {
  margin: 0 0 20px;
  padding-left: 1.1em;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}
.tid-type-list li { margin-bottom: 4px; }
.tid-hub-cta { width: 100%; }
@keyframes tidFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tid-spec-strip {
  padding: 28px 0;
  background: var(--black-soft);
  border-block: 1px solid var(--border);
}
.tid-spec-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.tid-spec-item {
  text-align: center;
  padding: 16px 10px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
}
.tid-spec-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.tid-spec-item strong {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  color: var(--gold-light);
  font-weight: 700;
}

.tid-goal { background: var(--black-soft); }
.tid-goal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.tid-goal-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tid-goal-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px dashed transparent;
  transition: border-color 0.2s ease;
}
.tid-goal-btn:hover {
  border-color: rgba(244, 197, 66, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.tid-goal-btn:hover::after {
  border-color: rgba(244, 197, 66, 0.25);
}
.tid-goal-btn.is-selected {
  border-color: rgba(244, 197, 66, 0.55);
  background: rgba(244, 197, 66, 0.08);
  box-shadow: 0 0 0 1px rgba(244, 197, 66, 0.2);
}
.tid-goal-icon { font-size: 1.5rem; line-height: 1; }
.tid-goal-btn strong { font-size: 0.92rem; color: var(--text); }
.tid-goal-btn.is-selected strong { color: var(--gold-light); }
.tid-goal-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.tid-goal-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding-top: 10px;
  width: 100%;
  border-top: 1px solid rgba(244, 197, 66, 0.12);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.tid-goal-btn:hover .tid-goal-action,
.tid-goal-btn.is-selected .tid-goal-action {
  opacity: 1;
}

.tid-goal-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(244, 197, 66, 0.04);
  border: 1px dashed rgba(244, 197, 66, 0.28);
  text-align: center;
  animation: tidGoalPulse 2.5s ease-in-out infinite;
}
.tid-goal-placeholder[hidden] { display: none !important; }
.tid-goal-placeholder-icon {
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
}
.tid-goal-placeholder p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}
@keyframes tidGoalPulse {
  0%, 100% { border-color: rgba(244, 197, 66, 0.22); }
  50% { border-color: rgba(244, 197, 66, 0.42); }
}

.tid-goal-result {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.28);
  animation: tidFadeIn 0.35s ease;
}
.tid-goal-result[hidden] { display: none !important; }
.tid-goal-result-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 197, 66, 0.3);
  border-radius: 50%;
  background: var(--panel);
  color: var(--gold-light);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.tid-goal-result-close:hover {
  border-color: rgba(244, 197, 66, 0.55);
  background: rgba(244, 197, 66, 0.1);
  transform: scale(1.05);
}
.tid-goal-result-icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid rgba(244, 197, 66, 0.3);
}
.tid-goal-result-body {
  flex: 1;
  min-width: 0;
  padding-right: 36px;
}
.tid-goal-result-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.tid-goal-result-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin: 0 0 8px;
}
.tid-goal-result-desc {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tid-safe { background: var(--black); }
.tid-safe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.tid-safe-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tid-safe-card:hover { border-color: rgba(244, 197, 66, 0.35); }
.tid-safe-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tid-safe-box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  border: 2px solid rgba(244, 197, 66, 0.4);
  background: rgba(6, 5, 4, 0.8);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.tid-safe-input:checked + .tid-safe-box {
  background: var(--gold-grad-soft);
  border-color: var(--gold);
}
.tid-safe-input:checked + .tid-safe-box::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #221a05;
}
.tid-safe-card:has(.tid-safe-input:checked) {
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(244, 197, 66, 0.05);
}
.tid-safe-text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--text);
  transition: color 0.2s ease;
}
.tid-safe-input:checked ~ .tid-safe-text strong { color: var(--gold-light); }
.tid-safe-text span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.tid-safe-note {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-muted);
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tid-safe-note.is-complete {
  color: var(--gold-light);
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(244, 197, 66, 0.1);
}

/* Download section */
.download-section {
  position: relative;
  overflow: hidden;
  background: var(--black-soft);
}
.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 85% 50%, rgba(244, 197, 66, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 30%, rgba(244, 197, 66, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.download-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr minmax(300px, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.download-visual {
  position: relative;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: rgba(20, 17, 16, 0.65);
  border: 1px solid rgba(244, 197, 66, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.download-visual .store-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: 100%;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(6, 5, 4, 0.75);
  border: 1px solid rgba(244, 197, 66, 0.28);
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.store-btn:hover {
  border-color: rgba(244, 197, 66, 0.55);
  background: rgba(244, 197, 66, 0.08);
  transform: translateY(-2px);
}
.store-btn-icon {
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--gold-light);
}
.store-btn-icon-play { color: var(--gold); }
.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.store-btn-text small {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.store-btn-text strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.download-visual::after {
  content: '';
  position: absolute;
  inset: 8% -8% -8% 8%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 197, 66, 0.22);
  pointer-events: none;
}
.download-visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(244, 197, 66, 0.14);
}
.download-text .section-title.left {
  text-align: left;
  margin-bottom: 16px;
  line-height: 1.15;
}
.download-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.1);
  border: 1px solid rgba(244, 197, 66, 0.28);
  margin-bottom: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.download-text > p {
  color: var(--text-muted);
  margin: 0 0 20px;
  font-size: 0.98rem;
  max-width: 540px;
}
.download-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin: 0 0 22px;
  padding: 0;
  border: none;
}
.download-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.download-stat strong { font-family: 'Cinzel', serif; font-size: 1.35rem; color: var(--gold-light); }
.download-stat span { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.download-steps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 0;
}
.download-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.step-dot {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(244, 197, 66, 0.12);
  border: 1px solid rgba(244, 197, 66, 0.4);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-text .hero-trust {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  max-width: 540px;
}

/* Promo banner */
.promo-section {
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.promo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 15% 50%, rgba(244, 197, 66, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 30%, rgba(244, 197, 66, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.promo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.promo-visual {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.promo-visual::after {
  content: '';
  position: absolute;
  inset: 8% -8% -8% 8%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 197, 66, 0.22);
  pointer-events: none;
}
.promo-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.promo-visual:hover img {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(244, 197, 66, 0.18);
}
.promo-text .section-title.left {
  text-align: left;
  margin-bottom: 16px;
  line-height: 1.15;
}
.promo-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.1);
  border: 1px solid rgba(244, 197, 66, 0.28);
  margin-bottom: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.promo-text p {
  color: var(--text-muted);
  margin: 0 0 14px;
  font-size: 0.98rem;
  max-width: 540px;
}
.promo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.promo-text .hero-trust {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  max-width: 540px;
}

/* Awards */
.awards-section { background: var(--black-soft); }
.awards-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}
.award-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.award-item img { width: 110px; height: 110px; object-fit: contain; }
.award-item span { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }

/* SEO content */
.seo-section { background: var(--black-soft); }
.seo-content-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-gold);
}
.seo-content h1 { text-align: center; margin-bottom: 30px; margin-top: 0; }
.seo-content h3 { color: var(--gold-light); font-size: 1.2rem; margin-top: 34px; }
.seo-content p, .seo-content li { color: var(--text-muted); font-size: 0.96rem; }
.seo-content ul, .seo-content ol { margin: 12px 0; }
.seo-content li { margin-bottom: 6px; }
.seo-content strong { color: var(--text); }

/* SEO content table */
.table-wrap {
  margin: 18px 0 18px;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}
.seo-content table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: var(--panel);
}
.seo-content thead th {
  background: linear-gradient(180deg, rgba(244, 197, 66, 0.16), rgba(244, 197, 66, 0.06));
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(244, 197, 66, 0.3);
  white-space: nowrap;
}
.seo-content tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
  vertical-align: top;
}
.seo-content tbody tr:last-child td { border-bottom: none; }
.seo-content tbody tr:nth-child(even) { background: rgba(244, 197, 66, 0.03); }
.seo-content tbody tr:hover { background: rgba(244, 197, 66, 0.07); }
.seo-content td strong { color: var(--gold-light); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-icon { color: var(--gold); font-size: 1.3rem; transition: transform 0.2s ease; line-height: 1; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 20px;
}
.faq-a p { margin: 0 0 18px; color: var(--text-muted); font-size: 0.92rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #030201;
  border-top: 1px solid rgba(244, 197, 66, 0.18);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 4px; }
.footer-col a { color: var(--text-dim); font-size: 0.88rem; display: flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 18px;
  row-gap: 10px;
}
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; }

.footer-col-payments h4 { margin-bottom: 2px; }
.footer-payments-sub {
  margin: 0 0 4px;
  color: var(--text-dim);
  font-size: 0.78rem;
}
.footer-payments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.footer-payments-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(244, 197, 66, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.footer-payments-item:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 197, 66, 0.6);
  box-shadow: 0 8px 18px rgba(244, 197, 66, 0.25);
}
.footer-payments img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}
.footer-bottom p { margin: 4px 0; }

/* =========================================================
   Floating Action Buttons
   ========================================================= */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-grad-soft);
  color: #221a05;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  border: none;
  cursor: pointer;
  opacity: 0.96;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.fab:hover { transform: translateY(-3px); opacity: 1; }
.fab svg { width: 26px; height: 26px; }

.fab-whatsapp { background: #25d366; color: #fff; }
.fab-telegram { background: #229ed9; color: #fff; }

.fab-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  background: var(--panel);
  color: var(--gold);
  border: 1px solid rgba(244,197,66,0.4);
}
.fab-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========================================================
   Mobile Bottom Nav (Login / Register)
   ========================================================= */
.mobile-bottom-nav {
  display: none;
}
.mobile-bottom-nav .btn-login:active { background: rgba(244, 197, 66, 0.14); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; gap: 20px; max-width: 460px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .apk-hub-layout { grid-template-columns: 1fr; }
  .apk-device-frame { max-width: 260px; order: -1; }
  .apk-spec-grid { grid-template-columns: repeat(3, 1fr); }
  .apk-safety-grid { grid-template-columns: 1fr; }
  .apk-fix-grid { grid-template-columns: 1fr; }
  .game-explorer-layout { grid-template-columns: 1fr; }
  .game-cat-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .game-cat-btn:hover { transform: none; }
  .game-spec-grid { grid-template-columns: repeat(3, 1fr); }
  .game-style-grid { grid-template-columns: repeat(2, 1fr); }
  .game-prep-grid { grid-template-columns: 1fr; }
  .login-hub-layout { grid-template-columns: 1fr; }
  .login-portal-card { max-width: 260px; order: -1; }
  .login-spec-grid { grid-template-columns: repeat(3, 1fr); }
  .login-issue-grid { grid-template-columns: repeat(2, 1fr); }
  .login-secure-grid { grid-template-columns: 1fr; }
  .slot-hub-layout { grid-template-columns: 1fr; }
  .slot-reel-frame { max-width: 280px; order: -1; }
  .slot-spec-grid { grid-template-columns: repeat(3, 1fr); }
  .slot-vol-grid { grid-template-columns: 1fr; }
  .slot-prep-grid { grid-template-columns: 1fr; }
  .tid-hub-layout { grid-template-columns: 1fr; }
  .tid-access-card { max-width: 280px; order: -1; }
  .tid-type-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .tid-type-tab {
    width: 100%;
    text-align: center;
    padding: 10px 8px;
    font-size: 0.74rem;
    line-height: 1.25;
  }
  .tid-spec-grid { grid-template-columns: repeat(3, 1fr); }
  .tid-goal-grid { grid-template-columns: repeat(2, 1fr); }
  .tid-safe-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; gap: 28px; }
  .promo-visual { max-width: 360px; }
  .promo-text { text-align: center; }
  .promo-text .section-title.left { text-align: center; }
  .promo-text p { max-width: none; }
  .promo-text .hero-trust { justify-content: center; max-width: none; }
  .promo-cta { justify-content: center; }
  .download-grid { grid-template-columns: 1fr; gap: 28px; }
  .download-visual { max-width: 340px; order: -1; }
  .download-text { text-align: center; }
  .download-text .section-title.left { text-align: center; }
  .download-text > p { max-width: none; }
  .download-stats { justify-content: center; }
  .download-stat { align-items: center; }
  .download-steps-row { justify-content: center; }
  .download-text .hero-trust { justify-content: center; max-width: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; --bottom-nav-h: 70px; }
  .logo-img { height: 32px; }
  .header-inner { padding: 0 14px; position: relative; }
  .logo-link {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .lang-current span#langCurrentLabel { font-size: 0.78rem; }
  .lang-current { padding: 7px 10px; gap: 5px; }
  .lang-current .chev { width: 12px; height: 12px; }
  .header-auth { display: none; }

  body { padding-bottom: var(--bottom-nav-h); }

  .mobile-bottom-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 600;
    height: var(--bottom-nav-h);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(13, 11, 9, 0.98) 0%, rgba(6, 5, 4, 0.99) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -14px 30px rgba(0, 0, 0, 0.5);
  }
  .mobile-bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 197, 66, 0.55), transparent);
  }
  .mobile-bottom-nav .btn {
    flex: 1;
    margin: 0;
    gap: 8px;
    padding: 12px 14px;
    font-size: 0.94rem;
  }
  .mobile-bottom-nav .btn-register { flex: 1.1; }
  .mobile-bottom-nav .btn-login {
    flex: 0.9;
    background: rgba(244, 197, 66, 0.06);
  }

  .floating-actions { bottom: calc(var(--bottom-nav-h) + 14px); }

  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .section-title { margin-bottom: 8px; font-size: clamp(1.4rem, 5vw, 1.75rem); }
  .section-sub { margin-bottom: 28px; font-size: 0.92rem; }

  .hero { min-height: calc(100vh - var(--bottom-nav-h)); min-height: calc(100dvh - var(--bottom-nav-h)); }
  .hero-content {
    padding-top: 16px;
    padding-bottom: 28px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero .eyebrow { margin-bottom: 10px; font-size: 0.72rem; }
  .hero h2 {
    text-align: center;
    font-size: clamp(1.75rem, 7vw, 2.15rem);
    margin-bottom: 14px;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 22px;
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 24px; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { justify-content: center; text-align: center; gap: 8px 16px; font-size: 0.82rem; }

  .steps-grid { gap: 16px; }
  .step-card { padding: 28px 20px 24px; }

  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 22px 18px; }

  .download-grid { gap: 20px; }
  .download-visual { max-width: min(320px, 92vw); padding: 28px 22px; }
  .store-btn { padding: 12px 16px; gap: 12px; }
  .store-btn-icon { width: 30px; height: 30px; }
  .store-btn-text small { font-size: 0.68rem; }
  .store-btn-text strong { font-size: 0.96rem; }
  .download-text .eyebrow { margin-bottom: 20px; margin-top: 20px; }
  .download-text .section-title.left {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
  }
  .download-text > p { margin-bottom: 16px; font-size: 0.92rem; line-height: 1.55; }
  .download-stats { gap: 16px 24px; margin-bottom: 16px; }
  .download-stat strong { font-size: 1.2rem; }
  .download-steps-row { gap: 8px 14px; }
  .download-text .hero-trust {
    margin-top: 14px;
    padding-top: 14px;
    gap: 8px 14px;
    font-size: 0.82rem;
  }

  .awards-row { gap: 20px; }
  .award-item img { width: 84px; height: 84px; }

  .promo-grid { gap: 20px; }
  .promo-visual { max-width: min(280px, 88vw); }
  .promo-visual::after { inset: 6% -5% -5% 5%; }
  .promo-text .eyebrow { margin-bottom: 20px; margin-top: 20px; }
  .promo-text .section-title.left {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
  }
  .promo-text p { margin-bottom: 10px; font-size: 0.92rem; line-height: 1.55; }
  .promo-cta { margin-top: 14px; }
  .promo-text .hero-trust {
    margin-top: 14px;
    padding-top: 14px;
    gap: 8px 14px;
    font-size: 0.82rem;
  }

  .seo-content-box { padding: 24px 16px; border-radius: var(--radius); }
  .seo-content h1 { margin-bottom: 22px; font-size: clamp(1.35rem, 5vw, 1.6rem); }
  .seo-content h3 { margin-top: 24px; font-size: 1.05rem; }

  .faq-list { gap: 10px; }
  .faq-q { padding: 14px 16px; font-size: 0.92rem; }
  .faq-a p { font-size: 0.88rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { align-items: center; text-align: center; }

  .footer-col-payments {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    align-items: center;
    margin-bottom: 20px;
  }
  .footer-col-payments h4 { text-align: center; }
  .footer-payments-sub { text-align: center; }
  .footer-payments {
    width: 100%;
    max-width: 320px;
  }

  .floating-actions { right: 12px; }
  .fab { width: 44px; height: 44px; font-size: 1.1rem; }
  .fab svg { width: 22px; height: 22px; }

  .apk-tabs { flex-direction: column; }
  .apk-tab { justify-content: center; }
  .apk-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .game-cat-nav { grid-template-columns: 1fr; }
  .game-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .game-style-grid { grid-template-columns: 1fr; }
  .game-match-result { flex-direction: column; text-align: center; }
  .game-match-body { padding-right: 0; padding-top: 8px; }
  .game-match-placeholder { flex-direction: column; gap: 8px; padding: 16px; }
  .game-style-action { font-size: 0.68rem; }
  .game-meter { grid-template-columns: 1fr; gap: 6px; }
  .login-tabs { flex-direction: column; }
  .login-tab { justify-content: center; }
  .login-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .login-issue-grid { grid-template-columns: 1fr; }
  .login-issue-result { flex-direction: column; }
  .login-issue-placeholder { flex-direction: column; gap: 8px; padding: 16px; }
  .login-issue-action { font-size: 0.64rem; }
  .slot-feature-tabs { justify-content: center; }
  .slot-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .slot-vol-result { flex-direction: column; }
  .slot-vol-result-body { padding-right: 0; padding-top: 8px; }
  .slot-vol-placeholder { flex-direction: column; gap: 8px; padding: 16px; }
  .slot-vol-action { font-size: 0.68rem; }
  .tid-hub-panel { padding: 18px 16px; }
  .tid-type-panel h3 { font-size: 1.05rem; }
  .tid-type-panel p { font-size: 0.88rem; }
  .tid-type-list { margin-bottom: 16px; font-size: 0.84rem; }
  .tid-hub-cta {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 0.92rem;
  }
  .tid-goal-grid { grid-template-columns: 1fr; }
  .tid-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .tid-goal-result { flex-direction: column; text-align: center; }
  .tid-goal-result-body { padding-right: 0; padding-top: 8px; }
  .tid-goal-placeholder { flex-direction: column; gap: 8px; padding: 16px; }
  .tid-goal-action { font-size: 0.68rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
