/* ============================================================
   DemonRoad-Reborn — app.css
   Közös stílus minden oldalhoz
   ============================================================ */

/* ── Reset & Root ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:     #c9a84c;
  --gold-l:   #e8c96a;
  --gold-d:   #7a5e28;
  --gold-xl:  #f5dfa0;

  --orange:   #c4521a;
  --orange-l: #e06830;

  --bg-1:     #0e0b07;
  --bg-2:     #131009;
  --bg-3:     #18120a;

  --border:   rgba(201,168,76,0.14);
  --border-m: rgba(201,168,76,0.3);

  --text:     #cfc0a0;
  --text-d:   #8a7a5a;
  --text-l:   #e8dcc8;

  --red:      #9e1c1c;
  --green:    #2a7a2a;

  --font-base: 'Crimson Pro', Georgia, serif;
  --font-title: 'Cinzel', serif;
  --font-deco:  'Cinzel Decorative', serif;
}

html {
  background: var(--bg-1);
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  color: var(--text);
  background: var(--bg-1);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 100%, rgba(120,40,10,0.08) 0%, transparent 60%);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  height: clamp(220px, 30vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080604;
}

.hero-banner {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-banner.png');
  background-size: cover;
  background-position: center center;
  opacity: 0.92;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(8,6,4,0.10) 0%, rgba(8,6,4,0.05) 40%, rgba(8,6,4,0.75) 100%),
    linear-gradient(to top, rgba(8,6,4,0.70), transparent 45%);
  pointer-events: none;
}

/* A képen már rajta van a DEMONROAD felirat, ezért ezt elrejtjük */
.hero-content {
  display: none;
}

.hero-ornament {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-d), transparent);
}

/* ── Page layout ─────────────────────────────────────────── */
.page {
  width: min(1400px, calc(100% - 48px));
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 310px;
  gap: 20px;
  padding: 28px 0 60px;
  align-items: start;
}

.col-left,
.col-center,
.col-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
}

.col-left {
  gap: 16px;
}

.col-center {
  gap: 16px;
}

.col-right {
  gap: 14px;
  width: 100%;
}

/* ── Panel / Card alap ───────────────────────────────────── */
.panel,
.content-card,
.play-panel {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.panel,
.content-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.panel::before,
.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-d), transparent);
}

.ph {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph::before {
  content: '';
  width: 2px;
  height: 10px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ── Left sidebar ────────────────────────────────────────── */
.online-block {
  padding: 16px 18px 0;
}

.online-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3ecf3e;
  box-shadow: 0 0 0 3px rgba(62,207,62,0.15);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.dot.offline {
  background: #cf3e3e;
  box-shadow: 0 0 0 3px rgba(207,62,62,0.15);
  animation: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(62,207,62,0.15);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(62,207,62,0.08);
  }
}

.online-num {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.online-lbl {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-d);
}

.dist-section {
  padding: 10px 18px 14px;
}

.dist-title {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 8px;
}

.dist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  max-width: 100%;
}

.dist-name {
  width: 72px;
  flex-shrink: 0;
  color: var(--text-d);
  font-size: 13px;
}

.dist-track {
  flex: 1;
  min-width: 0;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.dist-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.dist-pct {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--gold-l);
  min-width: 42px;
  text-align: right;
  flex-shrink: 0;
}

.fill-ch {
  background: linear-gradient(90deg,#8a2020,#c03030);
}

.fill-eu {
  background: linear-gradient(90deg,#1a4080,#2860c0);
}

.fill-hunter {
  background: linear-gradient(90deg,var(--gold-d),var(--gold));
}

.fill-thief {
  background: linear-gradient(90deg,#601818,#902020);
}

.fill-trader {
  background: linear-gradient(90deg,#1a5020,#2a8030);
}

.trades-row {
  padding: 11px 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-d);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trades-row em {
  color: var(--gold-l);
  font-style: normal;
  font-weight: 600;
}

.info-table {
  padding: 4px 0 8px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 7px 18px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.025);
  transition: background 0.15s;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row:hover {
  background: rgba(201,168,76,0.03);
}

.info-k {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-d);
}

.info-v {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-l);
  white-space: nowrap;
}

/* ── Right sidebar ───────────────────────────────────────── */
.play-panel {
  padding: 26px 18px 20px;
  text-align: center;
  background: linear-gradient(160deg,#1c1006,#0d0804);
  border: 1px solid var(--border-m);
  position: relative;
  overflow: hidden;
}

.play-panel::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle,rgba(201,168,76,0.1),transparent 70%);
  pointer-events: none;
}

.play-panel::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle,rgba(180,50,10,0.1),transparent 70%);
  pointer-events: none;
}

.play-eye {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 6px;
}

