/* ═══════════════════════════════════════════════════════════
   xe8.NET — About Page CSS
   File: about/style.css
   Imports design tokens & base from root style.css pattern.
   Contains ONLY about-page-specific styles.
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (Design Tokens)
   Duplicated here so each page is self-contained.
───────────────────────────────────────────── */
:root {
  --navy:        #0d1b4b;
  --navy-dark:   #091236;
  --blue:        #022a99;
  --blue-mid:    #022a99;
  --orange:      #ff7f00;
  --orange-dark: #d96b00;
  --white:       #ffffff;
  --off-white:   #f5f7fa;
  --light-gray:  #eef1f8;
  --gray:        #888ea8;
  --text-dark:   #111827;
  --text-body:   #374151;
  --text-muted:  #6b7280;
  --border:      #dde3f0;

  --font-main:    'Barlow', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;

  --section-py:     clamp(60px, 8vw, 100px);
  --container-max:  1160px;
  --container-px:   clamp(16px, 4vw, 40px);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(13,27,75,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,75,0.12);
  --shadow-lg: 0 16px 48px rgba(13,27,75,0.18);

  /* Nav / footer shared variables */
  --nav-bg:     #ffffff;
  --nav-border: #e2e4ed;
  --nav-text:   #374151;
  --grey-light: #e2e4ed;
  --grey-mid:   #8a90a8;
  --grey-dark:  #555a6e;
  --footer-bg:  #eef0f5;
  --blue-acc:   #022a99;
  --transition: 0.2s ease;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

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

/* ─────────────────────────────────────────────
   UTILITIES
───────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}
.text-blue   { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

.section-label {
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  display: block;
  margin-bottom: 6px;
}
.section-label-center {
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  display: block;
  margin-bottom: 6px;
  text-align: center;
}
.heading-split {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.section-subtext {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  color: var(--text-muted);
  font-size: clamp(15px, 2vw, 17px);
  margin-bottom: 48px;
}

/* Buttons */
.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo img { height: 36px; width: auto; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: clamp(12px, 2vw, 28px); align-items: center; }
.main-nav a {
  font-size: 14px; font-weight: 600; color: var(--text-dark);
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.nav-active { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login {
  font-size: 14px; font-weight: 700; color: var(--text-dark);
  letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 4px; transition: color 0.2s;
}
.btn-login:hover { color: var(--blue); }
.btn-register {
  font-size: 13px; font-weight: 700; background: var(--orange);
  color: var(--white); padding: 8px 18px; border-radius: var(--radius-sm);
  letter-spacing: 0.04em; text-transform: uppercase; transition: background 0.2s;
}
.btn-register:hover { background: var(--orange-dark); }
.lang-switcher img { display: block; border-radius: 3px; }
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; background: none; border: none;
  cursor: pointer; padding: 4px; flex-shrink: 0;
}
.hamburger span { display: block; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { background: var(--white); border-top: 1px solid var(--border); padding: 20px var(--container-px) 24px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.mobile-menu a { display: block; padding: 10px 0; font-size: 16px; font-weight: 600; color: var(--text-dark); border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.04em; }
.mobile-auth { display: flex; gap: 12px; margin-top: 8px; }
.mobile-auth .btn-login { flex: 1; text-align: center; padding: 12px; border: 2px solid var(--text-dark); border-radius: var(--radius-sm); }
.mobile-auth .btn-register { flex: 1; text-align: center; padding: 12px; }

/* ─────────────────────────────────────────────
   BREADCRUMB
───────────────────────────────────────────── */
.breadcrumb {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb a {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-hidden="true"] { color: var(--gray); font-size: 13px; }
.breadcrumb span { font-size: 13px; color: var(--text-muted); }

/* ─────────────────────────────────────────────
   PAGE HERO (About)
───────────────────────────────────────────── */
.about-hero {
  background: var(--navy);
  overflow: hidden;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding-block: clamp(48px, 7vw, 80px);
  min-height: clamp(360px, 50vw, 500px);
}
.hero-eyebrow {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  display: block;
}
.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--orange);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.page-h1 .text-white { color: var(--white); }
.page-hero-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-login {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border: 2px solid var(--white); color: var(--white);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s, color 0.2s;
}
.btn-hero-login:hover { background: var(--white); color: var(--navy); }
.btn-hero-register {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: var(--orange); color: var(--white);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s;
}
.btn-hero-register:hover { background: var(--orange-dark); }
.page-hero-image {
  display: flex; justify-content: flex-end; align-items: flex-end;
}
.page-hero-image img { width: 100%; max-width: 480px; object-fit: contain; }

/* ─────────────────────────────────────────────
   SECTION 2 — WHO IS xe8 (At a Glance)
───────────────────────────────────────────── */
.section-glance {
  padding-block: var(--section-py);
  background: var(--white);
  border-bottom: 3px solid var(--orange);
}
.glance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.glance-content p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 28px;
}
.glance-bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.glance-bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}
.bullet-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 2px;
}
.bullet-icon svg { width: 22px; height: 22px; }
.glance-bullets strong { color: var(--text-dark); }

/* At-a-Glance card */
.glance-table-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
}
.glance-table-card h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--orange);
}
.glance-table {
  width: 100%;
  border-collapse: collapse;
}
.glance-table th {
  padding: 11px 0 11px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-align: left;
  vertical-align: top;
  width: 38%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.02em;
}
.glance-table td {
  padding: 11px 0 11px 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  line-height: 1.5;
}
.glance-table tr:last-child th,
.glance-table tr:last-child td { border-bottom: none; }

