/* =========================================================
   Nexora Lab - Royal Gold Theme
   Stack: Bootstrap 5 + Slick Slider + Font Awesome 6
   ========================================================= */

:root {
  --gold-50: #fff8dc;
  --gold-100: #fbe7a6;
  --gold-300: #f2cd63;
  --gold-500: #d4a237;
  --gold-700: #a6731a;
  --gold-900: #6b4510;
  --ruby: #c3122f;
  --ruby-dark: #7d0a1d;

  --bg: #080604;
  --bg-2: #0f0b07;
  --surface: #16110b;
  --surface-2: #1d160e;
  --line: rgba(212, 162, 55, 0.18);
  --line-strong: rgba(212, 162, 55, 0.45);

  --text: #f4ecdc;
  --text-muted: #b5a689;
  --text-dim: #7d705a;

  --gold-gradient: linear-gradient(180deg, #fff3c4 0%, #f2cd63 35%, #c8922a 65%, #f7dc85 100%);
  --gold-button: linear-gradient(180deg, #f7d978 0%, #d9a63c 50%, #a8741b 100%);
  --font-head: "Cinzel", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; color: var(--text); letter-spacing: 0.5px; }
a { color: var(--gold-300); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--gold-100); }
p { color: var(--text-muted); }
img { max-width: 100%; height: auto; }
::selection { background: var(--gold-500); color: #1a1206; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-300), var(--gold-700)); border-radius: 6px; }

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-ruby { color: #ff4d64; }

.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold-500); }
.section-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; line-height: 1.2; }
.section-lead { max-width: 640px; margin: 0 auto; }

.divider-ornament {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--gold-500); margin: 18px auto 0; font-size: 12px;
}
.divider-ornament::before, .divider-ornament::after {
  content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

/* ---------- Buttons ---------- */
.btn-gold, .btn-outline-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 13px 28px; border-radius: 50px; transition: all 0.35s var(--ease); white-space: nowrap;
}
.btn-gold {
  background: var(--gold-button); color: #2a1b05; border: 1px solid #f7dc85;
  box-shadow: 0 6px 22px rgba(212, 162, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { color: #1a1003; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212, 162, 55, 0.55), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-outline-gold { border: 1px solid var(--line-strong); color: var(--gold-100); background: rgba(212, 162, 55, 0.06); }
.btn-outline-gold:hover { color: #2a1b05; background: var(--gold-button); border-color: #f7dc85; transform: translateY(-2px); }
.btn-sm-pill { padding: 9px 20px; font-size: 12px; }

/* ---------- Navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; transition: background 0.3s, box-shadow 0.3s; background: rgba(8, 6, 4, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(8, 6, 4, 0.94); border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.site-header .navbar { padding: 10px 0; }
.navbar-brand img { height: 74px; width: auto; filter: drop-shadow(0 0 10px rgba(212, 162, 55, 0.35)); transition: transform .3s; }
.navbar-brand:hover img { transform: scale(1.04); }
.site-header .nav-link {
  color: var(--text) !important; font-weight: 500; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 16px !important; position: relative;
}
.site-header .nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--gold-gradient); transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--gold-300) !important; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 1px solid var(--line-strong); color: var(--gold-300); padding: 6px 12px; font-size: 20px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(212, 162, 55, 0.25); }
.site-header .dropdown-menu { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.site-header .dropdown-item { color: var(--text); border-radius: 8px; font-size: 14px; padding: 8px 14px; }
.site-header .dropdown-item:hover { background: rgba(212, 162, 55, 0.12); color: var(--gold-300); }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 12px; }
  .site-header .nav-link::after { display: none; }
  .navbar-brand img { height: 44px; }
  .site-header .dropdown-menu { box-shadow: none; border: 0; background: transparent; padding-left: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 100px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 72% 45%, rgba(212, 162, 55, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(195, 18, 47, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .suits-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.06; }
.hero .suits-bg i { position: absolute; color: var(--gold-300); }
.hero-title { font-size: clamp(36px, 6vw, 68px); line-height: 1.08; margin-bottom: 22px; }
.hero-text { font-size: 17px; max-width: 540px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-badge {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px;
  background: rgba(212, 162, 55, 0.07); border: 1px solid var(--line); font-size: 13px; color: var(--text-muted);
}
.hero-badge strong { display: block; color: var(--gold-100); font-family: var(--font-head); font-size: 18px; line-height: 1.1; }
.hero-badge i { color: var(--gold-300); font-size: 20px; }
.hero-logo-wrap { position: relative; text-align: center; }
.hero-logo-wrap::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 205, 99, 0.25), transparent 65%);
  animation: pulse-glow 4s ease-in-out infinite;
}
.hero-logo { position: relative; width: 100%; max-width: 560px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 25px 40px rgba(0,0,0,.7)); }
.hero-art { width: 100%; max-width: 460px; max-height: 460px; object-fit: contain; mix-blend-mode: lighten; filter: none; }
@media (max-width: 991.98px) { .hero-art { max-width: 340px; max-height: 340px; } }
.hero-ring { position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px dashed rgba(212,162,55,.22); border-radius: 50%; animation: spin 60s linear infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes pulse-glow { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 80px 0 70px; text-align: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(212, 162, 55, 0.2), transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); position: relative; }
.page-hero p { position: relative; max-width: 620px; margin: 10px auto 0; }
.breadcrumb-lite { position: relative; font-size: 13px; color: var(--text-dim); margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; }
.breadcrumb-lite a { color: var(--gold-300); }

/* ---------- Game cards ---------- */
.game-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.game-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: 0 22px 45px rgba(0,0,0,.6), 0 0 30px rgba(212,162,55,.14); }
.game-thumb {
  position: relative; aspect-ratio: 1100 / 530; overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(242, 205, 99, 0.18), transparent 60%),
    linear-gradient(135deg, #24190d, #0e0a06);
  display: flex; align-items: center; justify-content: center;
}
.game-thumb .thumb-fallback { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gold-300); font-size: 44px; opacity: .8; }
.game-thumb .thumb-fallback span { font-family: var(--font-head); font-size: 14px; letter-spacing: 2px; color: var(--gold-100); }
.game-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); transition: transform 0.6s var(--ease);
}
.game-thumb img.img-missing { display: none; }
.game-card:hover .game-thumb img { transform: scale(1.04); }
.game-card .game-thumb { border-bottom: 1px solid var(--line); }
.game-tag {
  align-self: flex-start; margin-bottom: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 30px; background: rgba(8,6,4,.75); color: var(--gold-300); border: 1px solid var(--line-strong);
}
.game-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.game-body h3 { font-size: 20px; margin-bottom: 8px; }
.game-body p { font-size: 14px; margin-bottom: 16px; flex: 1; }
.game-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.game-meta span { font-size: 12px; color: var(--text-muted); background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 3px 10px; border-radius: 20px; }
.game-meta i { color: var(--gold-500); margin-right: 4px; }
.game-actions { display: flex; gap: 10px; }
.game-actions a { flex: 1; }

