/* === Shining Crown - Dark Casino Theme === */
:root {
  --bg-primary: #0d0d1a;
  --bg-secondary: #1a1a2e;
  --bg-card: #16213e;
  --gold: #d4af37;
  --gold-light: #f0c842;
  --gold-dim: #a88a1a;
  --red: #c0392b;
  --text-primary: #e8e8f0;
  --text-muted: #9090aa;
  --border: #2a2a4a;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

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

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

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

/* === HEADER === */
header {
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
}

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

nav { display: flex; align-items: center; gap: 4px; }

nav a {
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background .2s, color .2s;
  white-space: nowrap;
}

nav a:hover, nav a.active {
  background: rgba(212,175,55,0.15);
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  color: var(--gold);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: all .3s;
}

.mobile-nav {
  display: none;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  color: var(--text-primary);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  display: block;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover { color: var(--gold); background: rgba(212,175,55,0.1); }

.mobile-nav.open { display: flex; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 50%, #0d0d1a 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.08) 0%, transparent 70%);
}

.hero-inner { max-width: 860px; margin: 0 auto; position: relative; }

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.25;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(212,175,55,0.3);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0d0d1a;
  box-shadow: 0 4px 20px rgba(212,175,55,0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.5);
  color: #0d0d1a;
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover { background: rgba(212,175,55,0.1); }

/* === HERO IMAGE === */
.hero-img {
  max-width: 700px;
  margin: 2.5rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

/* === MAIN LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section.section {
  padding: 4rem 0;
}

section.section-alt {
  background: var(--bg-secondary);
  padding: 4rem 0;
}

/* === ARTICLE CONTENT === */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article-body {
  min-width: 0;
}

.article-body h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-body h2 {
  font-size: 1.45rem;
  color: var(--gold-light);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.article-body h3 {
  font-size: 1.15rem;
  color: #c8c8e0;
  margin: 1.8rem 0 0.8rem;
}

.article-body p { margin-bottom: 1.1rem; color: #d0d0e0; }

.article-body ul, .article-body ol {
  margin: 1rem 0 1.2rem 1.5rem;
  color: #d0d0e0;
}

.article-body li { margin-bottom: 0.5rem; }

.article-body strong { color: var(--gold-light); }

.article-body img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

/* Info box */
.info-box {
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.info-box.warning { border-left-color: var(--red); }

/* Stats table */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

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

.stat-item .val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-item .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* === SIDEBAR === */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.sidebar-card h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.sidebar-card ul { list-style: none; }

.sidebar-card ul li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

.sidebar-card ul li a { color: var(--text-primary); }
.sidebar-card ul li a:hover { color: var(--gold); }

/* === CARDS GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dim);
  box-shadow: 0 8px 30px rgba(212,175,55,0.15);
}

.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: 1.2rem; }

.card-body h3 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }

.card-body .read-more {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* === FEATURES ICONS === */
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 0 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.feature-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

.feature-item h4 { color: var(--gold-light); margin-bottom: 0.4rem; font-size: 1rem; }
.feature-item p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.faq-q {
  background: var(--bg-card);
  padding: 1rem 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-q::after { content: '+'; color: var(--gold); font-size: 1.3rem; }
.faq-q.open::after { content: '−'; }

.faq-a {
  display: none;
  padding: 1rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

.faq-a.open { display: block; }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, #1a1a2e, #2a1a3e);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-banner h3 { font-size: 1.4rem; color: var(--gold); margin-bottom: 0.8rem; }
.cta-banner p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* === BREADCRUMB === */
.breadcrumb {
  padding: 0.8rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold-dim); }

/* === TABLE === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

th {
  background: var(--bg-card);
  color: var(--gold);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

tr:hover td { background: rgba(255,255,255,0.02); }

/* === FOOTER === */
footer {
  background: var(--bg-secondary);
  border-top: 2px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); }

.footer-col h5 {
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.disclaimer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 1.5rem 0 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* === BACK TO TOP === */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gold);
  color: #0d0d1a;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 90;
}

.back-top.visible { opacity: 1; pointer-events: all; }

/* === UTILITY === */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }

  .article-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar { order: -1; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero { padding: 3rem 1.2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .features-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn { padding: 12px 24px; }
}
