/* =============================================
   xe8 LIVE BACCARAT PAGE — style.css
   Nav: WHITE | Footer: LIGHT GREY (designer spec)
   Primary commercial page — conversion-optimised
   ============================================= */

:root {
  --navy:        #1a2461;
  --navy-mid:    #022a99;
  --blue-acc:    #022a99;
  --orange:      #ff7f00;
  --orange-dark: #d96b00;
  --orange-soft: #fff3e0;
  --white:       #ffffff;
  --off-white:   #f5f6fa;
  --footer-bg:   #eef0f5;
  --grey-light:  #e2e4ed;
  --grey-mid:    #8a90a8;
  --grey-dark:   #555a6e;
  --green:       #1a7a4a;
  --green-soft:  #edf7f2;
  --text-dark:   #111827;
  --text-body:   #374151;
  --text-legal:  #1f2937;
  --gold:        #c9a227;
  --gold-soft:   #fdf8ec;

  --nav-bg:     #ffffff;
  --nav-border: #e2e4ed;
  --nav-text:   #374151;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.16);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: 'Barlow', sans-serif; font-size: 16px; color: var(--text-body); background: var(--white); line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--blue-acc); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; padding: 0; }

h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-dark);
}
h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
}
h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
h4 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}
p {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
}

.label-text { font-size: clamp(12px, 1.4vw, 14px); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3; color: var(--grey-mid); }
.highlight-orange { color: var(--orange); }
.highlight-gold   { color: var(--gold); }

.container    { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-md { width: 100%; max-width: 860px;  margin: 0 auto; padding: 0 20px; }
.section-pad    { padding: 60px 0; }
.section-pad-sm { padding: 40px 0; }

.btn { display: inline-block; padding: 13px 28px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; transition: background var(--transition), transform var(--transition), box-shadow var(--transition); text-align: center; text-decoration: none; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,127,0,0.35); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-1px); text-decoration: none; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); text-decoration: none; }

/* =============================================
   NAVIGATION — White per designer
   ============================================= */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.logo-xe { font-size: 1.55rem; font-weight: 900; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.logo-8  { font-size: 1.55rem; font-weight: 900; color: var(--orange); letter-spacing: -0.03em; line-height: 1; }

.nav-links { display: none; gap: 2px; align-items: center; }
.nav-item { position: relative; }
.nav-item > a { display: block; color: var(--nav-text); font-size: 0.82rem; font-weight: 600; padding: 6px 11px; border-radius: var(--radius-sm); letter-spacing: 0.02em; text-transform: uppercase; transition: color var(--transition); text-decoration: none; }
.nav-item > a:hover  { color: var(--orange); }
.nav-item > a.active { color: var(--orange); }

.nav-item.has-dropdown > a::after { content: ''; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; margin-left: 5px; vertical-align: middle; opacity: 0.6; }
.dropdown { display: none; position: absolute; top: calc(100% + 4px); left: 0; background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius-md); min-width: 210px; box-shadow: var(--shadow-md); z-index: 300; overflow: hidden; }
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown.open  .dropdown { display: block; }
.dropdown a { display: block; padding: 11px 16px; font-size: 0.82rem; font-weight: 600; color: var(--text-body); border-bottom: 1px solid var(--grey-light); transition: color var(--transition), background var(--transition); text-decoration: none; }
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--orange); background: var(--off-white); }

.nav-right { display: none; align-items: center; gap: 10px; }

.nav-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(13,27,75,0.35);
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-login:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

@keyframes register-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(255,127,0,0.4), 0 0 0 0 rgba(255,127,0,0.25); }
  50%       { box-shadow: 0 4px 14px rgba(255,127,0,0.4), 0 0 0 8px rgba(255,127,0,0); }
}
.nav-register {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 6px;
  white-space: nowrap;
  animation: register-pulse 2.5s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.nav-register:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,127,0,0.6);
  animation: none;
  color: var(--white);
}

.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.25s ease; }

