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

/* ============================================================================
   Aurellia 2026 redesign — shared header/footer + base tokens.
   Imported from geniusorc.css so EVERY page gets it. Header markup = /js/layout.js.
   ========================================================================== */

:root {
  --au-bg: #131210;
  --au-panel: #1b1914;
  --au-line: rgba(240, 232, 214, .09);
  --au-line-strong: rgba(240, 232, 214, .16);
  --au-text: #f2ede2;
  --au-text-dim: #9c9384;
  --au-gold: #e6b24e;
  --au-gold-lt: #f6cd72;
  --au-gold-grad: linear-gradient(135deg, #e9b850, #c8912f);
  --au-jade: #57c19b;
  --au-jade-lt: #7fd9b8;
  --au-crimson: #e0674d;
  --au-font: Manrope, 'Segoe UI', system-ui, sans-serif;
  --au-head: Oswald, 'Segoe UI', sans-serif;
}

body {
  background: var(--au-bg);
  color: var(--au-text);
  font-family: var(--au-font);
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(230, 178, 78, .3); color: #fff; }

/* ------------------------------------------------------------------ header -- */
.ah-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22, 21, 18, .82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--au-line);
  font-family: var(--au-font);
}
.ah-inner { max-width: 1280px; margin: 0 auto; padding: 0 22px; height: 64px; display: flex; align-items: center; gap: 12px; }

