/* =============================================
   xe8 4D LOTTERY PAGE — style.css
   Mobile-first | Minimal JS | Performance-optimised
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --navy:        #0d1b3e;
  --navy-mid:    #022a99;
  --blue-acc:    #022a99;
  --orange:      #ff7f00;
  --orange-dark: #d96b00;
  --white:       #ffffff;
  --off-white:   #f5f6fa;
  --grey-light:  #e8eaf0;
  --grey-mid:    #8a90a2;
  --text-dark:   #1a1a2e;
  --text-body:   #3a3a4a;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.12);
  --transition:  0.2s ease;
}

/* ---- Reset & Base ---- */
*, *::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: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ---- Typography ---- */
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(18px, 2.4vw, 24px);
  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);
  display: block;
  margin-bottom: 10px;
}

.text-orange { color: var(--orange); }
.text-white  { color: var(--white); }

/* ---- Layout Utility ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad { padding: 60px 0; }

/* ---- Buttons ---- */
.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;
  white-space: nowrap;
  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);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

/* =============================================
   NAVIGATION
   ============================================= */
:root {
  --nav-bg:     #ffffff;
  --nav-border: #e2e4ed;
  --nav-text:   #374151;
  --grey-dark:  #555a6e;
  --footer-bg:  #eef0f5;
}

.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;
}

.site-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.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;
  transition: transform var(--transition);
}

.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;
  text-transform: none;
  letter-spacing: 0;
}

.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);
}

/* Mobile hamburger */
.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 drawer */
.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);
}

/* =============================================
   HERO
   ============================================= */
.lottery-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #022a99 100%);
  padding: 50px 0 60px;
  position: relative;
  overflow: hidden;
}

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

.lottery-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.lottery-hero .label-text  { color: var(--orange); }
.lottery-hero h1           { color: var(--white); margin-bottom: 20px; }

.hero-subtext {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 28px;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.hero-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

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

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header         { margin-bottom: 36px; }
.section-header .label-text  { margin-bottom: 10px; }
.section-header h2      { margin-bottom: 14px; }
.section-header p       { color: var(--grey-mid); max-width: 640px; font-size: 0.97rem; line-height: 1.7; }

.section-header-light h2 { color: var(--white); }
.section-header-light p  { color: rgba(255,255,255,0.7); }

.label-orange { color: var(--orange); }

/* =============================================
   SECTIONS — Background alternation
   ============================================= */
/* ─── LOTTERY PAGE BANNER ─────────────────────── */
.lottery-page-banner {
  margin: 0;
  overflow: hidden;
  line-height: 0;
}
.lottery-page-banner img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.results-section  { background: var(--white); }
.schedule-section { background: var(--off-white); }
.bet-section      { background: var(--white); }
.compare-section  { background: var(--off-white); }
.steps-section    { background: var(--white); }
.faq-section      { background: var(--off-white); }

/* =============================================
   RESULT WIDGET PLACEHOLDER
   ============================================= */
.result-widget-placeholder {
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  background: var(--off-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 680px;
  margin: 0 auto;
}

.result-widget-header {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-widget-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.result-widget-day {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
}

.result-prizes { padding: 20px; }

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-light);
  gap: 12px;
}
.result-row:last-child { border-bottom: none; }

.result-tier {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
}

.result-count {
  font-weight: 400;
  color: var(--grey-mid);
  font-size: 0.8rem;
}

.result-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy-mid);
  letter-spacing: 0.08em;
}

.result-number-group {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-mid);
  letter-spacing: 0.05em;
  text-align: right;
  line-height: 1.6;
  word-break: break-word;
}

.result-blur {
  filter: blur(4px);
  user-select: none;
  opacity: 0.5;
}

.result-top    { padding: 14px 0; }
.result-secondary { padding: 10px 0; }

.result-widget-note {
  font-size: 0.78rem;
  color: var(--grey-mid);
  text-align: center;
  padding: 12px 20px;
  border-top: 1px solid var(--grey-light);
  background: var(--white);
  font-style: italic;
}

/* =============================================
   TABLES
   ============================================= */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 500px;
  background: var(--white);
}

.data-table thead tr { background: var(--navy); }

.data-table thead th {
  color: var(--white);
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.data-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.data-table thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }

.data-table tbody tr:nth-child(odd)  { background: var(--off-white); }
.data-table tbody tr:nth-child(even) { background: var(--white); }
.data-table tbody tr:hover { background: #e8eeff; }

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--grey-light);
  vertical-align: top;
  color: var(--text-body);
}

.table-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--grey-mid);
  line-height: 1.65;
}

/* Highlighted cell */
.highlight-orange-cell {
  color: var(--orange) !important;
}

/* Mobile table stacking — card style */
@media (max-width: 639px) {
  .table-wrap     { border-radius: 0; box-shadow: none; overflow: visible; }
  .data-table     { min-width: 0; display: block; }
  .data-table thead { display: none; }
  .data-table tbody { display: block; }

  .data-table tbody tr {
    display: block;
    background: var(--white) !important;
    border: 1px solid var(--grey-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .data-table tbody tr:hover { background: var(--white) !important; }

  .data-table td {
    display: flex;
    padding: 10px 16px;
    border-bottom: 1px solid var(--grey-light);
    font-size: 0.875rem;
    gap: 12px;
  }
  .data-table td:last-child { border-bottom: none; }

  .data-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--grey-mid);
    flex: 0 0 110px;
    padding-top: 2px;
  }
}

/* =============================================
   BET TYPE CARDS
   ============================================= */
.bet-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 8px;
}

.bet-card {
  border-radius: var(--radius-md);
  padding: 28px;
  color: var(--white);
}

.bet-card-big   { background: var(--navy); }
.bet-card-small { background: var(--orange); }

.bet-card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.bet-card-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 14px;
}

.bet-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}

/* Tip callout */
.tip-callout {
  margin-top: 28px;
  background: rgba(255,127,0,0.07);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* =============================================
   REBATE SECTION
   ============================================= */
.rebate-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
}

.rebate-body {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 28px;
}

.rebate-example {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.rebate-example strong { color: var(--orange); }

.rebate-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.rebate-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  flex: 1 1 140px;
  text-align: center;
}

.rebate-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 8px;
}

.rebate-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* =============================================
   STEPS (How to Play)
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
  font-size: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
}

.step-content h3 {
  font-size: 1rem;
  color: var(--navy-mid);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
}

.steps-cta {
  text-align: center;
  margin-bottom: 24px;
}

.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  align-items: center;
  font-size: 0.82rem;
}

.internal-links a {
  color: var(--blue-acc);
  text-decoration: underline;
  transition: color var(--transition);
}
.internal-links a:hover { color: var(--orange); }

.internal-sep { color: var(--grey-mid); }

/* =============================================
   FAQ
   ============================================= */
.faq-list { margin-top: 8px; }

.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: 18px 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.95rem;
  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), transform 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.9rem;
  color: var(--text-body);
  line-height: 1.75;
  border-top: 1px solid var(--grey-light);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--orange);
  text-align: center;
}

.cta-section h2 { color: var(--white); margin-bottom: 14px; }

.cta-subtext {
  color: rgba(255,255,255,0.88);
  font-size: 0.97rem;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

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

.btn-cta-primary {
  background: var(--white);
  color: var(--orange);
  border: 2px solid var(--white);
  font-weight: 800;
}
.btn-cta-primary:hover {
  background: var(--off-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-cta-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  font-weight: 700;
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

/* =============================================
   RESPONSIBLE GAMBLING
   ============================================= */
.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
   ============================================= */
.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;
  margin-bottom: 14px;
}

.footer-logo .site-logo-img,
.footer-brand .site-logo-img { height: 30px; }

.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 — TABLET & DESKTOP
   ============================================= */
@media (min-width: 640px) {
  .bet-cards    { grid-template-columns: 1fr 1fr; }
  .steps-grid   { grid-template-columns: 1fr 1fr; }
  .rebate-stats { flex-wrap: nowrap; }
}

@media (min-width: 768px) {
  .section-pad { padding: 80px 0; }

  /* Nav */
  .hamburger   { display: none; }
  .nav-links   { display: flex; }
  .nav-right   { display: flex; }
  .mobile-menu { display: none !important; }

  /* Hero */
  .lottery-hero          { padding: 80px 0 80px; }
  .lottery-hero-inner    { text-align: left; margin: 0; }
  .hero-subtext          { margin-left: 0; }
  .hero-badge-row        { justify-content: flex-start; }
  .hero-btn-row          { justify-content: flex-start; }

  /* Footer */
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.4fr; }
}

@media (min-width: 960px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 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; }
