/* HothHosting — ice-blue site chrome; the AFKScape card borrows the game's
   own brown/parchment/gold palette so it reads as that game. */

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

:root {
  --bg: #0b1622;
  --bg2: #102133;
  --card: #13263a;
  --line: #1f3a55;
  --ice: #bfe6ff;
  --ice-strong: #7cc8ff;
  --text: #dbe7f1;
  --dim: #8ea6bb;

  /* AFKScape palette (scapelike-idle/public/style.css) */
  --afk-panel: #3e3529;
  --afk-panel2: #494034;
  --afk-edge: #5a4e3c;
  --afk-parch: #d8ccb4;
  --afk-gold: #ff981f;
  --afk-dim: #9a8f7a;
}

html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 85% -100px, rgba(124, 200, 255, 0.14), transparent 70%),
    radial-gradient(700px 400px at 0% 30%, rgba(124, 200, 255, 0.06), transparent 70%);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--ice-strong); }
h1, h2, h3 { font-family: 'Space Grotesk', Inter, sans-serif; line-height: 1.15; color: #fff; }

/* Snowfall (snow.js) sits behind everything; content stacks above it. */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* Header */
.site-header {
  max-width: 1120px; margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 500; }
.brand b { color: var(--ice); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--dim); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  background: var(--ice); color: #06121e; border: 2px solid var(--ice);
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); background: #fff; border-color: #fff; }
.btn-small { padding: 7px 14px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ice); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg2); border-color: var(--ice); }

/* Hero */
.hero {
  max-width: 1120px; margin: 0 auto; padding: 56px 20px 40px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
}
.eyebrow { color: var(--ice-strong); font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); margin-bottom: 20px; }
.lede { font-size: 19px; color: var(--dim); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; height: 420px; }
.hero-art img { position: absolute; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); }
.art-a { width: 88%; left: 0; bottom: 10px; }
.art-b { height: 100%; right: 0; top: 0; }

/* Sections */
.section { max-width: 1120px; margin: 0 auto; padding: 48px 20px; }
.section-title { font-size: 30px; margin-bottom: 24px; }

/* AFKScape card */
.game-card {
  display: grid; grid-template-columns: 1.5fr 1fr; overflow: hidden;
  background: var(--afk-panel);
  background-image: radial-gradient(600px 300px at 100% 0%, #4c412f, transparent 70%);
  border: 3px solid var(--afk-edge); border-radius: 14px;
  color: var(--afk-parch);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.game-body { padding: 30px; }
.game-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.game-head img { image-rendering: pixelated; }
.game-head h3 { font-family: 'VT323', monospace; font-size: 40px; font-weight: 400; color: var(--afk-gold); line-height: 1; }
.game-tag { color: var(--afk-dim); font-size: 15px; }
.live-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: #7fe07f; background: rgba(53,184,57,.12); border: 1px solid rgba(53,184,57,.4);
  padding: 4px 10px; border-radius: 999px; }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: #35b839;
  box-shadow: 0 0 0 0 rgba(53,184,57,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(53,184,57,0); } 100% { box-shadow: 0 0 0 0 rgba(53,184,57,0); } }

.stat-row { list-style: none; display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }
.stat-row li { background: var(--afk-panel2); border: 2px solid var(--afk-edge); border-radius: 8px;
  padding: 8px 16px; min-width: 96px; }
.stat-row b { display: block; font-family: 'VT323', monospace; font-size: 34px; font-weight: 400; color: var(--afk-gold); line-height: 1; }
.stat-row span { font-size: 13px; color: var(--afk-dim); text-transform: uppercase; letter-spacing: .06em; }

.feature-list { list-style: none; margin-bottom: 26px; }
.feature-list li { padding-left: 22px; position: relative; margin: 5px 0; }
.feature-list li::before { content: ''; position: absolute; left: 4px; top: .62em;
  width: 8px; height: 8px; background: var(--afk-gold); transform: rotate(45deg); }

.game-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-gold { background: var(--afk-gold); border-color: var(--afk-gold); color: #2b1a05; }
.btn-gold:hover { background: #ffb04d; border-color: #ffb04d; }
.btn-ghost-gold { background: transparent; color: var(--afk-parch); border-color: var(--afk-edge); }
.btn-ghost-gold:hover { background: var(--afk-panel2); border-color: var(--afk-gold); }

.game-art { display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(closest-side, rgba(255,152,31,.16), transparent); }
.game-art img { max-height: 340px; filter: drop-shadow(0 14px 24px rgba(0,0,0,.5)); }

/* Coming soon */
.soon-card {
  margin-top: 22px; display: flex; align-items: center; gap: 24px;
  background: var(--card); border: 1px dashed var(--line); border-radius: 14px; padding: 22px 26px;
}
.soon-card img { width: 140px; flex: none; opacity: .5; filter: grayscale(1) brightness(1.3); }
.soon-card h3 { font-size: 21px; margin-bottom: 6px; }
.soon-card p { color: var(--dim); }

/* Latest update */
.update-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; }
.update-meta { color: var(--ice-strong); font-weight: 600; margin-bottom: 10px; }
.update-card ul { margin: 0 0 16px 20px; }
.update-card li { margin: 6px 0; }
.update-card a { font-weight: 600; text-decoration: none; }
.update-card a:hover { text-decoration: underline; }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.about-grid h3 { font-size: 19px; margin-bottom: 8px; color: var(--ice); }
.about-grid p { color: var(--dim); font-size: 16px; }

/* Footer */
.site-footer { max-width: 1120px; margin: 0 auto; padding: 36px 20px 48px;
  border-top: 1px solid var(--line); color: var(--dim); font-size: 15px; }
.site-footer .fine { font-size: 13px; margin-top: 6px; max-width: 60em; opacity: .8; }

/* Narrow screens */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-art { height: 260px; order: -1; }
  .game-card { grid-template-columns: 1fr; }
  .game-art { order: -1; padding: 20px 20px 0; }
  .game-art img { max-height: 200px; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-header { padding: 14px 16px; }
  .site-nav a:not(.btn) { display: none; }
  .hero, .section { padding-left: 16px; padding-right: 16px; }
  .game-body { padding: 20px; }
  .live-pill { display: none; }
  .soon-card { flex-direction: column; align-items: flex-start; }
  .soon-card img { width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-pill i { animation: none; }
  .btn { transition: none; }
}
