/* nordelions.com — Light Tactical theme
   UI: Manrope · Display: Archivo · Logo: Chakra Petch */

:root {
  --paper: #F2F0EA;
  --paper-2: #ECE9E0;
  --surface: #FFFFFF;
  --ink: #1A2338;
  --ink-2: #2A3350;
  --muted: #626B7D;
  --line: #E4E1D7;
  --line-2: #D6D2C6;
  --acc: #2A4BD7;
  --acc-2: #1E3AB0;
  --acc-soft: #E7EBFB;
  --amber: #E8A33D;

  --font-ui: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-logo: 'Chakra Petch', system-ui, sans-serif;

  --container: 1160px;
  --pad-inline: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 9px;
  --gap: clamp(16px, 3vw, 26px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0; font-family: var(--font-ui);
  background: var(--paper); color: var(--ink);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-inline); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section__eyebrow {
  font-family: var(--font-logo); font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--acc); margin: 0 0 .8rem;
}
.section__head { max-width: 680px; margin-bottom: clamp(28px, 5vw, 52px); }
.section__lead { color: var(--muted); font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-ui);
  font-weight: 700; font-size: 1rem; padding: .82em 1.5em; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .2s ease, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--acc); color: #fff; }
.btn--primary:hover { background: var(--acc-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn--block { width: 100%; justify-content: center; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,240,234,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.logo { font-family: var(--font-logo); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo__accent { color: var(--acc); }
.header__nav { display: flex; align-items: center; gap: 1.6rem; }
.header__link { color: var(--muted); font-weight: 600; font-size: .96rem; }
.header__link:hover { color: var(--ink); text-decoration: none; }
.header__cta { margin-left: .4rem; }
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2);
  background: var(--surface); border-radius: 10px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.burger svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .header__nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px var(--pad-inline) 22px; transform: translateY(-140%);
    transition: transform .25s ease; visibility: hidden;
  }
  .header__nav.is-open { transform: translateY(0); visibility: visible; }
  .header__link { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .header__cta { margin: 12px 0 0; }
  .burger { display: inline-flex; }
}

/* Hero: text left, ranked leaderboard right */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .8; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(242,240,234,.97) 0%, rgba(242,240,234,.9) 42%, rgba(242,240,234,.45) 100%); }
.hero__inner {
  position: relative; z-index: 2; display: grid; align-content: center;
  min-height: min(76vh, 600px); padding-block: clamp(72px, 12vw, 132px);
}
.hero__copy { max-width: 620px; }
.hero__eyebrow {
  display: inline-block; font-family: var(--font-logo); font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--acc);
  border: 1px solid var(--line-2); background: var(--surface);
  padding: .45em .9em; border-radius: 6px; margin-bottom: 1.2rem;
}
.hero__title span { color: var(--acc); }
.hero__sub { color: var(--muted); font-size: 1.16rem; max-width: 48ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__stats { display: flex; gap: 2rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero__stat b { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); display: block; }
.hero__stat span { color: var(--muted); font-size: .88rem; }

@media (max-width: 900px) { .hero__inner { min-height: auto; } .hero::after { background: linear-gradient(180deg, rgba(242,240,234,.84), rgba(242,240,234,.96)); } }

/* Top games: featured podium of the week's best three */
.top { background: var(--paper-2); border-block: 1px solid var(--line); }
.top__podium { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.top__card { position: relative; display: flex; flex-direction: column; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.top__card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(26,35,56,.10); border-color: var(--line-2); }
.top__card--gold { border-color: var(--amber); box-shadow: 0 14px 34px rgba(232,163,61,.14); }
.top__rank { position: absolute; top: 12px; right: 20px; font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--paper-2); -webkit-text-stroke: 1.5px var(--line-2); }
.top__card--gold .top__rank { -webkit-text-stroke-color: var(--amber); }
.top__ico { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line-2); margin-bottom: 14px; }
.top__genre { display: inline-block; font-family: var(--font-logo); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-2); background: var(--acc-soft); border-radius: 5px; padding: .28em .6em; margin-bottom: .55rem; }
.top__name { margin: 0 0 2px; font-size: 1.18rem; }
.top__dev { color: var(--muted); font-size: .85rem; margin: 0 0 .7rem; }
.top__rating { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.top__rating b { font-size: .95rem; }
.top__link { font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .35em; margin-top: auto; }
.top__link svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .top__podium { grid-template-columns: 1fr; } }

