/* Rush for Diamonds: Hold and Win — Main Stylesheet
 * Domain: rushfordiamonds.net
 * Class prefix: .rfd-
 * Palette: Amber Mine / Diamond Blue (Visual Direction Variant A)
 * Fonts: Oswald (headlines) + Lato (body)
 */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --rfd-bg-deep:        #1A0E07;
  --rfd-bg-mid:         #241408;
  --rfd-bg-card:        #2E1A0C;
  --rfd-amber:          #8B4513;
  --rfd-amber-mid:      #6B3410;
  --rfd-amber-warm:     #C4702A;
  --rfd-amber-light:    #E8892E;
  --rfd-diamond-blue:   #4FC3F7;
  --rfd-diamond-glow:   #81D4FA;
  --rfd-gold:           #F5C842;
  --rfd-gold-soft:      #D4A828;
  --rfd-crimson:        #D32F2F;
  --rfd-purple:         #7B1FA2;
  --rfd-emerald:        #2E7D32;
  --rfd-text-primary:   #F5F0E8;
  --rfd-text-secondary: #BDB5A6;
  --rfd-text-muted:     #8A7E72;
  --rfd-border:         #3D2210;
  --rfd-nav-height:     60px;
}

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

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

body {
  background-color: var(--rfd-bg-deep);
  color: var(--rfd-text-primary);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-width: 320px;
  overflow-x: hidden;
}

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

a {
  color: var(--rfd-diamond-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--rfd-diamond-glow);
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--rfd-text-primary);
  letter-spacing: 0.03em;
}

ul, ol {
  padding-left: 1.5em;
}

table {
  width: 100%;
  border-collapse: collapse;
}

/* ===== TYPOGRAPHY ===== */
.rfd-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--rfd-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4em;
}

.rfd-section-subtitle {
  font-size: 1rem;
  color: var(--rfd-text-secondary);
  margin-bottom: 2rem;
}

/* ===== LAYOUT UTILITIES ===== */
.rfd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.rfd-section {
  padding: 4rem 0;
}

.rfd-section--amber {
  background-color: var(--rfd-bg-mid);
  border-top: 1px solid var(--rfd-border);
  border-bottom: 1px solid var(--rfd-border);
}

.rfd-section--dark {
  background-color: var(--rfd-bg-deep);
}

.rfd-section--card-bg {
  background-color: var(--rfd-bg-card);
}

/* ===== BLOCK 1: NAVIGATION ===== */
.rfd-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 14, 7, 0.97);
  border-bottom: 1px solid var(--rfd-border);
  backdrop-filter: blur(6px);
  height: var(--rfd-nav-height);
}

.rfd-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--rfd-nav-height);
  gap: 1rem;
}

.rfd-nav__brand {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rfd-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.rfd-nav__brand a {
  color: inherit;
}

.rfd-nav__provider-badge {
  font-size: 0.7rem;
  color: var(--rfd-text-secondary);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  margin-left: 0.5em;
  opacity: 0.8;
}

.rfd-nav__links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}

.rfd-nav__links a {
  font-size: 0.8rem;
  color: var(--rfd-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.2s;
}

.rfd-nav__links a:hover {
  color: var(--rfd-diamond-blue);
}

.rfd-nav__right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

/* Language Switcher */
.rfd-lang-switcher {
  display: flex;
  gap: 0.3rem;
  list-style: none;
  padding: 0;
  font-size: 0.75rem;
}

.rfd-lang-switcher li a,
.rfd-lang-switcher li span {
  display: inline-block;
  padding: 0.2em 0.5em;
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rfd-text-secondary);
  transition: color 0.2s, background 0.2s;
}

.rfd-lang-switcher li a:hover {
  color: var(--rfd-diamond-blue);
  background: rgba(79, 195, 247, 0.1);
}

.rfd-lang-switcher li.rfd-lang--active span,
.rfd-lang-switcher li.rfd-lang--active a {
  color: var(--rfd-gold);
  background: rgba(245, 200, 66, 0.12);
  pointer-events: none;
  cursor: default;
}

