@charset "UTF-8";

:root {
  --gold: #d8a95a;
  --gold-dim: #8f6b39;
  --ember: #e34b23;
  --blood: #6f160e;
  --panel: rgba(13, 11, 9, 0.88);
  --panel-strong: rgba(8, 7, 6, 0.94);
  --line: rgba(165, 106, 55, 0.42);
  --text: #efe2c5;
  --muted: #a99a82;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body { overflow-x: hidden; }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 .5em; }

a { color: var(--gold); }

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

.btn {
  display: inline-block;
  border: 1px solid var(--gold-dim);
  color: #fff5de;
  background: linear-gradient(180deg, #4b1c0e, #140907);
  box-shadow: inset 0 0 18px rgba(255, 110, 48, .13);
  padding: 12px 26px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
}
.btn:hover { filter: brightness(1.2); }
.btn-primary {
  border-color: #9d3d22;
  background: linear-gradient(180deg, #7a2117, #2b0907);
  box-shadow: inset 0 0 18px rgba(255, 116, 57, .22), 0 0 18px rgba(147, 32, 15, .18);
}
.btn-secondary { background: #0e0c0a; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(5,4,4,.92), rgba(5,4,4,.75));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: block; }
.brand-logo { height: 40px; width: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-play {
  border: 1px solid #9d3d22;
  color: #fff7dc;
  background: linear-gradient(180deg, #6f1a11, #2b0907);
  padding: 8px 16px;
}

/* Hero */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 70px 20px 50px;
  text-align: center;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(0,0,0,.15), rgba(0,0,0,.75) 70%);
}
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.hero-logo { max-width: 560px; width: 100%; margin: 0 auto 18px; filter: drop-shadow(0 0 28px rgba(230,50,20,.4)); }
.hero-tag { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto 26px; line-height: 1.5; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.token-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.token-box {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 18px;
  min-width: 260px;
  text-align: left;
}
.token-box span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.token-box strong {
  display: block;
  font-family: monospace;
  font-size: 14px;
  color: #fff;
  word-break: break-all;
}
.token-box a { text-decoration: none; font-family: Georgia, serif; }
.copy-btn {
  margin-top: 8px;
  border: 1px solid var(--gold-dim);
  background: transparent;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  cursor: pointer;
}
.copy-btn:hover { background: rgba(216,169,90,.12); }

/* Panels */
.panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: minmax(300px, 560px) 1fr;
  gap: 34px;
  align-items: center;
}
.panel.reverse { grid-template-columns: 1fr minmax(300px, 560px); }
.panel.reverse .panel-media { order: 2; }
.panel.reverse .panel-copy { order: 1; }
.panel-media img {
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(0,0,0,.5);
}
.panel-copy p { color: #c9bca5; line-height: 1.6; font-size: 15px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,0,0,.4), #000);
  padding: 36px 20px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px;
}
.footer-inner strong { color: var(--gold); font-family: Georgia, serif; font-size: 18px; }
.footer-inner p { color: var(--muted); font-size: 13px; font-family: monospace; word-break: break-all; }
.footer-socials a { text-decoration: none; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.footer-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; }
.admin-link { color: var(--muted); text-decoration: none; font-size: 12px; }
.admin-link:hover { color: var(--gold); }

@media (max-width: 860px) {
  .panel, .panel.reverse { grid-template-columns: 1fr; }
  .panel.reverse .panel-media, .panel.reverse .panel-copy { order: initial; }
  .site-nav a:not(.nav-play) { display: none; }
}

/* Badge */
.badge-pill {
  display: inline-block;
  border: 1px solid var(--line);
  background: rgba(216, 169, 90, .08);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  margin-bottom: 20px;
}

/* Realm Access */
.access-panel-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 28px;
  align-items: stretch;
}
.access-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px;
}
.access-card .panel-label {
  display: block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.access-card h2 { font-size: 30px; line-height: 1.2; margin-bottom: 10px; }
.access-card h2 .accent { color: var(--ember); }
.access-note { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.access-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.live-preview-card {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
}
.live-preview-card img { width: 100%; height: 100%; object-fit: cover; }
.preview-caption {
  position: absolute; left: 16px; bottom: 14px;
  color: var(--gold); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(0, 0, 0, .55); padding: 6px 10px; border: 1px solid var(--line);
}

/* Access steps */
.steps-section { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step-card { border: 1px solid var(--line); background: rgba(10, 8, 7, .85); padding: 22px; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-size: 13px; margin-bottom: 14px;
  font-family: Georgia, serif;
}
.step-card h3 { color: var(--ember); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.step-card p { color: #c9bca5; font-size: 14px; line-height: 1.5; margin: 0 0 10px; }
.step-note { color: var(--muted); font-size: 12px; }
.btn-small { padding: 8px 16px; font-size: 13px; }

/* Multiplayer mode badges */
.mode-badges { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.mode-badge {
  display: flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.mode-icon {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: radial-gradient(circle, rgba(226, 84, 31, .42), transparent 65%);
  display: inline-block;
}

/* Rewards */
.rewards-section { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.rewards-intro { display: flex; gap: 22px; align-items: center; margin-bottom: 26px; flex-wrap: wrap; }
.rewards-icon { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--line); flex: 0 0 auto; }
.rewards-intro p { color: #c9bca5; font-size: 15px; line-height: 1.6; max-width: 620px; margin: 8px 0; }
.link-arrow { color: var(--gold); font-size: 13px; text-decoration: none; letter-spacing: .06em; text-transform: uppercase; }
.link-arrow:hover { color: #fff; }
.rewards-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.stat-box { border: 1px solid var(--line); background: var(--panel); padding: 14px 22px; min-width: 200px; }
.stat-box span { display: block; color: var(--gold); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.stat-box strong { color: #fff; font-size: 18px; font-family: Georgia, serif; }
.rewards-flow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--gold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.flow-arrow { color: var(--muted); }

/* Leaderboard */
.leaderboard-section { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.leaderboard-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.leaderboard-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.leaderboard-table th, .leaderboard-table td { padding: 10px 14px; text-align: left; white-space: nowrap; border-bottom: 1px solid rgba(100, 68, 43, .34); color: #cfc0a6; }
.leaderboard-table th { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: normal; }
.leaderboard-table td:first-child, .leaderboard-table td:last-child { color: var(--gold); }
.leaderboard-table tr.you-row td { background: rgba(104, 9, 8, .35); color: #ffe4bd; }

@media (max-width: 860px) {
  .access-panel-section { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .rewards-intro { flex-direction: column; align-items: flex-start; }
}
