@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Exo+2:wght@300;400;500;600;700&display=swap');

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-darkest:  #07060c;
  --bg-dark:     #0d0b14;
  --bg-mid:      #131020;
  --bg-card:     #100e1a;
  --bg-card2:    #16121f;
  --gold:        #9b2020;
  --gold-light:  #c03030;
  --gold-bright: #e04848;
  --gold-dim:    #5a1010;
  --text:        #c8b8c0;
  --text-dim:    #7a6575;
  --text-bright: #f0ecf5;
  --border:      rgba(160,40,40,0.2);
  --border-gold: rgba(160,40,40,0.5);
  --nav-height:  60px;
  --nav-offset:  20px;
  --site-width:  1440px;
  --site-pad:    40px;
}

@media (min-width: 1921px) {
  :root {
    --site-width: 1600px;
  }
}

html { scroll-behavior: smooth; }

body {
  background: #07060c url('/assets/img/pattern.webp') repeat;
  background-size: 800px;
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}

#site-wrapper {
  max-width: var(--site-width);
  margin: 0 auto;
  overflow: hidden;
  background: #07060c url('/assets/img/site_bg.webp') center top / cover no-repeat;
  box-shadow: -32px 0 80px rgba(0,0,0,.8), 32px 0 80px rgba(0,0,0,.8);
}

a { color: var(--gold-light); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold-bright); }

ul { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ─────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ══════════════════════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1400px);
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--site-pad);
  background: rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  box-shadow: 0 4px 24px rgba(0,0,0,.6);
  transition: background .3s;
}
#nav.nav-scrolled { background: rgba(8,6,14,0.99); }

/* Left group: logo + links */
.nav-left {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 8px;
}
.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(200,40,40,0.25));
  transition: filter .2s;
}
.nav-logo:hover img { filter: drop-shadow(0 0 10px rgba(200,40,40,0.45)); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 100%;
  color: rgba(255,255,255,0.75);
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .15s, background .15s;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: #fff; background: #1C1D21; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12px; right: 12px;
  height: 2px;
  background: #e04040;
  opacity: 0;
  transition: opacity .18s;
}
.nav-link:hover::after, .nav-link.active::after { opacity: 1; }

.nav-arrow {
  font-size: 8px;
  opacity: .5;
  transition: transform .2s;
}
.nav-link:hover .nav-arrow { transform: rotate(180deg); opacity: .8; }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Search button */
.nav-icon-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color .15s, background .15s;
}
.nav-icon-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* Account button (logged in) */
#nav-account-menu {
  display: none;
  position: relative;
}
.nav-account-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  height: 34px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  font-family: 'Exo 2', sans-serif;
  transition: background .15s, border-color .15s;
  cursor: pointer;
}
.nav-account-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: #fff; }
.nav-account-btn svg { opacity: .6; }
.nav-account-arrow { font-size: 8px; opacity: .5; transition: transform .2s; }
.nav-account-menu.menu-open .nav-account-arrow { transform: rotate(180deg); }

/* Account dropdown */
#nav-account-menu {
  position: relative;
}
.nav-account-dropdown {
  position: fixed;
  top: calc(var(--nav-offset) + var(--nav-height));
  right: var(--site-pad);
  width: 300px;
  background: #1c1a22;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.95);
  overflow: hidden;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  pointer-events: none;
}
.nav-account-dropdown.acc-dd-open {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.nav-account-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 12px;
}

/* Arrow tip pointing up */
.acc-dd-arrow {
  position: absolute;
  top: -6px; right: 28px;
  width: 12px; height: 12px;
  background: #1c1a22;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: rotate(45deg);
  z-index: 1;
}

