/* Flying Disk Heroes - estilos comunes de la web */
:root {
  --bg: #07080f;
  --bg-2: #0d1020;
  --panel: #12162a;
  --panel-2: #191e38;
  --line: #262c4d;
  --text: #eef0fa;
  --muted: #9aa1c0;
  --magenta: #e04bd8;
  --green: #3ee08a;
  --gold: #d9ad55;
  --gold-light: #f6dc95;
  --gold-deep: #a8792a;
  --gold-text: linear-gradient(180deg, #fbe7a6 0%, #e2b55a 45%, #b07f2c 75%, #e9c470 100%);
  --blue: #4b8dff;
  --red: #ff4d5e;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --display: "Cinzel", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-marksman: #f2c14e;
  --r-assassin: #ff5a7a;
  --r-fighter: #ff8a3d;
  --r-tank: #4b8dff;
  --r-mage: #b07cff;
  --r-support: #3ee08a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--gold-light); }
h1, h2, h3 { font-family: var(--display); letter-spacing: .02em; line-height: 1.15; margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 600; color: var(--gold); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(7, 8, 15, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 17px; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel); }
.nav-cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 6px 10px; font: inherit; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); padding: 10px 16px 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-cta { display: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 700;
  text-decoration: none; font-size: 15px; border: 1px solid transparent; cursor: pointer; font-family: var(--body);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--magenta), #9a3cf0); color: #fff; box-shadow: 0 8px 26px rgba(224, 75, 216, .35); }
.btn-secondary { background: rgba(255, 255, 255, .06); color: var(--text); border-color: rgba(255, 255, 255, .18); }
.btn-small { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn[aria-disabled="true"] { opacity: .75; cursor: default; transform: none; }
.steam-ico { width: 20px; height: 20px; }

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-head { margin-bottom: 30px; max-width: 720px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin-top: 6px; }
.section-head p { color: var(--muted); margin: 10px 0 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden;
  padding: 0 0 72px; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 8, 15, .15) 0%, rgba(7, 8, 15, .35) 45%, var(--bg) 100%),
              linear-gradient(90deg, rgba(7, 8, 15, .85) 0%, rgba(7, 8, 15, .2) 60%);
}
.hero h1 { font-size: clamp(40px, 7vw, 86px); text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.hero h1 .accent { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(60, 35, 5, .6)); }
.hero .lead { font-size: clamp(17px, 2vw, 21px); max-width: 620px; margin: 16px 0 28px; color: #dfe3f5; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag { border: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .35); padding: 5px 12px; border-radius: 999px; font-size: 13px; color: #dfe3f5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-emblem { width: 92px; height: 92px; margin-bottom: 18px; filter: drop-shadow(0 6px 24px rgba(224, 75, 216, .45)); }

/* ---- Trailer ---- */
.video { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: #000; }
.video iframe, .video img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video .soon { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle, rgba(7, 8, 15, .35), rgba(7, 8, 15, .8)); }
.video .soon span { font-family: var(--display); font-size: clamp(20px, 3vw, 32px); padding: 10px 22px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; background: rgba(0, 0, 0, .5); }

/* ---- Feature cards ---- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .num { font-family: var(--display); color: var(--gold); font-size: 14px; letter-spacing: .1em; }
.feature h3 { font-size: 19px; margin: 6px 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- Hero roster strip / grid ---- */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.hero-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--panel);
  border: 1px solid var(--line); text-decoration: none; color: var(--text); cursor: pointer; padding: 0; font: inherit; text-align: left; width: 100%;
  transition: transform .18s ease, border-color .18s ease;
}
.hero-card:hover, .hero-card:focus-visible { transform: translateY(-3px); border-color: var(--rc, var(--gold)); outline: none; }
.hero-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.hero-card .info { padding: 10px 12px 12px; }
.hero-card .nm { font-family: var(--display); font-size: 17px; font-weight: 700; }
.role { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--rc); }
.role::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rc); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 999px; padding: 8px 15px; font: inherit; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery button { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; background: #000; }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .3s ease; }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---- News ---- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.news-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.news-card:hover { border-color: var(--magenta); }
.news-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-card .body { padding: 16px 18px 20px; }
.news-card .cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.news-card h3 { font-size: 20px; margin: 6px 0 8px; }
.news-card p { margin: 0; color: var(--muted); font-size: 15px; }
.news-card time { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---- Article ---- */
.article { max-width: 760px; margin: 0 auto; padding: 56px 16px 80px; }
.article h1 { font-size: clamp(30px, 4.5vw, 46px); margin: 10px 0 12px; }
.article .cover { border-radius: var(--radius); margin: 24px 0 30px; border: 1px solid var(--line); }
.article h2 { font-size: 24px; margin: 34px 0 12px; }
.article h3 { font-size: 19px; margin: 24px 0 8px; font-family: var(--body); }
.article p, .article li { color: #d6dbef; }
.article ul { padding-left: 22px; }
.article li { margin: 6px 0; }

/* ---- CTA band ---- */
.cta-band {
  position: relative; border-radius: 20px; overflow: hidden; padding: 56px 32px; text-align: center; border: 1px solid var(--line);
  background: radial-gradient(800px 300px at 50% 0%, rgba(224, 75, 216, .28), transparent 70%), radial-gradient(600px 300px at 50% 100%, rgba(217, 173, 85, .16), transparent 70%), var(--panel);
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 12px auto 24px; }
.cta-band .cta-row { justify-content: center; }

/* ---- Info pages ---- */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); margin-top: 6px; }
.page-head p { color: var(--muted); max-width: 680px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.fact dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact dd { margin: 4px 0 0; font-weight: 600; }
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.download { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text); }
.download img { aspect-ratio: 16 / 10; object-fit: contain; width: 100%; background: #05060b; }
.download span { display: block; padding: 10px 12px; font-size: 14px; }
details.faq { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 16px; color: #d6dbef; }
.specs { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 32%; color: var(--muted); font-weight: 600; }
.specs thead th { color: var(--text); background: var(--panel-2); }
.table-wrap { overflow-x: auto; }

/* ---- Dialog (hero detail, lightbox) ---- */
dialog { border: 1px solid var(--line); border-radius: 18px; padding: 0; background: var(--panel); color: var(--text); width: min(940px, calc(100vw - 32px)); max-height: calc(100vh - 40px); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(3, 4, 10, .78); backdrop-filter: blur(4px); }
.close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0, 0, 0, .55); color: var(--text); font-size: 20px; cursor: pointer; }
.hero-detail { display: grid; grid-template-columns: 300px 1fr; }
.hero-detail .art { background: #05060b; }
.hero-detail .art img { width: 100%; height: 100%; object-fit: cover; }
.hero-detail .txt { padding: 26px 26px 28px; overflow-y: auto; max-height: calc(100vh - 42px); }
.hero-detail h2 { font-size: 34px; margin: 6px 0 4px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.badge { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); }
.ability { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ability .key { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--panel-2); border: 1px solid var(--line); font-size: 18px; }
.ability.ult .key { background: linear-gradient(135deg, var(--magenta), #9a3cf0); border-color: transparent; }
.ability h4 { margin: 0; font-size: 16px; }
.ability .type { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.ability p { margin: 4px 0 0; color: #cfd4ea; font-size: 14.5px; }
@media (max-width: 720px) {
  .hero-detail { grid-template-columns: 1fr; }
  .hero-detail .art { max-height: 300px; overflow: hidden; }
}
.lightbox { width: min(1400px, calc(100vw - 24px)); background: #000; }
.lightbox img { width: 100%; height: auto; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 42px 0 52px; margin-top: 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h3 { font-family: var(--body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .legal { grid-column: 1 / -1; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 18px; }
.studio { display: flex; align-items: center; gap: 12px; }
.studio img { width: 110px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
