/* ============================================================
   bet365 slots - interface stylesheet
   Mobile-first phone canvas: 320-430px, centered on wide screens.
   Palette: #FFCCCB / #AD1457 / #A9A9A9 / #2E4057 / #880E4F
   Direction: mono accents, light card radius, compact square
   game catalogue, step-by-step rhythm, CTA-only feedback.
   ============================================================ */

:root {
  --frame823ff-page: #0e1620;
  --frame823ff-canvas: #2E4057;
  --frame823ff-deep: #182434;
  --frame823ff-panel: #223248;
  --frame823ff-rose: #AD1457;
  --frame823ff-wine: #880E4F;
  --frame823ff-blush: #FFCCCB;
  --frame823ff-mute: #A9A9A9;
  --frame823ff-line: rgba(255, 204, 203, 0.14);
  --frame823ff-line-strong: rgba(255, 204, 203, 0.28);
  --frame823ff-ink-shadow: rgba(14, 22, 32, 0.55);
  --frame823ff-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --frame823ff-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --frame823ff-radius: 10px;
  --frame823ff-radius-btn: 8px;
  --frame823ff-header-h: 56px;
  --frame823ff-nav-h: 64px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--frame823ff-page);
  color: var(--frame823ff-blush);
  font-family: var(--frame823ff-body);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: var(--frame823ff-blush); text-decoration: none; }
a:hover { text-decoration: underline; }

button {
  font-family: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

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

/* ---------- phone canvas shell ---------- */

.frame823ff-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(136, 14, 79, 0.34) 0%, rgba(136, 14, 79, 0) 62%),
    linear-gradient(180deg, #22324a 0%, var(--frame823ff-canvas) 42%, #243550 100%);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

.frame823ff-main {
  padding: calc(var(--frame823ff-header-h) + 8px) 10px
           calc(var(--frame823ff-nav-h) + 46px + env(safe-area-inset-bottom)) 10px;
}

/* ---------- top action strip ---------- */

.frame823ff-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--frame823ff-header-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(24, 36, 52, 0.97) 0%, rgba(46, 64, 87, 0.94) 100%);
  border-bottom: 1px solid var(--frame823ff-line);
  backdrop-filter: blur(6px);
}

.frame823ff-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
}

.frame823ff-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--frame823ff-line-strong);
  background: var(--frame823ff-deep);
  flex: none;
}

.frame823ff-brandname {
  font-family: var(--frame823ff-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  white-space: nowrap;
}

.frame823ff-headact {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* compact icon-text CTA buttons */
.frame823ff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: var(--frame823ff-radius-btn);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
  -webkit-tap-highlight-color: rgba(255, 204, 203, 0.18);
}

.frame823ff-btn:active { transform: scale(0.96); filter: brightness(1.12); }

.frame823ff-btn--primary {
  background: linear-gradient(160deg, #c9186a 0%, var(--frame823ff-rose) 48%, var(--frame823ff-wine) 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(136, 14, 79, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.frame823ff-btn--ghost {
  background: rgba(255, 204, 203, 0.09);
  color: var(--frame823ff-blush);
  border: 1px solid var(--frame823ff-line-strong);
}

.frame823ff-btn--block { width: 100%; }

.frame823ff-menubtn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frame823ff-radius-btn);
  border: 1px solid var(--frame823ff-line);
  background: rgba(255, 204, 203, 0.06);
  color: var(--frame823ff-blush);
}

.frame823ff-menubtn svg { width: 20px; height: 20px; }

/* ---------- compact route panel ---------- */

