/* ==========================================================================
   lad-brokesbet.com — Design System & Responsive Stylesheet
   Mobile-First Architecture with Full Viewport Adaptability (320px – 4K)
   ========================================================================== */

:root {
  /* -- Colour tokens mirrored 1:1 from the official Ladbrokes brand hub -- */
  --bg: #efeff3;
  --surface: #ffffff;
  --text: #1d1e22;
  --text-muted: #4b5262;
  --accent: #f01e28;
  --accent-hover: #ff0010;
  --accent-dark: #b80d15;
  --cta: #8bbd23;
  --cta-hover: #79a51e;
  --gold: #f59e0b;
  --gold-hover: #d97706;
  --border: #e1e3ea;
  --border-light: rgba(255, 255, 255, 0.1);
  --highlight: #fff200;
  --dark: #0f131c;
  --dark-surface: #151a26;
  --white: #ffffff;
  --black: #000000;

  /* -- Typography -- */
  --font-heading: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* -- Layout scale -- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container: 1180px;
  --tap-min: 44px;
  --gap: 1.25rem;
}

/* ==========================================================================
   Global Reset & Viewport Containment (Zero Horizontal Overflow Guarantee)
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: var(--accent-hover);
}

p, h1, h2, h3, h4, h5, h6, li, td, th, div, span, a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(1.45rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.25rem, 4vw, 1.85rem); }
h3 { font-size: clamp(1.05rem, 3vw, 1.35rem); }
h4 { font-size: 1rem; }

p {
  margin-bottom: 1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 768px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

/* ==========================================================================
   Header & Navigation (Fully Adaptive & Mobile-Cramming-Free)
   ========================================================================== */