.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--nav-border); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.mobile-menu.open { display: block; }
.mobile-menu > a { display: block; color: var(--text-dark); font-size: 0.9rem; font-weight: 600; padding: 13px 24px; border-bottom: 1px solid var(--grey-light); text-transform: uppercase; letter-spacing: 0.03em; transition: color var(--transition), background var(--transition); text-decoration: none; }
.mobile-menu > a:hover  { color: var(--orange); background: var(--off-white); }
.mobile-menu > a.active { color: var(--orange); }
.mobile-sub { background: var(--off-white); border-bottom: 1px solid var(--grey-light); }
.mobile-sub a { display: block; color: var(--grey-dark); font-size: 0.85rem; font-weight: 600; padding: 10px 24px 10px 36px; border-bottom: 1px solid var(--grey-light); transition: color var(--transition); text-decoration: none; }
.mobile-sub a:last-child { border-bottom: none; }
.mobile-sub a:hover { color: var(--orange); }
.mobile-menu-actions {
  display: flex;
  gap: 10px;
  padding: 16px 20px 20px;
}
.mobile-menu-actions a {
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, filter 0.2s;
}
.mobile-login {
  color: var(--navy);
  border: 2px solid rgba(13,27,75,0.35);
}
.mobile-login:hover {
  background: var(--navy);
  color: var(--white);
}
.mobile-register {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: 0 4px 12px rgba(255,127,0,0.35);
}
.mobile-register:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(255,127,0,0.5);
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--grey-light); padding: 10px 0; }
.breadcrumb-inner { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.8rem; color: var(--grey-mid); }
.breadcrumb-inner a { color: var(--blue-acc); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner .current { color: var(--text-dark); font-weight: 600; }

/* =============================================
   HERO — Commercial / dark navy
   ============================================= */
.baccarat-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #022a99 50%, #0d1b3e 100%);
  padding: 52px 0 0;
  overflow: hidden;
  position: relative;
}

.baccarat-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(43,77,184,0.3) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.hero-text { text-align: center; padding: 0 20px; }
.hero-text .label-text { color: var(--orange); margin-bottom: 12px; }
.hero-text h1 { color: var(--white); margin-bottom: 16px; }
.hero-text h1 span { color: var(--orange); }
.hero-text p  { color: rgba(255,255,255,0.78); font-size: 1rem; max-width: 580px; margin: 0 auto 24px; line-height: 1.75; }

.hero-rtp-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(201,162,39,0.15); border: 1px solid rgba(201,162,39,0.4);
  border-radius: 20px; padding: 8px 18px; margin-bottom: 20px;
}
.hero-rtp-badge .rtp-num { font-size: 1.1rem; font-weight: 900; color: var(--gold); }
.hero-rtp-badge .rtp-label { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.8); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.hero-chip  { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.88); font-size: 14px; font-weight: 600; padding: 5px 14px; border-radius: 16px; }

.hero-btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero-image { width: 100%; max-width: 440px; padding: 0 20px; }
.hero-image img { width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header { margin-bottom: 32px; }
.section-header .label-text { margin-bottom: 8px; }
.section-header h2 { margin-bottom: 12px; }
.section-header .section-desc { font-size: 0.97rem; color: var(--text-body); line-height: 1.75; max-width: 700px; }

/* =============================================
   HOW IT WORKS — card rules + bet table
   ============================================= */
.rules-section { background: var(--white); }

.rules-body { font-size: 0.97rem; color: var(--text-body); line-height: 1.8; margin-bottom: 20px; }
.rules-body strong { color: var(--text-dark); }

.rules-list { margin: 16px 0 24px; }
.rules-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 14px; margin-bottom: 8px;
  background: var(--off-white); border: 1px solid var(--grey-light);
  border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text-body); line-height: 1.65;
}
.rules-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 7px; }

