/* Rise Games — shared styles */

:root {
  --brand: #ef4b24;          /* main brand color (hero + sub-page headers) */
  --brand-ink: #ffffff;
  --brand-text: #c2361a;     /* readable link color on white */
  --footer-bg: #0e0e10;
  --footer-ink: #f4f4f5;
  --footer-muted: #a1a1aa;
  --page-bg: #ffffff;
  --ink: #18181b;
  --muted: #52525b;
  --line: #e4e4e7;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

a { color: inherit; }

/* ---------- Wordmark ---------- */

.wordmark {
  font-family: "Outfit", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/* ---------- Hero (home) ---------- */

.hero {
  background: var(--brand);
  color: var(--brand-ink);
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 16px;
}

.hero .wordmark {
  font-size: clamp(96px, 22vw, 240px);
  margin: 0;
}

.hero .tagline {
  margin: 18px 0 0;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 14px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  text-decoration: none;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.badge[hidden] { display: none; }

.badge:hover,
.badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.badge:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.badge svg { width: 26px; height: 26px; flex: none; }

.badge span { display: flex; flex-direction: column; }

.badge small {
  font-size: 11px;
  line-height: 1.1;
  font-weight: 500;
  opacity: 0.9;
}

.badge strong {
  font-size: 19px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Sub-page header ---------- */

.page-header {
  background: var(--brand);
  color: var(--brand-ink);
  padding: 22px 16px;
}

.page-header .inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-header .wordmark { font-size: 28px; }

.page-header nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
}

.page-header nav a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Long-form content (legal, support) ---------- */

.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 16px 88px;
}

.content h1 {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.content .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

.content h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
}

.content p,
.content li { color: #3f3f46; }

.content ul { padding-left: 20px; }

.content li + li { margin-top: 6px; }

.content a { color: var(--brand-text); }

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin: 28px 0;
}

.card p { margin: 0; }

.card .big-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.card .big-link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 64px 16px 32px;
}

.site-footer .inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.site-footer .wordmark { font-size: 40px; color: var(--footer-ink); }

.site-footer h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 6px 0 18px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li { margin-top: 10px; }

.site-footer ul a {
  color: #d4d4d8;
  text-decoration: none;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.site-footer ul a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #27272a;
  color: #71717a;
  font-size: 13px;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { min-height: 64vh; padding: 80px 16px; }
  .content { padding-top: 44px; }
}
