/* ============================================================
   SLOTORADO CANADA — style.css
   Brand palette: deep navy dark, gold accent, white text
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #f5a623;
  --gold-dark: #d4891a;
  --gold-light: #ffd47a;
  --bg-dark: #0d1117;
  --bg-mid: #151c27;
  --bg-card: #1a2235;
  --bg-card-hover: #1f2a3d;
  --text-main: #e8eaf0;
  --text-muted: #8a96aa;
  --text-light: #ffffff;
  --accent-green: #2ecc71;
  --accent-red: #e74c3c;
  --border: rgba(245,166,35,0.18);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.45);
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--text-light);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.35em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); margin-bottom: 0.4em; }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.5em; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }

p { margin-bottom: 1em; color: var(--text-main); }
p:last-child { margin-bottom: 0; }

ul { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.65em 1.6em;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: scale(0.97); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #111;
  border-color: var(--gold-dark);
  box-shadow: 0 3px 14px rgba(245,166,35,0.35);
}
.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 6px 22px rgba(245,166,35,0.55);
  transform: translateY(-2px);
  color: #111;
}

.btn--outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: #111;
  transform: translateY(-2px);
}

.btn--lg { font-size: 1.05rem; padding: 0.8em 2em; }
.btn--sm { font-size: 0.82rem; padding: 0.5em 1.2em; }

/* === TOP BONUS BAR === */
.top-bonus-bar {
  background: linear-gradient(90deg, #1a0a00 0%, #3a1c00 40%, #1a0a00 100%);
  border-bottom: 2px solid var(--gold);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}
.top-bonus-bar__text {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.92rem;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo__svg { height: 36px; width: auto; }

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 0.87rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold); background: rgba(245,166,35,0.08); }
.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle { display: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* === HERO === */
.hero {
  background: linear-gradient(160deg, #0d1117 0%, #181f2e 60%, #0f1820 100%);
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -100px;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.12);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
}
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 1px; }

.hero h1 {
  color: var(--gold);
  text-shadow: 0 2px 18px rgba(245,166,35,0.3);
}
.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 1.2em;
  font-style: italic;
}
.hero__intro {
  max-width: 700px;
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 2em;
}

.hero__cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 2.5em;
}

.hero__quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.qf-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color var(--transition), transform var(--transition);
}
.qf-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.qf-icon { font-size: 1.4rem; }
.qf-item strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); }
.qf-item span { font-size: 0.92rem; color: var(--text-main); font-weight: 600; }

/* === SECTIONS === */
.section {
  padding: 70px 0;
}
.section--dark {
  background: var(--bg-mid);
}

/* === PROS/CONS === */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 2em;
}
.pros-cons__col {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 3px solid;
}
.pros-cons__col--pros { border-color: var(--accent-green); }
.pros-cons__col--cons { border-color: var(--accent-red); }
.pros-cons__col h3 { margin-bottom: 0.8em; }
.pros-cons__col--pros h3 { color: var(--accent-green); }
.pros-cons__col--cons h3 { color: var(--accent-red); }
.pros-cons__col li { font-size: 0.93rem; }
.pros-cons__col--pros li::marker { color: var(--accent-green); }
.pros-cons__col--cons li::marker { color: var(--accent-red); }

/* === MID BANNER === */
.mid-banner {
  background: linear-gradient(90deg, #1a0a00, #2e1400 50%, #1a0a00);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 20px;
}
.mid-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.mid-banner__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mid-banner__text strong {
  font-size: 1.2rem;
  color: var(--gold);
  font-family: var(--font-display);
}
.mid-banner__text span {
  color: var(--text-main);
  font-size: 0.95rem;
}

/* === BONUS CARDS === */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 2em 0;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.bonus-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.bonus-card__icon { font-size: 2rem; }
.bonus-card h3 { margin: 0; }
.bonus-card__amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}
.bonus-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.bonus-card .btn { align-self: flex-start; }

/* === INFO BOX === */
.info-box {
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px;
  margin-top: 2em;
}
.info-box h3 { color: var(--gold); margin-bottom: 0.5em; }
.info-box p { font-size: 0.93rem; margin: 0; }

/* === GAME CATEGORIES === */
.game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin: 2em 0;
}
.game-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition), transform var(--transition);
}
.game-cat-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.game-cat-card__icon { font-size: 2.2rem; }
.game-cat-card h3 { margin: 0; }
.game-cat-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.game-cat-card .btn { align-self: flex-start; }

/* === DATA TABLES === */
.provider-table-wrap,
.limits-table-wrap,
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5em 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.data-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th {
  background: rgba(245,166,35,0.12);
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 11px 16px;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(245,166,35,0.05); }

