/* ==========================================================================
   BMW Casino App - responsive palette stylesheet
   --------------------------------------------------------------------------
   Mobile-first canvas: 320px - 430px. Wide screens keep the same centered
   phone canvas at max-width:430px, so the navigation experience never forks.
   Palette anchors : #F8F8FF (text / CTA)  #2D2D2D (base background)
                     #2C3E50 (panels)      #95A5A6 (muted steel)
   Design voice    : technical headings + open body text, mixed corner radii,
                     large/small game card mix, compact metric-explanation
                     rhythm, motion reserved for key CTAs only.
   Class prefix    : c1ea9f-
   ========================================================================== */

:root {
  --c1ea9f-bg: #2d2d2d;
  --c1ea9f-bg-deep: #202020;
  --c1ea9f-panel: #2c3e50;
  --c1ea9f-panel-lift: #38506b;
  --c1ea9f-panel-soft: rgba(44, 62, 80, 0.55);
  --c1ea9f-well: rgba(45, 45, 45, 0.42);
  --c1ea9f-text: #f8f8ff;
  --c1ea9f-mist: #c6d2d6;
  --c1ea9f-muted: #95a5a6;
  --c1ea9f-line: rgba(149, 165, 166, 0.24);
  --c1ea9f-line-soft: rgba(149, 165, 166, 0.13);
  --c1ea9f-cta: #f8f8ff;
  --c1ea9f-cta-ink: #2c3e50;
  --c1ea9f-shadow: 0 10px 26px rgba(0, 0, 0, 0.36);
  --c1ea9f-r-sm: 8px;
  --c1ea9f-r-md: 12px;
  --c1ea9f-r-lg: 16px;
  --c1ea9f-r-xl: 22px;
  --c1ea9f-font-head: "Trebuchet MS", "Segoe UI", Tahoma, Verdana, sans-serif;
  --c1ea9f-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --c1ea9f-header-h: 98px;
  --c1ea9f-bnav-h: 74px;
  --c1ea9f-safe-b: env(safe-area-inset-bottom, 0px);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c1ea9f-bg-deep);
  color: var(--c1ea9f-text);
  font-family: var(--c1ea9f-font-body);
  font-size: 15px;
  line-height: 1.66;
}

body.c1ea9f-noscroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--c1ea9f-mist);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(248, 248, 255, 0.22);
}

/* Phone canvas: stays 430px wide on desktop, page scroll stays on body */
.c1ea9f-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--c1ea9f-bg);
  box-shadow: 0 0 0 1px rgba(149, 165, 166, 0.12), 0 0 48px rgba(0, 0, 0, 0.55);
}

.c1ea9f-skip {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: var(--c1ea9f-r-sm);
  background: var(--c1ea9f-cta);
  color: var(--c1ea9f-cta-ink);
  font-family: var(--c1ea9f-font-head);
  font-weight: 700;
  font-size: 13px;
  transition: top 0.2s ease;
}

.c1ea9f-skip:focus {
  top: 8px;
}

/* --------------------------------------------------------------------------
   Fixed top bar - dual row: brand strip above the action strip
   -------------------------------------------------------------------------- */

.c1ea9f-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #31465e 0%, #2c3e50 82%, rgba(44, 62, 80, 0.94) 100%);
  border-bottom: 1px solid var(--c1ea9f-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.c1ea9f-brandrow {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 7px 12px 4px;
}

.c1ea9f-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.c1ea9f-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(248, 248, 255, 0.2), 0 3px 8px rgba(0, 0, 0, 0.3);
}

