:root {
  --bg: #0F1624;
  --bg-card: #182035;
  --bg-card-2: #1E2A44;
  --primary: #F07820;
  --primary-dark: #C85F10;
  --gold: #F5C020;
  --text: #CDD5E8;
  --text-muted: #6F80A0;
  --border: #263050;
  --link: #6BAEE8;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.45);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

/* ── HEADER ── */
.site-header {
  background: var(--bg-card);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img { height: 42px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  flex-wrap: wrap;
  overflow: hidden;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color .18s, background .18s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
  background: rgba(240,120,32,.12);
}

/* ── HERO ── */
.page-hero {
  background: linear-gradient(135deg, #182035 0%, #0d1421 100%);
  border-bottom: 1px solid var(--border);
  padding: 52px 24px 44px;
}

.page-hero .inner { max-width: 1200px; margin: 0 auto; }

.page-hero .tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(24px, 3.8vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 820px;
}

.page-hero .lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.65;
}

.page-hero .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.page-hero .meta .author { color: var(--primary); font-weight: 600; }

/* ── PAGE LAYOUT ── */
.page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: start;
}

/* ── ARTICLE ── */
.article-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  line-height: 1.3;
}

.article-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
  margin: 28px 0 10px;
}

.article-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 20px 0 8px;
}

.article-content p { margin-bottom: 16px; }

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

.article-content li { margin-bottom: 8px; }

.article-content strong { color: #fff; font-weight: 700; }

.article-content a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: var(--primary); }

/* ── TABLES ── */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-content table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
}

.article-content table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.article-content table tr:nth-child(even) td { background: var(--bg-card-2); }
.article-content table tr:last-child td { border-bottom: none; }

/* Game specs (2-col key/value) */
.game-specs {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}

.spec-row {
  display: flex;
  border-bottom: 1px solid var(--border);
}

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

.spec-label {
  width: 180px;
  flex-shrink: 0;
  background: var(--bg-card-2);
  padding: 12px 16px;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 14px;
}

.spec-value {
  padding: 12px 16px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}

/* ── STEP BLOCKS ── */
.step-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 18px 0;
}

.step-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 6px;
}

.step-block h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.step-block p:last-child { margin-bottom: 0; }

/* ── CASINO BLOCK ── */
.casino-block {
  background: linear-gradient(135deg, #192840 0%, #111d30 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 30px 28px;
  margin: 36px 0;
  text-align: center;
}

.casino-block .casino-title {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.casino-block .casino-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.casino-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.casino-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: border-color .18s, color .18s;
}

.casino-pill:hover { border-color: var(--primary); color: var(--primary); }

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: background .18s, transform .12s;
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── AUTHOR BLOCK ── */
.author-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 44px 0 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.author-info h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.author-info .author-role { font-size: 12px; color: var(--primary); margin-bottom: 6px; }
.author-info p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ── FAQ ── */
.faq-section { margin-top: 44px; }

.faq-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: border-color .18s;
}

details.faq-item:hover,
details.faq-item[open] { border-color: var(--primary); }

summary.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  font-size: 15px;
  gap: 12px;
}

summary.faq-question::-webkit-details-marker { display: none; }

