@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* Vanguard MMO - vanguardmmo.com. Pure CSS: the site's CSP allows no scripts. */
:root {
  --bg: #06040c;
  --card: rgba(20, 16, 34, .88);
  --edge: #2f2650;
  --nebula: #a574ff;
  --nebula-dk: #5b3f92;
  --bright: #e4d3ff;
  --text: #e3dcf5;
  --dim: #8e82b0;
  --gold: #e8c24a;
  --good: #6be3a0;
  --display: 'Cinzel', Georgia, serif;
  --body: 'Inter', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6;
  background: var(--bg) fixed;
  background-image:
    radial-gradient(1100px 500px at 50% -140px, rgba(120,70,220,.35), transparent 70%),
    radial-gradient(1px 1px at 18% 22%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 48%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 78%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 60%,  rgba(255,255,255,.3) 50%, transparent 51%),
    linear-gradient(180deg, #0c0918 0%, #06040c 45%, #06040c 100%);
}
a { color: var(--nebula); text-decoration: none; }
a:hover { color: var(--bright); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); color: var(--bright); letter-spacing: .04em; margin: 0 0 12px; line-height: 1.2; }
p { margin: 0 0 14px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--nebula); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(6,4,12,.78); border-bottom: 1px solid rgba(47,38,80,.6);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .18em; color: var(--bright); font-size: 15px; text-transform: uppercase; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.brand small { font-family: var(--body); font-size: 10px; letter-spacing: .2em; color: var(--nebula); border: 1px solid var(--edge); border-radius: 999px; padding: 2px 8px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav li a {
  display: inline-block; padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); border: 1px solid transparent; transition: all .18s ease;
}
.nav li a:hover, .nav li a.active { color: var(--bright); border-color: var(--edge); background: rgba(20,16,34,.9); }
.nav li a.play { color: #0b0814; background: linear-gradient(180deg, #c9a4ff, #a574ff); border-color: #c9a4ff; box-shadow: 0 0 18px rgba(165,116,255,.35); margin-left: 6px; }
.nav li a.play:hover { background: linear-gradient(180deg, #e4d3ff, #b58cff); box-shadow: 0 0 26px rgba(165,116,255,.6); color: #0b0814; }
/* mobile menu: a checkbox, no scripts */
#menu, .burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; text-align: center; padding: 96px 0 84px; min-height: 640px; display: flex; align-items: center; }
.hero .bg { position: absolute; inset: 0; background: url(hero.jpg) center 40% / cover no-repeat; opacity: .75; filter: saturate(1.1); }
.hero .bg:after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 50% 42%, rgba(6,4,12,.15), rgba(6,4,12,.75) 80%), linear-gradient(180deg, rgba(6,4,12,.45), rgba(6,4,12,.2) 40%, var(--bg) 100%); }
.hero .wrap { position: relative; width: 100%; }
.hero .wordmark { max-width: min(640px, 92%); filter: drop-shadow(0 0 30px rgba(165,116,255,.55)) drop-shadow(0 8px 30px rgba(0,0,0,.7)); }
.eyebrow { font-family: var(--display); color: var(--nebula); letter-spacing: .34em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.hero .eyebrow { margin-top: 16px; }
.hero .tag { margin: 16px auto 0; max-width: 640px; color: var(--text); font-size: 18px; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--edge); color: var(--bright); background: rgba(20,16,34,.85); transition: all .18s ease;
}
.btn:hover { border-color: var(--nebula); box-shadow: 0 0 22px rgba(165,116,255,.3); transform: translateY(-1px); color: var(--bright); }
.btn.primary { color: #0b0814; background: linear-gradient(180deg, #c9a4ff, #a574ff); border-color: #c9a4ff; box-shadow: 0 8px 26px rgba(165,116,255,.35); }
.btn.primary:hover { background: linear-gradient(180deg, #e4d3ff, #b58cff); color: #0b0814; }
.btn.big { padding: 18px 38px; font-size: 14px; }
.btn small { font-size: 10px; letter-spacing: .12em; opacity: .75; font-weight: 600; }
.hero .note { margin-top: 14px; color: var(--dim); font-size: 13px; }
.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.badge { padding: 9px 16px; border-radius: 999px; background: rgba(6,4,12,.72); border: 1px solid var(--edge); color: var(--text); font-size: 13px; font-weight: 500; }
.badge b { color: var(--gold); font-weight: 700; margin-right: 4px; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-title { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; font-family: var(--display); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--nebula); }
.section-title:after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--nebula-dk), transparent); }
.section h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 8px; }
.lede { color: var(--dim); max-width: 680px; margin-bottom: 28px; }
.rule { height: 1px; max-width: 900px; margin: 0 auto; background: linear-gradient(90deg, transparent, var(--nebula-dk) 30%, var(--nebula) 50%, var(--nebula-dk) 70%, transparent); opacity: .8; }