/* Games: editorial ranked ledger — one panel, oversized left-gutter index, result rows */
.games__grid { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 44px rgba(26,35,56,.06); }
.game {
  position: relative; display: grid;
  grid-template-columns: 92px 76px 1fr minmax(148px, 188px);
  grid-template-rows: auto auto auto 1fr;
  grid-template-areas:
    "rank icon genre  rating"
    "rank icon title  rating"
    "rank icon dev    link"
    "rank icon desc   link";
  column-gap: 26px; align-items: start;
  padding: 28px clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--line);
  transition: background-color .2s ease;
}
.game:first-child { border-top: 0; }
.game::before { content: ""; position: absolute; inset-block: 0; left: 0; width: 3px; background: transparent; transition: background-color .2s ease; }
.game:hover { background: var(--paper); }
.game:hover::before { background: var(--acc); }
.game--top, .game:first-child { background: linear-gradient(90deg, rgba(232,163,61,.07), transparent 42%); }
.game--top::before, .game:first-child::before { background: var(--amber); }
.game__rank { grid-area: rank; align-self: center; justify-self: start; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1; letter-spacing: -.03em; color: var(--acc); }
.game:first-child .game__rank { color: var(--amber); }
.game__icon { grid-area: icon; align-self: center; width: 76px; height: 76px; border-radius: 18px; border: 1px solid var(--line-2); margin: 0; }
.game__genre { grid-area: genre; justify-self: start; align-self: end; display: inline-block; font-family: var(--font-logo); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-2); background: var(--acc-soft); border-radius: 5px; padding: .3em .65em; margin: 0 0 .4rem; }
.game__title { grid-area: title; margin: 0; font-size: 1.24rem; }
.game__dev { grid-area: dev; align-self: start; color: var(--muted); font-size: .84rem; margin: .2rem 0 0; }
.game__desc { grid-area: desc; align-self: start; color: var(--muted); font-size: .95rem; margin: .55rem 0 0; max-width: 62ch; }
.game__rating { grid-area: rating; justify-self: end; align-self: start; display: flex; align-items: center; gap: .5rem; }
.game__rating b { font-size: 1rem; font-family: var(--font-display); }
.game__link { grid-area: link; justify-self: end; align-self: end; font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
.game__link svg { width: 15px; height: 15px; }
@media (max-width: 820px) {
  .game {
    grid-template-columns: 44px 60px 1fr auto;
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas:
      "rank icon genre  genre"
      "rank icon title  title"
      "rank icon dev    dev"
      "desc desc desc   desc"
      "rating rating link link";
    column-gap: 16px; row-gap: 2px; padding: 22px 20px;
  }
  .game__rank { align-self: start; font-size: 2rem; }
  .game__icon { width: 60px; height: 60px; align-self: start; }
  .game__genre { align-self: start; }
  .game__desc { margin-top: .7rem; }
  .game__rating { justify-self: start; align-self: center; margin-top: .8rem; }
  .game__link { justify-self: end; align-self: center; margin-top: .8rem; }
}

/* Stars */
.stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; }
.stars__base, .stars__fill { display: inline-flex; }
.stars__base svg, .stars__fill svg { width: 16px; height: 16px; }
.stars__base { color: var(--line-2); }
.stars__fill { position: absolute; inset: 0; overflow: hidden; color: var(--amber); }