/* Nav CTA */
.rfd-nav__cta {
  display: inline-block;
  padding: 0.4em 1em;
  background: var(--rfd-emerald);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s;
}

.rfd-nav__cta:hover {
  background: #1B5E20;
  color: #fff;
}

/* ===== BLOCK 2: HERO ===== */
.rfd-hero {
  position: relative;
  min-height: 88vh;
  background-image: url('../images/rfd-hero-banner-desktop.png');
  background-size: cover;
  background-position: right 20% center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.rfd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 14, 7, 0.88) 0%,
    rgba(26, 14, 7, 0.65) 45%,
    rgba(26, 14, 7, 0.15) 75%,
    transparent 100%
  );
  pointer-events: none;
}

.rfd-hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 3rem 0;
}

/* Onlyplay Disambiguation Overlay Badge */
.rfd-hero__provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: rgba(211, 47, 47, 0.85);
  border: 1px solid rgba(211, 47, 47, 0.6);
  border-radius: 20px;
  padding: 0.3em 0.9em;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.rfd-hero__provider-badge::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

.rfd-hero__eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rfd-diamond-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.rfd-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--rfd-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.rfd-hero h1 .rfd-title-highlight {
  color: var(--rfd-diamond-blue);
}

.rfd-hero__subtitle {
  font-size: 1rem;
  color: var(--rfd-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

/* Stats pill strip */
.rfd-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.rfd-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: rgba(139, 69, 19, 0.35);
  border: 1px solid rgba(196, 112, 42, 0.4);
  border-radius: 20px;
  padding: 0.28em 0.75em;
  font-size: 0.78rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: var(--rfd-text-primary);
  white-space: nowrap;
}

.rfd-stat-pill--blue {
  background: rgba(79, 195, 247, 0.15);
  border-color: rgba(79, 195, 247, 0.35);
  color: var(--rfd-diamond-blue);
}

.rfd-stat-pill--gold {
  background: rgba(245, 200, 66, 0.15);
  border-color: rgba(245, 200, 66, 0.35);
  color: var(--rfd-gold);
}

/* CTA Buttons */
.rfd-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.rfd-btn-primary {
  display: inline-block;
  padding: 0.75em 2em;
  background: var(--rfd-emerald);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}

.rfd-btn-primary:hover {
  background: #1B5E20;
  color: #fff;
  transform: translateY(-1px);
}

.rfd-btn-secondary {
  display: inline-block;
  padding: 0.73em 1.8em;
  background: transparent;
  color: var(--rfd-text-secondary);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 5px;
  border: 1px solid rgba(189, 181, 166, 0.35);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-align: center;
}

.rfd-btn-secondary:hover {
  border-color: var(--rfd-diamond-blue);
  color: var(--rfd-diamond-blue);
}

/* ===== BLOCK 3: GAME SPECS PANEL ===== */
.rfd-specs {
  background: var(--rfd-bg-mid);
  border-top: 2px solid var(--rfd-amber-mid);
  border-bottom: 2px solid var(--rfd-amber-mid);
}

.rfd-specs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
}

.rfd-spec-item {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--rfd-border);
  border-bottom: 1px solid var(--rfd-border);
}

.rfd-spec-item:nth-child(n+7) {
  border-bottom: none;
}

.rfd-spec-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rfd-text-muted);
  margin-bottom: 0.3em;
}

.rfd-spec-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--rfd-text-primary);
  letter-spacing: 0.02em;
}

.rfd-spec-value--highlight {
  color: var(--rfd-diamond-blue);
}

.rfd-spec-value--gold {
  color: var(--rfd-gold);
}

.rfd-spec-note {
  font-size: 0.7rem;
  color: var(--rfd-text-muted);
  margin-top: 0.2em;
}

.rfd-specs__intro {
  padding: 2rem 0 0;
  max-width: 800px;
}