/* ─────────────────────────────────────────────
   SECTION 3 — MISSION / VISION / VALUES
───────────────────────────────────────────── */
.section-mission {
  padding-block: var(--section-py);
  background: var(--off-white);
}
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.mvv-card {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.mvv-card--navy { background: var(--navy); }
.mvv-card--orange { background: var(--orange); }
.mvv-icon {
  width: 60px; height: 60px;
  margin-bottom: 20px;
}
.mvv-icon svg { width: 60px; height: 60px; }
.mvv-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.mvv-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
}

/* Values */
.values-grid {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
.values-heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--orange);
}
.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--light-gray);
  line-height: 1;
  flex-shrink: 0;
  min-width: 44px;
}
.value-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.value-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   SECTION 4 — PLATFORM PROMISES
───────────────────────────────────────────── */
.section-promises {
  padding-block: var(--section-py);
  background: var(--white);
}
.promises-intro {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 40px;
}
.promises-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.promise-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  border-left: 4px solid var(--orange);
}
.promise-icon {
  width: 52px; height: 52px;
  margin-bottom: 18px;
}
.promise-icon svg { width: 52px; height: 52px; }
.promise-card h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.promise-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.promise-card p + p { margin-top: 10px; }
.promise-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.promise-link:hover { color: var(--orange); border-color: var(--orange); }

/* Game categories sub-section */
.game-cats {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.game-cats-heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--orange);
}
.game-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.game-cat-item {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 20px;
}
.game-cat-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}
.game-cat-icon svg {
  width: 52px;
  height: 52px;
  display: block;
}
.game-cat-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.game-cat-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.game-cat-item .promise-link {
  color: var(--orange);
  border-color: var(--orange);
}
.game-cat-item .promise-link:hover { color: var(--white); border-color: var(--white); }