/* ---------- Slick customisation ---------- */
.games-slider { margin: 0 -12px; }
.games-slider .slide-item { padding: 14px 12px 30px; height: auto; }
.games-slider .slick-track { display: flex !important; }
.games-slider .slick-slide { height: inherit !important; }
.games-slider .slick-slide > div { height: 100%; }
.slider-nav { display: flex; gap: 10px; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(212,162,55,.06); color: var(--gold-300); font-size: 16px; transition: all .3s;
}
.slider-btn:hover { background: var(--gold-button); color: #2a1b05; }
.slick-dots { bottom: -30px; }
.slick-dots li button:before { color: var(--gold-500); font-size: 9px; opacity: .35; }
.slick-dots li.slick-active button:before { color: var(--gold-300); opacity: 1; }

/* ---------- Reviews (Client Accolades) ---------- */
.reviews-slider { margin: 0 -12px; }
.reviews-slider .slide-item { padding: 14px 12px 30px; height: auto; }
.reviews-slider .slick-track { display: flex !important; }
.reviews-slider .slick-slide { height: inherit !important; }
.reviews-slider .slick-slide > div { height: 100%; }
.review-card {
  position: relative; height: 100%; padding: 30px 28px 26px; border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: border-color .4s, transform .4s var(--ease);
}
.review-card:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.review-quote { position: absolute; top: 24px; right: 26px; font-size: 38px; color: rgba(212,162,55,.14); }
.review-stars { color: var(--gold-300); font-size: 14px; display: flex; gap: 4px; margin-bottom: 16px; }
.review-card p { font-size: 15px; font-style: italic; color: var(--text); opacity: .85; flex: 1; margin-bottom: 22px; }
.review-user { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--gold-button); color: #2a1b05; font-weight: 700; font-size: 15px; font-family: var(--font-head);
}
.review-user strong { display: block; color: var(--gold-100); font-size: 15px; }
.review-user small { color: var(--text-dim); font-size: 12.5px; letter-spacing: .5px; }

