/* ESTIRPE: Rift — Landing
   Paleta tomada de docs/05-DESIGN-SYSTEM.md (oro/acero, fondos navy oscuros).
   Tipografía: stack de sistema (sin dependencias externas). Intención de marca:
   condensada display (Oswald/Rajdhani) → fallback sans-serif del sistema. */

:root {
  /* Fondos / superficies */
  --bg-abyss:  #06080D;
  --bg-900:    #0B0F1A;
  --bg-800:    #121829;
  --bg-700:    #1B2335;
  --bg-600:    #27304A;

  /* Bordes / marcos */
  --gold:        #C8AA6E;
  --gold-bright: #F0B232;
  --steel:       #3C4658;
  --steel-light: #5A6580;

  /* Equipos / acentos */
  --blue:      #2D7FF0;
  --blue-light:#6FB0FF;
  --red:       #E8415A;

  /* Recursos / estado */
  --hp:    #2BD65A;
  --mana:  #2A8FE0;
  --xp:    #C89B3C;

  /* Texto */
  --text:      #F0E6D2;
  --text-2:    #A09B8C;
  --text-muted:#6B6A63;
  --on-gold:   #1A1408;

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 8px;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-abyss);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Oswald", "Segoe UI Semibold", "Arial Narrow", sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.15;
  text-transform: uppercase;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer;
}
.btn--sm { padding: 8px 16px; font-size: 12px; }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--on-gold);
  box-shadow: 0 6px 18px rgba(240,178,50,.25);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(240,178,50,.4); }
.btn--ghost {
  border-color: var(--steel);
  color: var(--text);
  background: rgba(27,35,53,.4);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,8,13,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--steel);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark { color: var(--gold-bright); font-size: 20px; }
.brand__name { font-family: "Oswald", sans-serif; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; }
.brand__accent { color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav__links a { color: var(--text-2); transition: color .12s; }
.nav__links a:hover { color: var(--gold); }
.nav__links .btn { color: var(--text); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  padding: 80px 24px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 70% 20%, rgba(45,127,240,.18), transparent 60%),
    radial-gradient(700px 500px at 20% 80%, rgba(232,65,90,.12), transparent 60%),
    radial-gradient(1100px 700px at 50% 0%, rgba(200,170,110,.10), transparent 55%),
    linear-gradient(180deg, var(--bg-900), var(--bg-abyss));
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--steel) 1px, transparent 1px),
                    linear-gradient(90deg, var(--steel) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .06;
}
.hero__content { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero__eyebrow {
  color: var(--gold); text-transform: uppercase; letter-spacing: 3px;
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(48px, 9vw, 110px);
  line-height: .95;
  text-shadow: 0 4px 40px rgba(0,0,0,.6);
}
.hero__accent { color: var(--gold); }
.hero__tagline {
  font-family: "Oswald", sans-serif;
  font-size: clamp(20px, 3vw, 30px);
  color: var(--text);
  margin: 18px 0 14px;
  letter-spacing: 1px;
}
.hero__sub { max-width: 620px; color: var(--text-2); font-size: 17px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges {
  list-style: none; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px;
}
.hero__badges li {
  border: 1px solid var(--steel);
  background: rgba(18,24,41,.6);
  color: var(--text-2);
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}

/* ===== Sections ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; }
.section--alt { max-width: none; background: var(--bg-900); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 50px; }
.section__head h2 { font-size: clamp(28px, 4vw, 44px); }
.section__head h2::after {
  content: ""; display: block; width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  margin: 16px auto 0;
}
.section__head p { color: var(--text-2); max-width: 640px; margin: 18px auto 0; font-size: 17px; }

/* ===== Grid / cards ===== */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }
.grid--modes { grid-template-columns: repeat(3, 1fr); }

.card {
  background: linear-gradient(180deg, var(--bg-800), var(--bg-900));
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--bg-700); border: 1px solid var(--steel);
  color: var(--gold-bright); font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }
.card--highlight { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(200,170,110,.3), 0 14px 40px rgba(0,0,0,.4); }
.card--highlight .card__icon { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--on-gold); }