.rfd-specs__intro p {
  color: var(--rfd-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Specs table alternative */
.rfd-table {
  background: var(--rfd-bg-card);
  border: 1px solid var(--rfd-border);
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.9rem;
}

.rfd-table th {
  background: rgba(139, 69, 19, 0.3);
  padding: 0.75em 1em;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rfd-gold);
  border-bottom: 1px solid var(--rfd-border);
}

.rfd-table td {
  padding: 0.65em 1em;
  border-bottom: 1px solid rgba(61, 34, 16, 0.5);
  vertical-align: top;
  color: var(--rfd-text-secondary);
}

.rfd-table td:first-child {
  font-weight: 700;
  color: var(--rfd-text-primary);
  width: 40%;
  white-space: nowrap;
}

.rfd-table td em {
  font-style: normal;
  color: var(--rfd-text-muted);
  font-size: 0.8rem;
}

.rfd-table tbody tr:last-child td {
  border-bottom: none;
}

.rfd-table tbody tr:hover {
  background: rgba(139, 69, 19, 0.1);
}

/* ===== BLOCK 4: MECHANICS DEEP-DIVE ===== */
.rfd-mechanics__infographic-wrap {
  position: relative;
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--rfd-border);
}

.rfd-mechanics__infographic-wrap img {
  width: 100%;
  display: block;
}

.rfd-mechanics__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0;
  border: 1px solid var(--rfd-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.rfd-step {
  padding: 1rem 0.8rem;
  background: var(--rfd-bg-card);
  border-right: 1px solid var(--rfd-border);
  text-align: center;
}

.rfd-step:last-child {
  border-right: none;
}

.rfd-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--rfd-amber-warm);
  border-radius: 50%;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 0.5rem;
}

.rfd-step__title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rfd-diamond-blue);
  margin-bottom: 0.3rem;
}

.rfd-step__desc {
  font-size: 0.75rem;
  color: var(--rfd-text-secondary);
  line-height: 1.5;
}

.rfd-mechanics__body {
  max-width: 760px;
}

.rfd-mechanics__body ol {
  counter-reset: mechanics-counter;
  list-style: none;
  padding: 0;
}

.rfd-mechanics__body ol li {
  counter-increment: mechanics-counter;
  padding: 0.6em 0 0.6em 2.5em;
  position: relative;
  color: var(--rfd-text-secondary);
  border-bottom: 1px solid rgba(61, 34, 16, 0.4);
  font-size: 0.95rem;
}

.rfd-mechanics__body ol li:last-child {
  border-bottom: none;
}

.rfd-mechanics__body ol li::before {
  content: counter(mechanics-counter);
  position: absolute;
  left: 0;
  top: 0.6em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--rfd-diamond-blue);
  color: var(--rfd-bg-deep);
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
}

.rfd-subsection {
  margin-top: 2.5rem;
}

.rfd-subsection h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rfd-gold);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rfd-border);
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.rfd-subsection p {
  color: var(--rfd-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.rfd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.rfd-meta-tag {
  display: inline-flex;
  gap: 0.3em;
  font-size: 0.8rem;
  color: var(--rfd-text-secondary);
}

.rfd-meta-tag strong {
  color: var(--rfd-text-primary);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.rfd-callout {
  background: rgba(79, 195, 247, 0.06);
  border-left: 3px solid var(--rfd-diamond-blue);
  border-radius: 0 5px 5px 0;
  padding: 0.9em 1.2em;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--rfd-text-secondary);
}

.rfd-callout strong {
  color: var(--rfd-diamond-blue);
}

.rfd-callout-warning {
  background: rgba(211, 47, 47, 0.06);
  border-left-color: var(--rfd-crimson);
}

.rfd-callout-warning strong {
  color: #ef9a9a;
}

/* Mechanic Icons — Sprite Sheet (3x2 grid) */
.rfd-micon {
  display: inline-block;
  background-image: url('../images/rfd-mechanic-icons.png');
  background-size: 300% 200%;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 4px;
}

.rfd-micon--hold      { background-position: 0% 0%; }
.rfd-micon--respin    { background-position: 50% 0%; }
.rfd-micon--freespin  { background-position: 100% 0%; }
.rfd-micon--bonusbuy  { background-position: 0% 100%; }
.rfd-micon--rtp       { background-position: 50% 100%; }
.rfd-micon--maxwin    { background-position: 100% 100%; }

/* ===== BLOCK 5: JACKPOT SYSTEM ===== */
.rfd-jackpot-section {
  position: relative;
}

.rfd-jackpot-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 14, 7, 0.7);
  pointer-events: none;
}