/* feature cards with art */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, rgba(28,22,48,.95), rgba(14,10,26,.95)); border: 1px solid var(--edge);
  box-shadow: 0 14px 34px rgba(0,0,0,.5); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; color: var(--text); }
.feature:hover { transform: translateY(-4px); border-color: var(--nebula); box-shadow: 0 18px 44px rgba(0,0,0,.6), 0 0 30px rgba(165,116,255,.2); color: var(--text); }
.feature .art { aspect-ratio: 16 / 10; overflow: hidden; background: #0b0814; }
.feature .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature:hover .art img { transform: scale(1.05); }
.feature .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.feature h3 { font-size: 16px; letter-spacing: .06em; margin: 0; }
.feature p { color: var(--dim); font-size: 14px; margin: 0; }
.feature .more { margin-top: auto; padding-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nebula); }

/* big spotlight row */
.spot { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: center; }
.spot.flip { grid-template-columns: 1fr 1.25fr; }
.spot.flip .shot { order: 2; }
.spot .shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--edge); box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(165,116,255,.12); }
.spot .shot img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.spot h2 { font-size: clamp(22px, 2.8vw, 30px); }
.spot p { color: var(--dim); }
.spot ul { margin: 0 0 18px; padding: 0; list-style: none; }
.spot li { padding: 7px 0 7px 26px; position: relative; border-top: 1px solid rgba(47,38,80,.55); color: var(--text); font-size: 15px; }
.spot li:first-child { border-top: 0; }
.spot li:before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--nebula); box-shadow: 0 0 8px var(--nebula); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.stepc { position: relative; padding: 26px 22px 22px; border-radius: 14px; background: linear-gradient(180deg, rgba(28,22,48,.92), var(--card)); border: 1px solid var(--edge); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.stepc .n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #0b0814; background: linear-gradient(180deg, #c9a4ff, #a574ff); box-shadow: 0 0 18px rgba(165,116,255,.45); margin-bottom: 14px; }
.stepc h3 { font-size: 16px; letter-spacing: .06em; }
.stepc p { color: var(--dim); font-size: 14px; margin: 0 0 12px; }
.stepc a.inl { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* call-out band */
.band { position: relative; overflow: hidden; border-radius: 18px; padding: 44px 40px; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  background: radial-gradient(600px 240px at 15% 0%, rgba(165,116,255,.28), transparent 70%), linear-gradient(180deg, rgba(30,22,54,.95), rgba(14,10,26,.95)); border: 1px solid var(--edge); box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.band h2 { margin-bottom: 6px; }
.band p { color: var(--dim); margin: 0; max-width: 620px; }
.band .cta { margin-top: 0; justify-content: flex-end; }

/* community */
.community { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ccard { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 14px; background: linear-gradient(180deg, rgba(28,22,48,.92), var(--card)); border: 1px solid var(--edge); color: var(--text); transition: transform .2s, border-color .2s; }
.ccard:hover { transform: translateY(-3px); border-color: var(--nebula); color: var(--text); }
.ccard .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, rgba(165,116,255,.4), rgba(0,0,0,.3) 70%); border: 1px solid var(--edge); }
.ccard .ic svg { width: 24px; height: 24px; fill: var(--bright); }
.ccard b { display: block; font-family: var(--display); letter-spacing: .08em; color: var(--bright); }
.ccard span { color: var(--dim); font-size: 13px; }

/* ---------- slideshow (CSS only) ---------- */
.show { position: relative; aspect-ratio: 16 / 9; max-height: 660px; border-radius: 14px; overflow: hidden; border: 1px solid var(--edge); background: #0b0814; box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(165,116,255,.12); }
.show .slide { position: absolute; inset: 0; margin: 0; opacity: 0; animation: vgfade 30s infinite; }
.show .slide img { width: 100%; height: 100%; object-fit: cover; }
.show .slide.contain img { object-fit: contain; background: radial-gradient(circle at 50% 40%, rgba(91,63,146,.35), #0b0814 70%); }
.show figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 26px 20px; background: linear-gradient(180deg, transparent, rgba(6,4,12,.92)); }
.show figcaption b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--bright); }
.show figcaption span { color: var(--dim); font-size: 14px; }
.show .slide:nth-of-type(1) { animation-delay: 0s; }
.show .slide:nth-of-type(2) { animation-delay: 5s; }
.show .slide:nth-of-type(3) { animation-delay: 10s; }
.show .slide:nth-of-type(4) { animation-delay: 15s; }
.show .slide:nth-of-type(5) { animation-delay: 20s; }
.show .slide:nth-of-type(6) { animation-delay: 25s; }
.show .dots { position: absolute; right: 16px; top: 14px; display: flex; gap: 6px; }
.show .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(228,211,255,.25); animation: vgdot 30s infinite; }
.show .dots i:nth-child(1) { animation-delay: 0s; }
.show .dots i:nth-child(2) { animation-delay: 5s; }
.show .dots i:nth-child(3) { animation-delay: 10s; }
.show .dots i:nth-child(4) { animation-delay: 15s; }
.show .dots i:nth-child(5) { animation-delay: 20s; }
.show .dots i:nth-child(6) { animation-delay: 25s; }
@keyframes vgfade { 0% { opacity: 0 } 2.5% { opacity: 1 } 16.67% { opacity: 1 } 19.17% { opacity: 0 } 100% { opacity: 0 } }
@keyframes vgdot { 0% { background: var(--nebula); box-shadow: 0 0 8px var(--nebula) } 16.67% { background: var(--nebula) } 17% { background: rgba(228,211,255,.25); box-shadow: none } 100% { background: rgba(228,211,255,.25) } }
@media (prefers-reduced-motion: reduce) { .show .slide { animation: none; } .show .slide:first-of-type { opacity: 1; } .show .dots { display: none; } }

/* ---------- panels (download page) ---------- */
.panel { padding: 34px; border-radius: 14px; background: linear-gradient(180deg, rgba(28,22,48,.92), var(--card)); border: 1px solid var(--edge); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.panel h2 { font-size: 22px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice .panel { display: flex; flex-direction: column; }
.choice .panel .cta { justify-content: flex-start; margin-top: auto; padding-top: 18px; }
.choice .panel.pick { border-color: var(--nebula); box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 30px rgba(165,116,255,.18); }
.tagpill { align-self: flex-start; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: #0b0814; background: linear-gradient(180deg, #c9a4ff, #a574ff); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.plist { list-style: none; margin: 8px 0 0; padding: 0; }
.plist li { padding: 6px 0 6px 24px; position: relative; color: var(--text); font-size: 14px; }
.plist li:before { content: ""; position: absolute; left: 4px; top: 13px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--nebula); }
.req { color: var(--dim); font-size: 13px; }
.req li { margin-bottom: 4px; }
code { font-family: Consolas, monospace; font-size: 12px; padding: 2px 6px; border-radius: 6px; background: rgba(165,116,255,.12); color: var(--bright); border: 1px solid rgba(165,116,255,.3); }

/* ---------- footer ---------- */
footer { margin-top: 30px; border-top: 1px solid rgba(47,38,80,.6); background: rgba(6,4,12,.6); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; padding-top: 40px; padding-bottom: 26px; }
footer .fbrand { display: flex; gap: 12px; align-items: flex-start; }
footer .fbrand img { width: 42px; height: 42px; }
footer .fbrand b { display: block; font-family: var(--display); letter-spacing: .18em; color: var(--bright); }
footer .fbrand span { color: var(--dim); font-size: 13px; }
footer h4 { margin: 0 0 10px; font-family: var(--display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--nebula); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 0 0 6px; }
footer li a { color: var(--dim); font-size: 14px; }
footer li a:hover { color: var(--bright); }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(47,38,80,.5); padding-top: 18px; color: var(--dim); font-size: 12px; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .spot, .spot.flip { grid-template-columns: 1fr; }
  .spot.flip .shot { order: 0; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--edge); background: rgba(20,16,34,.9); cursor: pointer; }
  .burger i, .burger i:before, .burger i:after { display: block; width: 18px; height: 2px; background: var(--bright); position: relative; content: ""; }
  .burger i:before { position: absolute; top: -6px; } .burger i:after { position: absolute; top: 6px; }
  .nav ul { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 20px 18px; background: rgba(6,4,12,.97); border-bottom: 1px solid var(--edge); }
  .nav li a { display: block; text-align: center; padding: 12px; }
  .nav li a.play { margin: 6px 0 0; }
  #menu:checked ~ ul { display: flex; }
  .nav .navplay { display: inline-flex; }
  .steps, .community { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 30px 24px; }
  .band .cta { justify-content: flex-start; }
  .choice { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; min-height: 0; }
  .hero .tag { font-size: 16px; }
  .section { padding: 46px 0; }
  .panel { padding: 22px; }
  footer .wrap { grid-template-columns: 1fr; }
  .brand small { display: none; }
}
.navplay { display: none; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0b0814; background: linear-gradient(180deg, #c9a4ff, #a574ff); margin-left: auto; }
.navplay:hover { color: #0b0814; }