.play-title {
  font-family: var(--font-deco);
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(201,168,76,0.2);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.btn-play {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg,#c04020,#7a1010);
  color: #fff;
  border: none;
  padding: 13px 14px 11px;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(180,40,10,0.4);
  margin-bottom: 6px;
  white-space: nowrap;
}

.btn-play:hover {
  background: linear-gradient(135deg,var(--orange-l),#c04020);
  box-shadow: 0 6px 28px rgba(180,40,10,0.6);
  transform: translateY(-1px);
  color: #fff;
}

.btn-play-sub {
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-top: 3px;
  white-space: nowrap;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 12px 10px;
}

.feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 82px;
  padding: 10px 4px;

  text-align: center;
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: all 0.2s;
  cursor: default;
  overflow: hidden;
}

.feat-item:hover {
  border-color: var(--gold-d);
  background: rgba(201,168,76,0.04);
}

.feat-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.feat-lbl {
  font-family: var(--font-title);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-d);
  line-height: 1.35;
  text-align: center;
  word-break: normal;
}

/* Social */
.social-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 12px 14px;
  max-width: 100%;
  overflow: hidden;
}

.soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 3px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.2s;
  color: var(--text-d);
  background: rgba(255,255,255,0.02);
}

.soc:hover {
  border-color: var(--gold-d);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}

/* Discord widget */
.discord-widget-wrap {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.discord-widget-wrap iframe {
  width: 100%;
  max-width: 100%;
  height: 420px;
  border-radius: 4px;
  display: block;
  box-sizing: border-box;
}

/* ── Center / Content card ───────────────────────────────── */
.content-card {
  padding: 28px 32px;
}

.content-card h1,
.page-title {
  font-family: var(--font-deco);
  color: var(--gold);
  margin-bottom: 20px;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-card h2,
.content-card h3 {
  font-family: var(--font-deco);
  color: var(--gold);
  margin-bottom: 16px;
  font-size: clamp(16px,2.5vw,22px);
}

.content-card h4 {
  font-family: var(--font-title);
  color: var(--gold-l);
  margin: 22px 0 10px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-card h5 {
  font-family: var(--font-title);
  color: var(--text-l);
  margin: 16px 0 8px;
  font-size: 14px;
}

.content-card h6 {
  font-family: var(--font-title);
  color: var(--text-d);
  margin: 12px 0 6px;
  font-size: 13px;
}

.content-card p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 14px;
}

.content-card ul,
.content-card ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.content-card li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 5px;
}

.content-card li b,
.content-card li strong {
  color: var(--gold-l);
}

.content-card a {
  color: var(--gold);
  text-decoration: none;
}

.content-card a:hover {
  text-decoration: underline;
}

.content-card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

/* ── Featured news ───────────────────────────────────────── */
.featured {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border);
  background: linear-gradient(135deg,#1e1206,#0d0905);
}

.feat-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,#1e1206,#0d0905);
  background-size: cover;
  background-position: center;
  transition: transform .7s ease;
}

.featured:hover .feat-bg {
  transform: scale(1.04);
}

.feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4,2,1,0.97) 0%,
    rgba(4,2,1,0.5) 45%,
    rgba(4,2,1,0.08) 100%
  );
}

.feat-body {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
}

.feat-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.feat-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.feat-title a {
  color: inherit;
  text-decoration: none;
}

.feat-title a:hover {
  color: var(--gold-l);
}

.btn-archive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-d);
  padding: 10px 20px;
  border-radius: 2px;
  text-decoration: none;
  background: rgba(0,0,0,0.4);
  transition: all .2s;
}

.btn-archive:hover {
  background: var(--gold);
  color: #0a0704;
  text-decoration: none;
}

/* ── Changelog / News content ───────────────────────────── */
.cl-wrap {
  padding: 24px 22px;
}

.sec-title {
  font-family: var(--font-deco);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding: 0 20%;
}

.sec-title::before,
.sec-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg,transparent,var(--gold-d));
}

.sec-title::before {
  left: 0;
}

.sec-title::after {
  right: 0;
  background: linear-gradient(270deg,transparent,var(--gold-d));
}

.cl-intro {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 14px;
}

.cl-intro strong {
  color: var(--gold-l);
}

hr.div {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.vblock {
  margin-bottom: 22px;
}

.vtag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0a0704;
  background: linear-gradient(135deg,var(--gold-l),var(--gold-d));
  padding: 4px 13px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.cl-list {
  list-style: none;
  padding: 0;
}

.cl-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.025);
}

.cl-list li:last-child {
  border-bottom: none;
}

