/* royalhunt.in — the Royal Hunt company site (home, apps, legal pages). Plain static files, no build step. */
:root {
  --bg: #12082b;
  --bg2: #1d0d45;
  --panel: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3edff;
  --muted: #b9acd9;
  --gold: #f5c542;
  --gold2: #ffdf7e;
  --purple: #3a119a;
  --radius: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, #3a119a 0%, transparent 60%), linear-gradient(180deg, var(--bg2), var(--bg) 420px);
  background-color: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  min-height: 100vh;
}
a { color: var(--gold2); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.top .logo img { height: 34px; width: auto; }
.top nav { display: flex; gap: 22px; font-weight: 600; }
.top nav a { color: var(--text); text-decoration: none; opacity: 0.85; }
.top nav a:hover { opacity: 1; color: var(--gold2); }

/* hero */
.hero { padding: 56px 0 40px; max-width: 720px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.5px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 18px; color: var(--muted); margin: 0; }

/* apps */
.section { padding: 32px 0; }
.section > h2 { font-size: 26px; margin: 0 0 18px; }
.app-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.app-head img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.app-head h3 { margin: 0; font-size: 26px; }
.app-head .tag { color: var(--muted); font-size: 14px; }
.app-card p { margin: 0 0 14px; }
.app-card ul { margin: 0 0 20px; padding-left: 20px; color: var(--muted); }
.app-card li { margin: 4px 0; }
.app-art { position: relative; }
.app-art .cards { border-radius: 20px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.app-art .title { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); width: 62%; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55)); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #2a1300;
}
.btn:hover { color: #2a1300; filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); cursor: default; }
.links-row { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 14px; }

/* contact */
.contact { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.contact p { margin: 6px 0; color: var(--muted); }
.contact b { color: var(--text); }

/* legal pages */
.doc { max-width: 760px; padding: 24px 0 48px; }
.doc h1 { font-size: clamp(28px, 5vw, 38px); margin: 8px 0 4px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; color: var(--gold2); }
.doc .muted { color: var(--muted); margin-top: 0; }
.doc li { margin: 6px 0; }
.doc .note { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.doc ol.steps li { margin: 10px 0; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 36px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--gold2); }

@media (max-width: 760px) {
  .top nav { gap: 14px; font-size: 15px; }
  .top .logo img { height: 26px; }
  .hero { padding: 32px 0 24px; }
  .app-card { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .app-art { order: -1; width: min(100%, 340px); margin: 0 auto 30px; }
}

/* Official company home page (31 Oct 2026): hero, about, the game's roles, events and community. */
.top nav { flex-wrap: wrap; justify-content: flex-end; }
.hero2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 48px 0 32px; }
.hero2 h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 8px 0 16px; letter-spacing: -0.5px; }
.hero2 h1 span { color: var(--gold); }
.hero2 p { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.kicker { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(245, 197, 66, .5); color: var(--gold2); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-art { position: relative; width: min(100%, 440px); margin: 0 auto 24px; }
.hero-art .cards { border-radius: 24px; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.hero-art .title { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); width: 66%; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .55)); }
.btn.ghost-link { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost-link:hover { color: var(--gold2); border-color: var(--gold); }
.lead { color: var(--muted); margin: -8px 0 18px; }
.sub { margin: 28px 0 14px; font-size: 19px; color: var(--gold2); }
.muted { color: var(--muted); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.about-main p { margin: 0 0 14px; font-size: 17px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.values li { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.values span { color: var(--muted); font-size: 15px; }

.roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-self: center; }
.roles figure { margin: 0; text-align: center; }
.roles img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 18px rgba(0, 0, 0, .45); transition: transform .2s; }
.roles figure:nth-child(odd) img { transform: translateY(-8px); }
.roles figure:hover img { transform: translateY(-14px) rotate(-2deg); }
.roles figcaption { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--gold2); }
.rounds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.rounds div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.rounds span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #2a1300; font-weight: 800; }
.rounds b { font-size: 15px; line-height: 1.3; }

.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.event { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.event.live { border-color: rgba(245, 197, 66, .55); background: linear-gradient(160deg, rgba(245, 197, 66, .12), var(--panel)); }
.ev-top { display: flex; justify-content: space-between; align-items: center; }
.ev-tag { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold2); }
.ev-live { font-size: 12px; font-weight: 700; color: #7ee08a; }
.event h3 { margin: 0; font-size: 18px; }
.event p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.ev-date { font-size: 13px; font-weight: 700; color: var(--text); opacity: .85; }

.socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.social { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
a.social:hover { border-color: var(--gold); color: var(--gold2); }
.social svg { width: 30px; height: 30px; flex: none; color: var(--gold2); }
.social span { display: flex; flex-direction: column; }
.social small { color: var(--muted); }
.social.soon { opacity: .6; }

@media (max-width: 860px) {
  .hero2, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; width: min(100%, 320px); }
  .rounds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card .roles { order: -1; }
}
@media (max-width: 480px) {
  .top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .top nav { justify-content: flex-start; gap: 12px; font-size: 14px; }
  .rounds { grid-template-columns: minmax(0, 1fr); }
  .roles { gap: 6px; }
  .roles figcaption { font-size: 11px; }
}

/* Become a tester (31 Oct 2026). */
.testers { padding: 24px 28px; border-radius: 24px; background: linear-gradient(160deg, rgba(245, 197, 66, .12), var(--panel)); border: 1px solid rgba(245, 197, 66, .45); }
.testers .lead { margin: 0 0 16px; }
.test-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.test-steps li { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.test-steps li > span { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #2a1300; font-weight: 800; font-size: 18px; }
.test-steps b { font-size: 17px; }
.test-steps p { margin: 6px 0 14px; color: var(--muted); font-size: 15px; }
.test-note { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.test-note b { color: var(--text); }
.ev-date a { font-weight: 700; }
@media (max-width: 760px) { .test-steps { grid-template-columns: minmax(0, 1fr); } .testers { padding: 18px; } }
.test-steps p b { font-size: inherit; color: var(--text); }
