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

/* ---- CSS Variables (match global design) ---- */
: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);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.16);
  --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(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-blue   { color: var(--blue-acc); }

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

.section-pad { padding: 60px 0; }
.section-pad-sm { padding: 40px 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;
}

.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 (shared — copy from global)
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

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

/* Desktop nav */
.nav-links {
  display: none;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-links a.active { color: var(--orange); }

.nav-cta-group {
  display: none;
  gap: 8px;
  align-items: center;
}

.nav-cta-group .btn {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-nav-login {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
}

.btn-nav-login:hover { background: rgba(255,255,255,0.1); }

/* Mobile hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-menu a:hover { color: var(--orange); padding-left: 32px; }
.mobile-menu a.active { color: var(--orange); }

.mobile-menu-cta {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
}

.mobile-menu-cta .btn { flex: 1; text-align: center; }

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

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

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

.games-hero-text {
  text-align: center;
  padding: 0 20px;
}

.games-hero-text .label-text { color: var(--orange); margin-bottom: 12px; }

.games-hero-text h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.games-hero-text h1 span { color: var(--orange); }

.games-hero-text p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

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

.games-hero-image {
  width: 100%;
  max-width: 460px;
  padding: 0 20px;
}

.games-hero-image img {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  object-fit: cover;
  object-position: center top;
}

/* =============================================
   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.82rem;
  color: var(--grey-mid);
}

.breadcrumb-inner a { color: var(--blue-acc); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner .sep { color: var(--grey-mid); }
.breadcrumb-inner .current { color: var(--text-dark); font-weight: 600; }

/* =============================================
   INTRO SECTION
   ============================================= */
.intro-section { background: var(--white); }

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

.intro-lead strong { color: var(--navy-mid); }

/* =============================================
   CATEGORY QUICK-JUMP TABS
   ============================================= */
.cat-tabs-section {
  background: var(--off-white);
  padding: 24px 0;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}

.cat-tabs-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  margin-bottom: 12px;
}

.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-tab {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--white);
  color: var(--navy-mid);
  border: 1px solid var(--grey-light);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.cat-tab:hover,
.cat-tab.active {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy-mid);
}

/* =============================================
   CATEGORY TABLE (Hub overview)
   ============================================= */
.category-table-section { background: var(--white); }

.section-header { margin-bottom: 36px; }
.section-header .label-text { margin-bottom: 8px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  color: var(--text-body);
  font-size: 0.97rem;
  max-width: 680px;
  line-height: 1.7;
}

/* Desktop table */
.cat-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.cat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}

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

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

.cat-table tbody tr:nth-child(odd)  { background: var(--off-white); }
.cat-table tbody tr:nth-child(even) { background: var(--white); }

.cat-table tbody tr:hover { background: #e8eeff; }

.cat-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--grey-light);
  vertical-align: top;
}

.cat-table .cat-name {
  font-weight: 700;
  color: var(--navy-mid);
  white-space: nowrap;
}

.cat-table .cat-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--blue-acc);
  font-weight: 600;
}

.cat-table .cat-link:hover { text-decoration: underline; }

.providers-list {
  color: var(--text-body);
  font-size: 0.85rem;
  line-height: 1.6;
}

.cat-table .highlight-cell {
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* Mobile card view (replaces table on small screens) */
/* ---- Mobile category 2-col compact cards ---- */
.cat-cards {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 12px 14px 14px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.cat-card:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-md);
}

.cat-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.cat-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.15;
}

.cat-card-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy-mid);
  border-radius: 20px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-card-highlight {
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
}

/* =============================================
   LIVE CASINO SECTION
   ============================================= */
.live-casino-section {
  background: var(--navy);
  color: var(--white);
}

.live-casino-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.live-casino-text .label-text { color: var(--orange); margin-bottom: 10px; }

.live-casino-text h2 { color: var(--white); margin-bottom: 16px; }

.live-casino-text .section-desc {
  color: rgba(255,255,255,0.75);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Provider cards */
.provider-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

.provider-card:hover { background: rgba(255,255,255,0.1); }

.provider-card-name {
  font-weight: 700;
  color: var(--orange);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.provider-card p {
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  line-height: 1.6;
}

.licence-badge {
  display: inline-block;
  background: rgba(43,77,184,0.4);
  border: 1px solid rgba(43,77,184,0.6);
  color: #a0b4ff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 8px;
}

.live-casino-image { text-align: center; }
.live-casino-image img {
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  display: block;
}

.live-cta {
  margin-top: 24px;
}

/* =============================================
   SLOTS SECTION
   ============================================= */
.slots-section { background: var(--off-white); }

.slots-intro {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 32px;
}

.provider-group { margin-bottom: 32px; }

.provider-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  border-left: 3px solid var(--orange);
  padding-left: 12px;
  margin-bottom: 16px;
}

.provider-list-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.prov-chip {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}

.prov-chip-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--navy-mid);
  margin-bottom: 4px;
}