.frame823ff-routes {
  position: fixed;
  top: var(--frame823ff-header-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: linear-gradient(180deg, rgba(20, 30, 44, 0.98) 0%, rgba(34, 50, 72, 0.98) 100%);
  border-bottom: 1px solid var(--frame823ff-line-strong);
  padding: 12px 12px 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.frame823ff-routes.frame823ff-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.frame823ff-routesgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.frame823ff-route {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 9px;
  border-radius: var(--frame823ff-radius-btn);
  background: rgba(255, 204, 203, 0.06);
  border: 1px solid var(--frame823ff-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--frame823ff-blush);
  text-decoration: none;
}

.frame823ff-route:active { background: rgba(255, 204, 203, 0.14); }
.frame823ff-route:hover { text-decoration: none; }

.frame823ff-route--now {
  background: rgba(173, 20, 87, 0.35);
  border-color: rgba(255, 204, 203, 0.4);
  color: #ffffff;
}

.frame823ff-routetag {
  font-family: var(--frame823ff-mono);
  font-size: 9px;
  letter-spacing: 0.8px;
  color: var(--frame823ff-mute);
  margin-left: auto;
  flex: none;
}

/* ---------- hero headline + carousel ---------- */

.frame823ff-h1 {
  margin: 4px 0 10px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.frame823ff-h1 em {
  font-style: normal;
  color: var(--frame823ff-blush);
}

.frame823ff-hero {
  position: relative;
  border-radius: var(--frame823ff-radius);
  overflow: hidden;
  border: 1px solid var(--frame823ff-line-strong);
  background: var(--frame823ff-deep);
  margin-bottom: 12px;
}

.frame823ff-track {
  display: flex;
  width: 100%;
  transition: transform 0.32s ease;
  touch-action: pan-y;
}

.frame823ff-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  display: block;
  text-align: left;
}

.frame823ff-slideimg {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.frame823ff-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0) 0%, rgba(14, 22, 32, 0.88) 78%);
}

.frame823ff-slidecap b {
  font-family: var(--frame823ff-mono);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.frame823ff-slidecap i {
  font-style: normal;
  font-size: 11px;
  color: var(--frame823ff-blush);
}

.frame823ff-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(160deg, #c9186a 0%, var(--frame823ff-wine) 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.frame823ff-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.frame823ff-dot {
  width: 22px;
  height: 6px;
  min-height: 6px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 204, 203, 0.32);
}

.frame823ff-dot.frame823ff-on {
  background: var(--frame823ff-blush);
}

/* ---------- generic prose ---------- */

.frame823ff-kicker {
  display: block;
  font-family: var(--frame823ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--frame823ff-blush);
  opacity: 0.85;
  margin: 0 0 4px;
}

.frame823ff-h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.32;
  font-weight: 800;
  color: #ffffff;
}

.frame823ff-h3 {
  margin: 14px 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--frame823ff-blush);
}

.frame823ff-p {
  margin: 0 0 10px;
  color: #f2e3e2;
  font-size: 13.5px;
}

.frame823ff-p a {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 1px dashed var(--frame823ff-blush);
}

.frame823ff-p a:hover { text-decoration: none; border-bottom-style: solid; }

.frame823ff-section {
  margin: 0 0 22px;
}

.frame823ff-card {
  background: var(--frame823ff-panel);
  border: 1px solid var(--frame823ff-line);
  border-radius: var(--frame823ff-radius);
  padding: 12px;
}

/* ---------- game catalogue ---------- */

.frame823ff-cat {
  margin: 0 0 24px;
  scroll-margin-top: calc(var(--frame823ff-header-h) + 10px);
}

.frame823ff-cathead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px;
}

.frame823ff-catnum {
  font-family: var(--frame823ff-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--frame823ff-blush);
  background: rgba(136, 14, 79, 0.55);
  border: 1px solid rgba(255, 204, 203, 0.3);
  border-radius: 6px;
  padding: 3px 7px;
  flex: none;
}

.frame823ff-ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
  margin-top: 10px;
}

.frame823ff-gcell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 5px 4px 6px;
  border-radius: var(--frame823ff-radius);
  background: rgba(24, 36, 52, 0.65);
  border: 1px solid var(--frame823ff-line);
  text-align: center;
  -webkit-tap-highlight-color: rgba(255, 204, 203, 0.14);
}

.frame823ff-gcell:active {
  transform: scale(0.94);
  border-color: rgba(255, 204, 203, 0.5);
}

.frame823ff-gimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: var(--frame823ff-deep);
}