.c1ea9f-brandname {
  font-family: var(--c1ea9f-font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.c1ea9f-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 10px;
}

/* Compact icon-plus-text CTA buttons */
.c1ea9f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: var(--c1ea9f-font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.16s ease;
}

.c1ea9f-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.c1ea9f-btn:active {
  transform: scale(0.97);
}

.c1ea9f-btn--register {
  flex: 1 1 auto;
  background: var(--c1ea9f-cta);
  color: var(--c1ea9f-cta-ink);
  box-shadow: 0 4px 14px rgba(248, 248, 255, 0.14);
}

.c1ea9f-btn--register:hover {
  background: #ffffff;
}

.c1ea9f-btn--login {
  flex: 1 1 auto;
  color: var(--c1ea9f-text);
  background: rgba(44, 62, 80, 0.35);
  border: 1px solid rgba(149, 165, 166, 0.55);
}

.c1ea9f-btn--login:hover {
  border-color: var(--c1ea9f-mist);
  background: rgba(44, 62, 80, 0.6);
}

.c1ea9f-menubtn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(149, 165, 166, 0.16);
  border: 1px solid var(--c1ea9f-line);
  transition: background-color 0.25s ease;
}

.c1ea9f-menubtn:hover {
  background: rgba(149, 165, 166, 0.3);
}

.c1ea9f-menubtn svg {
  width: 19px;
  height: 19px;
}

/* --------------------------------------------------------------------------
   Slide-up route panel (mobile menu sheet)
   -------------------------------------------------------------------------- */

.c1ea9f-rp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(12, 14, 16, 0.64);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.c1ea9f-rp-backdrop.is-on {
  opacity: 1;
  pointer-events: auto;
}

.c1ea9f-routepanel {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 103%);
  width: 100%;
  max-width: 430px;
  max-height: 80vh;
  max-height: 80dvh;
  overflow-y: auto;
  z-index: 80;
  padding: 8px 16px calc(20px + var(--c1ea9f-safe-b));
  background: linear-gradient(180deg, #354b63 0%, #2c3e50 38%, #283747 100%);
  border-radius: var(--c1ea9f-r-xl) var(--c1ea9f-r-xl) 0 0;
  border: 1px solid var(--c1ea9f-line);
  border-bottom: 0;
  box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.45);
  /* visibility keeps closed-panel links out of the tab order */
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(0.22, 0.9, 0.3, 1), visibility 0s linear 0.34s;
}

.c1ea9f-routepanel.is-open {
  transform: translate(-50%, 0);
  visibility: visible;
  transition: transform 0.34s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.c1ea9f-rp-grip {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  margin: 2px auto 10px;
  background: rgba(248, 248, 255, 0.28);
}

.c1ea9f-rp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.c1ea9f-rp-title {
  margin: 0;
  font-family: var(--c1ea9f-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c1ea9f-muted);
}

.c1ea9f-rp-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(45, 45, 45, 0.4);
  border: 1px solid var(--c1ea9f-line-soft);
  transition: background-color 0.25s ease;
}

.c1ea9f-rp-close:hover {
  background: rgba(45, 45, 45, 0.65);
}

.c1ea9f-rp-close svg {
  width: 16px;
  height: 16px;
}

.c1ea9f-rp-group {
  margin: 12px 0 4px;
}

.c1ea9f-rp-grouplabel {
  margin: 0 2px 7px;
  font-size: 11px;
  color: var(--c1ea9f-muted);
  letter-spacing: 0.06em;
}

.c1ea9f-rp-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  margin-bottom: 6px;
  padding: 10px 12px;
  border-radius: var(--c1ea9f-r-md);
  background: rgba(45, 45, 45, 0.35);
  border: 1px solid var(--c1ea9f-line-soft);
  font-family: var(--c1ea9f-font-head);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.c1ea9f-rp-link:hover {
  background: rgba(45, 45, 45, 0.6);
  border-color: var(--c1ea9f-line);
}

.c1ea9f-rp-link small {
  display: block;
  font-family: var(--c1ea9f-font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--c1ea9f-muted);
}

.c1ea9f-rp-link svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--c1ea9f-muted);
}

