/* EonSMP — flashy/epic theme. Cinzel display + Space Grotesk body, ember-orange on near-black. */
:root {
  --bg: #06070c;
  --bg-alt: #0c0e16;
  --card: #12151f;
  --border: #242a3a;
  --border-hot: rgba(255, 170, 0, 0.45);
  --text: #eef0f6;
  --muted: #9aa3b8;
  --accent: #ffaa00;
  --accent-soft: #ffc24d;
  --accent-hot: #ff7a00;
  --accent-dark: #cc8800;
  --green: #55ff88;
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 88% -120px, rgba(255, 140, 0, 0.07), transparent 65%),
    radial-gradient(760px 460px at 4% 34%, rgba(255, 120, 0, 0.05), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #1a1200; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #090a10; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3a3020, #262c3d);
  border: 2px solid #090a10; border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #8a6a20, #3a4258); }

a { color: var(--accent); text-decoration: none; transition: color 0.2s, text-shadow 0.2s; }
a:hover { color: var(--accent-soft); text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

code {
  font-family: var(--font-mono); font-size: 0.9em; color: var(--accent-soft);
  background: #161a26; border: 1px solid var(--border); border-radius: 4px; padding: 0.08em 0.4em;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.4rem; }

/* ---------- Header ---------- */
header {
  background: rgba(7, 8, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 50;
}
header::after {
  content: ""; display: block; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 170, 0, 0.55) 30%, rgba(255, 170, 0, 0.55) 70%, transparent);
}
.nav { display: flex; align-items: center; gap: 1.5rem; padding: 0.8rem 0; flex-wrap: wrap; }
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-display); font-weight: 800; font-size: var(--brand-text-size, 60px); letter-spacing: 0.08em;
  color: var(--text); text-transform: uppercase;
}
.brand img {
  width: var(--brand-icon-size, 96px); height: var(--brand-icon-size, 96px); border-radius: 7px; image-rendering: pixelated;
  filter: drop-shadow(0 0 8px rgba(255, 160, 0, 0.45));
}
.brand:hover { text-decoration: none; color: var(--accent-soft); text-shadow: 0 0 18px rgba(255, 170, 0, 0.5); }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  position: relative; color: #a7aec2; font-size: 18.8px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; padding: 0.2rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: linear-gradient(90deg, var(--accent-hot), var(--accent-soft));
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
  box-shadow: 0 0 8px rgba(255, 160, 0, 0.7);
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(580px, 94vh, 1080px);
  display: flex; align-items: flex-end; justify-content: center;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: -75px 0 0 -16px; z-index: 0;
  background: url("assets/banner.jpg") center 12% / cover no-repeat #06070c;
  transform-origin: 50% 30%;
  animation: slowZoom 28s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% 32%, transparent 38%, rgba(5, 6, 10, 0.55) 78%, rgba(5, 6, 10, 0.85)),
    linear-gradient(180deg, rgba(6, 7, 12, 0.55), transparent 22%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 66% 58% at 50% 76%, rgba(6, 7, 12, 0.8), transparent 74%),
    linear-gradient(180deg, transparent 18%, rgba(6, 7, 12, 0.5) 44%, rgba(6, 7, 12, 0.84) 66%, var(--bg) 99%);
}
.embers {
  position: absolute; inset: 0 0 0 -22px; z-index: 2; pointer-events: none;
  transform: scaleX(1.06);
  display: flex; align-items: flex-end; justify-content: center;
}
.embers .hero-content { pointer-events: auto; }
.embers i {
  position: absolute; bottom: -14px; width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd98a, #ff9d2e 60%, rgba(255, 120, 0, 0));
  box-shadow: 0 0 12px 2px rgba(255, 150, 40, 0.5);
  opacity: 0;
  animation: emberRise 10s linear infinite;
}
.embers i:nth-child(1)  { left: 6%;  width: 5px; height: 5px; animation-duration: 9s;    animation-delay: 0s; }
.embers i:nth-child(2)  { left: 14%; width: 3px; height: 3px; animation-duration: 11.5s; animation-delay: 2.2s; }
.embers i:nth-child(3)  { left: 22%; width: 6px; height: 6px; animation-duration: 8.5s;  animation-delay: 4.1s; }
.embers i:nth-child(4)  { left: 30%; width: 4px; height: 4px; animation-duration: 12s;   animation-delay: 1.2s; }
.embers i:nth-child(5)  { left: 38%; width: 3px; height: 3px; animation-duration: 10s;   animation-delay: 5s; }
.embers i:nth-child(6)  { left: 47%; width: 5px; height: 5px; animation-duration: 9.5s;  animation-delay: 3s; }
.embers i:nth-child(7)  { left: 55%; width: 4px; height: 4px; animation-duration: 13s;   animation-delay: 0.6s; }
.embers i:nth-child(8)  { left: 63%; width: 6px; height: 6px; animation-duration: 8s;    animation-delay: 4.8s; }
.embers i:nth-child(9)  { left: 72%; width: 3px; height: 3px; animation-duration: 11s;   animation-delay: 2s; }
.embers i:nth-child(10) { left: 80%; width: 5px; height: 5px; animation-duration: 9s;    animation-delay: 5.6s; }
.embers i:nth-child(11) { left: 88%; width: 4px; height: 4px; animation-duration: 12.5s; animation-delay: 1.8s; }
.embers i:nth-child(12) { left: 95%; width: 3px; height: 3px; animation-duration: 10.5s; animation-delay: 3.8s; }