.cl-list li.cl-section {
  font-weight: 700;
  font-size: 17px;
  color: var(--gold-l);
  border-bottom: none;
  margin-top: 14px;
  padding-left: 0;
}
.cl-list li.cl-section:first-child { margin-top: 0; }
.cl-list li.cl-section::before { content: none; }

.cl-list li.cl-desc {
  color: var(--text-d);
  font-size: 15px;
  padding-left: 0;
  border-bottom: none;
  font-style: italic;
  line-height: 1.6;
}
.cl-list li.cl-desc::before { content: none; }

.cl-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold-d);
  font-size: 7px;
  top: 11px;
}

.cl-list li strong {
  color: var(--gold-l);
}

.cl-list ul {
  list-style: none;
  padding: 5px 0 2px 14px;
}

.cl-list ul li::before {
  content: '–';
  color: var(--text-d);
  font-size: 11px;
  top: 8px;
}

.cl-footer {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-d);
  text-align: center;
  margin-top: 22px;
  font-style: italic;
}

.cl-footer strong {
  color: var(--gold-l);
  font-style: normal;
}

/* ── Download page ───────────────────────────────────────── */
.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.download-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.download-title {
  font-family: var(--font-deco);
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 10px;
}

.download-meta {
  font-size: 14px;
  color: var(--text-d);
  line-height: 1.8;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 260px;
}