.c1ea9f-rp-cta {
  margin-top: 14px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Main column
   -------------------------------------------------------------------------- */

.c1ea9f-main {
  padding: calc(var(--c1ea9f-header-h) + 14px) 14px calc(var(--c1ea9f-bnav-h) + var(--c1ea9f-safe-b) + 30px);
}

.c1ea9f-eyebrow {
  margin: 0 0 8px;
  font-family: var(--c1ea9f-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c1ea9f-muted);
}

.c1ea9f-hero h1 {
  margin: 0 0 12px;
  font-family: var(--c1ea9f-font-head);
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

/* Eyebrow variant that sits above the edge-to-edge banner rail */
.c1ea9f-eyebrow--rail {
  margin: 16px 14px 8px;
}

.c1ea9f-lead {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--c1ea9f-mist);
}

.c1ea9f-h2 {
  margin: 0;
  font-family: var(--c1ea9f-font-head);
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.c1ea9f-section {
  margin-top: 26px;
  scroll-margin-top: calc(var(--c1ea9f-header-h) + 12px);
}

.c1ea9f-secbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.c1ea9f-countbadge {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(149, 165, 166, 0.16);
  border: 1px solid var(--c1ea9f-line-soft);
  font-family: var(--c1ea9f-font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--c1ea9f-mist);
  white-space: nowrap;
}

.c1ea9f-secintro {
  margin: 6px 0 14px;
  font-size: 13.5px;
  color: var(--c1ea9f-muted);
}

/* Hero CTA pair */
.c1ea9f-herocta {
  display: flex;
  gap: 9px;
  margin: 0 0 16px;
}

.c1ea9f-herocta .c1ea9f-btn {
  flex: 1;
}

/* Compact metric chips (horizontal scroll on narrow canvas) */
.c1ea9f-statchips {
  display: flex;
  gap: 8px;
  margin: 0 -14px;
  padding: 2px 14px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.c1ea9f-statchips::-webkit-scrollbar {
  display: none;
}

.c1ea9f-statchip {
  flex: 0 0 auto;
  min-width: 118px;
  scroll-snap-align: start;
  padding: 9px 12px;
  border-radius: var(--c1ea9f-r-md);
  background: var(--c1ea9f-panel-soft);
  border: 1px solid var(--c1ea9f-line-soft);
}

.c1ea9f-statchip b {
  display: block;
  font-family: var(--c1ea9f-font-head);
  font-size: 17px;
  letter-spacing: 0.01em;
}

.c1ea9f-statchip span {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: var(--c1ea9f-muted);
}

/* --------------------------------------------------------------------------
   Banner carousel (native scroll-snap, JS adds dots + autoplay)
   -------------------------------------------------------------------------- */

.c1ea9f-carousel {
  position: relative;
  margin: 6px -14px 0;
}

.c1ea9f-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.c1ea9f-track::-webkit-scrollbar {
  display: none;
}

.c1ea9f-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.c1ea9f-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: #24303c;
}

.c1ea9f-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(180deg, rgba(18, 24, 30, 0) 0%, rgba(18, 24, 30, 0.86) 78%);
  font-family: var(--c1ea9f-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.c1ea9f-slide-cap small {
  display: block;
  margin-top: 2px;
  font-family: var(--c1ea9f-font-body);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--c1ea9f-mist);
}

.c1ea9f-dots {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.c1ea9f-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(248, 248, 255, 0.38);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.c1ea9f-dot.is-on {
  width: 20px;
  background: var(--c1ea9f-cta);
}

/* --------------------------------------------------------------------------
   Category quick-jump chips
   -------------------------------------------------------------------------- */

.c1ea9f-jumpchips {
  display: flex;
  gap: 7px;
  margin: 16px -14px 0;
  padding: 2px 14px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.c1ea9f-jumpchips::-webkit-scrollbar {
  display: none;
}

.c1ea9f-jumpchip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(44, 62, 80, 0.65);
  border: 1px solid var(--c1ea9f-line-soft);
  font-family: var(--c1ea9f-font-head);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c1ea9f-mist);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.c1ea9f-jumpchip:hover {
  background: rgba(44, 62, 80, 0.95);
  color: var(--c1ea9f-text);
}

/* --------------------------------------------------------------------------
   Game grids - small tiles, 4 columns at 320px, 5 columns from 400px up
   -------------------------------------------------------------------------- */

.c1ea9f-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
}

.c1ea9f-gtile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--c1ea9f-r-md);
  transition: transform 0.16s ease;
}

.c1ea9f-gtile:active {
  transform: scale(0.95);
}