.acc-dd-header {
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  background: #1c1a22;
}
.acc-dd-name-row { display: flex; align-items: baseline; gap: 5px; margin-bottom: 4px; }
.acc-dd-username { font-size: 14px; font-weight: 700; color: #e04040; }
.acc-dd-id { font-size: 13px; color: rgba(255,255,255,0.45); }
.acc-dd-email { font-size: 12px; color: rgba(255,255,255,0.4); }

.acc-dd-chars {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.acc-dd-char-label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: rgba(255,255,255,0.35); text-transform: uppercase; margin-bottom: 10px;
}
.acc-dd-char-row {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 0; cursor: pointer; border-radius: 4px;
  transition: background .12s;
}
.acc-dd-char-row:hover { background: rgba(255,255,255,0.05); margin: 0 -8px; padding: 6px 8px; }
.acc-dd-char-avatar {
  width: 48px; height: 48px; border-radius: 4px;
  background: #1C1D21; border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0; overflow: hidden;
}
.acc-dd-char-avatar img { width: 100%; height: 100%; object-fit: cover; }
.acc-dd-char-info { display: flex; flex-direction: column; gap: 2px; }
.acc-dd-char-name { font-size: 14px; font-weight: 600; color: #fff; }
.acc-dd-char-sub  { font-size: 12px; color: rgba(255,255,255,0.45); }
.acc-dd-all-chars {
  display: block; width: 100%; margin-top: 12px;
  padding: 10px 0; background: #1a1218; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px; color: #fff; font-size: 13px; font-weight: 600;
  font-family: 'Exo 2', sans-serif; cursor: pointer; text-align: center;
  transition: background .15s;
}
.acc-dd-all-chars:hover { background: #252030; }

.acc-dd-links { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.acc-dd-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; color: rgba(255,255,255,0.85);
  font-size: 14px; font-weight: 500; transition: background .12s, color .12s;
  cursor: pointer; width: 100%; text-align: left;
  font-family: 'Exo 2', sans-serif; background: none; border: none;
  text-decoration: none;
}
.acc-dd-link:hover { background: #1C1D21; color: #fff; }
.acc-dd-link svg { opacity: .6; flex-shrink: 0; }
.acc-dd-link:hover svg { opacity: 1; }
.acc-dd-section { padding: 6px 0; }

/* Nav login button */
#nav-login-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px; height: 34px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: rgba(255,255,255,0.85);
  font-size: 13px; font-weight: 500;
  font-family: 'Exo 2', sans-serif;
  transition: background .15s, color .15s;
  text-decoration: none;
}
#nav-login-btn:hover { background: rgba(255,255,255,0.13); color: #fff; }

/* Nav PLAY button */
#nav-play-btn {
  display: none; align-items: center; gap: 8px;
  padding: 0 20px; height: 34px;
  background: linear-gradient(135deg, #6b0e0e 0%, #b02020 40%, #e03030 60%, #a01818 100%);
  border: none; border-radius: 4px;
  color: #fff;
  font-family: 'Exo 2', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: .06em;
  transition: filter .15s, transform .1s;
  box-shadow: 0 2px 10px rgba(180,30,30,0.5);
  cursor: pointer;
}
#nav-play-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
#nav-play-btn:active { transform: translateY(0); }

/* ── Dropdowns ──────────────────────────────────────────────────────────────── */
.nav-dropdown {
  position: fixed;
  top: calc(var(--nav-offset) + var(--nav-height));
  min-width: 220px;
  background: #141218;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,.85);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s, transform .16s, visibility .16s;
  pointer-events: none;
}
.nav-dropdown.dd-open {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}

.dd-section { padding: 4px 0; }
.dd-section + .dd-section { border-top: 1px solid rgba(255,255,255,0.07); margin-top: 4px; padding-top: 8px; }
.dd-label {
  padding: 4px 16px 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: #9b2020; text-transform: uppercase;
}
.dd-link {
  display: block; padding: 9px 18px;
  color: rgba(255,255,255,0.8);
  font-size: 14px; font-family: 'Exo 2', sans-serif;
  transition: background .1s, color .1s; white-space: nowrap;
  text-decoration: none;
}
.dd-link:hover { background: #1C1D21; color: #fff; }
.dd-link.dd-external::after { content: ' ↗'; font-size: 10px; opacity: .4; }

/* ══════════════════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  aspect-ratio: 2 / 1;
  height: auto;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/lobby_bg.webp');
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
#hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,6,0,0.2) 0%,
    rgba(10,6,0,0.1) 30%,
    rgba(10,6,0,0.55) 65%,
    rgba(10,6,0,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 80px 90px;
  max-width: 700px;
}

.hero-eyebrow {
  font-family: 'Exo 2', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  color: #e04040;
  text-shadow: 0 0 40px rgba(200,40,40,0.6), 0 4px 20px rgba(0,0,0,0.9);
  letter-spacing: .04em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 15px;
  color: #F0ECF5;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
  white-space: pre-line;
}

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

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  height: 50px;
  background: linear-gradient(135deg, #6b0e0e 0%, #b02020 40%, #e03030 60%, #a01818 100%);
  border: 1px solid rgba(220,60,60,0.5);
  border-radius: 3px;
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(180,30,30,0.45), inset 0 1px 0 rgba(255,200,200,0.15);
  transition: filter .15s, transform .1s, box-shadow .15s;
  text-decoration: none;
}
.btn-gold:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(180,30,30,0.6);
  color: #fff;
}
.btn-gold:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  height: 50px;
  background: rgba(160,40,40,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  color: var(--gold-light);
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(160,40,40,0.18);
  color: var(--gold-bright);
  border-color: var(--gold-light);
}

.hero-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: .06em;
}
.hero-counter::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold-dim);
}
.hero-counter span { color: var(--gold-light); font-weight: 700; font-size: 14px; }

/* ══════════════════════════════════════════════════════════════════════════════
   PROMO BANNERS
══════════════════════════════════════════════════════════════════════════════ */
.promo-banner {
  display: flex;
  height: 520px;
  overflow: hidden;
  position: relative;
}

.promo-banner-img {
  flex: 1 1 55%;
  background-size: cover;
  background-position: center top;
  position: relative;
}
.promo-banner-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, rgba(10,8,18,0.95) 100%);
}
.promo-banner-img--right::after {
  background: linear-gradient(to left, transparent 50%, rgba(10,8,18,0.95) 100%);
}

/* Fallback gradient quando não há imagem */
.promo-banner-img:not([style]) {
  background: linear-gradient(135deg, #1a1030 0%, #2a1850 100%);
}

.promo-banner-body {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  background: var(--bg-darkest);
  position: relative;
  z-index: 1;
}
.promo-banner-body--dark {
  background: linear-gradient(135deg, #0e0b1a 0%, #1a1030 100%);
}

.promo-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.promo-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.25;
  margin-bottom: 16px;
}
.promo-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 340px;
}
.promo-btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #8b1c1c, #c03030);
  border: 1px solid rgba(200,60,60,.4);
  border-radius: 3px;
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s;
  align-self: flex-start;
}
.promo-btn:hover { filter: brightness(1.15); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════════════
   NEWS SECTION
══════════════════════════════════════════════════════════════════════════════ */
#news-section {
  padding: 80px var(--site-pad) 60px;
  background: var(--bg-darkest);
  position: relative;
}
#news-section::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-heading {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 40px;
  text-shadow: 0 2px 12px rgba(180,30,30,0.35);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
}
.news-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.news-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }

.news-card-img {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #2a1400 0%, #1a0c00 100%);
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}
.news-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.65) 100%);
}

.news-card-body { padding: 14px; }
.news-card-date {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.news-card-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.4;
  margin-bottom: 6px;
}
.news-card:hover .news-card-title { color: var(--gold-bright); }
.news-card-excerpt {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--text-dim);
  padding: 40px;
  font-size: 14px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════════════════════════════════════════════ */
#features-section {
  padding: 80px var(--site-pad);
  background: linear-gradient(180deg, var(--bg-darkest) 0%, var(--bg-dark) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
  transition: border-color .2s, background .2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.feature-card:hover { border-color: var(--border-gold); background: var(--bg-card2); }

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.feature-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════════════════ */
footer {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 60px var(--site-pad) 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; } }

.footer-socials { display: flex; gap: 12px; }
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1e1e1e;
  color: #fff;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.footer-social-btn:hover { background: #2e2020; color: #e04040; }
.footer-social-btn svg { width: 18px; height: 18px; }

.footer-brand { display: flex; align-items: center; gap: 40px; }
.footer-brand img { height: 143px; flex-shrink: 0; }
.footer-brand p { display: none; }

.footer-col h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: none;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright {
  font-size: 11px;
  color: #DAD0E6;
}

/* Language picker */
.footer-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer-lang label {
  font-size: 11px;
  color: #DAD0E6;
  text-transform: uppercase;
  letter-spacing: .08em;
}
#lang-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  padding: 4px 8px;
  cursor: pointer;
  outline: none;
  transition: border-color .15s;
}
#lang-select:hover { border-color: var(--border-gold); }
#lang-select option { background: var(--bg-card); }