/* Bet table */
.bet-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 8px; }
.bet-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 380px;
}
.bet-table thead tr { background: var(--navy); }
.bet-table thead th { color: var(--white); font-weight: 700; padding: 12px 14px; text-align: left; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.bet-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.bet-table thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.bet-table tbody tr:nth-child(1) { background: var(--green-soft); }
.bet-table tbody tr:nth-child(2) { background: var(--off-white); }
.bet-table tbody tr:nth-child(3) { background: #fff3e0; }
.bet-table td { padding: 13px 14px; border-bottom: 1px solid var(--grey-light); vertical-align: top; line-height: 1.6; }
.bet-table .bet-name { font-weight: 700; color: var(--navy); }
.bet-table .bet-good   { color: var(--green); font-weight: 600; }
.bet-table .bet-warn   { color: #c96300; font-weight: 600; }
.bet-table .verdict-good { font-size: 0.82rem; font-weight: 700; color: var(--green); }
.bet-table .verdict-warn { font-size: 0.82rem; font-weight: 700; color: #c96300; }

/* Mobile bet cards */
.bet-cards { display: none; }
.bet-card { border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.bet-card.banker { border: 2px solid var(--green); }
.bet-card.player { border: 2px solid var(--blue-acc); }
.bet-card.tie    { border: 2px solid var(--orange); }
.bet-card-header { padding: 11px 16px; font-weight: 700; font-size: 0.95rem; }
.bet-card.banker .bet-card-header { background: var(--green-soft); color: var(--green); }
.bet-card.player .bet-card-header { background: #e8f0ff; color: var(--navy); }
.bet-card.tie    .bet-card-header { background: var(--orange-soft); color: #7a4000; }
.bet-card-body { padding: 13px 16px; background: var(--white); }
.bet-card-row  { margin-bottom: 8px; font-size: 0.875rem; }
.bet-card-row:last-child { margin-bottom: 0; }
.bet-card-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--grey-mid); margin-bottom: 3px; }
.bet-card-value { color: var(--text-body); line-height: 1.5; }
.bet-card-value.good { color: var(--green); font-weight: 700; }
.bet-card-value.warn { color: #c96300; font-weight: 700; }

/* =============================================
   WHY MALAYSIANS PLAY — three pillars
   ============================================= */
.why-section { background: var(--navy); }

.why-header .label-text { color: var(--orange); }
.why-header h2 { color: var(--white); margin-bottom: 10px; }
.why-header .section-desc { color: rgba(255,255,255,0.72); }

.why-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }

.why-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 22px 22px;
  transition: background var(--transition);
}
.why-card:hover { background: rgba(255,255,255,0.1); }

.why-card-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,127,0,0.15); border: 1px solid rgba(255,127,0,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.why-card-icon svg { width: 22px; height: 22px; stroke: var(--orange); stroke-width: 1.8; fill: none; }

.why-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.why-card p  { color: rgba(255,255,255,0.72); font-size: 0.875rem; line-height: 1.7; }

/* =============================================
   HOW TO PLAY — 6 steps
   ============================================= */
.howto-section { background: var(--off-white); }

.steps-list { margin: 0; }
.step-item {
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 16px; position: relative;
}
.step-item:not(:last-child)::after {
  content: ''; position: absolute;
  left: 19px; top: 42px; width: 2px;
  height: calc(100% - 10px);
  background: var(--grey-light); z-index: 0;
}
.step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-weight: 900; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 1; position: relative;
  box-shadow: 0 2px 8px rgba(255,127,0,0.3);
}
.step-card {
  flex: 1; background: var(--white); border: 1px solid var(--grey-light);
  border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.step-card h3 { font-size: 0.97rem; color: var(--navy); margin-bottom: 7px; }
.step-card p  { font-size: 0.875rem; color: var(--text-body); line-height: 1.7; }
.step-card p strong { color: var(--text-dark); }
.step-card p a { color: var(--blue-acc); }

/* =============================================
   SIDE BETS TABLE
   ============================================= */
.sidebets-section { background: var(--white); }

.sidebets-intro { font-size: 0.97rem; color: var(--text-body); line-height: 1.8; margin-bottom: 20px; }

.sidebet-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sidebet-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 360px;
}
.sidebet-table thead tr { background: var(--navy-mid); }
.sidebet-table thead th { color: var(--white); font-weight: 700; padding: 12px 14px; text-align: left; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.sidebet-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.sidebet-table thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.sidebet-table tbody tr:nth-child(odd)  { background: var(--off-white); }
.sidebet-table tbody tr:nth-child(even) { background: var(--white); }
.sidebet-table td { padding: 12px 14px; border-bottom: 1px solid var(--grey-light); vertical-align: top; line-height: 1.6; }
.sidebet-table .sb-name { font-weight: 700; color: var(--navy); }
.sidebet-table .sb-warn { color: #c96300; font-weight: 600; }

/* Mobile sidebet cards */
.sidebet-cards { display: none; }
.sidebet-card { background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sidebet-cell-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--grey-mid); margin-bottom: 3px; }
.sidebet-cell-value { font-size: 0.875rem; color: var(--text-body); }
.sidebet-cell-value.warn { color: #c96300; font-weight: 600; }
.sidebet-cell-name { grid-column: 1 / -1; font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--grey-light); }

.warning-box {
  background: var(--orange-soft); border: 1px solid #ff7f0044;
  border-left: 4px solid var(--orange); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px; margin-top: 20px;
  font-size: 0.875rem; color: var(--text-body); line-height: 1.7;
}
.warning-box strong { color: var(--navy); }

/* =============================================
   TRUST / FAIR PLAY
   ============================================= */
.trust-section { background: var(--off-white); }

.trust-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }

.trust-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.trust-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--off-white); border: 1px solid var(--grey-light);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 18px; height: 18px; stroke: var(--navy); stroke-width: 1.8; fill: none; }
.trust-item h3 { font-size: 0.92rem; color: var(--navy); margin-bottom: 4px; }
.trust-item p  { font-size: 0.855rem; color: var(--text-body); line-height: 1.65; }

/* =============================================
   FAQ
   ============================================= */
.faq-section { background: var(--white); }
.faq-list { margin-top: 28px; }
.faq-item { background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; background: none; border: none; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; gap: 12px; }
.faq-question-text { font-weight: 700; font-size: 0.92rem; color: var(--text-dark); line-height: 1.4; flex: 1; }
.faq-chevron { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--off-white); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.faq-chevron svg { width: 12px; height: 12px; stroke: var(--grey-mid); stroke-width: 2.5; fill: none; transition: transform var(--transition); }
.faq-item.open .faq-chevron { background: var(--orange); }
.faq-item.open .faq-chevron svg { stroke: var(--white); transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 16px 20px 20px; font-size: 0.88rem; color: var(--text-body); line-height: 1.75; border-top: 1px solid var(--grey-light); }

/* =============================================
   CTA
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  text-align: center; color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,0.78); font-size: 0.97rem; max-width: 560px; margin: 0 auto 28px; line-height: 1.75; }
.cta-btn-row    { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 28px; }
.cta-links      { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-link       { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color var(--transition); text-decoration: none; }
.cta-link:hover { color: var(--orange); text-decoration: underline; }

/* RG bar */
.rg-bar { background: var(--off-white); border-top: 1px solid var(--grey-light); padding: 20px 0; }
.rg-bar-inner { font-size: 0.8rem; color: var(--grey-mid); line-height: 1.7; text-align: center; }
.rg-bar-inner strong { color: var(--text-dark); }

/* =============================================
   FOOTER — Light grey per designer spec
   ============================================= */
.footer { background: var(--footer-bg); border-top: 1px solid var(--grey-light); padding: 52px 0 0; color: var(--text-body); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 0; margin-bottom: 14px; }
.footer-logo .logo-xe { font-size: 1.6rem; }
.footer-logo .logo-8  { font-size: 1.6rem; }
.footer-desc { font-size: 0.875rem; color: var(--grey-dark); line-height: 1.7; margin-bottom: 18px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.8rem; font-weight: 700; transition: background var(--transition), transform var(--transition); text-decoration: none; }
.social-btn:hover { background: var(--orange); transform: translateY(-2px); }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dark); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--grey-dark); transition: color var(--transition); text-decoration: none; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dark); margin-bottom: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--grey-dark); line-height: 1.5; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.footer-contact-item a { color: var(--grey-dark); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--orange); }
.footer-map { margin-top: 14px; border-radius: 8px; overflow: hidden; border: 1px solid var(--grey-light); }
.footer-map iframe { display: block; width: 100%; height: 130px; border: 0; }