.c1ea9f-gtile-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--c1ea9f-r-md);
  overflow: hidden;
  background: #24303c;
  box-shadow: inset 0 0 0 1px rgba(149, 165, 166, 0.16), 0 4px 10px rgba(0, 0, 0, 0.24);
}

.c1ea9f-gtile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c1ea9f-gtile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.6em;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  color: var(--c1ea9f-mist);
}

/* Wide feature card - the "large" half of the large/small card mix */
.c1ea9f-gtile--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--c1ea9f-panel-soft);
  border: 1px solid var(--c1ea9f-line-soft);
}

.c1ea9f-gtile--wide .c1ea9f-gtile-img {
  width: 76px;
  flex: 0 0 76px;
}

.c1ea9f-gtile--wide .c1ea9f-gtile-name {
  min-height: 0;
  text-align: left;
  font-size: 12.5px;
  color: var(--c1ea9f-text);
}

.c1ea9f-gtile-tag {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--c1ea9f-muted);
}

/* Live dealer strip - horizontal scroll with taller portrait-feel cards */
.c1ea9f-livestrip {
  display: flex;
  gap: 10px;
  margin: 2px -14px 0;
  padding: 4px 14px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.c1ea9f-livestrip::-webkit-scrollbar {
  display: none;
}

.c1ea9f-lcard {
  flex: 0 0 128px;
  scroll-snap-align: start;
}

.c1ea9f-lcard .c1ea9f-gtile-img {
  border-radius: var(--c1ea9f-r-md);
}

.c1ea9f-lcard .c1ea9f-gtile-name {
  font-size: 11.5px;
  text-align: left;
}

.c1ea9f-liveflag {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(35, 35, 35, 0.85);
  border: 1px solid var(--c1ea9f-line);
  font-family: var(--c1ea9f-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c1ea9f-text);
}

.c1ea9f-gridnote {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: rgba(149, 165, 166, 0.85);
}

/* Five-column switch for slightly wider phones */
@media (min-width: 400px) {
  .c1ea9f-gamegrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 9px;
  }
}

/* --------------------------------------------------------------------------
   Mid-page CTA band
   -------------------------------------------------------------------------- */

.c1ea9f-ctaban {
  margin-top: 28px;
  padding: 18px 15px 16px;
  text-align: center;
  border-radius: var(--c1ea9f-r-lg);
  background: linear-gradient(135deg, #354962 0%, #2c3e50 58%, #27354a 100%);
  border: 1px solid var(--c1ea9f-line);
  box-shadow: var(--c1ea9f-shadow);
}

.c1ea9f-ctaban h2 {
  margin: 0 0 6px;
  font-family: var(--c1ea9f-font-head);
  font-size: 19px;
}

.c1ea9f-ctaban p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--c1ea9f-mist);
}

.c1ea9f-ctaban .c1ea9f-herocta {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Content panels (modules after the game area)
   -------------------------------------------------------------------------- */

.c1ea9f-panel {
  margin-top: 26px;
  padding: 16px 15px 12px;
  border-radius: var(--c1ea9f-r-lg);
  background: var(--c1ea9f-panel);
  border: 1px solid rgba(149, 165, 166, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.c1ea9f-panel > .c1ea9f-eyebrow {
  margin-bottom: 6px;
}

.c1ea9f-panel p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--c1ea9f-mist);
}

.c1ea9f-panel p:last-child {
  margin-bottom: 4px;
}

.c1ea9f-inlink {
  color: var(--c1ea9f-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(149, 165, 166, 0.6);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s ease;
}

.c1ea9f-inlink:hover {
  text-decoration-color: var(--c1ea9f-text);
}

/* Security checklist */
.c1ea9f-checklist {
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}

.c1ea9f-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  border-radius: var(--c1ea9f-r-sm);
  background: var(--c1ea9f-well);
  border: 1px solid var(--c1ea9f-line-soft);
}

.c1ea9f-check svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--c1ea9f-mist);
}

.c1ea9f-check b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--c1ea9f-font-head);
  font-size: 13.5px;
}

