/* ============================================================
   Spin Galaxy Casino Canada — "Galaxy Drift" Design
   CSS prefix: sg-
   ============================================================ */

/* --- Variables --- */
:root {
  --sg-bg:        #070b1c;
  --sg-bg-card:   rgba(255,255,255,0.04);
  --sg-bg-nav:    rgba(7,11,28,0.96);
  --sg-bg-alt:    rgba(255,255,255,0.02);
  --sg-pink:      #e91e8c;
  --sg-cyan:      #00e5ff;
  --sg-purple:    #7c3aed;
  --sg-gold:      #ffc107;
  --sg-text:      #e8eaf6;
  --sg-muted:     #8892b0;
  --sg-border:    rgba(233,30,140,0.2);
  --sg-gradient:  linear-gradient(135deg, #e91e8c 0%, #7c3aed 50%, #00e5ff 100%);
  --sg-btn-grad:  linear-gradient(90deg, #e91e8c, #7c3aed);
  --sg-radius:    12px;
  --sg-radius-sm: 8px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--sg-bg);
  color: var(--sg-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Wrapper --- */
.sg-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
.sg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sg-bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sg-border);
}
.sg-header__bar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.sg-head__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sg-logo img {
  max-height: 44px;
  width: auto;
}
.sg-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}
.sg-nav__link {
  color: var(--sg-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.sg-nav__link:hover,
.sg-nav__link.is-active { color: var(--sg-pink); }
.sg-head__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* --- Buttons --- */
.sg-btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: var(--sg-radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
  text-align: center;
}
.sg-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.sg-btn--ghost {
  background: transparent;
  border: 1px solid var(--sg-pink);
  color: var(--sg-pink);
}
.sg-btn--primary {
  background: var(--sg-btn-grad);
  color: #fff;
}
.sg-btn--bonus {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  color: #fff;
  display: none;
}
.sg-btn--lg {
  padding: 14px 36px;
  font-size: 16px;
  border-radius: var(--sg-radius);
}
.sg-btn--full { width: 100%; display: block; }

/* --- Burger --- */
.sg-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.sg-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--sg-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Mobile overlay --- */
.sg-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
}

/* --- Mobile panel --- */
.sg-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(300px, 85vw);
  background: #0d1230;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sg-mobile-panel.is-open { transform: translateX(0); }
.sg-mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--sg-border);
}
.sg-mobile-panel__logo img { height: 36px; }
.sg-mobile-close {
  background: none;
  border: none;
  color: var(--sg-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
}
.sg-mobile-nav { flex: 1; padding: 24px 20px; }
.sg-mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sg-mobile-nav li a {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  color: var(--sg-text);
  border-bottom: 1px solid var(--sg-border);
  transition: color 0.2s;
}
.sg-mobile-nav li a:hover { color: var(--sg-pink); }
.sg-mobile-actions {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   HERO
   ============================================================ */
.sg-hero {
  position: relative;
  overflow: hidden;
}
.sg-hero picture,
.sg-hero > a { display: block; }
.sg-hero img {
  width: 100%;
  height: auto;
  display: block;
}
.sg-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 60px 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7,11,28,0.72) 0%, rgba(7,11,28,0.3) 60%, transparent 100%);
}
.sg-hero__overlay > * { pointer-events: auto; }
.sg-hero__overlay .sg-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sg-hero__title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 580px;
  background: var(--sg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}
.sg-hero__subtitle {
  font-size: 18px;
  color: var(--sg-text);
  opacity: 0.9;
  max-width: 460px;
  margin: 16px 0 32px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.sg-stats-bar {
  background: rgba(233,30,140,0.08);
  border-top: 1px solid var(--sg-border);
  border-bottom: 1px solid var(--sg-border);
}
.sg-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.sg-stat {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid var(--sg-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sg-stat:last-child { border-right: none; }
.sg-stat__val {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--sg-pink);
  line-height: 1;
}
.sg-stat__lbl {
  display: block;
  font-size: 13px;
  color: var(--sg-muted);
  margin-top: 5px;
}

/* Author byline */
.sg-byline {
  font-size: 13px;
  color: var(--sg-muted);
  margin-bottom: 24px;
  margin-top: -8px;
}
.sg-byline__link {
  color: var(--sg-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sg-byline__link:hover { color: var(--sg-pink); }

/* Author profile page */
.sg-author-profile {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--sg-border);
}
.sg-author-profile__photo img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sg-pink);
  display: block;
}
.sg-author-profile__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}
.sg-author-profile__role {
  font-size: 13px;
  font-weight: 600;
  color: var(--sg-pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.sg-author-profile__name {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--sg-text);
  margin: 0;
}
.sg-author-profile__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sg-cyan);
  text-decoration: none;
  margin-top: 4px;
}
.sg-author-profile__linkedin:hover { color: var(--sg-pink); }
@media (max-width: 600px) {
  .sg-author-profile { flex-direction: column; align-items: center; text-align: center; }
  .sg-author-profile__linkedin { justify-content: center; }
}

