/* ===============================================================
   Casino-affiliate template
   Fusion of ifs.se + gfar19 + emventure visual signatures.
   - ifs.se      : white-card section framing, light-grey page bg,
                   3-column casino card body, green CTA
   - gfar19      : deep-purple #160042 H2 pill labels, slim author
                   strip with avatar + "Article by" + info tooltip,
                   purple-tinted shadows
   - emventure   : dark-navy #1c1a35 hero band, offset numbered
                   circle badge on cards, light-blue section band,
                   bright-blue pill buttons w/ uppercase
   =============================================================== */

:root {
  /* ifs steel-blue family */
  --primary: #4b7792;
  --primary-dark: #3b5d72;
  --primary-light: #598cac;
  --primary-deep: #324b5a;

  /* gfar19 deep purple */
  --purple: #160042;
  --purple-soft: rgba(22, 0, 66, 0.12);

  /* emventure bright blue + navy */
  --eblue: #1094e5;
  --navy: #1c1a35;
  --light-blue: #d4e3f0;
  --ice: #ebf0f6;

  /* shared */
  --accent: #05b761;
  --accent-dark: #09a157;
  --gfar-green: #1ec333;
  --orange: #ffb240;
  --warn: #f59e0b;
  --danger: #d30000;

  --header-bg: #1c1c1c;
  --footer-bg: #1c1a35;
  --page-bg: #f3f3f3;
  --surface: #ffffff;
  --surface-alt: #f8f8f8;
  --text: #373737;
  --text-dark: #1c1a35;
  --text-muted: #6b7280;
  --border: #e2e2e2;
  --border-light: #ececec;

  --shadow-card: 0 0 30px rgba(0, 0, 0, 0.08);
  --shadow-purple: 0 8px 24px rgba(22, 0, 66, 0.12);
  --shadow-blue: 0 10px 20px #ebf0f6;
  --shadow-hover: 0 12px 28px rgba(22, 0, 66, 0.15);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 6px;
  --radius-pill: 9999px;
  --wrap: 1170px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  padding-top: 72px;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--eblue); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 12px 0 0; }
p:first-child { margin-top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* =================================================================
   HEADER  — ifs dark bar
   ================================================================= */
.site-header {
  background: var(--header-bg);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100;
  padding: 6px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-header .logo img { display: block; height: 60px; width: auto; }

/* =================================================================
   HERO BAND  — emventure dark-navy full-bleed
   ================================================================= */
.hero-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0c0f23 100%);
  color: #fff;
  padding: 56px 0 64px;
  margin-top: -8px;
}
.hero-band .wrap { position: relative; }
.hero-band h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700; line-height: 1.2;
  margin: 0 0 16px;
  max-width: 880px;
}
/* =================================================================
   SLIM AUTHOR STRIP  — gfar19
   ================================================================= */
