/* Off The Rip website styles. One file shared by every page. */

:root {
  --bg: #0b0b0d;
  --bg-2: #141418;
  --card: #1a1a20;
  --line: #2a2a33;
  --text: #f2f2f4;
  --muted: #a3a3ad;
  --accent: #ff3b30;     /* fight red */
  --accent-2: #ffd60a;   /* gold, used for small highlights */
  --max: 1100px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

a { color: var(--accent-2); }
a:hover { color: #fff; }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 13, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 60px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-family: "Anton", Impact, sans-serif; font-size: 22px; letter-spacing: .5px;
  text-transform: uppercase;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

@media (max-width: 640px) {
  .site-header .wrap { height: auto; padding-top: 10px; padding-bottom: 10px; flex-direction: column; gap: 6px; }
  .nav { gap: 14px; justify-content: center; }
}

/* ---------- Hero (home page) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(255, 59, 48, .28), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  gap: 24px; min-height: 560px; padding-top: 40px; padding-bottom: 40px;
}
.hero h1 {
  font-family: "Anton", Impact, sans-serif; text-transform: uppercase;
  font-size: clamp(54px, 10vw, 112px); line-height: .9; margin: 0 0 18px;
  letter-spacing: 1px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 28px; }
.fighters { position: relative; height: 520px; }
.fighters img { position: absolute; bottom: 0; height: 100%; width: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
.fighters .f1 { right: 34%; height: 92%; }
.fighters .f2 { right: -4%; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; min-height: 0; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .fighters { height: 340px; }
  .fighters .f1 { right: 46%; }
  .fighters .f2 { right: 4%; }
  .buttons { justify-content: center; }
}

.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 10px;
  font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .5px; font-size: 14px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff5a50; color: #fff; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.soon { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
h2 {
  font-family: "Anton", Impact, sans-serif; text-transform: uppercase;
  font-size: clamp(32px, 5vw, 46px); line-height: 1; margin: 0 0 24px; letter-spacing: .5px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; }

/* ---------- Text pages (privacy, terms, support) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px 80px; }
.doc h1 { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: clamp(36px, 7vw, 56px); line-height: 1; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; font-size: 14px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: #d6d6dc; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); background: var(--bg-2); }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; margin: 20px 0; }
.callout p { margin: 0; }
.steps li { margin: 10px 0; }
kbd, .ui { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
.site-footer a:hover { color: var(--text); }