.rfd-jackpot-display {
  position: relative;
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--rfd-border);
}

.rfd-jackpot-display > img {
  width: 100%;
  display: block;
  opacity: 0.6;
}

.rfd-jackpot-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.rfd-tier-card {
  background: var(--rfd-bg-card);
  border: 1px solid var(--rfd-border);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.rfd-tier-card:hover {
  transform: translateY(-3px);
}

.rfd-tier-card--grand {
  border-top: 3px solid var(--rfd-gold);
}

.rfd-tier-card--major {
  border-top: 3px solid var(--rfd-crimson);
}

.rfd-tier-card--minor {
  border-top: 3px solid var(--rfd-purple);
}

.rfd-tier-card--mini {
  border-top: 3px solid var(--rfd-emerald);
}

/* Jackpot Icons — Sprite Sheet (4 icons horizontal row) */
.rfd-jicon {
  display: block;
  background-image: url('../images/rfd-jackpot-icons.png');
  background-size: 400% 100%;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 4px;
}

.rfd-jicon--grand  { background-position: 0% 0%; }
.rfd-jicon--major  { background-position: 33.33% 0%; }
.rfd-jicon--minor  { background-position: 66.67% 0%; }
.rfd-jicon--mini   { background-position: 100% 0%; }

.rfd-tier-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.rfd-tier-card--grand  .rfd-tier-name { color: var(--rfd-gold); }
.rfd-tier-card--major  .rfd-tier-name { color: var(--rfd-crimson); }
.rfd-tier-card--minor  .rfd-tier-name { color: #CE93D8; }
.rfd-tier-card--mini   .rfd-tier-name { color: #81C784; }

.rfd-tier-size {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rfd-text-primary);
  margin-bottom: 0.5rem;
}

.rfd-tier-trigger {
  font-size: 0.78rem;
  color: var(--rfd-text-secondary);
  line-height: 1.5;
}

/* ===== BLOCK 6: HOW TO PLAY / PAYLINES ===== */
.rfd-howtoplay {
  counter-reset: howtoplay;
}

.rfd-howtoplay__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.rfd-howstep {
  display: flex;
  gap: 1rem;
  background: var(--rfd-bg-card);
  border: 1px solid var(--rfd-border);
  border-radius: 6px;
  padding: 1.2rem;
  counter-increment: howtoplay;
}

.rfd-howstep__num {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--rfd-amber-warm);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  padding-top: 0.15em;
}

.rfd-howstep__body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.3em;
  color: var(--rfd-text-primary);
}

.rfd-howstep__body p {
  font-size: 0.85rem;
  color: var(--rfd-text-secondary);
  line-height: 1.5;
}

.rfd-paylines-wrap {
  margin: 2rem 0;
  text-align: center;
  background: var(--rfd-bg-card);
  border: 1px solid var(--rfd-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.rfd-paylines-wrap img {
  max-width: 560px;
  margin: 0 auto;
}

.rfd-paylines-caption {
  font-size: 0.8rem;
  color: var(--rfd-text-muted);
  margin-top: 0.8rem;
}

/* ===== BLOCK 7: COMPARISON ===== */
.rfd-comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rfd-border);
  border-radius: 8px;
  margin: 2rem 0;
}

.rfd-comparison-table {
  background: var(--rfd-bg-card);
  font-size: 0.88rem;
  min-width: 640px;
}

.rfd-comparison-table th {
  background: rgba(139, 69, 19, 0.3);
  padding: 0.8em 1em;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rfd-gold);
  border-bottom: 1px solid var(--rfd-border);
}

.rfd-comparison-table td {
  padding: 0.65em 1em;
  border-bottom: 1px solid rgba(61, 34, 16, 0.5);
  color: var(--rfd-text-secondary);
  vertical-align: top;
}

.rfd-comparison-table td.rfd-col-highlight {
  color: var(--rfd-text-primary);
  font-weight: 700;
}

.rfd-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.rfd-comparison-table tbody tr:first-child td {
  background: rgba(79, 195, 247, 0.05);
}