.hero-content { position: relative; z-index: 3; padding-bottom: var(--hero-bottom, 24px); max-width: 860px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.overline {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.38em; text-transform: uppercase; color: var(--accent-soft);
  text-shadow: 0 0 16px rgba(255, 170, 0, 0.55);
  animation: fadeUp 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.overline::before, .overline::after {
  content: ""; width: 58px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 90, 0.85));
}
.overline::after { transform: scaleX(-1); }
.hero p.tag {
  color: var(--text); font-size: clamp(1.3rem, 2.7vw, 1.85rem); font-weight: 500;
  line-height: 1.4; margin: 1.1rem auto 2rem; max-width: 34ch;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 2px 30px rgba(0, 0, 0, 0.9);
  text-wrap: pretty;
  animation: fadeUp 0.9s 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero p.tag .hot {
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-hot));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 700;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}
.server-ip {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: rgba(10, 12, 18, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-hot); border-radius: 8px;
  padding: 0.75rem 0.75rem 0.75rem 1.2rem;
  font-family: var(--font-mono); font-weight: 500; font-size: 1.15rem;
  box-shadow: 0 0 32px rgba(255, 140, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: fadeUp 0.9s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.server-ip .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 10px rgba(85, 255, 136, 0.8);
  animation: ping 2.2s ease-out infinite;
}
.server-ip .dot.off { background: #8a93a8; box-shadow: none; animation: none; }
.players {
  color: var(--green); font-family: var(--font-body); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.04em; padding-left: 0.8rem; border-left: 1px solid var(--border);
  text-shadow: 0 0 12px rgba(85, 255, 136, 0.5);
}
.server-ip button {
  background: linear-gradient(180deg, var(--accent-soft), #ff9500);
  color: #221500; border: none; border-radius: 5px;
  padding: 0.45rem 0.95rem; font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; cursor: pointer;
  box-shadow: 0 3px 14px rgba(255, 150, 0, 0.4);
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}
.server-ip button:hover { filter: brightness(1.12); box-shadow: 0 5px 22px rgba(255, 150, 0, 0.6); transform: translateY(-1px); }
.server-ip button:active { transform: translateY(1px) scale(0.97); }
.hero .links {
  margin-top: 1.9rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.9s 0.52s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-block;
  padding: 0.85rem 1.9rem; border-radius: 5px;
  font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 17, 26, 0.7); color: var(--text);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s, color 0.25s;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg); transition: left 0.55s ease;
}
.btn:hover::after { left: 140%; }
.btn:hover {
  text-decoration: none; transform: translateY(-2px);
  border-color: var(--border-hot); color: var(--accent-soft);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 150, 0, 0.15);
}
.btn.primary {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent-hot));
  border-color: transparent; color: #221500;
  box-shadow: 0 6px 26px rgba(255, 140, 0, 0.4);
}
.btn.primary:hover { color: #221500; filter: brightness(1.08); box-shadow: 0 10px 36px rgba(255, 140, 0, 0.6); }

/* ---------- Sections ---------- */
section { position: relative; padding: 5.5rem 0; }
section.alt {
  background: linear-gradient(180deg, rgba(18, 21, 32, 0.6), rgba(12, 14, 22, 0.6));
  border-top: 1px solid rgba(255, 170, 0, 0.1);
  border-bottom: 1px solid rgba(255, 170, 0, 0.1);
}
section.alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px 300px at 50% 0%, rgba(255, 150, 0, 0.07), transparent 70%);
}
.sec-head { text-align: center; margin-bottom: 3rem; }
.sec-head::before {
  content: "◆"; display: block; color: var(--accent); font-size: 0.85rem;
  text-shadow: 0 0 14px rgba(255, 170, 0, 0.9); margin-bottom: 1rem;
}
h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem); letter-spacing: 0.05em; line-height: 1.2;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e9ecf4 45%, #a9b1c6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h2::after {
  content: ""; display: block; width: 76px; height: 2px; margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px rgba(255, 170, 0, 0.7);
}
.section-sub { color: var(--muted); margin-top: 0.9rem; font-size: 1.02rem; }