/* ===== Champions ===== */
.champs { gap: 18px; }
.champ { text-align: center; }
.champ__art {
  aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Oswald", sans-serif; font-size: 44px; font-weight: 700;
  color: var(--text);
  border: 3px solid var(--gold);
  box-shadow: inset 0 0 30px rgba(0,0,0,.5), 0 8px 20px rgba(0,0,0,.4);
  margin-bottom: 14px;
}
.champ h3 { font-size: 17px; }
.champ__role { color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.champ--vael      { background: radial-gradient(circle at 35% 30%, #5a3fae, var(--bg-800)); }
.champ--korrath   { background: radial-gradient(circle at 35% 30%, #b5552c, var(--bg-800)); }
.champ--morwen    { background: radial-gradient(circle at 35% 30%, #2f8f7f, var(--bg-800)); }
.champ--lyssandre { background: radial-gradient(circle at 35% 30%, #2d7ff0, var(--bg-800)); }
.champ--halden    { background: radial-gradient(circle at 35% 30%, #6b7280, var(--bg-800)); }
.champ--sable     { background: radial-gradient(circle at 35% 30%, #1a1f2e, var(--bg-700)); }
.note { text-align: center; color: var(--text-muted); margin-top: 34px; font-size: 14px; }

/* ===== Screenshots ===== */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.shot {
  border: 1px solid var(--steel); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-900);
}
.shot img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.shot figcaption { padding: 14px 18px; color: var(--text-2); font-size: 14px; border-top: 1px solid var(--steel); }

/* ===== Modes ===== */
.mode {
  background: var(--bg-800); border: 1px solid var(--steel);
  border-radius: var(--radius-lg); padding: 26px;
  transition: transform .15s ease, border-color .15s ease;
}
.mode:hover { transform: translateY(-4px); border-color: var(--blue); }
.mode--main { border-color: var(--gold); grid-column: span 3; background: linear-gradient(120deg, var(--bg-700), var(--bg-900)); }
.mode--main:hover { border-color: var(--gold-bright); }
.mode__tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold); margin-bottom: 14px;
}
.mode__tag--wild { background: var(--blue); color: #fff; }
.mode h3 { font-size: 21px; margin-bottom: 8px; }
.mode p { color: var(--text-2); font-size: 15px; }

/* ===== CTA ===== */
.cta {
  text-align: center; padding: 100px 24px;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(240,178,50,.14), transparent 60%),
    var(--bg-900);
  border-top: 1px solid var(--steel);
}
.cta__inner { max-width: 720px; margin: 0 auto; }
.cta h2 { font-size: clamp(30px, 5vw, 52px); }
.cta p { color: var(--text-2); font-size: 19px; margin: 16px 0 30px; }
.cta .hero__actions { justify-content: center; }
.cta__note { color: var(--text-muted); font-size: 13px; margin-top: 22px; }

/* ===== Footer ===== */
.footer { background: var(--bg-abyss); border-top: 1px solid var(--steel); padding: 56px 24px 30px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer__brand { max-width: 320px; }
.footer__brand strong { font-family: "Oswald", sans-serif; letter-spacing: 1px; }
.footer__small { color: var(--text-2); font-size: 14px; margin-top: 8px; }
.footer__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__cols h4 { color: var(--gold); font-size: 13px; margin-bottom: 12px; letter-spacing: 1.5px; }
.footer__cols a { display: block; color: var(--text-2); font-size: 14px; margin-bottom: 8px; }
.footer__cols a:hover { color: var(--gold); }
.footer__legal {
  max-width: var(--maxw); margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--steel); color: var(--text-muted); font-size: 13px;
}
.footer__legal p { margin-bottom: 6px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid--3, .grid--modes { grid-template-columns: 1fr 1fr; }
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
  .mode--main { grid-column: span 2; }
  .shots { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links a:not(.btn) { display: none; }
  .grid--3, .grid--modes { grid-template-columns: 1fr; }
  .grid--6 { grid-template-columns: repeat(2, 1fr); }
  .mode--main { grid-column: span 1; }
  .hero { min-height: auto; }
}