/* ─────────────────────────────────────────────
   SECTION 5 — RESPONSIBLE GAMBLING
───────────────────────────────────────────── */
.section-rg {
  padding-block: var(--section-py);
  background: var(--off-white);
}
.rg-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.rg-intro p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}
.rg-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rg-tool {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.rg-tool--full {
  grid-column: 1 / -1;
  background: var(--navy);
}
.rg-tool--full h4 { color: var(--white); }
.rg-tool--full p  { color: rgba(255,255,255,0.75); }
.rg-tool-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  padding: 4px;
  background: var(--light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rg-tool--full .rg-tool-icon {
  background: rgba(255,255,255,0.1);
}
.rg-tool--full .rg-tool-icon svg { stroke: var(--orange); }
.rg-tool-icon svg { width: 24px; height: 24px; }
.rg-tool h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.rg-tool p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   SECTION 6 — SUPPORT & COMPANY
───────────────────────────────────────────── */
.section-support {
  padding-block: var(--section-py);
  background: var(--white);
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.support-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table thead tr { background: var(--navy); }
.info-table th[scope="col"] {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-align: left;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.info-table th[scope="row"] {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  width: 38%;
}
.info-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.info-table a { color: var(--blue); text-decoration: underline; }
.info-table tbody tr:last-child th,
.info-table tbody tr:last-child td { border-bottom: none; }

/* ─────────────────────────────────────────────
   SECTION 7 — FAQ
───────────────────────────────────────────── */
.section-faq {
  padding-block: var(--section-py);
  background: var(--off-white);
}
.faq-container { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; }
.faq-list--centered { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-size: clamp(15px, 2vw, 17px); font-weight: 700;
  color: var(--text-dark); cursor: pointer; list-style: none; gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }
.faq-question::after {
  content: '';
  display: block;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888ea8' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  flex-shrink: 0; transition: transform 0.25s;
}
details[open] .faq-question::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f07d00' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
details[open] .faq-question { color: var(--blue); }
.faq-answer { padding-bottom: 20px; }
.faq-answer p { font-size: 15px; color: var(--text-body); line-height: 1.75; }
.faq-answer a { color: var(--blue); text-decoration: underline; }

/* ─────────────────────────────────────────────
   SECTION 8 — CTA BANNER
───────────────────────────────────────────── */
.section-cta { background: var(--off-white); overflow: hidden; }
.cta-grid {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.cta-content { padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px); }
.cta-content .heading-split { margin-bottom: 20px; }
.cta-content p { font-size: 15px; color: var(--text-muted); line-height: 1.75; max-width: 460px; }
.cta-content p + p { margin-top: 12px; }
.cta-btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; margin-bottom: 20px; }
.btn-cta-primary {
  display: inline-block; padding: 14px 32px; background: var(--orange); color: var(--white);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; letter-spacing: 0.04em;
  text-transform: uppercase; transition: background 0.2s;
}
.btn-cta-primary:hover { background: var(--orange-dark); }
.btn-cta-secondary {
  display: inline-block; padding: 14px 32px; border: 2px solid var(--blue); color: var(--blue);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; letter-spacing: 0.04em;
  text-transform: uppercase; transition: background 0.2s, color 0.2s;
}
.btn-cta-secondary:hover { background: var(--blue); color: var(--white); }
.cta-links { display: flex; gap: 24px; flex-wrap: wrap; }
.cta-links a { font-size: 14px; color: var(--blue); text-decoration: underline; }
.cta-image {
  background: var(--blue-mid);
  display: flex; justify-content: center; align-items: flex-end;
  overflow: hidden; height: 100%; min-height: 360px;
}
.cta-image img { width: 100%; max-width: 520px; object-fit: cover; object-position: center bottom; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer { background: var(--light-gray); }
.footer-inner {
  max-width: var(--container-max); margin-inline: auto;
  padding: 60px var(--container-px) 48px;
  display: grid; grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: clamp(32px, 5vw, 64px);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-brand p + p { margin-top: 10px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.social-links a:hover { background: var(--orange); }
.social-links svg { width: 18px; height: 18px; }
.footer-nav h4, .footer-contact h4 { font-size: 13px; font-weight: 700; color: var(--text-dark); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.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-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.footer-nav a { display: block; padding: 5px 0; font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--orange); }
.footer-rg { background: var(--navy); padding: 20px var(--container-px); }
.footer-rg p { max-width: var(--container-max); margin-inline: auto; font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.65; }
.footer-rg strong { color: rgba(255,255,255,0.8); }
.footer-bottom { background: var(--navy-dark); padding: 14px var(--container-px); text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; text-transform: uppercase; }


/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (max-width: 1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .main-nav ul { gap: 14px; }
  .main-nav a  { font-size: 12px; }

  .page-hero-inner  { grid-template-columns: 1fr; }
  .page-hero-image  { display: none; }

  .glance-grid      { grid-template-columns: 1fr; }
  .mvv-grid         { grid-template-columns: 1fr; }
  .promises-grid    { grid-template-columns: 1fr; }
  .game-cats-grid   { grid-template-columns: 1fr 1fr; }
  .rg-grid          { grid-template-columns: 1fr; }
  .support-grid     { grid-template-columns: 1fr; }
  .values-list      { grid-template-columns: 1fr; }

  .cta-grid         { grid-template-columns: 1fr; }
  .cta-image        { display: none; }

  .footer-inner     { grid-template-columns: 1fr 1fr; }
  .footer-brand     { grid-column: 1 / -1; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (max-width: 768px)
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .main-nav, .header-actions { display: none; }
  .hamburger   { display: flex; }
  .header-inner { gap: 0; justify-content: space-between; }

  .glance-table-card { padding: 20px; }
  .game-cats-grid { grid-template-columns: 1fr 1fr; }
  .rg-tools { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-nav ul { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; }
  .btn-hero-login, .btn-hero-register { justify-content: center; width: 100%; }
  .game-cats-grid { grid-template-columns: 1fr; }
  .cta-btn-row { flex-direction: column; }
}

@media print {
  .navbar, .hamburger, .section-cta, .footer { 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;
}

/* ═══════════════════════════════════════════════
   PAGE QUICK NAV (sticky in-page jump nav)
═══════════════════════════════════════════════ */
.page-quicknav {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 100;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page-quicknav .container { padding-block: 0; }
.page-quicknav ul { display: flex; gap: 0; min-width: max-content; list-style: none; padding: 0; margin: 0; }
.page-quicknav a {
  display: block;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.page-quicknav a:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* ═══════════════════════════════════════════════
   STANDARD NAVBAR (aligned with rest of site)
═══════════════════════════════════════════════ */
.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;
}
.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); }

/* ═══════════════════════════════════════════════
   STANDARD FOOTER (aligned with rest of site)
═══════════════════════════════════════════════ */
.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-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-bottom { border-top: 1px solid var(--grey-light); padding: 18px 0; text-align: center; font-size: 0.78rem; color: var(--grey-mid); background: transparent; }
.footer-bottom p { font-size: 0.78rem; color: var(--grey-mid); letter-spacing: normal; text-transform: none; }
@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; }
}

/* Self-exclusion card: stronger selector to beat .rg-tool h4/p cascade */
.rg-tool.rg-tool--full h4 { color: var(--white); }
.rg-tool.rg-tool--full p  { color: rgba(255,255,255,0.88); }

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