/* ---------- Feature cards ---------- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.3rem; }
.card {
  position: relative;
  border: 1px solid transparent; border-radius: 6px;
  background:
    linear-gradient(165deg, rgba(24, 28, 42, 0.92), rgba(13, 16, 25, 0.92)) padding-box,
    conic-gradient(from var(--spin), rgba(255, 170, 0, 0) 0%, rgba(255, 190, 90, 0.95) 8%, rgba(255, 170, 0, 0) 18%, rgba(255, 170, 0, 0) 50%, rgba(255, 170, 0, 0.55) 58%, rgba(255, 170, 0, 0) 68%) border-box,
    linear-gradient(var(--border), var(--border)) border-box;
  animation: spinBorder var(--outline-dur, 6s) linear infinite;
  padding: 1.6rem 1.5rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.card::before, .card::after {
  content: ""; position: absolute; width: 16px; height: 16px;
  border: 2px solid var(--accent); opacity: 0; transition: opacity 0.3s, transform 0.3s;
}
.card::before { top: -2px; left: -2px; border-right: none; border-bottom: none; transform: translate(4px, 4px); }
.card::after { bottom: -2px; right: -2px; border-left: none; border-top: none; transform: translate(-4px, -4px); }
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), 0 0 26px rgba(255, 150, 0, 0.12);
}
.card:hover::before, .card:hover::after { opacity: 1; transform: translate(0, 0); }
.card h3 {
  font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 0.55rem; color: var(--accent-soft);
}
.card h3::before { content: "◆"; font-size: 0.6em; margin-right: 0.55rem; vertical-align: 2px; color: var(--accent); }
.card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Store ---------- */
.tiers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem; margin-top: 2.6rem; align-items: stretch;
}
.tier {
  position: relative;
  border: 1px solid transparent; border-radius: 6px;
  background:
    linear-gradient(165deg, rgba(24, 28, 42, 0.92), rgba(13, 16, 25, 0.92)) padding-box,
    conic-gradient(from var(--spin), rgba(255, 170, 0, 0) 0%, rgba(255, 190, 90, 0.95) 8%, rgba(255, 170, 0, 0) 18%, rgba(255, 170, 0, 0) 50%, rgba(255, 170, 0, 0.55) 58%, rgba(255, 170, 0, 0) 68%) border-box,
    linear-gradient(var(--border), var(--border)) border-box;
  animation: spinBorder var(--outline-dur, 6s) linear infinite;
  padding: 2.1rem 1.6rem 1.9rem; text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.tier:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55); }