.prov-chip p {
  font-size: 14px;
  color: var(--grey-mid);
  line-height: 1.5;
}

.slots-cta { margin-top: 8px; }

/* =============================================
   SPECIALTY GAMES (Fishing / Card / Fast)
   ============================================= */
.specialty-section { background: var(--white); }

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

.specialty-card {
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specialty-card-header {
  background: var(--navy-mid);
}

.specialty-card-icon {
  width: 100%;
  height: 160px;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 16px 24px 0;
  box-sizing: border-box;
}

.specialty-card-header h3 { color: var(--white); font-size: 1.1rem; padding: 14px 22px 18px; }

.specialty-card-body {
  padding: 18px 22px;
  background: var(--white);
}

.specialty-card-body p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 14px;
}

.specialty-providers {
  font-size: 0.82rem;
  color: var(--grey-mid);
  font-weight: 600;
}

.specialty-providers span {
  font-weight: 400;
  color: var(--text-body);
}

/* =============================================
   OTHER GAMES (Sports / Racing / Lottery)
   ============================================= */
.other-games-section { background: var(--off-white); }

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

.other-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.other-card-icon {
  width: 100%;
  height: 160px;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 14px 20px;
  box-sizing: border-box;
  background: #eef1f8;
}

.other-card h3 {
  font-size: 0.95rem;
  color: var(--navy-mid);
  margin-bottom: 0;
  padding: 14px 16px 6px;
}

.other-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 8px;
  padding: 0 16px;
}

.other-card-providers {
  font-size: 14px;
  color: var(--grey-mid);
  padding: 0 16px 18px;
}

.reg-note {
  margin-top: 28px;
  background: rgba(255,127,0,0.08);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
}

.reg-note strong { color: var(--navy-mid); }

/* =============================================
   PROVIDER SELECTION CRITERIA
   ============================================= */
.criteria-section { background: var(--white); }

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.criteria-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.criteria-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section { background: var(--off-white); }

.faq-list { margin-top: 32px; }

.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: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
  border-top: 1px solid var(--grey-light);
  padding-top: 16px;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  color: var(--white);
  text-align: center;
}

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

.cta-btn-group {
  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;
  margin-bottom: 28px;
}

.cta-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.cta-link:hover { color: var(--orange); text-decoration: underline; }

/* =============================================
   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(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand .logo-text { font-size: 1.6rem; margin-bottom: 12px; display: inline-block; }

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.6);
}

.footer-social { display: flex; gap: 12px; }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background var(--transition);
}

.social-btn:hover { background: var(--orange); }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   RESPONSIVE — TABLET & DESKTOP
   ============================================= */
@media (min-width: 640px) {
  .provider-list-cards { grid-template-columns: repeat(3, 1fr); }
  .other-games-grid    { grid-template-columns: repeat(2, 1fr); }
  .specialty-grid      { grid-template-columns: repeat(3, 1fr); }
  .criteria-grid       { grid-template-columns: 1fr 1fr; }

}

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

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

  /* Hero */
  .games-hero { padding: 60px 0 0; }
  .games-hero-inner {
    flex-direction: row;
    align-items: flex-end;
    gap: 40px;
  }
  .games-hero-text {
    text-align: left;
    flex: 1;
    padding: 0 0 40px 20px;
  }
  .games-hero-text p { margin-left: 0; }
  .hero-badge-row    { justify-content: flex-start; }
  .hero-btn-row      { justify-content: flex-start; }
  .games-hero-image  { flex: 0 0 380px; padding: 0; }
  .games-hero-image img { height: 480px; }

  /* Live casino */
  .live-casino-inner {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }
  .live-casino-text { flex: 1; }
  .live-casino-image { flex: 0 0 320px; }
  .provider-grid { grid-template-columns: 1fr 1fr; }

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

@media (min-width: 960px) {
  /* Hide mobile cat cards, show table */
  .cat-table-wrap { display: block; }
  .cat-cards      { display: none; }

  .provider-list-cards { grid-template-columns: repeat(4, 1fr); }
  .criteria-grid { grid-template-columns: repeat(3, 1fr); }
  .other-games-grid { grid-template-columns: repeat(4, 1fr); }
  .games-hero-image { flex: 0 0 440px; }
}

/* Hide table on mobile, show cards */
@media (max-width: 959px) {
  .cat-table-wrap { display: none; }
  .cat-cards      { display: grid; }
}

@media (max-width: 479px) {
  .other-games-grid    { grid-template-columns: 1fr; }
  .provider-list-cards { grid-template-columns: 1fr; }
}

/* =============================================
   NAV + FOOTER — Benchmark override (guide/shared.css)
   ============================================= */

: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;
}
.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;
  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);
}
.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);
}
.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 .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); }
@media (min-width: 768px) {
  .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; }
}

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