summary.faq-question::after {
  content: '+';
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

details[open] summary.faq-question::after { content: '−'; }

.faq-answer {
  padding: 2px 20px 18px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ── INFO / WARNING BOXES ── */
.info-box {
  background: rgba(240,120,32,.1);
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.info-box p, .warning-box p { margin: 0; }

.warning-box {
  background: rgba(245,192,32,.1);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

/* ── VERDICT ── */
.verdict-box {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 32px 0;
}

.verdict-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin-bottom: 8px;
}

.verdict-box p { margin: 0; font-size: 16px; }

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 82px; display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sidebar-card .card-header {
  background: var(--bg-card-2);
  padding: 13px 18px;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.sidebar-card .card-body { padding: 14px 18px; }

.sidebar-card a.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  transition: color .18s;
}

.sidebar-card a.nav-link:last-child { border-bottom: none; }
.sidebar-card a.nav-link:hover { color: var(--primary); }
.sidebar-card a.nav-link.active { color: var(--primary); font-weight: 600; }

.nav-link .arrow { margin-left: auto; font-size: 11px; opacity: .5; }

/* Sidebar casino mini */
.sidebar-casino {
  background: linear-gradient(135deg, #192840, #111d30);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.sidebar-casino h4 { color: #fff; font-size: 14px; margin-bottom: 6px; }
.sidebar-casino p { color: var(--text-muted); font-size: 12px; margin-bottom: 14px; }
.sidebar-casino .btn-primary { font-size: 13px; padding: 10px 20px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-card);
  border-top: 3px solid var(--primary);
  padding: 40px 24px 24px;
  margin-top: 0;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-logo img { height: 34px; }

.disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

.footer-nav-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color .18s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.copyright { font-size: 12px; color: var(--text-muted); }

.badge-18 {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}

/* ── ABOUT PAGE ── */
.about-hero {
  text-align: center;
  padding: 60px 24px;
  background: linear-gradient(135deg, #182035, #0d1421);
  border-bottom: 1px solid var(--border);
}

.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  border: 4px solid rgba(240,120,32,.3);
}

.about-hero h1 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.about-hero .about-role { color: var(--primary); font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.about-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 16px; }

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.social-link {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color .18s, color .18s;
}

.social-link:hover { border-color: var(--primary); color: var(--primary); }

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.about-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.about-content p { margin-bottom: 16px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── STEP SCREENSHOT ── */
.step-screenshot {
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  position: relative;
  background: #000;
  line-height: 0;
}

.step-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 2px);
  transition: transform .3s ease;
}

.step-screenshot:hover img {
  transform: scale(1.015);
}

.step-screenshot .screenshot-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  padding: 20px 14px 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .page-body { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .site-header .inner { flex-direction: column; height: auto; padding: 12px 16px; gap: 10px; }
  .site-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .page-hero { padding: 32px 16px; }
  .page-body { padding: 32px 16px 48px; }
  .author-block { flex-direction: column; }
  .stats-row { grid-template-columns: 1fr; }
  .about-hero { padding: 40px 16px; }
  .spec-label { width: 130px; }
  .article-content table { font-size: 13px; }
  .article-content table th,
  .article-content table td { padding: 9px 12px; }
}

/* ── PROMO CODE BLOCK ── */
.promo-block {
  background: linear-gradient(135deg, #0f2310, #0a1a0a);
  border: 1px solid #2d5a2d;
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  margin-top: 14px;
  text-align: center;
}
.promo-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #5dbf5d;
  margin-bottom: 10px;
}
.promo-code-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1.5px dashed #3d8c3d;
  border-radius: 6px;
  padding: 9px 12px;
  margin-bottom: 8px;
}
.promo-code {
  flex: 1;
  font-size: 17px;
  font-weight: 900;
  color: #6dd46d;
  letter-spacing: 2px;
  font-family: "Courier New", monospace;
  text-align: left;
}
.promo-copy-btn {
  background: #3d8c3d;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.promo-copy-btn:hover { background: #2e6b2e; }
.promo-copy-btn.copied { background: #2e6b2e; }
.promo-hint {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── PLAY NOW HERO BUTTON ── */
.hero-actions { margin-top: 26px; }
.btn-play-now {
  display: inline-block;
  background: linear-gradient(135deg, #F07820 0%, #C85F10 100%);
  color: #fff;
  font-weight: 800;
  padding: 16px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 22px rgba(240,120,32,.45);
  transition: transform .15s, box-shadow .15s;
}
.btn-play-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 30px rgba(240,120,32,.55);
}

/* ── APK INLINE LINK ── */
.btn-apk-inline {
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