/* ---------- Category tiles ---------- */
.cat-tile {
  display: block; position: relative; padding: 30px 26px; border-radius: var(--radius); height: 100%;
  background: linear-gradient(160deg, rgba(212,162,55,.12), rgba(212,162,55,.02) 60%); border: 1px solid var(--line);
  transition: all .4s var(--ease); overflow: hidden;
}
.cat-tile:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.cat-tile .cat-icon { font-size: 34px; margin-bottom: 18px; }
.cat-tile h3 { font-size: 20px; margin-bottom: 6px; }
.cat-tile p { font-size: 14px; margin-bottom: 0; }
.cat-tile .cat-count { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-size: 42px; color: rgba(212,162,55,.12); line-height: 1; }

/* ---------- Feature boxes ---------- */
.feature-box { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); height: 100%; transition: all .4s var(--ease); }
.feature-box:hover { border-color: var(--line-strong); box-shadow: 0 0 30px rgba(212,162,55,.1); }
.icon-ring {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px;
  background: radial-gradient(circle, rgba(242,205,99,.2), rgba(212,162,55,.04)); border: 1px solid var(--line-strong);
  color: var(--gold-300); font-size: 24px;
}
.feature-box h3 { font-size: 19px; margin-bottom: 10px; }
.feature-box p { font-size: 14.5px; margin-bottom: 0; }

/* ---------- Steps ---------- */
.step-card { text-align: center; padding: 10px 18px; position: relative; }
.step-num {
  width: 82px; height: 82px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 30px; color: #2a1b05; background: var(--gold-button);
  box-shadow: 0 0 0 8px rgba(212,162,55,.08), 0 0 30px rgba(212,162,55,.3);
}
.step-card h3 { font-size: 20px; }
@media (min-width: 768px) {
  .steps-row .col-md-4:not(:last-child) .step-card::after {
    content: ""; position: absolute; top: 41px; left: calc(50% + 60px); width: calc(100% - 120px); height: 1px;
    background: repeating-linear-gradient(90deg, var(--gold-500) 0 6px, transparent 6px 12px); opacity: .5;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: 24px; padding: 10px 42px; overflow: hidden;
  background: linear-gradient(120deg, #2a1c0a, #120c06 55%, #2b0810);
  border: 1px solid var(--line-strong);
}
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(242,205,99,.25), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); }
.blend-art { mix-blend-mode: lighten; }
.cta-band img { width: 100%; max-width: 320px; }
.about-visual img { width: 100%; max-width: 400px; }
@media (max-width: 767.98px) { .cta-band { padding: 40px 22px; text-align: center; } }

/* ---------- FAQ / Accordion ---------- */
.accordion-gold .accordion-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: 12px; overflow: hidden; }
.accordion-gold .accordion-button {
  background: transparent; color: var(--text); font-weight: 600; font-size: 16px; padding: 20px 22px; box-shadow: none;
}
.accordion-gold .accordion-button:not(.collapsed) { color: var(--gold-300); background: rgba(212,162,55,.06); }
.accordion-gold .accordion-button::after {
  background-image: none; content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--gold-300);
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 12px;
}
.accordion-gold .accordion-button:not(.collapsed)::after { content: "\f068"; transform: none; }
.accordion-gold .accordion-body { color: var(--text-muted); padding: 4px 22px 22px; }

