/* Sweet Bonanza Casino — main.css
   Shared stylesheet for all pages except homepage (index.html uses inline styles)
   ============================================================ */

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

:root {
  --gold:       #d4af37;
  --gold-light: #f0c84a;
  --gold-dim:   #a07c20;
  --pink:       #e91e8c;
  --pink-light: #ff69b4;
  --bg:         #07070d;
  --bg-card:    #0e0e1a;
  --bg-card2:   #121220;
  --text:       #e8e6df;
  --text-muted: #8a8580;
  --border:     rgba(212,175,55,0.18);
  --green:      #4caf7d;
  --red:        #e05252;
  --radius:     12px;
}

html { scroll-behavior: smooth; }

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

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

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

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; color: var(--text); }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 60px;
  background: rgba(7,7,13,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.nav-cta {
  background: var(--gold);
  color: #000;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light); color: #000; }

.nav-demo {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-demo:hover { background: var(--gold); color: #000; }

.nav-se {
  background: #f97316;
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-se:hover { background: #ea6a0a; color: #fff; }

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header {
  padding: 3rem 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Side Banner ── */
.side-banner {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 50;
  text-align: center;
}

.side-banner a {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.3;
  transition: color 0.2s;
}
.side-banner a:hover { color: var(--gold); }
.side-banner .side-icon { font-size: 1.4rem; }
.side-banner .side-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--gold-dim); }
.feature-card .feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.verdict-box {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border: 2px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ── Stats Bar ── */
.stats-bar {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0;
}

.stat-item {
  flex: 1;
  padding: 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

/* ── Sections ── */
.section {
  padding: 2.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* ── Game Screenshot ── */
.game-screenshot {
  border-radius: var(--radius);
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 24px rgba(212,175,55,0.15);
  width: 100%;
}

/* ── Data Tables ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.data-table th, .data-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  color: var(--gold);
  font-weight: 600;
  background: var(--bg-card);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(212,175,55,0.04); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

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

.faq-q {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q:hover { color: var(--gold); }
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--gold); }
.faq-item.open .faq-q::after { content: '−'; }

.faq-a {
  display: none;
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}
.faq-item.open .faq-a { display: block; }

/* ── Buttons ── */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
}
.btn-gold:hover { background: var(--gold-light); color: #000; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  padding: 0.7rem 1.65rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  text-align: center;
}
.btn-outline:hover { background: var(--gold); color: #000; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 0.35rem; }

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--gold-dim); }
.blog-card .blog-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.blog-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.blog-card .read-more { font-size: 0.82rem; color: var(--gold); font-weight: 600; }

/* ── Article ── */
.article-body h2 { color: var(--gold); margin: 2rem 0 0.75rem; font-size: 1.35rem; }
.article-body h3 { color: var(--gold-light); margin: 1.5rem 0 0.5rem; font-size: 1.1rem; }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol { margin-bottom: 1rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body .callout {
  background: var(--bg-card2);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.93rem;
}

/* ── Ratings ── */
.rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.rating-row:last-child { border-bottom: none; }
.rating-bar {
  flex: 1;
  margin: 0 0.75rem;
  height: 6px;
  background: var(--bg-card2);
  border-radius: 3px;
  overflow: hidden;
}
.rating-fill { height: 100%; background: var(--gold); border-radius: 3px; }
.rating-score { color: var(--gold); font-weight: 700; min-width: 2.5rem; text-align: right; }

/* ── Pros / Cons ── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.pros, .cons {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.pros { border-top: 3px solid var(--green); }
.cons { border-top: 3px solid var(--red); }
.pros h4 { color: var(--green); margin-bottom: 0.75rem; }
.cons h4 { color: var(--red); margin-bottom: 0.75rem; }
.pros li::marker { color: var(--green); }
.cons li::marker { color: var(--red); }

/* ── Footer ── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 4rem;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-links a:hover { color: var(--gold); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Candy Rain Animation ── */
@keyframes candyFall {
  0%   { transform: translateY(-100px) rotate(0deg); opacity: 0; }
  5%   { opacity: 0.55; }
  90%  { opacity: 0.45; }
  100% { transform: translateY(110vh) rotate(540deg); opacity: 0; }
}

@keyframes candySway {
  0%, 100% { margin-left: 0; }
  25%       { margin-left: 18px; }
  75%       { margin-left: -18px; }
}

.candy-rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.candy-drop {
  position: absolute;
  top: -80px;
  font-size: 1.6rem;
  line-height: 1;
  animation: candyFall linear infinite, candySway ease-in-out infinite;
  user-select: none;
  will-change: transform;
}

/* ── Gameplay GIF / Screenshot Container ── */
.gameplay-preview {
  border-radius: var(--radius);
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 40px rgba(212,175,55,0.18), 0 0 80px rgba(233,30,140,0.08);
  overflow: hidden;
  width: 100%;
  display: block;
}

.gameplay-preview img,
.gameplay-preview video {
  width: 100%;
  height: auto;
  display: block;
}

.gif-placeholder {
  width: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, #0e0820, #1a0730, #0d1520);
  border-radius: var(--radius);
  border: 2px dashed var(--gold-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
  padding: 2rem;
}

.gif-placeholder .gif-icon { font-size: 3rem; opacity: 0.6; }

/* ── Gold Glow Pulse (CTAs) ── */
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
  50%       { box-shadow: 0 0 20px 4px rgba(212,175,55,0.25); }
}
.btn-gold { animation: goldPulse 3s ease-in-out infinite; }
.btn-gold:hover { animation: none; }

/* ── Utility ── */
.text-gold  { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }
.text-pink  { color: var(--pink); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ── Demo Page ── */
.demo-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 30px rgba(212,175,55,0.12);
}
.demo-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .side-banner { display: none; }
  .pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  nav { padding: 0 0.75rem; }
  .nav-links { display: none; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-bottom: 1px solid var(--border); }
  .demo-wrapper iframe { height: 400px; }
}

/* ── FAQ Script ── */
/* JS at bottom of each page handles accordion toggle */