.c1ea9f-check span {
  display: block;
  font-size: 12.5px;
  line-height: 1.52;
  color: var(--c1ea9f-muted);
}

/* Compact metric + explanation grid */
.c1ea9f-metricgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 10px;
}

.c1ea9f-metric {
  padding: 9px 7px;
  border-radius: var(--c1ea9f-r-sm);
  background: var(--c1ea9f-well);
  text-align: center;
}

.c1ea9f-metric b {
  display: block;
  font-family: var(--c1ea9f-font-head);
  font-size: 16px;
  letter-spacing: 0.01em;
}

.c1ea9f-metric span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--c1ea9f-muted);
}

/* Promotion offer rows */
.c1ea9f-offers {
  display: grid;
  gap: 9px;
  margin: 8px 0 12px;
}

.c1ea9f-offer {
  display: flex;
  gap: 10px;
  padding: 10px 11px;
  border-radius: var(--c1ea9f-r-sm);
  background: var(--c1ea9f-well);
  border-left: 3px solid var(--c1ea9f-muted);
}

.c1ea9f-offer:nth-child(even) {
  border-left-color: rgba(248, 248, 255, 0.62);
}

.c1ea9f-offer svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--c1ea9f-mist);
}

.c1ea9f-offer b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--c1ea9f-font-head);
  font-size: 13.5px;
}

.c1ea9f-offer span {
  display: block;
  font-size: 12.5px;
  line-height: 1.52;
  color: var(--c1ea9f-muted);
}

/* Glossary */
.c1ea9f-gloss {
  display: grid;
  gap: 8px;
  margin: 8px 0 8px;
}

.c1ea9f-glossitem {
  padding: 10px 12px;
  border-radius: var(--c1ea9f-r-sm);
  background: rgba(45, 45, 45, 0.38);
}

.c1ea9f-glossitem dt {
  font-family: var(--c1ea9f-font-head);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.c1ea9f-glossitem dd {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.52;
  color: var(--c1ea9f-muted);
}

/* FAQ - native details/summary accordions */
.c1ea9f-faq {
  display: grid;
  gap: 8px;
  margin: 10px 0 4px;
}

.c1ea9f-faq details {
  border-radius: var(--c1ea9f-r-sm);
  background: var(--c1ea9f-well);
  border: 1px solid var(--c1ea9f-line-soft);
  overflow: hidden;
}

.c1ea9f-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  cursor: pointer;
  list-style: none;
  font-family: var(--c1ea9f-font-head);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}

.c1ea9f-faq summary::-webkit-details-marker {
  display: none;
}

.c1ea9f-faq summary::after {
  content: "+";
  flex: none;
  font-size: 18px;
  color: var(--c1ea9f-muted);
  transition: color 0.25s ease;
}

.c1ea9f-faq details[open] summary::after {
  content: "-";
}

.c1ea9f-faq details[open] summary {
  color: var(--c1ea9f-text);
}

.c1ea9f-faq details > .c1ea9f-faq-body {
  padding: 0 12px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c1ea9f-muted);
}

.c1ea9f-faq-body .c1ea9f-inlink {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Extended footer (brand > page directory > promo actions > disclaimer)
   -------------------------------------------------------------------------- */

.c1ea9f-xfoot {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--c1ea9f-line);
}

.c1ea9f-xf-title {
  margin: 0 0 9px;
  font-family: var(--c1ea9f-font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c1ea9f-muted);
}

.c1ea9f-xf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.c1ea9f-xf-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.c1ea9f-xf-brand b {
  font-family: var(--c1ea9f-font-head);
  font-size: 15px;
}

.c1ea9f-xf-brandtext {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--c1ea9f-muted);
}

.c1ea9f-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.c1ea9f-dirlink {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--c1ea9f-r-sm);
  background: var(--c1ea9f-panel-soft);
  border: 1px solid var(--c1ea9f-line-soft);
  font-size: 12px;
  line-height: 1.3;
  color: var(--c1ea9f-mist);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.c1ea9f-dirlink:hover {
  background: rgba(44, 62, 80, 0.9);
  color: var(--c1ea9f-text);
}