/* Earn */
.earn__grid { display: grid; gap: 1.4rem; max-width: 780px; }
.earn__list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1rem; }
.earn__item { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; }
.earn__item svg { width: 22px; height: 22px; color: var(--acc); margin-top: 3px; }
.earn__item b { display: block; }
.earn__item span { color: var(--muted); font-size: .95rem; }

/* Trust */
.trust { background: var(--paper-2); border-block: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.trust__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.trust__ico { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); margin-bottom: 1rem; }
.trust__ico svg { width: 24px; height: 24px; }
.trust__card p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 820px) { .trust__grid { grid-template-columns: 1fr; } }

/* Reviews */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.review__quote { font-size: 1rem; margin: .8rem 0 1.4rem; color: var(--ink-2); }
.review__author { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review__avatar { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-weight: 800; font-family: var(--font-display); }
.review__name { font-weight: 700; font-size: .95rem; }
.review__role { color: var(--muted); font-size: .84rem; }
@media (max-width: 820px) { .reviews__grid { grid-template-columns: 1fr; } }

/* Subscribe */
.subscribe { background: var(--acc); color: #fff; }
.subscribe .section__eyebrow { color: #cdd6fb; }
.subscribe h2 { color: #fff; }
.subscribe .section__lead { color: #dbe1fb; }
.subscribe__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.subscribe__form { display: grid; gap: 14px; background: var(--surface); padding: 26px; border-radius: var(--radius); }
.field { display: grid; gap: 6px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--muted); }
.field input { font-family: var(--font-ui); font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: .8em 1em; }
.field input:focus { border-color: var(--acc); outline: none; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--acc); flex: none; }
.consent a { color: var(--acc); text-decoration: underline; }
.form__msg { display: none; background: var(--acc-soft); border: 1px solid var(--acc); color: var(--ink); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; }
.form__msg.is-visible { display: block; }
@media (max-width: 820px) { .subscribe__wrap, .field--row { grid-template-columns: 1fr; } }

/* FAQ */
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; font-family: var(--font-display); font-size: 1.04rem; font-weight: 700; color: var(--ink); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q svg { width: 20px; height: 20px; flex: none; transition: transform .2s ease; color: var(--acc); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a p { color: var(--muted); padding: 0 20px 18px; margin: 0; }
.faq__item.is-open .faq__a { max-height: 340px; }

/* Footer */
.footer { background: var(--ink); color: #cfd4e0; border-top: 1px solid var(--line); padding-block: 52px 30px; }
.footer .logo { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap); margin-bottom: 34px; }
.footer__about { color: #9aa3b7; font-size: .95rem; max-width: 34ch; margin-top: 1rem; }
.footer__contact { font-style: normal; margin-top: 1.25rem; display: grid; gap: .35rem; }
.footer__contact-label { font-family: var(--font-logo); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: #8b94aa; }
.footer__contact a { color: #dfe3ec; font-size: .95rem; }
.footer__contact a:hover { color: #fff; }
.footer__col h4 { font-family: var(--font-logo); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: #8b94aa; margin: 0 0 1rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer__col a { color: #dfe3ec; font-size: .95rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid #2b344c; padding-top: 22px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #8b94aa; font-size: .88rem; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--acc-2); background: var(--acc); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px 20px; display: none; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 20px 50px rgba(26,35,56,.18); max-width: 900px; margin-inline: auto; }
.cookie.is-visible { display: flex; }
.cookie__text { color: var(--muted); font-size: .9rem; margin: 0; flex: 1 1 340px; }
.cookie__text a { text-decoration: underline; }
.cookie__actions { display: flex; gap: .6rem; }

/* Legal */
.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal__wrap { max-width: 820px; }
.legal__meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.6rem; }
.legal h2 { margin-top: 2.2rem; }
.legal h3 { margin-top: 1.6rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; display: grid; gap: .5rem; }
.legal a { text-decoration: underline; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--acc); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 0; }