.tier h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.tier .price {
  font-family: var(--font-display); font-weight: 900; font-size: 2.3rem; line-height: 1.1;
  margin: 0.7rem 0 0.4rem;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent-hot));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tier .price small {
  display: block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.3rem;
  background: none; -webkit-text-fill-color: var(--muted);
}
.tier ul { list-style: none; margin: 1.2rem 0 0; color: var(--muted); font-size: 0.92rem; }
.tier ul li { padding: 0.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.tier ul li:first-child { border-top: none; }
.tier.featured {
  background:
    linear-gradient(165deg, rgba(24, 28, 42, 0.92), rgba(13, 16, 25, 0.92)) padding-box,
    conic-gradient(from var(--spin), rgba(255, 190, 90, 0) 0%, rgba(255, 230, 160, 1) 8%, rgba(255, 190, 90, 0) 18%, rgba(255, 190, 90, 0) 50%, rgba(255, 230, 160, 0.7) 58%, rgba(255, 190, 90, 0) 68%) border-box,
    linear-gradient(var(--accent), var(--accent)) border-box;
  animation: spinBorder var(--outline-dur, 6s) linear infinite, tierGlow 2.6s ease-in-out infinite alternate;
}
.tier.featured:hover { transform: translateY(-5px); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent-hot));
  color: #221500; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 0.28rem 0.9rem; border-radius: 3px;
  box-shadow: 0 4px 18px rgba(255, 150, 0, 0.55);
}
.eula-note { margin-top: 2.4rem; color: var(--muted); font-size: 0.9rem; text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; max-width: 660px; margin: 0 auto; }
.contact-list li {
  display: flex; align-items: baseline; gap: 1.1rem; flex-wrap: wrap;
  padding: 0.95rem 1.2rem; margin-bottom: 0.65rem;
  background: rgba(18, 21, 32, 0.6); border: 1px solid var(--border); border-radius: 6px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-list li:hover { border-color: var(--border-hot); box-shadow: 0 0 18px rgba(255, 150, 0, 0.08); }
.contact-list strong {
  color: var(--accent-soft); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; min-width: 86px;
}
.fineprint { color: var(--muted); margin-top: 1.6rem; font-size: 0.9rem; text-align: center; }

/* ---------- Footer ---------- */
footer {
  padding: 2.6rem 0 2.2rem; color: var(--muted); font-size: 0.88rem;
  background: linear-gradient(180deg, transparent, rgba(255, 140, 0, 0.04));
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(255, 170, 0, 0.5), transparent) 1;
}
footer .foot-links { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
footer a { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
footer a:hover { color: var(--accent-soft); text-decoration: none; text-shadow: 0 0 12px rgba(255, 170, 0, 0.5); }
footer p { margin-top: 0.3rem; }

/* ---------- Policy pages ---------- */
.policy { max-width: 780px; padding: 4rem 1.4rem 5rem; margin: 0 auto; }
.policy h1 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; margin-bottom: 0.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #e9ecf4 45%, #a9b1c6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.policy .updated { color: var(--muted); font-family: var(--font-mono); font-size: 0.82rem; margin-bottom: 2.2rem; }
.policy h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.06em; color: var(--accent-soft); margin: 2.1rem 0 0.6rem;
  background: none; -webkit-text-fill-color: var(--accent-soft); text-transform: none;
}
.policy h2::after { display: none; }
.policy p, .policy li { color: #c6cad4; }
.policy ul { margin: 0.5rem 0 0.5rem 1.5rem; }
.policy .back {
  display: inline-block; margin-top: 2.8rem; padding: 0.6rem 1.3rem;
  border: 1px solid var(--border-hot); border-radius: 5px;
  color: var(--accent-soft); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  transition: box-shadow 0.25s, background 0.25s;
}
.policy .back:hover { text-decoration: none; background: rgba(255, 160, 0, 0.08); box-shadow: 0 0 20px rgba(255, 150, 0, 0.2); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.grid .reveal:nth-child(5) { transition-delay: 0.06s; }
.grid .reveal:nth-child(6) { transition-delay: 0.12s; }
.grid .reveal:nth-child(7) { transition-delay: 0.18s; }
.grid .reveal:nth-child(8) { transition-delay: 0.24s; }
.tiers .reveal:nth-child(2) { transition-delay: 0.1s; }
.tiers .reveal:nth-child(3) { transition-delay: 0.2s; }

/* Moving outlines off */
html[data-outlines="off"] .card, html[data-outlines="off"] .tier {
  animation: none;
  background:
    linear-gradient(165deg, rgba(24, 28, 42, 0.92), rgba(13, 16, 25, 0.92)) padding-box,
    linear-gradient(var(--border), var(--border)) border-box;
}
html[data-outlines="off"] .tier.featured {
  background:
    linear-gradient(165deg, rgba(24, 28, 42, 0.92), rgba(13, 16, 25, 0.92)) padding-box,
    linear-gradient(var(--accent), var(--accent)) border-box;
  animation: tierGlow 2.6s ease-in-out infinite alternate;
}

/* ---------- Keyframes ---------- */
@keyframes spinBorder { to { --spin: 360deg; } }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes ping {
  0% { box-shadow: 0 0 10px rgba(85, 255, 136, 0.8), 0 0 0 0 rgba(85, 255, 136, 0.55); }
  70% { box-shadow: 0 0 10px rgba(85, 255, 136, 0.8), 0 0 0 10px rgba(85, 255, 136, 0); }
  100% { box-shadow: 0 0 10px rgba(85, 255, 136, 0.8), 0 0 0 0 rgba(85, 255, 136, 0); }
}
@keyframes emberRise {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: 0.85; }
  60% { opacity: 0.6; }
  100% { transform: translate(34px, -108vh); opacity: 0; }
}
@keyframes tierGlow {
  from { box-shadow: 0 0 22px rgba(255, 160, 0, 0.22), 0 14px 38px rgba(0, 0, 0, 0.5); }
  to { box-shadow: 0 0 44px rgba(255, 160, 0, 0.45), 0 14px 38px rgba(0, 0, 0, 0.5); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .server-ip .dot, .tier.featured { animation: none; }
  .card, .tier { animation: none; }
  .embers { display: none; }
  .overline, .hero p.tag, .server-ip, .hero .links { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .hero { min-height: 64vh; }
  .brand { font-size: 28px; }
  .brand img { width: 48px; height: 48px; }
  .hero-bg { inset: 0; background-position: center 30%; animation: none; }
  .embers { inset: 0; transform: none; }
  .overline { letter-spacing: 0.26em; font-size: 0.72rem; }
  .overline::before, .overline::after { width: 32px; }
  .server-ip { font-size: 0.98rem; gap: 0.6rem; padding-left: 0.9rem; }
  .nav { gap: 0.9rem; }
  .nav-links { gap: 0.85rem; }
  .nav-links a { font-size: 15px; letter-spacing: 0.1em; }
  section { padding: 4rem 0; }
}