/* ===== BLOCK 8: DEMO CTA ===== */
.rfd-demo-section {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.15) 0%, var(--rfd-bg-mid) 60%);
  border: 1px solid rgba(46, 125, 50, 0.2);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
}

.rfd-demo-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.rfd-demo-section p {
  color: var(--rfd-text-secondary);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.rfd-demo-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
}

.rfd-demo-list li a {
  display: inline-block;
  padding: 0.6em 1.4em;
  background: var(--rfd-bg-card);
  border: 1px solid var(--rfd-border);
  border-radius: 5px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rfd-diamond-blue);
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}

.rfd-demo-list li a:hover {
  border-color: var(--rfd-diamond-blue);
  background: rgba(79, 195, 247, 0.08);
}

/* ===== BLOCK 9: OPERATOR CTA ===== */
.rfd-operators-section {}

.rfd-operator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.rfd-operator-card {
  background: var(--rfd-bg-card);
  border: 1px solid var(--rfd-border);
  border-radius: 6px;
  padding: 1.2rem;
  transition: border-color 0.2s, transform 0.15s;
}

.rfd-operator-card:hover {
  border-color: var(--rfd-amber-warm);
  transform: translateY(-2px);
}

.rfd-operator-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3em;
  color: var(--rfd-gold);
}

.rfd-operator-card p {
  font-size: 0.8rem;
  color: var(--rfd-text-secondary);
  margin-bottom: 0.8rem;
}

.rfd-operator-card a {
  font-size: 0.8rem;
  color: var(--rfd-diamond-blue);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rfd-geo-note {
  background: rgba(245, 200, 66, 0.06);
  border-left: 3px solid var(--rfd-gold-soft);
  border-radius: 0 5px 5px 0;
  padding: 0.9em 1.2em;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--rfd-text-secondary);
}

.rfd-geo-note strong {
  color: var(--rfd-gold);
}

/* ===== BLOCK 10: ABOUT ONLYPLAY ===== */
.rfd-about {
  background: var(--rfd-bg-mid);
  border-top: 1px solid var(--rfd-border);
}

.rfd-about-inner {
  max-width: 760px;
}

.rfd-about-inner p {
  font-size: 0.95rem;
  color: var(--rfd-text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ===== BLOCK 11: FAQ ===== */
.rfd-faq {}

.rfd-faq-list {
  max-width: 800px;
  list-style: none;
  padding: 0;
}

.rfd-faq-item {
  border: 1px solid var(--rfd-border);
  border-radius: 6px;
  margin-bottom: 0.6rem;
  overflow: hidden;
  background: var(--rfd-bg-card);
}

.rfd-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rfd-text-primary);
  transition: color 0.2s;
  user-select: none;
}

.rfd-faq-question:hover {
  color: var(--rfd-diamond-blue);
}

.rfd-faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--rfd-diamond-blue);
  font-weight: 300;
  transition: transform 0.2s;
}

.rfd-faq-item.rfd-faq--open .rfd-faq-question::after {
  transform: rotate(45deg);
}

.rfd-faq-answer {
  display: none;
  padding: 0 1.2rem 1rem;
  font-size: 0.9rem;
  color: var(--rfd-text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--rfd-border);
  padding-top: 0.8rem;
  margin-top: 0;
}

.rfd-faq-item.rfd-faq--open .rfd-faq-answer {
  display: block;
}

/* ===== BLOCK 12: FOOTER ===== */
.rfd-footer {
  background: var(--rfd-bg-mid);
  border-top: 2px solid var(--rfd-amber-mid);
  padding: 3rem 0 2rem;
}

.rfd-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.rfd-footer__brand {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rfd-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.rfd-footer__editorial {
  font-size: 0.8rem;
  color: var(--rfd-text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.rfd-footer__col h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--rfd-text-secondary);
  margin-bottom: 0.8rem;
}

/* Footer Language Switcher */
.rfd-footer-lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  list-style: none;
  padding: 0;
}