.frame823ff-gname {
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 600;
  color: #f4e9e8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  word-break: break-word;
}

/* ---------- step strip (progressive rhythm) ---------- */

.frame823ff-steps {
  counter-reset: frame823ff-step;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.frame823ff-steps li {
  counter-increment: frame823ff-step;
  position: relative;
  display: block;
  padding: 10px 10px 10px 42px;
  background: rgba(24, 36, 52, 0.6);
  border: 1px solid var(--frame823ff-line);
  border-radius: var(--frame823ff-radius);
  font-size: 12.5px;
  color: #f2e3e2;
}

.frame823ff-steps li::before {
  content: counter(frame823ff-step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--frame823ff-mono);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(160deg, #c9186a 0%, var(--frame823ff-wine) 100%);
  border-radius: 7px;
  padding: 6px 5px;
  min-width: 22px;
  text-align: center;
}

.frame823ff-steps b { color: #ffffff; }

/* ---------- feature rows ---------- */

.frame823ff-feats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.frame823ff-feat {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px;
  background: rgba(24, 36, 52, 0.6);
  border: 1px solid var(--frame823ff-line);
  border-radius: var(--frame823ff-radius);
}

.frame823ff-fnum {
  font-family: var(--frame823ff-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--frame823ff-blush);
  border-bottom: 2px solid var(--frame823ff-rose);
  padding: 1px 3px;
  flex: none;
  margin-top: 1px;
}

.frame823ff-feat b {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 2px;
}

.frame823ff-feat span {
  font-size: 12px;
  color: #eadcdc;
  line-height: 1.5;
}

/* ---------- promotions ---------- */

.frame823ff-promos {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.frame823ff-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--frame823ff-radius);
  background: linear-gradient(120deg, rgba(136, 14, 79, 0.4) 0%, rgba(24, 36, 52, 0.75) 70%);
  border: 1px solid rgba(255, 204, 203, 0.22);
}

.frame823ff-promotxt { min-width: 0; flex: 1; }

.frame823ff-promotxt b {
  display: block;
  font-size: 13px;
  color: #ffffff;
}

.frame823ff-promotxt span {
  font-size: 11.5px;
  color: #e6d6d5;
  line-height: 1.45;
}

.frame823ff-promo .frame823ff-btn { flex: none; }

/* ---------- FAQ ---------- */

.frame823ff-faq {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frame823ff-faq details {
  background: rgba(24, 36, 52, 0.6);
  border: 1px solid var(--frame823ff-line);
  border-radius: var(--frame823ff-radius);
  padding: 0 12px;
}

.frame823ff-faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

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

.frame823ff-faq summary::after {
  content: "+";
  font-family: var(--frame823ff-mono);
  font-size: 16px;
  color: var(--frame823ff-blush);
  flex: none;
}

.frame823ff-faq details[open] summary::after { content: "\2212"; }

.frame823ff-faq p {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #eadcdc;
}

/* ---------- direct answer ---------- */

.frame823ff-answer {
  border-left: 4px solid var(--frame823ff-rose);
  background: rgba(136, 14, 79, 0.22);
  border-radius: 0 var(--frame823ff-radius) var(--frame823ff-radius) 0;
  padding: 12px;
  font-size: 13.5px;
  color: #f6ecec;
}

.frame823ff-answer b { color: #ffffff; }

/* ---------- extended footer ---------- */

.frame823ff-xfooter {
  margin: 26px -10px 0;
  padding: 16px 12px 14px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.5) 0%, rgba(14, 22, 32, 0.94) 30%);
  border-top: 1px solid var(--frame823ff-line-strong);
}

.frame823ff-xbrand {
  font-family: var(--frame823ff-mono);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.frame823ff-xbrand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}

.frame823ff-xfootp {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--frame823ff-mute);
  line-height: 1.55;
}

.frame823ff-xh {
  font-family: var(--frame823ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--frame823ff-blush);
  margin: 0 0 8px;
}

.frame823ff-xpromos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.frame823ff-xpromos .frame823ff-btn {
  min-height: 40px;
  font-size: 11.5px;
  padding: 8px 6px;
}

.frame823ff-xpromos .frame823ff-btn--wide { grid-column: 1 / -1; }

.frame823ff-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
  margin-bottom: 16px;
}