/* ---------- Games page: filter + detail ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 46px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--text-muted); border-radius: 40px;
  padding: 9px 22px; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; transition: all .3s;
}
.filter-btn:hover { color: var(--gold-300); border-color: var(--line-strong); }
.filter-btn.active { background: var(--gold-button); color: #2a1b05; border-color: #f7dc85; }
.game-col { transition: opacity .3s; }
.game-col.is-hidden { display: none; }

.game-detail { padding: 70px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.game-detail:nth-of-type(even) { background: var(--bg-2); }
.game-detail .game-thumb { border-radius: var(--radius); border: 1px solid var(--line-strong); aspect-ratio: 1100 / 600; }
.game-detail .game-thumb img { padding: 14px; }
.game-detail h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.detail-num { font-family: var(--font-head); font-size: 15px; letter-spacing: 3px; color: var(--gold-500); }
.quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 22px 0 26px; }
.quick-facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.quick-facts small { display: block; color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; }
.quick-facts strong { color: var(--gold-100); font-size: 14.5px; font-weight: 600; }
.how-list { counter-reset: step; list-style: none; padding: 0; margin: 0 0 24px; }
.how-list li { counter-increment: step; position: relative; padding: 0 0 12px 44px; color: var(--text-muted); font-size: 14.5px; }
.how-list li::before {
  content: counter(step); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #2a1b05; background: var(--gold-button);
}
.detail-sub { font-size: 17px; color: var(--gold-100); margin: 6px 0 14px; font-family: var(--font-head); }
.pay-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; margin-bottom: 18px; }
.pay-table th { background: rgba(212,162,55,.12); color: var(--gold-100); font-weight: 600; padding: 10px 14px; text-align: left; }
.pay-table td { padding: 9px 14px; color: var(--text-muted); border-top: 1px solid var(--line); }
.pay-table td:last-child, .pay-table th:last-child { text-align: right; }
.pay-table td:last-child { color: var(--gold-300); font-weight: 600; }
.pay-table tr:hover td { background: rgba(212,162,55,.04); }
.tip-note { font-size: 13.5px; color: var(--text-muted); background: rgba(195,18,47,.08); border-left: 3px solid var(--ruby); padding: 10px 14px; border-radius: 0 10px 10px 0; }

/* ---------- Download page ---------- */
.platform-card { padding: 40px 34px; border-radius: 22px; height: 100%; background: linear-gradient(170deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.platform-card.featured { border-color: var(--line-strong); box-shadow: 0 0 40px rgba(212,162,55,.12); }
.platform-card .big-icon { font-size: 52px; margin-bottom: 18px; }
.platform-card h3 { font-size: 26px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 28px; }
.check-list li { padding: 6px 0 6px 30px; position: relative; color: var(--text-muted); font-size: 14.5px; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 7px; color: var(--gold-300); font-size: 13px; }
.ribbon { position: absolute; top: 20px; right: -36px; transform: rotate(45deg); background: var(--gold-button); color: #2a1b05; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 5px 44px; text-transform: uppercase; }

.game-meta-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 40px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; transition: all .3s; }
.game-meta-chip i { color: var(--gold-300); }
.game-meta-chip:hover { border-color: var(--line-strong); color: var(--gold-300); transform: translateY(-2px); }

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; margin-bottom: 18px; }
.legal-block h2 { font-size: 21px; color: var(--gold-100); margin-bottom: 12px; }
.legal-block p:last-child, .legal-block ul:last-child { margin-bottom: 0; }
.legal-block ul { color: var(--text-muted); padding-left: 20px; }
.legal-block li { margin-bottom: 6px; }
.legal-updated { display: inline-block; font-size: 13px; color: var(--text-dim); border: 1px solid var(--line); border-radius: 30px; padding: 5px 16px; margin-top: 16px; position: relative; }

/* ---------- About ---------- */
.about-visual { position: relative; padding: 40px; border-radius: 24px; background: radial-gradient(circle at 50% 45%, rgba(242,205,99,.18), transparent 65%), var(--surface); border: 1px solid var(--line); text-align: center; }
.stat-box { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); height: 100%; }
.stat-box strong { display: block; font-family: var(--font-head); font-size: 38px; line-height: 1.1; }
.stat-box span { font-size: 13px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer {
  background:
    linear-gradient(180deg, rgba(5,4,3,.55) 0%, rgba(5,4,3,.25) 45%, rgba(5,4,3,.35) 100%),
    url("../../images/footer-bg-clean.webp") center bottom / cover no-repeat,
    #050403;
  border-top: 1px solid var(--line); padding: 70px 0 0; position: relative;
}
@media (max-width: 991.98px) {
  .site-footer {
    background:
      linear-gradient(180deg, rgba(5,4,3,.55) 0%, rgba(5,4,3,.85) 35%, rgba(5,4,3,.92) 100%),
      url("../../images/footer-bg-clean.webp") center top / auto 100% no-repeat,
      #050403;
  }
}
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-300), transparent); }
.footer-logo { height: 70px; margin-bottom: 18px; }
.site-footer h4 { font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-300); margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--gold-300); padding-left: 4px; }
.footer-links a { transition: all .25s; }
.footer-text { font-size: 14px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--gold-300); transition: all .3s; }
.social-row a:hover { background: var(--gold-button); color: #2a1b05; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 50px; padding: 22px 0; font-size: 13px; color: var(--text-dim); }
.footer-bottom a { color: var(--text-muted); }

/* ---------- Back to top + toast ---------- */
.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; z-index: 1040;
  background: var(--gold-button); color: #2a1b05; font-size: 16px; box-shadow: 0 8px 22px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .35s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.nx-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 1060;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text); border-radius: 12px;
  padding: 12px 20px; font-size: 14px; box-shadow: 0 16px 36px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  max-width: calc(100% - 32px);
}
.nx-toast i { color: var(--gold-300); margin-right: 8px; }
.nx-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-logo, .hero-ring, .hero-logo-wrap::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 76px 0; }
  .hero { padding: 40px 0 70px; text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-badges, .hero .hero-actions { justify-content: center; }
  .hero-logo { max-width: 400px; }
}
@media (max-width: 575.98px) {
  body { font-size: 15px; }
  .section { padding: 60px 0; }
  .hero .hero-actions { flex-direction: column; }
  .hero .hero-actions a { width: 100%; }
  .legal-block { padding: 22px 20px; }
  .platform-card { padding: 30px 22px; }
}