.site-header {
  background: #0f131c;
  background: linear-gradient(180deg, #141824 0%, #0d1017 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  width: 100%;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 0.5rem;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo img {
  height: 34px;
  width: auto;
  max-width: 165px;
  display: block;
}

.logo:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Desktop Navigation */
.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: #cfd4dc;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.main-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.main-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(240, 30, 40, 0.2);
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  text-decoration: none;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-header-login {
  height: 34px;
  padding: 0 0.85rem;
  color: #e2e6ed;
  font-size: 0.825rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.btn-header-login:hover {
  color: #ffffff;
  border-color: var(--accent);
  background: rgba(240, 30, 40, 0.15);
}

.btn-header-play {
  height: 34px;
  padding: 0 0.95rem;
  color: #ffffff;
  font-size: 0.825rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f01e28 0%, #d00e17 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 3px 10px rgba(240, 30, 40, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.btn-header-play:hover {
  background: linear-gradient(135deg, #ff2b36 0%, #e5101a 100%);
  box-shadow: 0 5px 14px rgba(240, 30, 40, 0.55);
  transform: translateY(-1px);
  color: #ffffff;
}

/* Language Dropdown Selector */
.lang-dropdown {
  position: relative;
  display: inline-flex;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.lang-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-current {
  line-height: 1;
}

.lang-arrow {
  transition: transform 0.2s ease, color 0.2s ease;
  color: #a0a6b5;
  flex-shrink: 0;
}

.lang-dropdown.is-open .lang-arrow {
  transform: rotate(180deg);
  color: #ffffff;
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 145px;
  background: #131722;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  padding: 5px;
  list-style: none;
  margin: 0;
  z-index: 1001;
}

.lang-dropdown.is-open .lang-dropdown-menu {
  display: block;
  animation: dropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .lang-dropdown:hover .lang-dropdown-menu {
    display: block;
  }
  .lang-dropdown:hover .lang-arrow {
    transform: rotate(180deg);
  }
}

.lang-dropdown-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: all 0.15s ease;
}

.lang-option .lang-code {
  font-size: 0.825rem;
  font-weight: 800;
  color: #ffffff;
}

.lang-option .lang-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: #8f98a8;
  margin-left: 8px;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-option.active {
  background: rgba(240, 30, 40, 0.18);
  border-left: 3px solid var(--accent);
}

.lang-option.active .lang-code {
  color: #ffffff;
}

.lang-option.active .lang-name {
  color: #ffd452;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Burger Toggle Button */
.nav-toggle.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.nav-toggle.burger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle.burger span,
.nav-toggle.burger span::before,
.nav-toggle.burger span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  position: relative;
  transition: all 0.25s ease;
}

.nav-toggle.burger span::before { position: absolute; top: -5px; }
.nav-toggle.burger span::after { position: absolute; top: 5px; }

.nav-toggle.burger[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle.burger[aria-expanded="true"] span::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle.burger[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Desktop Header Layout */
@media (min-width: 1040px) {
  .site-header .container {
    min-height: 64px;
    gap: 1rem;
  }
  .nav-toggle.burger {
    display: none;
  }
  .main-nav {
    display: flex !important;
    align-items: center;
    margin-left: auto;
    margin-right: 0.75rem;
  }
  .logo img {
    height: 38px;
    max-width: 185px;
  }
}

/* Tablet & Mobile Header Layout */
@media (max-width: 1039px) {
  .btn-header-login {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #11151f;
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    padding: 1rem 0.85rem;
    z-index: 999;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }
  .main-nav.is-open {
    display: block;
    animation: menuSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e6ed;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    background: rgba(240, 30, 40, 0.2);
    border-color: rgba(240, 30, 40, 0.35);
    color: #ffffff;
  }
}

/* Mobile Screen Tuning (< 768px) */
@media (max-width: 767px) {
  .site-header .container {
    min-height: 56px;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    gap: 0.35rem;
  }
  .logo img {
    height: 28px;
    max-width: 125px;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .btn-header-play {
    height: 32px;
    padding: 0 0.65rem;
    font-size: 0.75rem;
    letter-spacing: 0;
  }
  .lang-dropdown-btn {
    height: 32px;
    padding: 0 0.55rem;
    font-size: 0.75rem;
  }
  .nav-toggle.burger {
    width: 34px;
    height: 32px;
  }
}

/* Extra Compact Mobile Screen (< 380px, e.g. iPhone SE, 360px devices) */
@media (max-width: 379px) {
  .site-header .container {
    gap: 0.25rem;
  }
  .logo img {
    height: 24px;
    max-width: 105px;
  }
  .btn-header-play {
    height: 30px;
    padding: 0 0.5rem;
    font-size: 0.7rem;
  }
  .lang-dropdown-btn {
    height: 30px;
    padding: 0 0.45rem;
    font-size: 0.7rem;
  }
  .nav-toggle.burger {
    width: 30px;
    height: 30px;
  }
  .nav-toggle.burger span,
  .nav-toggle.burger span::before,
  .nav-toggle.burger span::after {
    width: 16px;
  }
}

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */

.hero-banner {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 19, 28, 0.88) 0%, rgba(20, 24, 35, 0.96) 100%),
              url('/foto/banner.webp') center/cover no-repeat;
  color: var(--white);
  padding: 3.5rem 1rem;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 -20px 30px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.hero-banner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
  gap: 1.15rem;
}

.hero-banner h1 {
  color: var(--white);
  font-size: clamp(1.45rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-banner h1 .hero-sub {
  display: block;
  font-size: clamp(1.1rem, 3.8vw, 2rem);
  font-weight: 800;
  margin-top: 0.35rem;
  color: #FFFFFF;
}

.hero-badge-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(240, 180, 25, 0.15);
  border: 2px solid rgba(245, 186, 49, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-md);
  margin: 0.15rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(245, 186, 49, 0.1);
  max-width: 100%;
}

.hero-badge-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFD452;
  margin-bottom: 0.15rem;
}

.hero-badge-value {
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.hero-banner .hero-intro {
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-banner .hero-intro strong {
  color: #FFFFFF;
  font-weight: 700;
}

.hero-banner .hero-intro .hl-green {
  color: #34D399;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.hero-banner .hero-intro .hl-gold {
  color: #FBBF24;
  font-weight: 600;
}

.hero-play,
.hero-cta-btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45), 0 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  margin-top: 0.35rem;
  width: fit-content;
}

.hero-play:hover,
.hero-cta-btn:hover,
.cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.6), 0 3px 8px rgba(0, 0, 0, 0.4);
  filter: brightness(1.08);
  color: #FFFFFF;
}

.hero-banner .hero-media {
  display: none;
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 2.25rem 0.75rem;
  }
  .hero-banner .hero-intro {
    font-size: 0.94rem;
    line-height: 1.55;
  }
  .hero-play,
  .hero-cta-btn,
  .cta-btn {
    width: 100%;
    max-width: 320px;
    padding: 0.75rem 1.5rem;
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   Games Grid (Adaptive 2-col on Mobile, No Side-Cutoffs)
   ========================================================================== */

.games-grid {
  padding: 2.5rem 0;
  width: 100%;
}

.games-grid h2 {
  margin-bottom: 0.5rem;
}

.games-grid > .container > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.games-grid .grid,
.games-grid-inner {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  align-items: stretch;
  width: 100%;
}

.game-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.card-media,
.game-poster {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: #0f131c;
  aspect-ratio: 2/3;
  width: 100%;
}

.card-media img,
.game-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.game-card:hover .card-media img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.925rem;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.game-card:hover .play-overlay,
.play-overlay:focus {
  opacity: 1;
}

.card-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 auto;
  min-width: 0;
}

.card-body h3,
.game-card h3 {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-body .provider,
.game-provider {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.card-body .game-desc,
.card-body .note,
.game-note {
  flex: 1 1 auto;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-play {
  margin-top: auto;
  min-height: 44px;
}

@media (max-width: 768px) {
  .games-grid {
    padding: 1.75rem 0;
  }
  .games-grid .grid,
  .games-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .card-body {
    padding: 0.65rem 0.5rem;
  }
  .card-body h3 {
    font-size: 0.88rem;
  }
  .card-body .provider {
    font-size: 0.7rem;
  }
  .card-body .game-desc {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

@media (max-width: 380px) {
  .games-grid .grid,
  .games-grid-inner {
    gap: 0.5rem;
  }
  .card-body {
    padding: 0.5rem 0.4rem;
  }
  .card-body h3 {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Trust Block & Trust List
   ========================================================================== */

.trust-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin: 2.25rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  width: 100%;
}

.trust-block h2 {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  width: 100%;
}

.trust-list li {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1rem 1rem 2.75rem;
  font-size: 0.925rem;
  line-height: 1.45;
  color: var(--text);
  min-width: 0;
}

.trust-list li::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 0.85rem;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310B981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.trust-list strong {
  display: inline;
  color: var(--text);
}

@media (max-width: 768px) {
  .trust-block {
    padding: 1.35rem 0.95rem;
    margin: 1.75rem 0;
  }
  .trust-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .trust-list li {
    padding: 0.85rem 0.85rem 0.85rem 2.5rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   Steps Section & List
   ========================================================================== */

.steps-section {
  padding: 2.5rem 0;
  width: 100%;
}

.steps-section h2 {
  margin-bottom: 0.75rem;
}

.steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  width: 100%;
}

.steps-list li {
  counter-increment: step-counter;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.15rem 1.15rem 3.4rem;
  font-size: 0.925rem;
  line-height: 1.5;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  top: 1.1rem;
  left: 0.9rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #D97706 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.825rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(229, 25, 38, 0.35);
}

.steps-list li:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.steps-list strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

@media (max-width: 768px) {
  .steps-section {
    padding: 1.75rem 0;
  }
  .steps-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .steps-list li {
    padding: 0.95rem 0.95rem 0.95rem 3.2rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   Content Block
   ========================================================================== */

.content-block {
  padding: 2rem 0;
  width: 100%;
}

.content-block h2 {
  margin-top: 1.85rem;
  margin-bottom: 0.75rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.15rem;
}

.content-block ul,
.content-block ol {
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
}

.content-block li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .content-block {
    padding: 1.5rem 0;
  }
  .content-block p {
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .content-block li {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Promotions Cards & Grid
   ========================================================================== */

.promotions-cards {
  padding: 2.25rem 0;
  width: 100%;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
  width: 100%;
}

.promo-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  min-width: 0;
}

.promo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #FFB800 100%);
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.promo-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.promo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(240, 30, 40, 0.12) 0%, rgba(255, 184, 0, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.promo-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background: rgba(240, 30, 40, 0.08);
  color: var(--accent);
  border: 1px solid rgba(240, 30, 40, 0.2);
}

.promo-badge.gold {
  background: rgba(255, 184, 0, 0.1);
  color: #B8860B;
  border-color: rgba(255, 184, 0, 0.3);
}

.promo-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

.promo-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.promo-card .cta-btn {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 768px) {
  .promotions-cards {
    padding: 1.5rem 0;
  }
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .promo-card {
    padding: 1.15rem 1rem;
  }
}

/* ==========================================================================
   FAQ Section & Accessible Accordion
   ========================================================================== */

.faq-section {
  padding: 2.5rem 0;
  width: 100%;
}

.faq-section h2 {
  margin-bottom: 1.25rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

details.faq-item:hover {
  border-color: rgba(240, 30, 40, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

details.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(240, 30, 40, 0.08);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  gap: 0.75rem;
  list-style: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--accent);
}

details.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.15rem 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 0.35rem;
  padding-top: 0.75rem;
}

.faq-answer p {
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 1.75rem 0;
  }
  details.faq-item summary {
    padding: 0.85rem 0.95rem;
    font-size: 0.9rem;
  }
  .faq-answer {
    padding: 0.65rem 0.95rem 0.85rem;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.final-cta {
  padding: 2rem 0;
  width: 100%;
}

.final-cta .cta-card {
  background: linear-gradient(135deg, #121622 0%, #1e0d11 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.final-cta .cta-card h2 {
  color: var(--white);
  font-size: clamp(1.35rem, 4.5vw, 2.1rem);
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.final-cta .cta-card p {
  max-width: 620px;
  margin: 0 auto 1.5rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .final-cta {
    padding: 1.25rem 0;
  }
  .final-cta .cta-card {
    padding: 1.85rem 1rem;
    border-radius: var(--radius-md);
  }
  .final-cta .cta-card p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
}

/* ==========================================================================
   Internal Links Grid
   ========================================================================== */

.internal-links-section {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  width: 100%;
}

.internal-links-section h2 {
  font-size: clamp(1.15rem, 3.5vw, 1.5rem);
  margin-bottom: 0.4rem;
}

.internal-links-section > .container > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.internal-links-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.internal-links-grid li {
  margin: 0;
}

.internal-links-grid a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s ease;
}

.internal-links-grid a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .internal-links-section {
    padding: 1.5rem 0 2rem;
    margin-top: 1.5rem;
  }
  .internal-links-grid a {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Responsive Tables
   ========================================================================== */

.table-scroll,
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  width: 100%;
  display: block;
}

table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

table th, table td,
.data-table th, .data-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0.95rem;
  text-align: left;
  font-size: 0.9rem;
}

table thead th,
.data-table thead th {
  background: var(--bg);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--border);
}

table tbody tr:last-child td,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

table tbody tr:hover,
.data-table tbody tr:hover {
  background: rgba(240, 30, 40, 0.02);
}

@media (max-width: 768px) {
  table th, table td,
  .data-table th, .data-table td {
    padding: 0.6rem 0.75rem;
    font-size: 0.825rem;
  }
}

/* ==========================================================================
   Footer & Mobile Sticky CTA
   ========================================================================== */

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 2.25rem 0 5.75rem;
  text-align: center;
  width: 100%;
}

.site-footer a {
  color: var(--highlight);
}

.site-footer .rg-note {
  font-size: 0.85rem;
  color: #a4abb8;
  max-width: 720px;
  margin: 0 auto 1.15rem;
  line-height: 1.5;
}

.site-footer .footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.site-footer .footer-legal a {
  color: #cfd4dc;
  font-size: 0.85rem;
  text-decoration: underline;
}

.site-footer .footer-legal a:hover {
  color: #ffffff;
}

.site-footer p:last-child {
  margin: 0;
  font-size: 0.8rem;
  color: #7b8394;
}

@media (min-width: 900px) {
  .site-footer {
    padding-bottom: 2.5rem;
  }
}

/* Mobile Sticky Bottom CTA Bar */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: rgba(15, 19, 28, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f01e28 0%, #d00e17 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(240, 30, 40, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sticky-cta a:hover {
  background: linear-gradient(135deg, #ff2b36 0%, #e5101a 100%);
  color: var(--white);
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}