.ah-logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; flex-shrink: 0; }
.ah-logo-title { font-family: var(--au-head); font-weight: 700; font-size: 1.42rem; letter-spacing: .02em; color: var(--au-text); }
.ah-logo-title b { background: linear-gradient(180deg, #f6cd72, #e6b24e 60%, #b98a30); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ah-logo-sub { font-family: var(--au-head); font-weight: 500; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--au-jade); padding-bottom: 3px; }

.ah-nav { margin-left: auto; display: flex; align-items: center; gap: 1px; }
.ah-nav-link {
  position: relative; display: inline-block; padding: 9px 10px; border-radius: 8px;
  font-family: var(--au-head); font-size: .78rem; font-weight: 500; letter-spacing: .05em;
  text-transform: uppercase; color: #b8b0a0; text-decoration: none; white-space: nowrap;
  transition: color .18s, background .18s;
}
.ah-nav-link:hover { color: #f6f1e8; background: rgba(230, 178, 78, .08); }
.ah-nav-link.active { color: #f6f1e8; }
.ah-nav-link.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #e6b24e, #f6cd72); }
.ah-sep { width: 1px; height: 22px; background: rgba(240, 232, 214, .12); margin: 0 6px; }

/* language selector */
.ah-lang { position: relative; display: flex; align-items: center; }
.ah-lang-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 9px;
  border: 1px solid var(--au-line-strong); background: rgba(240, 232, 214, .03); color: #cbc2b2;
  font-family: var(--au-head); font-weight: 500; font-size: .76rem; letter-spacing: .05em;
  cursor: pointer; white-space: nowrap; transition: color .18s, border-color .18s, background .18s;
}
.ah-lang-btn:hover { color: #f6f1e8; border-color: rgba(230, 178, 78, .5); background: rgba(230, 178, 78, .07); }
.ah-lang-globe { position: relative; width: 14px; height: 14px; flex-shrink: 0; border: 1.5px solid currentColor; border-radius: 50%; display: inline-block; opacity: .92; }
.ah-lang-globe::before { content: ""; position: absolute; top: 50%; left: -1.5px; right: -1.5px; height: 1.3px; background: currentColor; transform: translateY(-50%); }
.ah-lang-globe::after { content: ""; position: absolute; top: -1.5px; bottom: -1.5px; left: 50%; width: 6px; border-left: 1.3px solid currentColor; border-right: 1.3px solid currentColor; transform: translateX(-50%); border-radius: 50%; }
.ah-lang-chev { display: inline-block; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-top: -2px; transition: transform .18s; }
.ah-lang.open .ah-lang-chev { transform: rotate(-135deg); margin-top: 3px; }
.ah-lang-menu {
  position: absolute; top: calc(100% + 9px); right: 0; z-index: 30; min-width: 198px;
  background: #1c1a15; border: 1px solid rgba(240, 232, 214, .14); border-radius: 13px; padding: 6px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .55); display: flex; flex-direction: column; gap: 2px;
}
.ah-lang-menu[hidden] { display: none; }
.ah-lang-head { padding: 7px 12px 8px; font-family: var(--au-head); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8f8676; }
.ah-lang-opt { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; padding: 9px 11px; border: none; border-radius: 9px; background: transparent; color: #cfc6b5; font-family: var(--au-font); font-weight: 600; font-size: .85rem; cursor: pointer; text-align: left; transition: background .15s; }
.ah-lang-opt:hover { background: rgba(240, 232, 214, .05); }
.ah-lang-opt.active { background: rgba(230, 178, 78, .12); color: var(--au-gold-lt); }
.ah-lang-opt-code { min-width: 30px; font-family: var(--au-head); font-weight: 600; font-size: .66rem; letter-spacing: .06em; color: #8f8676; }
.ah-lang-opt.active .ah-lang-opt-code { color: var(--au-gold-lt); }
.ah-lang-opt-native { flex: 1; text-align: left; }
.ah-lang-opt-tick { color: var(--au-gold-lt); font-size: .82rem; font-weight: 700; }

/* header buttons */
.ah-btn-outline { padding: 9px 12px; border-radius: 9px; border: 1px solid rgba(240, 232, 214, .2); font-family: var(--au-head); font-size: .78rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--au-text); text-decoration: none; white-space: nowrap; transition: border-color .18s, background .18s; }
.ah-btn-outline:hover { border-color: rgba(230, 178, 78, .6); background: rgba(230, 178, 78, .08); }
.ah-btn-shop { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; padding: 9px 13px; border-radius: 9px; background: var(--au-gold-grad); color: #1c1508; font-family: var(--au-head); font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(230, 178, 78, .28); transition: transform .18s, filter .18s; }
.ah-btn-shop:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ah-btn-shop.disabled { filter: grayscale(.5) brightness(.8); pointer-events: none; }
.ah-coin { width: 15px; height: 15px; }
.ah-logout { color: #e0796a !important; }

/* mobile */
.ah-menu-toggle { display: none; width: 34px; height: 34px; border: 1px solid var(--au-line-strong); border-radius: 8px; background: rgba(240, 232, 214, .03) center/18px no-repeat url("/assets/menu.svg"); cursor: pointer; flex-shrink: 0; }
.ah-mobile { display: none; flex-direction: column; padding: 8px 14px 14px; border-top: 1px solid var(--au-line); background: rgba(19, 18, 16, .97); }
.ah-mobile.open { display: flex; }
.ah-mobile a { padding: 11px 6px; color: #cbc2b2; text-decoration: none; font-family: var(--au-head); font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid var(--au-line); }
.ah-mobile a:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .ah-nav { display: none; }
  .ah-menu-toggle { display: block; margin-left: auto; }
}

/* ------------------------------------------------------------------ footer -- */
.af-footer { position: relative; background: linear-gradient(180deg, #161512, #0f0e0c); border-top: 1px solid var(--au-line); font-family: var(--au-font); color: #ada493; }
.af-top-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(230, 178, 78, .5), transparent); }
.af-grid { max-width: 1280px; margin: 0 auto; padding: 52px 24px 26px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.af-logo { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.af-logo-title { font-family: var(--au-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em; color: var(--au-text); }
.af-logo-title b { color: var(--au-gold); }
.af-logo-sub { font-family: var(--au-head); font-weight: 500; font-size: .72rem; letter-spacing: .34em; color: var(--au-jade); text-transform: uppercase; }
.af-tagline { font-size: .86rem; line-height: 1.7; max-width: 330px; color: #8f8676; margin: 0 0 20px; }
.af-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.af-socials a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(240, 232, 214, .14); border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d8d0c2; text-decoration: none; transition: all .2s; }
.af-socials a:hover { border-color: rgba(230, 178, 78, .55); color: var(--au-gold-lt); background: rgba(230, 178, 78, .06); }
.af-col { display: flex; flex-direction: column; gap: 11px; }
.af-col-head { font-family: var(--au-head); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--au-gold); margin-bottom: 5px; }
.af-col a { font-size: .86rem; font-weight: 500; color: #9c9384; text-decoration: none; transition: color .16s; }
.af-col a:hover { color: var(--au-text); }
.af-bottom { border-top: 1px solid rgba(240, 232, 214, .07); }
.af-bottom-inner { max-width: 1280px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.af-copy { font-size: .78rem; color: #6b6456; margin: 0; }
.af-status { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; color: #8f8676; }
.af-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--au-jade); box-shadow: 0 0 9px 1px rgba(87, 193, 155, .7); }

@media (max-width: 820px) {
  .af-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .af-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .af-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------- shared page components -- */
.au-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.au-section-label { font-family: var(--au-head); font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--au-gold); margin-bottom: 6px; }
.au-h2 { font-family: var(--au-head); font-weight: 600; font-size: 1.9rem; margin: 0; color: #f6f1e8; letter-spacing: .01em; }
.au-card { background: var(--au-panel); border: 1px solid var(--au-line); border-radius: 14px; transition: border-color .2s, transform .2s; }
.au-card:hover { border-color: rgba(230, 178, 78, .4); transform: translateY(-3px); }
.au-btn-gold { display: inline-flex; align-items: center; gap: 9px; padding: 14px 28px; border-radius: 11px; background: var(--au-gold-grad); color: #1c1508; font-family: var(--au-head); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 28px rgba(230, 178, 78, .32); transition: transform .18s, filter .18s; cursor: pointer; border: none; }
.au-btn-gold:hover { filter: brightness(1.08); transform: translateY(-2px); }
.au-btn-outline { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: 11px; border: 1px solid rgba(240, 232, 214, .22); color: var(--au-text); background: transparent; font-family: var(--au-head); font-weight: 500; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: all .18s; cursor: pointer; }
.au-btn-outline:hover { border-color: rgba(230, 178, 78, .6); background: rgba(230, 178, 78, .08); }

/* --------------------------------------------------------- region selector -- */
.ah-region { position: relative; display: inline-flex; align-items: center; }
.ah-region-wrap { position: relative; display: inline-flex; align-items: center; }
.ah-region-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 9px;
  border: 1px solid var(--au-line-strong); background: rgba(87, 193, 155, .06); color: #cbe6da;
  font-family: var(--au-head); font-weight: 500; font-size: .76rem; letter-spacing: .05em;
  cursor: pointer; white-space: nowrap; transition: color .18s, border-color .18s, background .18s;
}
.ah-region-btn:hover { color: #eafff6; border-color: rgba(87, 193, 155, .5); background: rgba(87, 193, 155, .12); }
.ah-region-globe { position: relative; width: 13px; height: 13px; flex-shrink: 0; border: 1.5px solid var(--au-jade); border-radius: 50%; display: inline-block; }
.ah-region-globe::before { content: ""; position: absolute; top: 50%; left: -1.5px; right: -1.5px; height: 1.2px; background: var(--au-jade); transform: translateY(-50%); }
.ah-region-globe::after { content: ""; position: absolute; top: -1.5px; bottom: -1.5px; left: 50%; width: 6px; border-left: 1.2px solid var(--au-jade); border-right: 1.2px solid var(--au-jade); transform: translateX(-50%); border-radius: 50%; }
.ah-region-menu {
  position: absolute; top: calc(100% + 9px); right: 0; z-index: 30; min-width: 180px;
  background: #1c1a15; border: 1px solid rgba(240, 232, 214, .14); border-radius: 13px; padding: 6px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .55); display: flex; flex-direction: column; gap: 2px;
}
.ah-region-menu[hidden] { display: none; }

/* first-visit region modal */
.ah-region-overlay { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 9, 8, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ah-region-card { width: 100%; max-width: 440px; background: var(--au-panel); border: 1px solid var(--au-line-strong); border-radius: 18px; padding: 30px 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); text-align: center; }
.ah-region-card-title { font-family: var(--au-head); font-weight: 600; font-size: 1.5rem; color: #f6f1e8; margin-bottom: 8px; }
.ah-region-card-sub { font-size: .9rem; line-height: 1.55; color: var(--au-text-dim); margin-bottom: 22px; }
.ah-region-card-opts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ah-region-choice { flex: 1 1 130px; min-width: 130px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 14px; border-radius: 14px; border: 1px solid var(--au-line-strong); background: rgba(240, 232, 214, .03); color: var(--au-text); font-family: var(--au-head); font-weight: 600; font-size: 1rem; letter-spacing: .03em; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.ah-region-choice:hover { border-color: rgba(230, 178, 78, .55); background: rgba(230, 178, 78, .08); transform: translateY(-2px); }
.ah-region-choice.active { border-color: rgba(230, 178, 78, .6); }
.ah-region-globe.big { width: 30px; height: 30px; border-width: 2px; }
.ah-region-globe.big::before { height: 2px; }
.ah-region-globe.big::after { width: 13px; border-left-width: 2px; border-right-width: 2px; }
.ah-region-choice-label { font-size: 1.02rem; }

/* header logo image (falls back to the text logo if /assets/logo.png is missing) */
.ah-logo-img { height: 40px; width: auto; display: block; }
.ah-logo.has-logo .ah-logo-txt { display: none; }

/* remove the leftover indigo accent line from the old geniusorc theme on .panel-go cards */
.panel-go::before { display: none; }