.footer-bottom { border-top: 1px solid var(--grey-light); padding: 18px 0; text-align: center; font-size: 0.78rem; color: var(--grey-mid); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (min-width: 600px) {
  .why-grid   { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .section-pad { padding: 80px 0; }
  .hamburger   { display: none; }
  .nav-links   { display: flex; }
  .nav-right   { display: flex; }
  .mobile-menu { display: none !important; }
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.4fr; }
  .why-grid    { grid-template-columns: repeat(3, 1fr); }
  .trust-grid  { grid-template-columns: repeat(2, 1fr); }

  .hero-inner { flex-direction: row; align-items: flex-end; gap: 40px; }
  .hero-text  { text-align: left; flex: 1; padding: 0 0 40px 20px; }
  .hero-text p      { margin-left: 0; }
  .hero-chips       { justify-content: flex-start; }
  .hero-btn-row     { justify-content: flex-start; }
  .hero-rtp-badge   { margin-left: 0; }
  .hero-image { flex: 0 0 380px; padding: 0; }
}

@media (min-width: 960px) {
  .hero-image { flex: 0 0 420px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Table vs card */
@media (max-width: 767px) {
  .bet-table-wrap      { display: none; }
  .bet-cards           { display: block; }
  .sidebet-table-wrap  { display: none; }
  .sidebet-cards       { display: block; }
}
@media (min-width: 768px) {
  .bet-table-wrap      { display: block; }
  .bet-cards           { display: none; }
  .sidebet-table-wrap  { display: block; }
  .sidebet-cards       { display: none; }
}

/* Site logo image */
.site-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo .site-logo-img,
.footer-brand .site-logo-img {
  height: 30px;
}

/* ── Scroll-to-top button ── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ff7f00;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 999;
}
#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scroll-top:hover { background: #d96b00; }
#scroll-top:focus-visible { outline: 3px solid #ff7f00; outline-offset: 3px; }