.dl-btn {
  display: block;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 3px;
  color: #fff;
  text-align: center;
  border: 1px solid rgba(180,50,10,0.4);
  background: linear-gradient(135deg,#1a0a04,#0d0604);
  transition: all .2s;
  box-shadow: 0 2px 12px rgba(180,40,10,0.15);
}

.dl-btn:hover {
  background: linear-gradient(135deg,var(--orange),#7a1010);
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(180,40,10,0.4);
  color: #fff;
  text-decoration: none;
}

.download-note {
  font-size: 13px;
  color: #cf7e7e;
  margin: 6px 0 0;
}

.download-subnote {
  font-size: 13px;
  color: var(--text-d);
  margin: 6px 0 0;
}

/* ── Modal ───────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border-m);
  border-radius: 6px;
  width: 100%;
  max-width: 420px;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform .25s;
}

.modal-backdrop.open .modal {
  transform: none;
}

.modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,transparent,var(--gold),transparent);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-d);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .2s;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-title {
  font-family: var(--font-deco);
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 14px;
  color: var(--text-d);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 11px 14px;
  color: var(--text-l);
  font-family: var(--font-base);
  font-size: 15px;
  transition: border-color .2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--gold-d);
}

.form-input.error {
  border-color: #9e3030;
}

.btn-submit {
  width: 100%;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg,#c04020,#7a1010);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 20px rgba(180,40,10,0.3);
}

.btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg,var(--orange-l),#c04020);
  box-shadow: 0 6px 28px rgba(180,40,10,0.5);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-msg {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 3px;
  margin-bottom: 14px;
  display: none;
}

.form-msg.show {
  display: block;
}

.form-msg.success {
  background: rgba(42,122,42,0.2);
  border: 1px solid rgba(42,122,42,0.4);
  color: #7ecf7e;
}

.form-msg.err {
  background: rgba(158,28,28,0.2);
  border: 1px solid rgba(158,28,28,0.4);
  color: #cf7e7e;
}

.modal-switch {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-d);
}

.modal-switch a {
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-d);
  margin-top: 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-d), transparent);
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 150px;
  gap: 32px;
  align-items: start;
}

.footer-col-elite {
  display: block;
  align-self: center;
}

.footer-col-elite a.footer-elite-link {
  display: block;
  opacity: .75;
  transition: opacity .2s;
  padding-left: 0;
}

.footer-col-elite a.footer-elite-link:hover {
  opacity: 1;
  padding-left: 0;
}

.footer-elite-img {
  display: block;
  width: 140px;
  height: auto;
}

.footer-col-title {
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col-title::before {
  content: '';
  width: 2px;
  height: 10px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}

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

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  color: var(--text-d);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s, padding-left .2s;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--gold-l);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  text-align: center;
  background: rgba(0,0,0,0.2);
}

.footer-bottom-links {
  margin-bottom: 8px;
}

.footer-bottom-links a {
  color: var(--text-d);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 12px;
  transition: color .2s;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-d);
  margin-bottom: 6px;
}

.footer-copy span {
  color: var(--gold-d);
}

.footer-dev {
  font-size: 12px;
  color: var(--text-d);
  opacity: 0.6;
}

.footer-dev a {
  color: var(--text-d);
  text-decoration: none;
}

.footer-dev a:hover {
  color: var(--gold);
}

/* ── Animations ─────────────────────────────────────────── */
.fade {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp .55s ease forwards;
}

.fade:nth-child(1) { animation-delay: .05s; }
.fade:nth-child(2) { animation-delay: .13s; }
.fade:nth-child(3) { animation-delay: .21s; }
.fade:nth-child(4) { animation-delay: .29s; }
.fade:nth-child(5) { animation-delay: .37s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Utility ─────────────────────────────────────────────── */
.text-gold {
  color: var(--gold-l);
}

.text-green {
  color: #7ecf7e;
}

.text-red {
  color: #cf7e7e;
}

.text-muted {
  color: var(--text-d);
}

.text-center {
  text-align: center;
}

.t {
  color: var(--gold-l);
  font-weight: 600;
}

/* ── Responsive ─────────────────────────────────────────── */
@media(max-width:1200px) {
  .page {
    width: min(1200px, calc(100% - 32px));
    grid-template-columns: 230px minmax(0, 1fr) 290px;
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feat-item {
    min-height: 86px;
  }

  .feat-lbl {
    font-size: 9px;
  }

  .play-title {
    font-size: 30px;
  }

  .btn-play {
    font-size: 12px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media(max-width:1024px) {
  .page {
    width: min(100%, calc(100% - 28px));
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .col-right {
    display: none;
  }
}

@media(max-width:768px) {
  .page {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    padding: 14px 0 40px;
  }

  .col-left {
    display: none;
  }

  .hero {
    height: 220px;
  }

  .content-card {
    padding: 22px 18px;
  }

  .sec-title {
    padding: 0;
  }

  .sec-title::before,
  .sec-title::after {
    display: none;
  }

  .cl-intro {
    font-size: 16px;
  }

  .cl-list li {
    font-size: 15px;
  }

  .download-actions {
    width: 100%;
    min-width: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 16px;
  }
  .footer-col-elite { display: none; }
}

@media(max-width:480px) {
  .page {
    width: calc(100% - 16px);
  }

  .hero {
    height: 190px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   Rules page
   ============================================================ */

.rules-card{
  padding:28px 32px;
}

.rules-title{
  font-family:var(--font-deco);
  color:var(--gold);
  margin-bottom:20px;
  font-size:clamp(18px,3vw,26px);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.rules-warning{
  background:rgba(158,28,28,.13);
  border:1px solid rgba(207,126,126,.35);
  border-radius:4px;
  padding:16px 18px;
  margin-bottom:24px;
  position:relative;
  overflow:hidden;
}

.rules-warning::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg,transparent,#cf7e7e,transparent);
}

.rules-warning-title{
  font-family:var(--font-title);
  font-size:13px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#cf7e7e;
  margin-bottom:8px;
}

.rules-warning p{
  color:#e0b0a0;
  font-size:16px;
  line-height:1.75;
  margin:0;
}

.rules-warning strong{
  color:#ffb0a0;
}

.rules-warning em{
  color:#fff;
  font-style:normal;
}

.rules-section{
  margin-bottom:4px;
}

.rules-section h4{
  font-family:var(--font-title);
  color:var(--gold-l);
  font-size:16px;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin:0 0 12px;
}

.rules-list{
  list-style:none;
  counter-reset:rule-counter;
  padding:0;
  margin:0;
}

.rules-list li{
  counter-increment:rule-counter;
  position:relative;
  padding:8px 0 8px 42px;
  font-size:16px;
  line-height:1.75;
  color:var(--text);
  border-bottom:1px solid rgba(255,255,255,.035);
}

.rules-list li:last-child{
  border-bottom:none;
}

.rules-list li::before{
  content:counter(rule-counter);
  position:absolute;
  left:0;
  top:10px;
  width:24px;
  height:24px;
  border:1px solid var(--gold-d);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-title);
  font-size:11px;
  font-weight:700;
  color:var(--gold-l);
  background:rgba(201,168,76,.045);
}

.rules-list strong{
  color:var(--gold-l);
}

.rules-list a,
.rules-final a{
  color:var(--gold);
  text-decoration:none;
}

.rules-list a:hover,
.rules-final a:hover{
  color:var(--gold-l);
  text-decoration:underline;
}

.rules-card hr{
  border:none;
  border-top:1px solid var(--border);
  margin:22px 0;
}

.rules-final{
  background:rgba(201,168,76,.035);
  border:1px solid var(--border);
  border-radius:4px;
  padding:16px 18px;
  margin-top:24px;
}

.rules-final p{
  color:var(--text-d);
  font-size:15px;
  line-height:1.75;
  margin:0 0 8px;
}

.rules-final p:last-child{
  margin-bottom:0;
}

@media(max-width:768px){
  .rules-card{
    padding:22px 18px;
  }

  .rules-list li{
    padding-left:36px;
    font-size:15px;
  }

  .rules-list li::before{
    width:22px;
    height:22px;
    font-size:10px;
  }
}