/* Section CTA wrapper — centered button */
.sg-section-cta {
  margin-top: 28px;
  text-align: center;
}

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.sg-page-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(233,30,140,0.12) 0%, rgba(124,58,237,0.12) 50%, rgba(0,229,255,0.08) 100%);
  border-bottom: 1px solid var(--sg-border);
  text-align: center;
}
.sg-page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  background: var(--sg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.sg-page-hero p {
  font-size: 17px;
  color: var(--sg-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.sg-section { padding: 72px 0; }
.sg-section--alt { background: var(--sg-bg-alt); }

.sg-section__title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 18px;
}
.sg-section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--sg-gradient);
  margin: 12px auto 0;
  border-radius: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.sg-section__lead {
  text-align: center;
  color: var(--sg-muted);
  font-size: 17px;
  max-width: 640px;
  margin: -28px auto 40px;
  line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.sg-about-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.sg-about-text { flex: 3; }
.sg-about-text p {
  color: rgba(232,234,246,0.85);
  line-height: 1.75;
  margin-bottom: 20px;
}
.sg-about-text p:last-child { margin-bottom: 0; }
.sg-about-table { flex: 2; }

.sg-glance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  overflow: hidden;
}
.sg-glance-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--sg-border);
  vertical-align: top;
  line-height: 1.5;
}
.sg-glance-table tr:last-child td { border-bottom: none; }
.sg-glance-table td:first-child {
  font-weight: 600;
  color: var(--sg-muted);
  white-space: nowrap;
  width: 38%;
  background: rgba(233,30,140,0.05);
}
.sg-glance-table td:last-child { color: var(--sg-text); }

/* ============================================================
   FEATURES (icons)
   ============================================================ */
.sg-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.sg-feature-card {
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  background: var(--sg-bg-card);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  padding: 32px 24px 28px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.sg-feature-card:hover {
  border-color: var(--sg-pink);
  transform: translateY(-3px);
}
.sg-feature-card__icon { margin: 0 auto 20px; }
.sg-feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--sg-text);
}
.sg-feature-card p {
  font-size: 14px;
  color: var(--sg-muted);
  line-height: 1.6;
}

/* ============================================================
   BONUS CARDS
   ============================================================ */
.sg-bonus-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sg-bonus-card {
  display: flex;
  gap: 32px;
  background: var(--sg-bg-card);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.sg-bonus-card:hover {
  border-color: var(--sg-pink);
  transform: translateY(-2px);
}
.sg-bonus-card__img {
  flex: 2;
  min-width: 0;
  overflow: hidden;
}
.sg-bonus-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
}
.sg-bonus-card__body {
  flex: 3;
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
}
.sg-stage-badge {
  display: inline-block;
  background: var(--sg-btn-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.sg-spin-count {
  font-size: 40px;
  font-weight: 800;
  color: var(--sg-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.sg-spin-count span {
  font-size: 18px;
  font-weight: 600;
  color: var(--sg-muted);
  margin-left: 6px;
}
.sg-bonus-card__body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--sg-text);
}
.sg-bonus-card__body > p {
  font-size: 14px;
  color: var(--sg-muted);
  margin-bottom: 16px;
}
.sg-bonus-terms {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}
.sg-bonus-terms li {
  font-size: 14px;
  color: rgba(232,234,246,0.8);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.sg-bonus-terms li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sg-cyan);
  font-size: 12px;
}
.sg-bonus-cta-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--sg-muted);
  text-align: center;
}
.sg-bonus-cta-note a { color: var(--sg-pink); }
.sg-bonus-cta-note a:hover { text-decoration: underline; }