.rfd-footer-lang li a,
.rfd-footer-lang li span {
  display: inline-block;
  padding: 0.2em 0.5em;
  font-size: 0.78rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rfd-text-muted);
  border-radius: 3px;
  transition: color 0.2s;
}

.rfd-footer-lang li a:hover {
  color: var(--rfd-diamond-blue);
}

.rfd-footer-lang li.rfd-lang--active span,
.rfd-footer-lang li.rfd-lang--active a {
  color: var(--rfd-gold);
  pointer-events: none;
}

.rfd-footer__bottom {
  border-top: 1px solid var(--rfd-border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.rfd-footer__disclaimer {
  font-size: 0.75rem;
  color: var(--rfd-text-muted);
  line-height: 1.6;
  max-width: 600px;
}

.rfd-footer__meta {
  font-size: 0.72rem;
  color: var(--rfd-text-muted);
  text-align: right;
}

.rfd-badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--rfd-crimson);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 0.5em;
}

/* ===== SECTION DECORATION ===== */
.rfd-section-decoration {
  display: block;
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  margin-bottom: 2rem;
  border-radius: 6px;
}

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

/* Tablet 768–1280 */
@media (max-width: 1100px) {
  .rfd-nav__links {
    display: none;
  }

  .rfd-jackpot-tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .rfd-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .rfd-hero {
    background-image: url('../images/rfd-hero-banner-tablet.png');
    background-position: center right;
    min-height: 75vh;
  }

  .rfd-mechanics__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .rfd-howtoplay__steps {
    grid-template-columns: 1fr;
  }
}

/* Mobile language select — hidden on desktop/tablet, shown on mobile only */
.rfd-lang-select {
  display: none;
}

/* Mobile ≤520px */
@media (max-width: 520px) {
  /* Header: hide subtitle and PLAY DEMO CTA */
  .rfd-nav__provider-badge {
    display: none;
  }

  .rfd-nav__cta {
    display: none;
  }

  /* Language switcher: hide list, show native select */
  .rfd-lang-switcher {
    display: none;
  }

  .rfd-lang-select {
    display: block;
    background: var(--rfd-bg-card);
    color: var(--rfd-gold);
    border: 1px solid var(--rfd-border);
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3em 0.5em;
    cursor: pointer;
    min-height: 36px;
  }

  .rfd-lang-select:focus {
    outline: 2px solid var(--rfd-diamond-blue);
    outline-offset: 2px;
  }

  .rfd-hero {
    background-image: url('../images/rfd-hero-banner-mobile.png');
    background-position: 0px -470px;
    background-size: cover;
    min-height: auto;
    padding-top: 55vw;
    align-items: flex-end;
  }

  .rfd-hero::before {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(26, 14, 7, 0.75) 40%,
      rgba(26, 14, 7, 0.95) 65%,
      var(--rfd-bg-deep) 100%
    );
  }

  .rfd-hero__content {
    max-width: 100%;
    padding: 1.5rem 0 2rem;
    text-align: center;
  }

  .rfd-hero__provider-badge {
    margin: 0 auto 1rem;
  }

  .rfd-hero__stats {
    justify-content: center;
  }

  .rfd-cta-group {
    justify-content: center;
  }

  /* 44px tap target for hero/section buttons on mobile (nav CTA hidden) */
  .rfd-btn-primary,
  .rfd-btn-secondary {
    min-height: 44px;
    padding: 0.75em 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rfd-specs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rfd-jackpot-tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .rfd-mechanics__steps {
    grid-template-columns: 1fr;
  }

  .rfd-footer__grid {
    grid-template-columns: 1fr;
  }

  .rfd-footer__bottom {
    flex-direction: column;
  }

  .rfd-footer__meta {
    text-align: left;
  }

  .rfd-nav__brand {
    font-size: 0.9rem;
  }

  .rfd-section {
    padding: 2.5rem 0;
  }

  /* HOW TO PLAY: paylines image must not overflow viewport */
  .rfd-paylines-wrap img {
    max-width: 100%;
    width: 100%;
  }

  /* Bonus features 2-col inline grid → single column on mobile */
  .rfd-bonus-cols {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 360px) {
  .rfd-specs__grid {
    grid-template-columns: 1fr;
  }
}