/* ══════════════════════════════════════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════════════════════════════════════ */
#modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2001;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  background: #0d0a0e;
  border: 1px solid rgba(160,40,40,0.4);
  border-radius: 6px;
  width: 100%;
  max-width: 400px;
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.95), inset 0 1px 0 rgba(200,40,40,0.08);
  transform: translateY(16px) scale(.97);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.modal.modal-open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 20px;
  color: var(--text-dim);
  line-height: 1;
  padding: 4px;
  transition: color .15s;
}
.modal-close:hover { color: var(--gold-bright); }

.modal-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: .06em;
}

.modal-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: -16px auto 24px;
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 10px 12px;
  color: var(--text-bright);
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
}
.form-group input:focus { border-color: var(--gold); }

.form-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.form-remember input { width: auto; }
.form-remember label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}

.form-error {
  min-height: 18px;
  font-size: 12px;
  color: #ff6655;
  margin-bottom: 12px;
  text-align: center;
}

.btn-submit {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #6b0e0e 0%, #b02020 40%, #e03030 60%, #a01818 100%);
  border: 1px solid rgba(220,60,60,0.4);
  border-radius: 3px;
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  transition: filter .15s;
  margin-bottom: 16px;
}
.btn-submit:hover { filter: brightness(1.1); }

.modal-switch {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}
.modal-switch a { color: var(--gold-light); font-weight: 600; }
.modal-switch a:hover { color: var(--gold-bright); }

/* ══════════════════════════════════════════════════════════════════════════════
   SEARCH OVERLAY
══════════════════════════════════════════════════════════════════════════════ */
.search-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.7);
  display: flex; flex-direction: column; align-items: center;
  padding-top: calc(var(--nav-offset) + var(--nav-height) + 12px);
  opacity: 0; visibility: hidden;
  transition: opacity .18s, visibility .18s;
}
.search-overlay.search-open { opacity: 1; visibility: visible; }

.search-box {
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: 560px;
  background: #1c1a22;
  border: 2px solid var(--gold-dim);
  border-radius: 6px;
  padding: 12px 16px;
}
.search-box-icon { opacity: .5; flex-shrink: 0; }
.search-box input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-size: 15px; font-family: 'Exo 2', sans-serif;
}
.search-box input::placeholder { color: rgba(255,255,255,.35); }
.search-esc {
  font-size: 10px; color: rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.15); border-radius: 3px;
  padding: 2px 6px; font-family: monospace; flex-shrink: 0;
}
.search-results {
  width: 100%; max-width: 560px;
  background: #1c1a22; border: 1px solid rgba(255,255,255,.08);
  border-radius: 0 0 6px 6px; margin-top: 2px; overflow: hidden;
}
.search-group-label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: rgba(255,255,255,.35); text-transform: uppercase;
  padding: 10px 16px 6px;
}
.search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; cursor: pointer; text-decoration: none;
  transition: background .12s;
}
.search-item:hover { background: rgba(255,255,255,.06); }
.search-item-icon { font-size: 16px; flex-shrink: 0; width: 28px; text-align: center; }
.search-item-name { font-size: 13px; font-weight: 600; color: #fff; }
.search-item-sub  { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; }
.search-loading, .search-empty { padding: 14px 16px; font-size: 12px; color: rgba(255,255,255,.35); }

/* ══════════════════════════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 13px;
  color: var(--text-bright);
  z-index: 9999;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  white-space: nowrap;
}
.toast.toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.toast-success { border-color: rgba(100,200,100,0.4); color: #88dd88; }
.toast.toast-error   { border-color: rgba(200,80,60,0.4);   color: #ff7766; }

/* ══════════════════════════════════════════════════════════════════════════════
   ORNAMENTAL DIVIDER
══════════════════════════════════════════════════════════════════════════════ */
.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.ornament::after { background: linear-gradient(90deg, var(--gold-dim), transparent); }
.ornament span {
  font-family: 'Exo 2', sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--gold-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Utilities ──────────────────────────────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }


/* ── Stats bar ──────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid #1C1D21;
  border-bottom: 1px solid #1C1D21;
  display: flex;
  justify-content: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid #1C1D21;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Exo 2', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.stat-label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #F0ECF5; }

/* ── Stats bar dark variant (homepage) ─────────────────────────────────────── */
.stats-bar--dark {
  background: #0A0B10;
  border-top-color: #1C1D21;
  border-bottom-color: #1C1D21;
}
.stats-bar--dark .stat-item {
  border-right-color: #1C1D21;
}