/* === PAYMENT METHODS === */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin: 2em 0;
}
.payment-method {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--transition);
}
.payment-method:hover { border-color: var(--gold); }
.payment-method__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.payment-method__details { font-size: 0.88rem; color: var(--text-muted); }

/* === DEVICE CARDS === */
.device-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 2em;
}
.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.device-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.device-card__icon { font-size: 2.5rem; margin-bottom: 10px; }
.device-card h3 { margin-bottom: 0.5em; }
.device-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* === SUPPORT === */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 2em 0;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition);
}
.support-card:hover { border-color: var(--gold); }
.support-card__icon { font-size: 2rem; }
.support-card h3 { margin: 0; }
.support-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.support-card .btn { align-self: flex-start; }

/* === RATING BLOCK === */
.rating-block {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 2.5em 0;
  flex-wrap: wrap;
}
.rating-block__score {
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 1;
  min-width: 90px;
  text-align: center;
}
.rating-block__details { flex: 1; min-width: 220px; }
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.rating-row span:first-child { min-width: 155px; color: var(--text-muted); }
.rating-row span:last-child { color: var(--gold); font-weight: 700; min-width: 28px; text-align: right; }
.rating-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.rating-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* === FINAL CTA === */
.final-cta {
  text-align: center;
  padding: 2em 0 0;
}
.final-cta p:first-child { font-size: 1.1rem; margin-bottom: 1em; font-weight: 600; }
.disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1em;
}

/* === FAQ === */
.faq-list { margin-top: 2em; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover, .faq-item--open { border-color: var(--gold); }

.faq-question {
  width: 100%;
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.97rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: left;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition), color var(--transition);
}
.faq-question:hover { background: var(--bg-card-hover); color: var(--gold); }
.faq-item--open .faq-question { color: var(--gold); background: rgba(245,166,35,0.06); }

.faq-arrow {
  font-size: 0.75rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item--open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 20px;
  background: var(--bg-dark);
}
.faq-item--open .faq-answer {
  max-height: 400px;
  padding: 16px 20px 18px;
}
.faq-answer p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* === FOOTER === */
.site-footer {
  background: #080c11;
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 2.5em;
}
.footer-col--brand svg { margin-bottom: 14px; }
.footer-col--brand p { font-size: 0.85rem; color: var(--text-muted); }
.footer-col h4 { color: var(--gold); margin-bottom: 12px; }
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 6px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large tablet */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
  .pros-cons { grid-template-columns: 1fr; }
}

/* Tablet / large phone */
@media (max-width: 768px) {
  /* Nav */
  .nav-burger { display: flex; z-index: 10; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    flex-direction: column;
    background: #0d1117;
    border-bottom: 2px solid var(--gold);
    padding: 12px 20px 20px;
    gap: 6px;
    z-index: 99;
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a { font-size: 0.95rem; padding: 10px 14px; }
  .nav-cta { width: 100%; text-align: center; margin: 6px 0 0; }

  /* Burger animation */
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-header { position: relative; }

  /* Hero */
  .hero { padding: 40px 0 36px; }
  .hero__cta-row { flex-direction: column; gap: 10px; }
  .hero__cta-row .btn { width: 100%; text-align: center; }

  /* Sections */
  .section, .section--dark { padding: 44px 0; }

  /* Mid banner */
  .mid-banner__inner { flex-direction: column; text-align: center; }
  .mid-banner__inner .btn { width: 100%; }

  /* Grid cards */
  .bonus-cards,
  .game-categories,
  .payment-grid,
  .device-cards,
  .support-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Rating block */
  .rating-block { flex-direction: column; gap: 16px; }
  .rating-block__score { font-size: 3rem; }
}

/* Small phone */
@media (max-width: 420px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  .hero__quick-facts { grid-template-columns: 1fr 1fr; }
  .top-bonus-bar { flex-direction: column; gap: 10px; }
  .top-bonus-bar .btn { width: 100%; }
  .data-table { font-size: 0.82rem; }
}

/* Scrollbar for tables */
.provider-table-wrap::-webkit-scrollbar,
.limits-table-wrap::-webkit-scrollbar,
.comparison-table-wrap::-webkit-scrollbar {
  height: 5px;
}
.provider-table-wrap::-webkit-scrollbar-track,
.limits-table-wrap::-webkit-scrollbar-track,
.comparison-table-wrap::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
.provider-table-wrap::-webkit-scrollbar-thumb,
.limits-table-wrap::-webkit-scrollbar-thumb,
.comparison-table-wrap::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}
