/* =============================================
   BtcReels.com — Main Stylesheet
   Canada Bitcoin Casino Affiliate
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0f1923;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* --- Container --- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: #F7931A;
  color: #fff;
  border: 2px solid #F7931A;
}
.btn-primary:hover { background: #e07d0d; border-color: #e07d0d; }
.btn-dark {
  background: #0f1923;
  color: #fff;
  border: 2px solid #fff;
}
.btn-dark:hover { background: #1e2d3d; }

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
  background: #CC0000;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #ffe0e0; text-decoration: underline; }
.topbar a:hover { color: #fff; }

/* =============================================
   HEADER
   ============================================= */
.header {
  background: transparent;
  position: fixed;
  top: 32px; /* sits directly below the topbar */
  left: 0;
  right: 0;
  z-index: 1000;
  /* subtle outline so header feels distinct against the hero image */
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
/* Solid header once user scrolls past hero */
.header.scrolled {
  background: #0d1b2a;
  border-bottom: 1px solid #1e3a5f;
  box-shadow: 0 4px 30px rgba(0,0,0,0.8);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 20px;
}

.header-inner .logo { margin-right: auto; }
.header-inner .header-right { margin-left: auto; }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon {
  background: #F7931A;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo-dot { color: #F7931A; }

/* Search Bar */
.search-bar {
  flex: 1;
  max-width: 480px;
  display: flex;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  overflow: visible;
  transition: background 0.35s ease, border-color 0.35s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header.scrolled .search-bar {
  background: #1a2d42;
  border-color: #2a4a6b;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e2e8f0;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 8px 0 0 8px;
}
.search-bar input::placeholder { color: #64748b; }
.search-btn {
  background: #F7931A;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}
.search-btn:hover { background: #e07d0d; }

/* Search Results Dropdown */
.search-bar {
  position: relative;
}
.search-results {
  display: none;
  position: fixed;
  background: #1a2d42;
  border: 1px solid #2a4a6b;
  border-radius: 8px;
  z-index: 9999;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.search-results.visible { display: block; }
.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid #1e3a5f;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover,
.search-result-item.active { background: #1e3a5f; }
.search-result-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.search-result-text { flex: 1; min-width: 0; }
.search-result-title {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-title mark {
  background: none;
  color: #F7931A;
  font-weight: 700;
}
.search-result-cat {
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
}
.search-no-results {
  padding: 16px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.lang-flag {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 10px;
  border-radius: 6px;
  transition: border-color 0.35s ease, color 0.35s ease;
}
.header.scrolled .lang-flag {
  color: #94a3b8;
  border-color: #2a4a6b;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Main Nav */
.main-nav {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.header.scrolled .main-nav {
  background: #0a1520;
  border-top: 1px solid #1e3a5f;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 20px;
  flex-wrap: wrap;
}

/* Nav item wrapper (needed for dropdown) */
.nav-item {
  position: relative;
}

.nav-link {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 14px;
  white-space: nowrap;
  transition: color 0.2s;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-link:hover { color: #fff; }
.nav-link.active {
  color: #F7931A;
  border-bottom-color: #F7931A;
}
.nav-highlight {
  color: #CC0000 !important;
  font-weight: 700;
}
.nav-highlight:hover { color: #ff3333 !important; }
.arrow { font-size: 10px; margin-left: 2px; transition: transform 0.2s; }
.nav-item:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #0d1b2a;
  border: 1px solid #1e3a5f;
  border-radius: 10px;
  min-width: 220px;
  z-index: 999;
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  animation: fadeDown 0.15s ease;
}
/* Invisible bridge: fills the gap between nav-link and dropdown so hover doesn't break */
.dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.dropdown a:hover {
  color: #fff;
  background: #1a2d42;
  border-left-color: #F7931A;
}
.nav-item:hover .dropdown { display: block; }
.has-dropdown > .nav-link:hover { color: #e2e8f0; }

/* =============================================
   SECTION SLIDESHOW
   ============================================= */
.slideshow-wrap {
  position: relative;
  background: #0a1520;
  border-top: 1px solid #1e3a5f;
  border-bottom: 1px solid #1e3a5f;
  overflow: hidden;
  user-select: none;
}
.slideshow {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

/* Each slide */
.slide {
  min-width: 100%;
  display: flex;
  align-items: stretch;
  background: var(--slide-bg);
  text-decoration: none;
  color: inherit;
  height: 280px;
  cursor: pointer;
  transition: filter 0.2s;
}
.slide:hover { filter: brightness(1.06); }

/* Left image area — fixed 420×280px */
.slide-img-area {
  flex: 0 0 420px;
  width: 420px;
  height: 280px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
}
.slide-img-area img {
  width: 420px;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}
/* Right content area */
.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 60px 40px 50px;
  gap: 10px;
}
.slide-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #F7931A;
  text-transform: uppercase;
}
.slide-content h3 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}
.slide-content p {
  font-size: 14px;
  color: #94a3b8;
  max-width: 480px;
  line-height: 1.7;
  margin: 0;
}
.slide-cta {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #F7931A;
  border: 2px solid #F7931A;
  padding: 9px 22px;
  border-radius: 8px;
  width: fit-content;
  transition: all 0.2s;
}
.slide:hover .slide-cta {
  background: #F7931A;
  color: #fff;
}

/* Dots */
.slide-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  padding: 6px 10px;
  background: rgba(0,0,0,0.35);
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1.5px solid rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
  flex-shrink: 0;
}
.dot.active {
  background: #F7931A;
  border-color: #F7931A;
  width: 26px;
  border-radius: 5px;
}

/* Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13,27,42,0.75);
  border: 1px solid #1e3a5f;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
  padding: 0;
}
.slide-arrow:hover { background: #F7931A; border-color: #F7931A; }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }

/* Responsive slideshow */
@media (max-width: 768px) {
  .slide { flex-direction: column; height: auto; min-height: 0; }
  .slide-img-area { flex: 0 0 180px; width: 100%; max-height: 180px; overflow: hidden; }
  .slide-img-area img { width: 100%; height: 180px; object-fit: cover; }
  .slide-content {
    padding: 20px 20px 52px; /* extra bottom padding so dots don't overlap */
    gap: 10px;
    align-items: center;
    text-align: center;
  }
  .slide-content h3 { font-size: 18px; }
  .slide-content p { max-width: 100%; }
  .slide-cta { align-self: center; }
  .slide-arrow { width: 36px; height: 36px; font-size: 24px; }
}
@media (max-width: 480px) {
  .slide-img-area { flex: 0 0 140px; max-height: 140px; }
  .slide-img-area img { height: 140px; }
  .slide-content { padding: 16px 16px 50px; }
  .slide-content h3 { font-size: 16px; }
  .slide-cta { font-size: 13px; padding: 7px 16px; }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  border-bottom: 1px solid #1e3a5f;
  overflow: hidden;
  height: 420px;
  /* topbar(32) is separate; header sits at top:32px; header-inner(~68px) + nav(~44px) = 112px + 32px topbar */
  padding-top: 144px;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(13,27,42,0.92) 0%,
    rgba(13,27,42,0.75) 50%,
    rgba(13,27,42,0.35) 100%
  );
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 20px 20px 30px;
  height: 100%;
}
.hero-text { flex: 1; }
.hero-text h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 16px;
}
.highlight { color: #F7931A; }
.hero-text p {
  font-size: 16px;
  color: #94a3b8;
  max-width: 520px;
  margin-bottom: 32px;
}

/* Hero Quick-Nav Boxes */
.hero-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 480px;
}
.hero-box {
  background: #1a2d42;
  border: 1px solid #2a4a6b;
  border-radius: 10px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.hero-box:hover {
  background: #1e3a5f;
  border-color: #F7931A;
  color: #fff;
  transform: translateY(-2px);
}
.hero-box-accent {
  background: rgba(247,147,26,0.1);
  border-color: #F7931A;
  color: #F7931A;
}
.hero-box-icon { font-size: 22px; }

/* Hero Graphic */
.hero-graphic {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 210px;
  height: auto;
}
/* BTC Live Price Widget */
.btc-price-widget {
  background: linear-gradient(160deg, #0f1e30 0%, #0b1622 100%);
  border: 1px solid rgba(247,147,26,0.45);
  border-radius: 16px;
  padding: 16px 20px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 0 32px rgba(247,147,26,0.2), 0 4px 20px rgba(0,0,0,0.5);
  z-index: 1;
  position: relative;
}
.btc-price-header {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btc-price-icon {
  font-size: 20px;
  color: #F7931A;
  font-weight: 900;
  line-height: 1;
}
.btc-price-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.btc-price-ticker {
  font-size: 10px;
  font-weight: 600;
  color: #F7931A;
  background: rgba(247,147,26,0.12);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: auto;
}
.btc-price-main {
  border-top: 1px solid rgba(247,147,26,0.15);
  padding-top: 8px;
}
.btc-price-value {
  font-size: 22px;
  font-weight: 800;
  color: #FFD700;
  letter-spacing: -0.5px;
}
.btc-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.btc-price-change {
  font-size: 12px;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 7px;
}
.btc-price-change.up   { color: #22c55e; background: rgba(34,197,94,0.12); }
.btc-price-change.down { color: #ef4444; background: rgba(239,68,68,0.12); }
.btc-price-change.flat { color: #94a3b8; background: rgba(148,163,184,0.1); }
.btc-price-updated {
  font-size: 10px;
  color: #4a6080;
}
.btc-price-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #4a6080;
  border-top: 1px solid rgba(247,147,26,0.1);
  padding-top: 7px;
}
.btc-price-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a6080;
  display: inline-block;
  transition: background 0.3s;
}
.btc-price-dot.live {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.maple-ring {
  position: absolute;
  font-size: 60px;
  opacity: 0.15;
  animation: spin 20s linear infinite;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* =============================================
   CASINO CARDS SECTION
   ============================================= */
.casinos-section {
  padding: 16px 0 50px;
}

/* Tab Header — full-width 3-segment */
.tab-header {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1e3a5f;
  margin-bottom: 20px;
  background: #0b1622;
  height: 110px;
}
.tab-head {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 12px;
  border: none;
  border-right: 1px solid #1e3a5f;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  background-color: #0b1622;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* Dark overlay on top of bg image */
.tab-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,15,24,0.62);
  transition: background 0.25s;
  z-index: 0;
}
.tab-head:hover::before { background: rgba(8,15,24,0.35); }
.tab-head.active::before { background: rgba(247,147,26,0.10); }
/* Individual bg images */
.tab-head[data-tab="best"]  { background-image: url('../images/tabs/best-casinos.webp'); }
.tab-head[data-tab="new"]   { background-image: url('../images/tabs/new-casinos.webp'); }
.tab-head[data-tab="bonus"] { background-image: url('../images/tabs/best-bonuses.webp'); }
.tab-head:last-of-type { border-right: none; }
.tab-head.active {
  border-bottom: 3px solid #F7931A;
}
.tab-head-showall {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 600;
  color: #F7931A;
  white-space: nowrap;
  border-left: 1px solid #1e3a5f;
  transition: background 0.2s;
  background: #0b1622;
  flex-shrink: 0;
}
.tab-head-showall:hover { background: rgba(247,147,26,0.06); text-decoration: underline; }

.tab-panel { display: none; }
.tab-panel.active { display: grid; }

/* Casino Grid */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Casino Card */
.casino-card {
  background: #132030;
  border: 1px solid #1e3a5f;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s;
  position: relative;
}
.casino-card:hover {
  border-color: #F7931A;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(247,147,26,0.15);
}

/* Badge */
.card-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
}
.badge-gold { background: linear-gradient(90deg, #b8860b, #FFD700); color: #000; }
.badge-red { background: #CC0000; color: #fff; }
.badge-orange { background: #F7931A; color: #fff; }
.badge-purple { background: #7c3aed; color: #fff; }
.badge-green { background: #059669; color: #fff; }

/* Card Main Row */
.card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.card-logo { flex-shrink: 0; }
.logo-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  border: 2px solid #1e3a5f;
}
.card-info { flex: 1; }
.card-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.stars { color: #FFD700; font-size: 13px; letter-spacing: 1px; }
.rating-num { font-size: 13px; font-weight: 600; color: #94a3b8; }
.safety-index { font-size: 11px; font-weight: 600; color: #64748b; }
.trust-high { color: #22c55e; }
.trust-med { color: #F7931A; }
.card-arrow {
  font-size: 24px;
  color: #2a4a6b;
  font-weight: 300;
  transition: all 0.2s;
  flex-shrink: 0;
}
.casino-card:hover .card-arrow { color: #F7931A; transform: translateX(3px); }

/* Card Bonus */
.card-bonus {
  background: rgba(247,147,26,0.08);
  border-top: 1px solid #1e3a5f;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #F7931A;
}

/* Card Tags */
.card-tags {
  display: flex;
  gap: 6px;
  padding: 10px 16px 14px;
  flex-wrap: wrap;
}
.tag {
  background: #0f1923;
  border: 1px solid #1e3a5f;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

/* =============================================
   WHY BTCREELS SECTION
   ============================================= */
.why-section {
  background: #0a1520;
  padding: 60px 0 120px;
  border-top: 1px solid #1e3a5f;
  border-bottom: 1px solid #1e3a5f;
  overflow: visible;
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: #64748b;
  margin-bottom: 36px;
  font-size: 15px;
}
/* ---- Why Section: Horizontal Stepper (desktop) ---- */

/* Outer wrapper — full-width row of steps */
.why-timeline {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

/* Horizontal connecting line behind the dots */
.why-timeline::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(to right, #F7931A, #CC0000);
  border-radius: 2px;
  opacity: 0.45;
  z-index: 0;
}

/* Each step */
.why-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

/* Dot */
.why-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0d1b2a;
  border: 2px solid #1e3a5f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 0 5px #0a1520;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.why-item.open .why-dot {
  border-color: #F7931A;
  box-shadow: 0 0 0 5px #0a1520, 0 0 20px rgba(247,147,26,0.45);
  transform: scale(1.1);
}

/* Step label under the dot */
.why-title {
  font-size: 13px;
  font-weight: 700;
  color: #4e6680;
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s;
  user-select: none;
  letter-spacing: 0.2px;
}
.why-item.open .why-title { color: #fff; }

/* Expand panel — centred below the whole stepper row */
.why-expand {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(280px, 50vw, 520px);
  background: #0d1b2a;
  border: 1px solid #1e3a5f;
  border-top: 3px solid #F7931A;
  border-radius: 0 0 12px 12px;
  padding: 20px 24px;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: whyFadeIn 0.22s ease;
}
@keyframes whyFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.why-item.open .why-expand { display: block; }
.why-expand p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.8;
  margin: 0;
}

/* =============================================
   BONUS BANNER
   ============================================= */
.bonus-banner {
  background: linear-gradient(135deg, #CC0000 0%, #8B0000 100%);
  padding: 36px 0;
}
.bonus-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.bonus-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 6px;
}
.bonus-text h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.bonus-text h3 span { color: #FFD700; }
.bonus-text p { color: rgba(255,255,255,0.8); font-size: 14px; }

/* =============================================
   GUIDES SECTION
   ============================================= */
.guides-section {
  padding: 60px 0;
}

.guides-strips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Each strip */
.gstrip {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #0d1b2a;
  border: 1px solid #1e3a5f;
  min-height: 90px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gstrip:hover {
  transform: translateX(6px);
  box-shadow: -6px 0 0 0 var(--c), 0 8px 32px rgba(0,0,0,0.4);
  border-color: var(--c);
}

/* Left colour panel with diagonal clip */
.gstrip-left {
  background: var(--c);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  padding: 16px 28px 16px 20px;
  min-height: 90px;
}
.gstrip-num {
  font-size: 11px;
  font-weight: 900;
  color: rgba(0,0,0,0.35);
  letter-spacing: 1px;
  line-height: 1;
}
.gstrip-icon {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Right text area */
.gstrip-right {
  padding: 18px 16px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gstrip-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c);
  opacity: 0.85;
}
.gstrip h4 {
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.35;
  margin: 0;
}
.gstrip p {
  font-size: 13px;
  color: #4e6680;
  line-height: 1.5;
  margin: 0;
}

/* Arrow */
.gstrip-arrow {
  font-size: 22px;
  color: var(--c);
  padding: 0 24px 0 8px;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
  line-height: 1;
}
.gstrip:hover .gstrip-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* =============================================
   HOW WE RATE
   ============================================= */
.rate-section {
  padding: 70px 0;
  background: #080f18;
  border-top: 1px solid #1e3a5f;
  border-bottom: 1px solid #1e3a5f;
  overflow: hidden;
  position: relative;
}
/* Giant watermark number */
.rate-section::before {
  content: '10';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 340px;
  font-weight: 900;
  color: rgba(247,147,26,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -20px;
}

/* Header row */
.rate-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.rate-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #F7931A;
  display: block;
  margin-bottom: 10px;
}
.rate-header-text h2 {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}
.rate-header-text p {
  font-size: 14px;
  color: #4e6680;
  max-width: 520px;
  line-height: 1.6;
}

/* Avg score badge */
.rate-score-badge {
  flex-shrink: 0;
  background: linear-gradient(135deg, #F7931A, #CC0000);
  border-radius: 14px;
  padding: 16px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(247,147,26,0.2);
}
.rate-score-num {
  display: block;
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}
.rate-score-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Criteria list */
.rate-criteria {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Each row */
.rate-row {
  display: grid;
  grid-template-columns: 260px 1fr 52px;
  align-items: center;
  gap: 20px;
  background: #0d1b2a;
  border: 1px solid #1e3a5f;
  border-left: 3px solid var(--fill);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  transition: background 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.rate-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,147,26,0.04) 0%, transparent 40%);
  pointer-events: none;
}
.rate-row:hover {
  background: #111f30;
  transform: translateX(3px);
}

.rate-row-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rate-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.rate-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.2;
  margin-bottom: 3px;
}
.rate-desc {
  display: block;
  font-size: 11px;
  color: #4e6680;
  line-height: 1.4;
}

/* Bar */
.rate-bar-wrap { width: 100%; }
.rate-bar {
  width: 100%;
  height: 10px;
  background: #1a2f47;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  gap: 2px;
}
/* Each coloured segment */
.rate-seg {
  height: 100%;
  width: 0;
  background: var(--sc);
  border-radius: 3px;
  flex-shrink: 0;
  animation: segGrow 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: var(--sd, 0s);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
@keyframes segGrow {
  to { width: var(--sw); }
}

/* Weight label */
.rate-weight {
  font-size: 13px;
  font-weight: 800;
  color: var(--fill);
  text-align: right;
  white-space: nowrap;
}

/* =============================================
   AUTHOR SECTION
   ============================================= */
.author-section {
  padding: 60px 0;
  border-top: 1px solid #1e3a5f;
}

.author-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #1e3a5f;
  background: #0d1b2a;
  position: relative;
}
/* Subtle diagonal highlight */
.author-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(247,147,26,0.04) 0%, transparent 50%);
  pointer-events: none;
  border-radius: 16px;
}

/* Photo column */
.author-img-col {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.author-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: saturate(0.9);
  transition: filter 0.4s, transform 0.4s;
}
.author-card:hover .author-img {
  filter: saturate(1.05);
  transform: scale(1.03);
}
/* Dark gradient over photo bottom */
.author-img-col::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 100%);
  pointer-events: none;
}
.author-verified-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #22c55e;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Content column */
.author-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.author-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F7931A;
  display: block;
  margin-bottom: 8px;
}
.author-name {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.author-role {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 0;
}
.author-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, #F7931A, #CC0000);
  border-radius: 2px;
  margin: 20px 0;
}
.author-bio-text {
  font-size: 14px;
  color: #7a92aa;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Stat pills row */
.author-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.author-pill {
  background: #0a1520;
  border: 1px solid #1e3a5f;
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 80px;
}
.pill-num {
  font-size: 20px;
  font-weight: 900;
  color: #F7931A;
  line-height: 1;
}
.pill-label {
  font-size: 10px;
  font-weight: 600;
  color: #475569;
  text-align: center;
  letter-spacing: 0.3px;
}

/* CTA */
.author-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #F7931A, #CC0000);
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  width: fit-content;
  transition: opacity 0.2s, transform 0.2s;
}
.author-cta:hover { opacity: 0.88; transform: translateX(3px); }

/* =============================================
   LEGAL INFO BOX
   ============================================= */
.legal-box-section { padding: 30px 0; }
.legal-info-box {
  background: rgba(204,0,0,0.08);
  border: 1px solid rgba(204,0,0,0.3);
  border-left: 4px solid #CC0000;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
}
.legal-icon { font-size: 24px; flex-shrink: 0; }
.legal-info-box strong { color: #fff; }
.legal-info-box a { color: #F7931A; font-weight: 600; }
.legal-info-box a:hover { text-decoration: underline; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0a1520;
  border-top: 1px solid #1e3a5f;
  padding-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 12px;
  font-weight: 700;
  color: #F7931A;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.footer-desc { font-size: 13px; color: #64748b; line-height: 1.7; margin-bottom: 16px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1e3a5f;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: #64748b;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #F7931A; }

/* Canadian Authorities column */
.footer-authorities li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  transition: color 0.2s;
}
.footer-authorities li a:hover { color: #fff; }
.auth-badge {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: #1e3a5f;
  color: #94a3b8;
  border-radius: 4px;
  padding: 2px 5px;
  min-width: 30px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.footer-authorities li a:hover .auth-badge {
  background: #F7931A;
  color: #fff;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #1e3a5f;
  padding: 24px 0;
  background: #070d14;
}
.footer-bottom-inner p {
  font-size: 12px;
  color: #475569;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 8px;
}
.footer-bottom-inner strong { color: #64748b; }
.footer-bottom-inner a { color: #F7931A; }
.footer-bottom-inner a:hover { text-decoration: underline; }
.footer-copyright {
  font-size: 12px !important;
  color: #334155 !important;
}

/* =============================================
   SCROLL TO TOP BUTTON (global)
   ============================================= */
.stt-btn {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #F7931A, #CC0000);
  color: #fff;
  box-shadow: 0 4px 20px rgba(247,147,26,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.28s, transform 0.28s;
}
.stt-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.stt-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 28px rgba(247,147,26,0.55);
}
.stt-icon { font-size: 14px; line-height: 1; }
.stt-label { font-size: 9px; font-weight: 900; letter-spacing: 0.5px; line-height: 1; }

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

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
  .casino-grid { grid-template-columns: repeat(2, 1fr); }
  /* why-timeline stays horizontal at 1024px */
  /* guides strips stay full width */
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-text h1 { font-size: 30px; }
}

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

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 998;
    background: #0a1520 !important;
    border-top: 1px solid #1e3a5f !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
  }
  .main-nav.open { display: block; }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0;
  }

  .nav-item, .nav-link { width: 100%; }
  .nav-link {
    padding: 12px 20px;
    border-bottom: 1px solid #1a2d42;
    border-left: 3px solid transparent;
  }
  .nav-link:hover, .nav-link.active {
    border-left-color: #F7931A;
    border-bottom-color: #1a2d42;
    background: #132030;
  }
  .nav-link.active { border-bottom: 1px solid #1a2d42; }

  .dropdown {
    display: none;
    position: static;
    transform: none;
    animation: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: #0a1520;
    padding: 0;
    min-width: 100%;
    border-left: 3px solid #F7931A;
    margin-left: 20px;
  }
  .dropdown a { padding: 10px 20px; border-left: none; font-size: 13px; }
  .dropdown a:hover { background: #132030; border-left: none; }
  .nav-item.mob-open .dropdown { display: block; }
  .nav-item.mob-open .arrow { transform: rotate(180deg); }
  .has-dropdown > .nav-link { pointer-events: auto; cursor: pointer; }
}

/* --- Mobile (≤768px) ---
   Topbar: single line ~30px
   Header: single row logo + hamburger ~58px
   hero padding-top = 30 + 58 + 16 gap = 104px
*/
@media (max-width: 768px) {
  /* Topbar: single line, show age warning only */
  .topbar-inner {
    flex-direction: row;
    justify-content: center;
    font-size: 11px;
  }
  .topbar-inner > span:first-child { display: none; }

  /* Header: below single-line topbar */
  .header { top: 30px; }

  /* Header row: logo left, hamburger right — no search, no lang */
  .header-inner { flex-wrap: nowrap; padding: 10px 16px; gap: 12px; }
  .search-bar { display: none; }
  .header-right .lang-flag { display: none; }
  .header-right .btn-primary { padding: 8px 14px; font-size: 13px; }

  /* Hero */
  .hero { padding-top: 104px; height: auto; min-height: 260px; }
  .hero-inner { flex-direction: column; gap: 14px; padding: 28px 20px 36px; height: auto; align-items: flex-start; }
  .hero-graphic { display: flex; width: 100%; }
  .hero-text { width: 100%; }
  .hero-text h1 { font-size: 26px; margin-bottom: 12px; }
  .hero-text p { font-size: 15px; margin-bottom: 0; max-width: 100%; }

  /* BTC widget: compact horizontal pill on mobile */
  .btc-price-widget {
    flex-direction: row;
    align-items: center;
    padding: 10px 16px;
    gap: 12px;
    border-radius: 50px;
    min-width: 0;
    width: 100%;
  }
  .btc-price-header { gap: 6px; flex-shrink: 0; }
  .btc-price-ticker { display: none; }
  .btc-price-main { border-top: none; padding-top: 0; flex-shrink: 0; }
  .btc-price-value { font-size: 17px; }
  .btc-price-row { flex: 1; justify-content: flex-end; }
  .btc-price-updated { display: none; }
  .btc-price-footer { display: none; }
  .maple-ring { display: none; }

  /* Grids */
  .casino-grid { grid-template-columns: 1fr; }
  /* Why section: switch to vertical accordion on mobile */
  .why-timeline {
    flex-direction: column;
    padding-left: 64px;
    gap: 0;
  }
  .why-timeline::before {
    top: 26px;
    bottom: 26px;
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, #F7931A, #CC0000);
  }
  .why-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 20px 0;
  }
  .why-item:last-child { padding-bottom: 0; }
  .why-dot {
    position: absolute;
    left: -64px;
    top: 0;
    margin-bottom: 0;
  }
  .why-row {
    min-height: 52px;
    display: flex;
    align-items: center;
  }
  .why-title {
    font-size: 15px;
    text-align: left;
    margin-bottom: 2px;
  }
  /* Expand panel: normal flow on mobile */
  .why-expand {
    position: static;
    transform: none;
    width: 100%;
    border-radius: 0 10px 10px 10px;
    animation: none;
    display: none;
    margin-top: 10px;
  }
  .why-item.open .why-expand { display: block; }
  .gstrip { grid-template-columns: 90px 1fr auto; min-height: 80px; }
  .gstrip-left { padding: 12px 22px 12px 14px; min-height: 80px; }
  .gstrip-icon { font-size: 22px; }
  .gstrip h4 { font-size: 14px; }
  .gstrip p { display: none; }
  .gstrip-right { padding: 14px 10px 14px 18px; }
  .gstrip-arrow { padding: 0 14px 0 4px; font-size: 18px; }

  /* Bonus banner */
  .bonus-banner-inner { flex-direction: column; text-align: center; gap: 20px; }

  /* How We Rate */
  .rate-row { grid-template-columns: 200px 1fr 48px; }
  .rate-header-text h2 { font-size: 22px; }

  /* Author */
  .author-card { grid-template-columns: 240px 1fr; }
  .author-name { font-size: 28px; }
  .author-content { padding: 28px 28px; }

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

  /* Tab header — stack vertically so images are full-width and text is readable */
  .tab-header {
    flex-direction: column;
    height: auto;
    border-radius: 10px;
  }
  .tab-head {
    flex: none;
    width: 100%;
    min-height: 80px;
    height: 80px;
    padding: 0;
    border-right: none;
    border-bottom: 1px solid #1e3a5f;
    background-size: cover;
    background-position: center;
  }
  .tab-head:last-of-type { border-bottom: none; }
  .tab-head.active { border-bottom: 1px solid #1e3a5f; border-left: 4px solid #F7931A; }
  .tab-head-showall {
    flex: none;
    width: 100%;
    padding: 10px 16px;
    border-top: 1px solid #1e3a5f;
    text-align: center;
    font-size: 12px;
  }

  .section-title { font-size: 20px; }
}

/* --- Small mobile (≤480px) --- */
@media (max-width: 480px) {
  .hero { padding-top: 96px; min-height: 240px; }
  .hero-inner { padding: 20px 16px 30px; }
  .hero-text h1 { font-size: 22px; }
  .hero-text p { font-size: 14px; }
  .btn { padding: 9px 16px; font-size: 13px; }
  .bonus-text h3 { font-size: 18px; }
  .card-tags { gap: 4px; }
  /* How We Rate */
  .rate-section::before { display: none; }
  .rate-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .rate-row { grid-template-columns: 1fr 44px; gap: 12px; padding: 14px 16px; }
  .rate-row-left { grid-column: 1 / -1; }
  .rate-weight { font-size: 12px; }
  /* Author */
  .author-card { grid-template-columns: 1fr; }
  .author-img-col { min-height: 260px; }
  .author-content { padding: 24px 20px; }
  .author-name { font-size: 26px; }
  .author-pills { gap: 8px; }
  .author-pill { min-width: 70px; padding: 8px 12px; }
  .header-inner { padding: 8px 12px; }
  .logo-text { font-size: 18px; }
  .logo-icon { width: 34px; height: 34px; font-size: 17px; }
  /* Only logo + hamburger on tiny screens */
  .header-right { display: none; }
  /* Scroll to top */
  .stt-btn { bottom: 16px; right: 12px; width: 44px; height: 44px; border-radius: 10px; }
}