.frame823ff-dir a {
  font-size: 11.5px;
  color: #e8dcdc;
  padding: 6px 0 6px 12px;
  position: relative;
  border-bottom: 1px dotted var(--frame823ff-line);
}

.frame823ff-dir a::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: var(--frame823ff-rose);
  font-weight: 800;
}

.frame823ff-xnote {
  font-size: 10.5px;
  color: var(--frame823ff-mute);
  line-height: 1.6;
  border-top: 1px solid var(--frame823ff-line);
  padding-top: 10px;
}

.frame823ff-copyright {
  text-align: center;
  font-family: var(--frame823ff-mono);
  font-size: 10.5px;
  color: var(--frame823ff-mute);
  padding: 10px 0 4px;
  margin-top: 12px;
}

/* ---------- raised centre bottom navigation ---------- */

.frame823ff-navbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--frame823ff-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  background: linear-gradient(180deg, rgba(24, 36, 52, 0.9) 0%, rgba(14, 22, 32, 0.98) 100%);
  border-top: 1px solid var(--frame823ff-line-strong);
  backdrop-filter: blur(8px);
}

.frame823ff-navpill {
  position: absolute;
  bottom: calc(46px + env(safe-area-inset-bottom));
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--frame823ff-rose), var(--frame823ff-blush));
  transition: left 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.frame823ff-navitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  height: var(--frame823ff-nav-h);
  min-height: 44px;
  padding: 6px 2px 8px;
  color: var(--frame823ff-mute);
  font-size: 10px;
  -webkit-tap-highlight-color: rgba(255, 204, 203, 0.12);
}

.frame823ff-navitem:hover { text-decoration: none; }

.frame823ff-naviconwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.frame823ff-navicon { width: 21px; height: 21px; }

.frame823ff-navlabel {
  font-family: var(--frame823ff-mono);
  font-size: 9px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.frame823ff-navitem.frame823ff-on .frame823ff-naviconwrap {
  background: rgba(255, 204, 203, 0.18);
}

.frame823ff-navitem.frame823ff-on {
  color: #ffffff;
}

/* raised centre promo role */
.frame823ff-navitem--raise {
  justify-content: flex-end;
  height: auto;
  padding-bottom: 8px;
}

.frame823ff-navraise {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #c9186a 0%, var(--frame823ff-rose) 45%, var(--frame823ff-wine) 100%);
  border: 2px solid rgba(255, 204, 203, 0.65);
  box-shadow: 0 6px 16px rgba(136, 14, 79, 0.6);
  color: #ffffff;
  transition: transform 0.12s ease;
}

.frame823ff-navraise:active { transform: scale(0.92); }

.frame823ff-navraise svg { width: 24px; height: 24px; }

/* ---------- canvas breakpoints ---------- */

/* 375px and up: slightly roomier type and game labels */
@media (min-width: 375px) {
  .frame823ff-gname { font-size: 11px; }
  .frame823ff-p, .frame823ff-answer { font-size: 14px; }
}

/* 390px and up: five game columns across the phone canvas */
@media (min-width: 390px) {
  .frame823ff-ggrid { grid-template-columns: repeat(5, 1fr); }
}

/* 430px and up: wide-screen phones and desktop keep the same
   centred phone canvas with a framed edge */
@media (min-width: 430px) {
  .frame823ff-shell {
    border-left: 1px solid rgba(255, 204, 203, 0.1);
    border-right: 1px solid rgba(255, 204, 203, 0.1);
  }
  .frame823ff-h1 { font-size: 19px; }
  .frame823ff-h2 { font-size: 17px; }
}

/* respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .frame823ff-track,
  .frame823ff-navpill,
  .frame823ff-btn,
  .frame823ff-gcell,
  .frame823ff-navraise,
  .frame823ff-routes {
    transition: none;
  }
}