.slim-author {
  background: rgba(249,249,249,0.5);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin: -32px auto 32px;
  max-width: 940px;
  display: flex; align-items: center; gap: 16px;
  position: relative; z-index: 40;
  box-shadow: var(--shadow-purple);
  background-color: #fff;
  flex-wrap: wrap;
}
.slim-author .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--purple);
}
.slim-author .avatar img { width: 100%; height: 100%; object-fit: cover; }
.slim-author .who {
  display: flex; flex-direction: column;
  font-size: .9rem; color: var(--text);
}
.slim-author .who .article-by { color: var(--text-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.slim-author .who .name { font-weight: 700; color: var(--purple); font-size: 1rem; }
.slim-author .updated { color: var(--text-muted); font-size: .82rem; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--border); }
.slim-author .updated strong { color: var(--text-dark); }
.slim-author .tips { margin-left: auto; display: flex; gap: 8px; position: relative; }
.info-pop > summary {
  list-style: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--purple); color: #fff;
  display: inline-grid; place-items: center;
  transition: background .2s ease, transform .1s;
}
.info-pop > summary::-webkit-details-marker { display: none; }
.info-pop > summary:hover { background: #2a0a6e; }
.info-pop[open] > summary { background: var(--accent); transform: scale(1.05); }
.info-pop[open] { z-index: 100; }
.info-pop > .info-body {
  position: absolute;
  top: calc(100% + 10px); right: 0;
  background: #fff; color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(22, 0, 66, 0.2);
  font-size: .88rem; line-height: 1.55;
  width: 320px;
  max-width: calc(100vw - 32px);
  z-index: 100;
  text-align: left;
}
.info-pop > .info-body strong {
  display: block; color: var(--purple);
  margin-bottom: 8px; font-size: .95rem;
}
.info-pop > .info-body p { margin: 0; }
.info-pop > .info-body p + p { margin-top: 8px; }
.info-pop > .info-body ul { margin: 8px 0 0; padding-left: 18px; }
.info-pop > .info-body li { margin: 3px 0; }
.info-pop > .info-body::before {
  content: ""; position: absolute; top: -6px;
  width: 12px; height: 12px; background: #fff;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: rotate(45deg);
}
.info-pop:nth-child(1) > .info-body::before { right: 50px; }
.info-pop:nth-child(2) > .info-body::before { right: 10px; }
@media (max-width: 600px) {
  .slim-author { padding: 14px 16px; gap: 12px; }
  .slim-author .updated {
    margin-left: 0; padding-left: 0; border-left: 0;
    width: 100%;
  }
  .slim-author .tips {
    margin-left: 0;
    position: absolute; top: 14px; right: 16px;
  }
}

/* =================================================================
   SECTION FRAMEWORK  — ifs white-card framing + gfar19 purple pill
   ================================================================= */
.gpro_section { position: relative; margin: 44px 0; }
.gpro_section > header { position: relative; z-index: 5; }
.gpro_section > header > .label,
.gpro_section > .label {
  font-size: 1.85rem;
  font-weight: 700; line-height: 1.2;
  padding: 22px 24px;
  margin: 0;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  color: var(--purple);
  position: relative;
}
.gpro_section > header > .label::before,
.gpro_section > .label::before {
  content: ""; display: inline-block; width: 5px; height: 22px;
  background: var(--eblue); border-radius: 3px;
  vertical-align: -3px; margin-right: 14px;
}
.gpro_section > .content {
  margin: -10px 0 0;
  padding: 30px 24px 24px;
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}
/* =================================================================
   TABLE OF CONTENTS  — emventure rounded card
   ================================================================= */
.p-contents {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 24px 0;
  padding: 0;
}
.p-contents > summary {
  list-style: none; cursor: pointer;
  padding: 22px 28px; font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  color: var(--purple);
}
.p-contents > summary::-webkit-details-marker { display: none; }
.p-contents > summary::after {
  content: "+"; margin-left: auto;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--purple); color: #fff;
  display: inline-grid; place-items: center;
  font-size: 1.3rem; font-weight: 400; line-height: 1;
  transition: background .2s ease;
}
.p-contents[open] > summary::after { content: "−"; background: var(--accent); }
.p-contents[open] > summary { border-bottom: 1px solid var(--border-light); }
.p-contents > .content { padding: 18px 28px 24px; }
.p-contents ol {
  margin: 0; padding: 0 0 0 22px;
  columns: 2; column-gap: 32px;
}
.p-contents li { margin: 8px 0; break-inside: avoid; line-height: 1.45; }
.p-contents li a { color: var(--text); font-size: .94rem; }
.p-contents li a:hover { color: var(--eblue); text-decoration: underline; }
@media (max-width: 700px) { .p-contents ol { columns: 1; } }

/* =================================================================
   CASINO CATEGORY CARD
   ifs white tile + 3-col + green CTA at bottom
   emventure: offset numbered circle badge
   gfar19: purple-tinted shadow on hover
   ================================================================= */
.gpro_casino_tbl { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.casino-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-blue);
  display: flex;
  overflow: visible;
  transition: box-shadow .3s ease, transform .15s;
  position: relative;
}
.casino-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.casino-item .logo-box {
  width: 220px; flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 12px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  text-decoration: none;
  align-self: stretch;
}
.casino-item .logo-box img { width: 100%; height: 100%; max-height: 140px; object-fit: contain; }