.c1ea9f-dirlink svg {
  flex: none;
  width: 13px;
  height: 13px;
  color: var(--c1ea9f-muted);
}

.c1ea9f-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.c1ea9f-promoact {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: var(--c1ea9f-r-sm);
  background: rgba(248, 248, 255, 0.06);
  border: 1px solid rgba(248, 248, 255, 0.2);
  font-family: var(--c1ea9f-font-head);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c1ea9f-text);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.c1ea9f-promoact:hover {
  background: rgba(248, 248, 255, 0.13);
  border-color: rgba(248, 248, 255, 0.4);
}

.c1ea9f-promoact:active {
  transform: scale(0.97);
}

.c1ea9f-promoact svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--c1ea9f-mist);
}

.c1ea9f-promoact--main {
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 48px;
  background: var(--c1ea9f-cta);
  border: 0;
  color: var(--c1ea9f-cta-ink);
  font-size: 13.5px;
  letter-spacing: 0.03em;
}

.c1ea9f-promoact--main svg {
  color: var(--c1ea9f-cta-ink);
}

.c1ea9f-promoact--main:hover {
  background: #ffffff;
}

.c1ea9f-discnote {
  padding: 11px 12px;
  border-radius: var(--c1ea9f-r-sm);
  background: rgba(45, 45, 45, 0.35);
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(149, 165, 166, 0.92);
}

.c1ea9f-foot {
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--c1ea9f-muted);
}

/* --------------------------------------------------------------------------
   Mobile bottom navigation - center-raised, underline active marker
   -------------------------------------------------------------------------- */

.c1ea9f-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  height: calc(var(--c1ea9f-bnav-h) + var(--c1ea9f-safe-b));
  padding: 5px 6px calc(5px + var(--c1ea9f-safe-b));
  background: rgba(30, 40, 50, 0.95);
  border-top: 1px solid var(--c1ea9f-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.c1ea9f-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  color: var(--c1ea9f-muted);
  transition: color 0.25s ease;
}

/* Containerized symbol tile around each glyph */
.c1ea9f-bnav-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(149, 165, 166, 0.12);
  border: 1px solid rgba(149, 165, 166, 0.16);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.c1ea9f-bnav-ico svg {
  width: 16px;
  height: 16px;
}

.c1ea9f-bnav-lab {
  font-family: var(--c1ea9f-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.c1ea9f-bnav-item:hover {
  color: var(--c1ea9f-text);
}

.c1ea9f-bnav-item.is-active {
  color: var(--c1ea9f-text);
}

.c1ea9f-bnav-item.is-active .c1ea9f-bnav-ico {
  background: rgba(248, 248, 255, 0.15);
  border-color: rgba(248, 248, 255, 0.38);
}

/* Underline marker for the current page */
.c1ea9f-bnav-item.is-active::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--c1ea9f-cta);
}

/* Raised center CTA */
.c1ea9f-bnav-item--cta {
  color: var(--c1ea9f-text);
}

.c1ea9f-bnav-item--cta .c1ea9f-bnav-ico {
  width: 56px;
  height: 56px;
  margin-top: -22px;
  border-radius: 50%;
  border: 0;
  background: var(--c1ea9f-cta);
  color: var(--c1ea9f-cta-ink);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45), 0 0 0 5px rgba(30, 40, 50, 0.95);
  transition: transform 0.16s ease;
}

.c1ea9f-bnav-item--cta .c1ea9f-bnav-ico svg {
  width: 24px;
  height: 24px;
}

.c1ea9f-bnav-item--cta:active .c1ea9f-bnav-ico {
  transform: scale(0.93);
}

/* --------------------------------------------------------------------------
   Motion budget - keep it calm; honor reduced-motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}

/* Slightly roomier type once the canvas reaches the top of the phone range */
@media (min-width: 375px) {
  .c1ea9f-hero h1 {
    font-size: 28px;
  }

  .c1ea9f-h2 {
    font-size: 20px;
  }

  .c1ea9f-ctaban h2 {
    font-size: 20px;
  }
}