/* Bonus table (bonus page) */
.sg-bonus-table-wrap { overflow-x: auto; margin-bottom: 40px; }
.sg-bonus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.sg-bonus-table th,
.sg-bonus-table td {
  padding: 13px 16px;
  border: 1px solid var(--sg-border);
  text-align: left;
  vertical-align: top;
}
.sg-bonus-table th {
  background: rgba(233,30,140,0.1);
  font-weight: 600;
  color: var(--sg-text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.sg-bonus-table td { color: rgba(232,234,246,0.85); }
.sg-bonus-table td strong { color: var(--sg-gold); font-size: 17px; }

/* ============================================================
   PROVIDERS
   ============================================================ */
/* ============================================================
   GAMES GRID
   ============================================================ */
.sg-games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.sg-game-card {
  flex: 1 1 200px;
  min-width: 190px;
  max-width: 260px;
  background: var(--sg-bg-card);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  padding: 20px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.sg-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--sg-pink);
  box-shadow: 0 8px 32px rgba(233,30,140,0.18);
}
.sg-game-card__art {
  width: 100%;
  border-radius: var(--sg-radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sg-bg-card);
}
.sg-game-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.sg-game-card:hover .sg-game-card__art img {
  transform: scale(1.05);
}
.sg-game-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sg-game-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--sg-text);
  line-height: 1.3;
}
.sg-game-card__provider {
  font-size: 12px;
  color: var(--sg-muted);
  margin-top: 2px;
}
.sg-game-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.sg-game-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  color: var(--sg-muted);
  border: 1px solid rgba(255,255,255,0.08);
}
.sg-game-badge--high  { background: rgba(233,30,140,0.12); color: #e91e8c; border-color: rgba(233,30,140,0.3); }
.sg-game-badge--vhigh { background: rgba(124,58,237,0.15); color: #a78bfa; border-color: rgba(124,58,237,0.3); }
.sg-game-badge--med   { background: rgba(0,229,255,0.1);   color: #00e5ff; border-color: rgba(0,229,255,0.3); }
.sg-game-badge--live  { background: rgba(255,193,7,0.12);  color: #ffc107; border-color: rgba(255,193,7,0.3); }

@media (max-width: 600px) {
  .sg-game-card { flex: 1 1 calc(50% - 8px); min-width: 140px; }
}

.sg-text-block {
  margin-top: 32px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.sg-text-block p {
  color: var(--sg-text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.sg-text-block p:last-child { margin-bottom: 0; }

.sg-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.sg-provider-item {
  background: var(--sg-bg-card);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius-sm);
  padding: 12px 24px;
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sg-provider-item:hover { border-color: var(--sg-pink); }
.sg-provider-item img { max-height: 36px; width: auto; }

/* ============================================================
   PAYMENTS
   ============================================================ */
.sg-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.sg-payment-item {
  background: var(--sg-bg-card);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius-sm);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sg-muted);
  transition: color 0.2s, border-color 0.2s;
}
.sg-payment-item:hover {
  color: var(--sg-text);
  border-color: var(--sg-cyan);
}

/* ============================================================
   MOBILE STEPS (app page)
   ============================================================ */
.sg-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
}
.sg-step-card {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--sg-bg-card);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  padding: 32px 24px;
  text-align: center;
}
.sg-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sg-btn-grad);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
}
.sg-step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.sg-step-card p {
  font-size: 14px;
  color: var(--sg-muted);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.sg-faq { max-width: 800px; margin: 0 auto; }
.sg-faq-item { border-bottom: 1px solid var(--sg-border); }
.sg-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--sg-text);
  transition: color 0.2s;
  gap: 16px;
}
.sg-faq-q:hover { color: var(--sg-pink); }
.sg-faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--sg-pink);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.sg-faq-item.is-open .sg-faq-q::after {
  transform: rotate(45deg);
}
.sg-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.sg-faq-item.is-open .sg-faq-a { max-height: 500px; }
.sg-faq-a p {
  padding-bottom: 20px;
  color: var(--sg-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.sg-footer {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid var(--sg-border);
  padding: 60px 0 32px;
  margin-top: 0;
}
.sg-footer__top {
  display: flex;
  gap: 60px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.sg-footer__brand { flex: 2; min-width: 180px; }
.sg-footer__brand img { margin-bottom: 14px; }
.sg-footer__tagline {
  font-size: 13px;
  color: var(--sg-muted);
  line-height: 1.5;
}
.sg-footer__links {
  flex: 3;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.sg-footer__col h4,
.sg-footer__col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--sg-muted);
  margin-bottom: 16px;
}
.sg-footer__col ul { list-style: none; }
.sg-footer__col li { margin-bottom: 10px; }
.sg-footer__col a {
  font-size: 14px;
  color: rgba(232,234,246,0.65);
  transition: color 0.2s;
}
.sg-footer__col a:hover { color: var(--sg-pink); }

.sg-footer__reviews {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
  border-top: 1px solid var(--sg-border);
  border-bottom: 1px solid var(--sg-border);
  margin-bottom: 32px;
}
.sg-footer__reviews a {
  opacity: 0.45;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}
.sg-footer__reviews a:hover { opacity: 1; }
.sg-footer__reviews img { max-height: 28px; width: auto; }

.sg-footer__bottom { text-align: center; }
.sg-footer__copy {
  font-size: 13px;
  color: var(--sg-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.sg-footer__rg {
  font-size: 13px;
  color: var(--sg-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
.sg-footer__rg a {
  color: var(--sg-cyan);
  text-decoration: underline;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.sg-legal {
  padding: 72px 0;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.sg-legal h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 44px 0 16px;
  padding-top: 8px;
  color: var(--sg-text);
  border-bottom: 1px solid var(--sg-border);
  padding-bottom: 10px;
}
.sg-legal h2:first-child { margin-top: 0; }
.sg-legal h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--sg-text);
}
.sg-legal p {
  margin-bottom: 16px;
  color: rgba(232,234,246,0.85);
  line-height: 1.75;
}
.sg-legal ul {
  margin: 12px 0 20px;
  padding-left: 0;
  list-style: none;
}
.sg-legal ul li {
  padding: 6px 0 6px 22px;
  margin-bottom: 4px;
  color: rgba(232,234,246,0.85);
  position: relative;
  line-height: 1.6;
}
.sg-legal ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sg-pink);
}
.sg-legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.sg-legal th,
.sg-legal td {
  padding: 11px 14px;
  border: 1px solid var(--sg-border);
  text-align: left;
  vertical-align: top;
}
.sg-legal th {
  background: rgba(233,30,140,0.1);
  font-weight: 600;
  color: var(--sg-text);
}
.sg-legal td { color: rgba(232,234,246,0.8); }
.sg-legal a { color: var(--sg-cyan); text-decoration: underline; }
.sg-legal strong { color: var(--sg-text); font-weight: 600; }

/* Wagering comparison block */
.sg-wager-compare {
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: var(--sg-radius);
  padding: 24px 28px;
  margin: 24px 0;
}
.sg-wager-compare p {
  margin-bottom: 10px;
  font-size: 15px;
  color: rgba(232,234,246,0.9);
}
.sg-wager-compare p:last-child { margin-bottom: 0; }
.sg-wager-compare strong { color: var(--sg-cyan); }

/* Daily spins callout */
.sg-callout {
  background: rgba(233,30,140,0.08);
  border: 1px solid var(--sg-border);
  border-left: 3px solid var(--sg-pink);
  border-radius: var(--sg-radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}
.sg-callout h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--sg-pink);
}
.sg-callout p {
  font-size: 14px;
  color: var(--sg-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .sg-nav,
  .sg-head__actions { display: none; }
  .sg-burger { display: flex; }
  .sg-btn--mob-only { display: inline-flex; }

  .sg-hero { min-height: 280px; }
  .sg-hero picture { position: absolute; inset: 0; width: 100%; height: 100%; }
  .sg-hero img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
  .sg-hero__overlay { padding: 36px 0; }
  .sg-hero__subtitle { font-size: 15px; }

  .sg-stats { flex-wrap: wrap; }
  .sg-stat { flex: 1 1 calc(50% - 1px); min-width: 120px; }
  .sg-stat:nth-child(2) { border-right: none; }

  .sg-section { padding: 48px 0; }
  .sg-section__title { font-size: 26px; margin-bottom: 36px; }

  .sg-about-layout { flex-direction: column; gap: 32px; }

  .sg-features { flex-direction: column; align-items: center; }
  .sg-feature-card { max-width: 100%; width: 100%; }

  .sg-bonus-card { flex-direction: column; gap: 0; }
  .sg-bonus-card__img img { min-height: 180px; max-height: 220px; }
  .sg-bonus-card__body { padding: 24px; }

  .sg-steps { flex-direction: column; align-items: center; }
  .sg-step-card { max-width: 100%; width: 100%; }

  .sg-footer__top { flex-direction: column; gap: 32px; }
  .sg-footer__links { gap: 32px; }

  .sg-page-hero { padding: 44px 0; }

  .sg-bonus-table th,
  .sg-bonus-table td { font-size: 13px; padding: 10px 12px; }
}

@media (max-width: 480px) {
  .sg-stat { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--sg-border); }
  .sg-stat:last-child { border-bottom: none; }
  .sg-spin-count { font-size: 32px; }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.sg-404 {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.sg-404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.sg-404__icon {
  margin-bottom: 24px;
  animation: sg404float 4s ease-in-out infinite;
}
@keyframes sg404float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.sg-404__code {
  font-size: clamp(80px, 18vw, 140px);
  font-weight: 900;
  line-height: 1;
  background: var(--sg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -4px;
  margin-bottom: 8px;
}
.sg-404__title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  color: var(--sg-text);
  margin-bottom: 16px;
}
.sg-404__desc {
  font-size: 16px;
  color: var(--sg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
}
.sg-404__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.sg-404__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  overflow: hidden;
  width: 100%;
  text-align: left;
}
.sg-404__nav li { border-bottom: 1px solid var(--sg-border); }
.sg-404__nav li:last-child { border-bottom: none; }
.sg-404__nav a {
  display: block;
  padding: 14px 20px;
  color: var(--sg-muted);
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
}
.sg-404__nav a:hover {
  color: var(--sg-text);
  background: rgba(233,30,140,0.06);
}