.casino-item .info { flex: 1; display: flex; align-items: center; }
.casino-item .details { flex: 1; display: grid; grid-template-columns: 1fr 2fr; align-items: center; }
.casino-item .details > div { padding: 18px 20px; }
.casino-item .col-label {
  font-size: .72rem; font-weight: 700; color: var(--purple);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.category-item {
  display: block;
  color: var(--purple);
  font-size: 1.15rem; font-weight: 700;
  line-height: 1.25;
}
.gpro_advantages_list { list-style: none; padding: 0; margin: 0; }
.advantage-item {
  position: relative; padding: 4px 0 4px 28px;
  font-size: .9rem; line-height: 1.4;
}
.advantage-item + .advantage-item { margin-top: 6px; }
.advantage-item::before {
  content: "✓"; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
}
.casino-item .cta-row {
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  flex-shrink: 0;
}

/* Buttons  — emventure pill shape, ifs green color */
.button {
  display: inline-block; font-family: var(--font);
  font-size: .88rem; font-weight: 700;
  background: var(--eblue); color: #fff;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  line-height: 1.2;
  cursor: pointer; text-align: center; text-decoration: none;
  text-transform: uppercase; letter-spacing: .04em;
  transition: background .2s ease, transform .1s, box-shadow .2s;
}
.button:hover { background: #0c7fc4; color: #fff; text-decoration: none; transform: translateY(-1px); }
.button.go-btn {
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(5, 183, 97, .3);
  padding: 18px 44px;
  font-size: 1.05rem;
  letter-spacing: .05em;
}
.button.go-btn:hover { background: var(--accent-dark); box-shadow: 0 6px 16px rgba(5, 183, 97, .4); }

@media (max-width: 920px) {
  .casino-item { flex-direction: column; }
  .casino-item .logo-box {
    width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 20px;
  }
  .casino-item .info { flex-direction: column; align-items: stretch; }
  .casino-item .details { grid-template-columns: 1fr; }
  .casino-item .cta-row { justify-content: center; padding-top: 0; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .gpro_section > .content { padding: 24px 16px 20px; }
  .gpro_section > header > .label,
  .gpro_section > .label { padding: 18px 18px; font-size: 1.5rem; }
  .gpro_section .text h3 { font-size: 1.05rem; }
  .hero-band { padding: 40px 0 48px; }
  .casino-item .details > div:first-child { text-align: center; padding-bottom: 6px; }
  .casino-item .details > div:first-child .category-item { display: block; }
}

/* =================================================================
   ICON-LIST (Top 10)  — ifs structure, gfar19 purple titles
   ================================================================= */
.gpro_icon_list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.gpro_icon_list .icon-item {
  background: #fff; border: 1px solid var(--border);
  border-bottom: 3px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid; grid-template-columns: 130px 1fr; gap: 22px;
  align-items: center;
}
.gpro_icon_list .icon-item h3 { margin: 0 0 6px; font-size: 1.2rem; color: var(--purple); font-weight: 700; }
.gpro_icon_list .icon-item .image {
  width: 130px; height: 90px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}
.gpro_icon_list .icon-item .image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
.gpro_icon_list .icon-item .desc { color: var(--text); font-size: .93rem; line-height: 1.55; }
.gpro_icon_list .icon-item .desc p { margin: 6px 0 0; }
.gpro_icon_list .icon-item .score {
  display: inline-block; margin-top: 10px;
  padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--gfar-green); color: #fff;
  font-size: .8rem; font-weight: 700;
}
@media (max-width: 700px) {
  .gpro_icon_list .icon-item { grid-template-columns: 1fr; }
  .gpro_icon_list .icon-item .image {
    width: 100%; height: auto; aspect-ratio: 224 / 129;
    max-width: 280px; margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .gpro_icon_list .icon-item .image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: var(--radius-sm);
  }
}

/* =================================================================
   WHY-SECTION CALLOUT  — gfar19 yellow band
   ================================================================= */
.why-section {
  background: rgba(255, 231, 180, 0.25);
  border: 2px solid #ffd06a;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 22px 0;
}
.why-section h3 { color: var(--purple); margin: 0 0 8px; font-size: 1.1rem; }
.why-section p { margin: 6px 0 0; }

/* =================================================================
   PROS / CONS
   ================================================================= */
.pros-cons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 24px;
}
.pros, .cons {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(22, 0, 66, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pros:hover, .cons:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 0, 66, 0.10);
}
.pros .pc-head, .cons .pc-head {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  color: #fff;
  position: relative;
}
.pros .pc-head { background: linear-gradient(135deg, #0fbf6c 0%, #058a4a 100%); }
.cons .pc-head { background: linear-gradient(135deg, #e44848 0%, #b51d1d 100%); }
.pros .pc-head .pc-ico, .cons .pc-head .pc-ico {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: grid; place-items: center;
  font-size: 1.35rem; font-weight: 800;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}
.pros .pc-head h3, .cons .pc-head h3 {
  margin: 0; color: #fff;
  font-size: 1.2rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
}
.pros ul, .cons ul {
  list-style: none; padding: 22px 24px 24px; margin: 0;
}
.pros li, .cons li {
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: .95rem; line-height: 1.5;
  border-bottom: 1px dashed var(--border-light);
}
.pros li:last-child, .cons li:last-child { border-bottom: 0; }
.pros li::before, .cons li::before {
  position: absolute; left: 0; top: 11px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 12px; font-weight: 800;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.pros li::before { content: "✓"; background: linear-gradient(135deg, #0fbf6c, #058a4a); }
.cons li::before { content: "✕"; background: linear-gradient(135deg, #e44848, #b51d1d); }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }

/* =================================================================
   LICENSE BLOCKS — logo + heading + paragraph
   ================================================================= */
.license-block {
  display: flex; align-items: flex-start; gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.license-block:last-child { border-bottom: 0; }
.license-block .license-logo {
  width: 110px; height: auto; flex-shrink: 0;
  object-fit: contain;
  padding: 4px;
}
.license-block h3 { margin-top: 0; }
@media (max-width: 600px) {
  .license-block { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .license-block .license-logo { width: 140px; }
  .license-block h3 { text-align: center; }
}

/* =================================================================
   FAQ
   ================================================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary h3 {
  margin: 0;
  font-weight: 700; font-size: 1rem; line-height: 1.4;
  color: var(--purple);
  flex: 1;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--purple); color: #fff;
  display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 400; line-height: 1;
  transition: transform .25s, background .2s;
}
.faq-item[open] summary::after { content: "−"; background: var(--accent); }
.faq-item .answer {
  padding: 14px 22px 18px; color: var(--text); line-height: 1.6;
  border-top: 1px solid var(--border-light);
}

/* =================================================================
   RESPONSIBLE GAMBLING BANNER
   ================================================================= */
.rg-block {
  background: linear-gradient(135deg, #fff8ec 0%, #fff 100%);
  border: 2px solid #ffd06a;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex; gap: 18px; align-items: center;
}
.rg-block .icon { font-size: 2rem; flex-shrink: 0; }
.rg-block h3 { margin: 0 0 4px; color: var(--purple); font-size: 1.1rem; }
.rg-block p { margin: 0; font-size: .92rem; }

/* =================================================================
   TEXT BLOCK
   ================================================================= */
.gpro_section .text h3 { margin: 22px 0 10px; font-size: 1.15rem; font-weight: 700; color: var(--purple); }
.gpro_section .text h3:first-child { margin-top: 0; }
.gpro_section .text ul, .gpro_section .text ol { margin: 12px 0; padding-left: 22px; }
.gpro_section .text li { margin: 5px 0; }
.gpro_section .text strong { color: var(--text-dark); }

/* =================================================================
   INTRO BLOCK — sits inside hero-band, directly under H1
   ================================================================= */
.hero-band .intro-block {
  margin: 24px 0 0;
  max-width: 880px;
}
.hero-band .intro-block .intro-lead {
  font-size: .95rem;
  line-height: 1.6;
  color: #f1f2f3;
  margin: 0 0 20px;
}
.hero-band .intro-block .intro-lead strong { color: #fff; }
.hero-band .intro-block .intro-trail {
  font-size: .95rem;
  line-height: 1.6;
  color: #f1f2f3;
  margin: 20px 0 0;
}

/* Visa mer / Visa mindre toggle inside hero */
.hero-band .intro-more { display: block; margin-top: 6px; }
.hero-band .intro-more > summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.hero-band .intro-more > summary::-webkit-details-marker { display: none; }
.hero-band .intro-more > summary::after {
  content: "▾";
  font-size: .9rem; line-height: 1;
  transition: transform .25s ease;
}
.hero-band .intro-more > summary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}
.hero-band .intro-more[open] > summary::after { transform: rotate(180deg); }
.hero-band .intro-more > summary .less-label { display: none; }
.hero-band .intro-more[open] > summary .more-label { display: none; }
.hero-band .intro-more[open] > summary .less-label { display: inline; }
.hero-band .intro-more .intro-more-content { margin-top: 20px; }
.hero-band .intro-block .styled-table-wrap {
  margin: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.hero-band .intro-block table.styled-table {
  min-width: 0;
}
@media (max-width: 600px) {
  .hero-band .intro-block table.styled-table {
    font-size: .82rem;
    table-layout: fixed;
    width: 100%;
  }
  .hero-band .intro-block table.styled-table th,
  .hero-band .intro-block table.styled-table td {
    padding: 10px 12px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .hero-band .intro-block table.styled-table th:first-child,
  .hero-band .intro-block table.styled-table td:first-child {
    padding-left: 14px;
    width: 40%;
  }
  .hero-band .intro-block table.styled-table th:last-child,
  .hero-band .intro-block table.styled-table td:last-child {
    padding-right: 14px;
    width: 60%;
  }
  .hero-band .intro-block table.styled-table thead th {
    font-size: .7rem;
    padding: 12px;
  }
}

/* =================================================================
   STYLED TABLES
   ================================================================= */
.styled-table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(22, 0, 66, 0.06);
}
table.styled-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .92rem;
  min-width: 600px;
}
table.styled-table thead {
  background: linear-gradient(135deg, var(--purple) 0%, #2a0a6e 100%);
}
table.styled-table thead th {
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .04em;
  border-bottom: 0;
}
table.styled-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  vertical-align: top;
  line-height: 1.45;
}
@media (max-width: 600px) {
  table.styled-table {
    min-width: 540px;
    font-size: .8rem;
  }
  table.styled-table thead th {
    padding: 9px 10px;
    font-size: .68rem;
    letter-spacing: .02em;
  }
  table.styled-table tbody td {
    padding: 8px 10px;
    line-height: 1.35;
  }
  table.styled-table th:first-child,
  table.styled-table td:first-child { padding-left: 12px; }
  table.styled-table th:last-child,
  table.styled-table td:last-child { padding-right: 12px; }
  .styled-table-wrap { margin: 16px 0; }
  /* Subtle scroll affordance */
  .styled-table-wrap {
    background:
      linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)) left center / 20px 100% no-repeat,
      linear-gradient(-90deg, #fff 30%, rgba(255,255,255,0)) right center / 20px 100% no-repeat,
      linear-gradient(90deg, rgba(22,0,66,0.12), rgba(22,0,66,0)) left center / 12px 100% no-repeat,
      linear-gradient(-90deg, rgba(22,0,66,0.12), rgba(22,0,66,0)) right center / 12px 100% no-repeat,
      #fff;
    background-attachment: local, local, scroll, scroll, scroll;
  }
}
table.styled-table tbody tr:nth-child(even) td { background: #fafbfc; }
table.styled-table tbody tr:hover td { background: var(--ice); }
table.styled-table tbody tr:last-child td { border-bottom: 0; }
table.styled-table strong, table.styled-table b { color: var(--purple); font-weight: 700; }
table.styled-table th:first-child, table.styled-table td:first-child { padding-left: 22px; }
table.styled-table th:last-child, table.styled-table td:last-child { padding-right: 22px; }

/* =================================================================
   BACK-TO-TOP BUTTON
   ================================================================= */
.back-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  border: 0;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(22, 0, 66, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
  z-index: 90;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--accent); transform: translateY(-2px); }
@media (max-width: 600px) {
  .back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* =================================================================
   FOOTER — emventure dark navy
   ================================================================= */
.gpro_footer {
  background: var(--footer-bg); color: #fff;
  margin-top: 60px; padding: 56px 0 24px;
}
.gpro_footer .wrap { display: flex; flex-wrap: wrap; gap: 40px; }
.gpro_footer .info { flex: 1.2; min-width: 240px; }
.gpro_footer .info .logo { display: inline-flex; align-items: center; margin-bottom: 14px; }
.gpro_footer .info .logo img { display: block; height: 60px; width: auto; }
.gpro_footer .gamble-box {
  width: 100%; margin-top: 30px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  font-size: .85rem; color: #c7ced5;
}
.gpro_footer .gamble-box a { color: #fff; }
.gpro_footer .age-badge {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--danger); color: #fff;
  font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.gpro_footer .copyright {
  width: 100%; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: .8rem; color: #9aa1a8; text-align: center;
}
