/* Normal Survival landing — dark, warm, glowstone. */
@font-face { font-family: "Outfit"; src: url(/fonts/outfit-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url(/fonts/silkscreen-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url(/fonts/silkscreen-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b0a12;
  --bg-2: #12101c;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --border: rgba(255, 255, 255, .09);
  --border-hot: rgba(251, 191, 36, .45);
  --text: #f5f3ff;
  --muted: #a9a3bd;
  --amber: #fbbf24;
  --orange: #f97316;
  --red: #ef4444;
  --green: #22c55e;
  --discord: #5865f2;
  --grad: linear-gradient(135deg, #fde047 0%, #f59e0b 35%, #f97316 70%, #ea580c 100%);
  --radius: 18px;
  --wrap: 1200px;
  --nav-h: 68px;
  --pixel: "Silkscreen", ui-monospace, monospace;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: #111; padding: .5rem 1rem; border-radius: 8px; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; display: inline-block; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s ease-out infinite; will-change: transform, opacity; }
@keyframes pulse { 0% { transform: scale(1); opacity: .65; } 70%, 100% { transform: scale(3.2); opacity: 0; } }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: .5rem .95rem; font-size: .9rem; }
.btn-lg { padding: .9rem 1.45rem; font-size: 1.04rem; }
.btn-primary { background: var(--grad); color: #1a0f00; box-shadow: 0 8px 30px rgba(249, 115, 22, .35), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(249, 115, 22, .5), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--border-hot); background: var(--surface-2); }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 8px 30px rgba(88, 101, 242, .35); }
.btn-discord:hover { box-shadow: 0 12px 40px rgba(88, 101, 242, .55); }
.btn-badge { display: inline-flex; align-items: center; gap: .4rem; margin-left: .25rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(0, 0, 0, .25); font-size: .82rem; font-weight: 600; }

/* ------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 10, 18, .94); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; height: var(--nav-h); padding: 0 clamp(1rem, 4vw, 2rem); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 800; font-size: 1.1rem; letter-spacing: .01em; flex: none; }
.brand:hover { text-decoration: none; }
.brand img { filter: drop-shadow(0 0 10px rgba(249, 115, 22, .6)); border-radius: 6px; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: .15em; }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-links > a { color: var(--muted); font-weight: 600; font-size: .95rem; padding: .45rem .75rem; border-radius: 999px; transition: color .15s, background .15s; }
.nav-links > a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: .5rem; flex: none; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i-close { display: none; }
.nav.is-open .nav-toggle .i-close { display: block; }
.nav.is-open .nav-toggle .i-open { display: none; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 0; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .grid {
  position: absolute; inset: -2px; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; opacity: .55; background: radial-gradient(closest-side, var(--glow-c), transparent) !important; will-change: transform; }
.g1 { --glow-c: #f97316; width: 720px; height: 720px; top: -260px; right: -180px; animation: drift 14s ease-in-out infinite alternate; }
.g2 { --glow-c: #7c3aed; width: 620px; height: 620px; bottom: -280px; left: -220px; opacity: .35; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }
.cubes i {
  position: absolute; width: 18px; height: 18px; border-radius: 3px; opacity: .0;
  background: linear-gradient(135deg, #fde68a, #f59e0b 50%, #b45309); box-shadow: 0 0 18px rgba(251, 191, 36, .6);
  animation: rise 16s linear infinite;
}
.cubes i:nth-child(1) { left: 6%; animation-delay: 0s; } .cubes i:nth-child(2) { left: 18%; animation-delay: 4s; width: 12px; height: 12px; }
.cubes i:nth-child(3) { left: 32%; animation-delay: 9s; } .cubes i:nth-child(4) { left: 48%; animation-delay: 2s; width: 10px; height: 10px; }
.cubes i:nth-child(5) { left: 62%; animation-delay: 6s; } .cubes i:nth-child(6) { left: 74%; animation-delay: 11s; width: 14px; height: 14px; }
.cubes i:nth-child(7) { left: 86%; animation-delay: 3s; } .cubes i:nth-child(8) { left: 94%; animation-delay: 8s; width: 10px; height: 10px; }
@keyframes rise { 0% { transform: translateY(110vh) rotate(0); opacity: 0; } 10% { opacity: .7; } 90% { opacity: .5; } 100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; } }

.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.live-pill { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; padding: .45rem 1rem .45rem .8rem; border-radius: 999px; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .35); color: #bbf7d0; font-weight: 700; font-size: .95rem; }
.live-pill.is-off { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .35); color: #fecaca; }
.live-pill.is-off .dot { background: var(--red); }
.live-pill.is-off .dot::after { animation: none; display: none; }
.hero h1 { text-wrap: balance; font-size: clamp(2.4rem, 5.3vw, 4.1rem); line-height: 1.02; margin: 0 0 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.hero h1 .pixel { font-family: var(--pixel); font-weight: 700; font-size: .82em; letter-spacing: 0; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(249, 115, 22, .45)); margin-bottom: .1em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #d8d3e8; margin: 0 0 1.8rem; max-width: 36rem; }
.lede strong { color: var(--text); }

.ip-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.4rem; max-width: 40rem; }
.ip-card {
  position: relative; text-align: left; cursor: pointer; padding: 1rem 1.1rem; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .35rem .5rem; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ip-card:hover { border-color: var(--border-hot); transform: translateY(-2px); box-shadow: 0 10px 40px rgba(249, 115, 22, .15); }
.ip-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.ip-label em { font-style: normal; color: var(--amber); margin-left: .35rem; }
.ip-addr { grid-column: 1 / -1; font-weight: 800; font-size: clamp(.98rem, 1.3vw, 1.12rem); letter-spacing: .005em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip-copy { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; color: var(--amber); padding: .2rem .55rem; border-radius: 999px; background: rgba(251, 191, 36, .1); }
.ip-card.copied .ip-copy { color: #bbf7d0; background: rgba(34, 197, 94, .15); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-side { display: grid; gap: 1.4rem; justify-items: center; }
.hero-logo-wrap { position: relative; width: 100%; max-width: 520px; display: flex; justify-content: center; }
.hero-logo { width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 20px 60px rgba(249, 115, 22, .35)); animation: float 6s ease-in-out infinite; will-change: transform; }
@keyframes float { 50% { transform: translateY(-10px); } }
.now-playing { width: 100%; max-width: 460px; padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(18, 16, 28, .9); border: 1px solid var(--border); }
.now-playing.is-empty { display: none; }
.np-head { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .9rem; color: #d8d3e8; margin-bottom: .7rem; }
.heads { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.heads li { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; background: #221d33; box-shadow: 0 0 0 2px rgba(255, 255, 255, .06); transition: transform .15s; animation: pop .4s ease both; }
.heads li:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 0 0 2px var(--amber); }
.heads img { width: 100%; height: 100%; image-rendering: pixelated; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.np-more { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); }
.np-more:empty { display: none; }

.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .025); overflow: hidden; padding: .7rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 2.4rem; width: max-content; animation: scroll 40s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .92rem; white-space: nowrap; }
.ticker img { border-radius: 4px; image-rendering: pixelated; }
.ticker b { color: var(--text); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; }
.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1rem; text-align: left; flex-wrap: wrap; }
.kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .6rem; font-family: var(--pixel); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--amber); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; margin: 0 0 .7rem; letter-spacing: -.015em; font-weight: 800; }
h3 { margin: 0; font-size: 1.12rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-head a { display: inline-flex; align-items: center; gap: .3rem; font-size: .9rem; }

/* stats */
.stats { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  position: relative; overflow: hidden; padding: 1.3rem 1.3rem 1.2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); display: grid; gap: .15rem;
  transition: transform .2s, border-color .2s;
}
.stat:hover { transform: translateY(-3px); border-color: var(--border-hot); }
.stat::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, .16), transparent 70%); pointer-events: none; }
.stat-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(251, 191, 36, .1); color: var(--amber); margin-bottom: .6rem; }
.stat-ico .ico { width: 22px; height: 22px; }
.stat strong { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat > span:last-child { color: var(--muted); font-size: .92rem; font-weight: 600; }
.stat-hot { background: linear-gradient(160deg, rgba(34, 197, 94, .16), rgba(34, 197, 94, .03)); border-color: rgba(34, 197, 94, .3); }
.stat-hot .stat-ico { background: rgba(34, 197, 94, .15); color: #4ade80; }
.stat strong.bump { animation: bump .6s ease; }
@keyframes bump { 40% { transform: scale(1.12); color: var(--amber); } }

.activity { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1rem; margin-top: 1rem; }
.chart { height: 190px; position: relative; }
.chart-svg { width: 100%; height: 100%; display: block; }
.chart-empty { display: grid; place-items: center; height: 100%; margin: 0; text-align: center; }
.chart-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; margin-top: .4rem; }
.worlds { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .55rem; }
.worlds li { position: relative; display: flex; justify-content: space-between; padding: .5rem .8rem; border-radius: 10px; background: rgba(255, 255, 255, .03); overflow: hidden; font-weight: 600; font-size: .95rem; }
.worlds li i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, rgba(249, 115, 22, .28), rgba(249, 115, 22, .08)); z-index: 0; transition: width .6s ease; }
.worlds li span, .worlds li b { position: relative; z-index: 1; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.mini-stats div { display: grid; }
.mini-stats b { font-size: 1.45rem; font-weight: 800; }
.mini-stats span { font-size: .8rem; color: var(--muted); line-height: 1.3; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature {
  display: grid; align-content: start; gap: .55rem; padding: 1.5rem; border-radius: var(--radius); color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); border: 1px solid var(--border);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.feature:hover { text-decoration: none; transform: translateY(-4px); border-color: var(--border-hot); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.feature-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #1a0f00; box-shadow: 0 8px 24px rgba(249, 115, 22, .35); margin-bottom: .4rem; }
.feature-ico .ico { width: 26px; height: 26px; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
.more { display: inline-flex; align-items: center; gap: .35rem; color: var(--amber); font-weight: 700; font-size: .92rem; margin-top: .3rem; }
.feature:hover .more .ico { transform: translateX(3px); }
.more .ico { transition: transform .15s; }

/* map */
.map-frame {
  position: relative; aspect-ratio: 16 / 8; min-height: 320px; border-radius: 22px; overflow: hidden; border: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 40%, rgba(249, 115, 22, .25), transparent 60%), repeating-linear-gradient(45deg, #15121f 0 18px, #181424 18px 36px);
  display: grid; place-items: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.6rem; border-radius: 999px; border: 1px solid var(--border-hot); background: rgba(11, 10, 18, .7); cursor: pointer; font-weight: 700; font-size: 1.05rem; backdrop-filter: blur(8px); transition: transform .2s; }
.map-load:hover { transform: scale(1.04); }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 700; }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.news-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .2s, border-color .2s; }
.news-card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--border-hot); }
.news-meta { font-size: .8rem; color: var(--amber); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.news-card strong { font-size: 1.08rem; line-height: 1.3; }
.news-card p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-stats { display: flex; align-items: center; gap: .35rem; font-size: .85rem; color: var(--muted); }
.news-stats span { display: inline-flex; align-items: center; gap: .35rem; margin-left: .6rem; }

/* services */
.services { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.svc { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .2s, border-color .2s, background .2s; }
.svc:hover { text-decoration: none; border-color: var(--border-hot); background: var(--surface-2); transform: translateX(3px); }
.svc-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(251, 191, 36, .1); color: var(--amber); }
.svc-ico .ico { width: 24px; height: 24px; }
.svc-discord .svc-ico { background: rgba(88, 101, 242, .16); color: #a5b0ff; }
.svc-store .svc-ico, .svc-earn .svc-ico { background: rgba(34, 197, 94, .12); color: #4ade80; }
.svc-body { display: grid; flex: 1; min-width: 0; }
.svc-body strong { font-size: 1.05rem; }
.svc-body span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.svc-go { color: var(--muted); transition: transform .15s, color .15s; }
.svc:hover .svc-go { color: var(--amber); transform: translateX(3px); }

/* partners */
.partners-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 3rem); border-radius: 28px;
  background: radial-gradient(ellipse at 0% 0%, rgba(249, 115, 22, .22), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(124, 58, 237, .2), transparent 55%), var(--bg-2);
  border: 1px solid var(--border-hot); box-shadow: 0 30px 90px rgba(249, 115, 22, .12);
}
.partners-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.audience { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.audience li { padding: .9rem 1rem; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--border); display: grid; }
.audience b { font-size: 1.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.audience span { color: var(--muted); font-size: .88rem; }
.partners-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.partners-list { display: grid; gap: .8rem; align-content: start; }
.pl-item { display: flex; gap: .9rem; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.pl-item > span { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(251, 191, 36, .12); color: var(--amber); }
.pl-item h3 { font-size: 1.02rem; margin-bottom: .15rem; }
.pl-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.fine { font-size: .84rem; color: var(--muted); margin: .4rem 0 0; line-height: 1.55; }

/* contact */
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-alt { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.contact-alt li { display: flex; align-items: center; gap: .6rem; color: var(--muted); flex-wrap: wrap; }
.contact-alt .ico { color: var(--amber); }
.contact-form { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.field em { font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem; border-radius: 12px; border: 1px solid var(--border); background: rgba(0, 0, 0, .3); color: var(--text);
  font: 500 1rem var(--font); transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(251, 191, 36, .2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.contact-form .field-company { display: none; }
.contact-form.is-business .field-company { display: grid; }
.contact-form.is-business .field-mc { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #fca5a5; }
.contact-form.is-sent { border-color: rgba(34, 197, 94, .5); }

/* footer */
.footer { border-top: 1px solid var(--border); background: #08070d; padding: 3.5rem 0 2rem; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(6, 1fr); gap: 2rem 1.5rem; }
.footer-brand p { margin: 1rem 0; line-height: 1.8; }
.link-copy { background: none; border: 0; padding: 0; color: var(--text); font-weight: 700; cursor: pointer; }
.link-copy:hover { color: var(--amber); }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: color .15s, border-color .15s; }
.footer-social a:hover { color: var(--amber); border-color: var(--border-hot); }
.footer-col { display: grid; align-content: start; gap: .45rem; }
.footer-col h4 { margin: 0 0 .4rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.5rem; color: var(--muted); font-size: .84rem; }
.footer-bottom p { margin: .3rem 0; }
.footer-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.mojang { font-size: .74rem; letter-spacing: .02em; opacity: .8; }

.toast { position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; padding: .75rem 1.2rem; border-radius: 999px; background: #16a34a; color: #fff; font-weight: 700; box-shadow: 0 12px 40px rgba(0, 0, 0, .4); animation: toast .25s ease; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } }
.notfound { text-align: center; padding: 5rem 1rem 0; }
.notfound h1 { font-family: var(--pixel); font-size: 5rem; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem; padding: 1rem clamp(1rem, 4vw, 2rem) 1.4rem;
    background: rgba(11, 10, 18, .97); border-bottom: 1px solid var(--border); transform: translateY(-110%); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s; max-height: calc(100dvh - var(--nav-h)); overflow: auto;
  }
  .nav.is-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links > a { padding: .85rem 1rem; font-size: 1.05rem; color: var(--text); }
  .nav-cta-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .8rem; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-side { order: -1; }
  .hero-logo, .hero-logo-wrap { max-width: 400px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .activity, .partners-card, .contact-wrap { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-cta .btn span { display: none; }
  .nav-cta .btn { padding: .55rem; width: 42px; height: 42px; }
  .ip-cards { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-logo, .hero-logo-wrap { max-width: 300px; }
  .stat { padding: 1rem; }
  .stat-ico { width: 34px; height: 34px; margin-bottom: .4rem; }
  .feature-grid, .svc-grid, .news-grid, .field-row { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr 1fr; }
  .audience b { font-size: 1.3rem; }
  .map-frame { aspect-ratio: 4 / 5; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .partners-actions .btn, .form-foot .btn { width: 100%; }
  .mini-stats b { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------------
   Christmas theme. The server adds .theme-xmas to <html> during December only
   (SEASONAL_THEME=auto), so nothing below applies the rest of the year.
   --------------------------------------------------------------------------- */
.theme-xmas {
  --bg: #0a1110; --bg-2: #0e1816;
  --border-hot: rgba(239, 68, 68, .5);
  --grad: linear-gradient(135deg, #fde047 0%, #f59e0b 30%, #ef4444 68%, #dc2626 100%);
}
.theme-xmas .g1 { --glow-c: #dc2626; opacity: .45; }
.theme-xmas .g2 { --glow-c: #15803d; opacity: .4; }
.theme-xmas .footer { background: #070c0b; }
/* the floating glowstone cubes become baubles */
.theme-xmas .cubes i { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8 0 12%, transparent 13%), linear-gradient(135deg, #f87171, #dc2626 55%, #7f1d1d); box-shadow: 0 0 18px rgba(239, 68, 68, .55); }
.theme-xmas .cubes i:nth-child(3n) { background: radial-gradient(circle at 35% 30%, #fff8 0 12%, transparent 13%), linear-gradient(135deg, #86efac, #16a34a 55%, #14532d); box-shadow: 0 0 18px rgba(34, 197, 94, .5); }
.theme-xmas .cubes i:nth-child(4n) { background: radial-gradient(circle at 35% 30%, #fff8 0 12%, transparent 13%), linear-gradient(135deg, #fde68a, #f59e0b 55%, #92400e); box-shadow: 0 0 18px rgba(251, 191, 36, .55); }

/* string of lights hanging under the nav bar: 4 strips (one per colour) that twinkle in turn.
   Drawn with gradients so only 4 elements animate, whatever the screen width. */
.xmas-lights { position: absolute; left: 0; right: 0; bottom: -14px; height: 20px; pointer-events: none; overflow: hidden; z-index: 1;
  background: radial-gradient(60px 16px at 48px -6px, transparent 13px, rgba(30, 42, 36, .95) 13.5px 15px, transparent 15.5px) 0 0 / 96px 20px repeat-x; }
.xmas-lights i { position: absolute; inset: 0; --c: #ef4444; --g: rgba(239, 68, 68, .55); --x: 12px; --y: 9px;
  background:
    radial-gradient(4px 6px at 12px calc(var(--y) + 3px), var(--c) 92%, transparent 100%),
    radial-gradient(2.5px 2.5px at 12px calc(var(--y) - 3px), #59665f 95%, transparent 100%),
    radial-gradient(11px 11px at 12px calc(var(--y) + 3px), var(--g), transparent 100%);
  background-size: 96px 20px; background-repeat: repeat-x; background-position: calc(var(--x) - 12px) 0;
  animation: twinkle 2.4s ease-in-out infinite; will-change: opacity; }
.xmas-lights i:nth-child(1) { --x: 12px; --y: 6px; }
.xmas-lights i:nth-child(2) { --x: 36px; --y: 9px; --c: #22c55e; --g: rgba(34, 197, 94, .55); animation-delay: -.6s; }
.xmas-lights i:nth-child(3) { --x: 60px; --y: 9px; --c: #fbbf24; --g: rgba(251, 191, 36, .55); animation-delay: -1.2s; }
.xmas-lights i:nth-child(4) { --x: 84px; --y: 6px; --c: #60a5fa; --g: rgba(96, 165, 250, .55); animation-delay: -1.8s; }
@keyframes twinkle { 50% { opacity: .35; } }

/* snowfall over the hero: 3 layers of flakes (near / mid / far) that scroll down seamlessly */
.xmas-snow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.xmas-snow i { position: absolute; left: 0; right: 0; top: -320px; height: calc(100% + 640px); will-change: transform; animation: snowfall linear infinite; }
.xmas-snow i:nth-child(1) { --t: 320px; background:
    radial-gradient(circle at 30px 40px, #fff 0 3.5px, transparent 4px), radial-gradient(circle at 190px 120px, #fff 0 3px, transparent 3.5px),
    radial-gradient(circle at 110px 230px, #fff 0 4px, transparent 4.5px), radial-gradient(circle at 270px 290px, #fff 0 3px, transparent 3.5px);
  background-size: 320px 320px; opacity: .9; animation-duration: 11s; }
.xmas-snow i:nth-child(2) { background:
    radial-gradient(circle at 60px 20px, #fff 0 2.5px, transparent 3px), radial-gradient(circle at 150px 90px, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle at 20px 170px, #fff 0 2.5px, transparent 3px), radial-gradient(circle at 210px 200px, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle at 100px 280px, #fff 0 2.5px, transparent 3px);
  background-size: 240px 320px; opacity: .7; animation-duration: 17s; animation-name: snowfall-b; }
.xmas-snow i:nth-child(3) { background:
    radial-gradient(circle at 40px 60px, #fff 0 1.5px, transparent 2px), radial-gradient(circle at 120px 10px, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 170px 150px, #fff 0 1.5px, transparent 2px), radial-gradient(circle at 80px 220px, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 10px 300px, #fff 0 1.5px, transparent 2px);
  background-size: 190px 320px; opacity: .5; animation-duration: 26s; }
@keyframes snowfall { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-40px, 320px, 0); } }
@keyframes snowfall-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(40px, 320px, 0); } }

/* Santa hat on the logo (the logo floats, so the hat floats with it) */
.theme-xmas .hero-logo-wrap { animation: float 6s ease-in-out infinite; will-change: transform; }
.theme-xmas .hero-logo { will-change: auto; }
.theme-xmas .hero-logo { animation: none; filter: drop-shadow(0 20px 60px rgba(220, 38, 38, .35)); }
.xmas-hat { position: absolute; width: 15%; left: 37%; top: -8%; transform: rotate(-20deg); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); pointer-events: none; }

/* greeting above the headline */
.xmas-greeting { display: flex; align-items: center; gap: .5rem; width: fit-content; margin: 0 0 .9rem; padding: .35rem .85rem; border-radius: 999px; font-weight: 700; font-size: .9rem; color: #fee2e2;
  background: repeating-linear-gradient(-45deg, rgba(220, 38, 38, .22) 0 10px, rgba(255, 255, 255, .06) 10px 20px); border: 1px solid rgba(239, 68, 68, .45); }
.xmas-greeting .ico { color: #fca5a5; }

/* snow settled on the IP cards and stat cards */
.theme-xmas .ip-card::before, .theme-xmas .stat::before { content: ""; position: absolute; top: -3px; left: 10px; right: 10px; height: 14px; pointer-events: none; z-index: 2; border-radius: 7px 7px 0 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2244%22%20height%3D%2214%22%20viewBox%3D%220%200%2044%2014%22%3E%3Cpath%20d%3D%22M0%200H44V6C41%206%2040%207%2039%209.5C38%2012.5%2034%2012.5%2033.5%209C33%207%2031%206.5%2028%207C25%207.5%2024%208%2023%2010C22%2011.5%2019%2011.5%2018.5%209.5C18%207.5%2016%206.5%2012%206.5C9%206.5%208%207.5%207.5%2011C7%2013.5%203%2013.5%202.6%2010.5C2.3%208%201.5%206%200%206Z%22%20fill%3D%22%23f8fafc%22/%3E%3C/svg%3E") 0 0 / 44px 14px repeat-x;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.theme-xmas .stat::before { top: 0; left: 0; right: 0; border-radius: 0; }

.theme-xmas .nav { background: rgba(10, 17, 16, .94); }
@media (max-width: 640px) {
  .xmas-snow i:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .xmas-snow { display: none; } }
.hero-away .hero-bg *, .hero-away .hero-logo, .hero-away .hero-logo-wrap { animation-play-state: paused !important; }
