/* ==========================================================================
   Wow Casino Login - interface stylesheet
   Canvas: 320-430px mobile-first, centered phone canvas on wide screens
   Class prefix: frame42f02-
   Font pairing: tech headings (Chakra Petch) + open body (Inter)
   Radius policy: pill buttons, square cards
   ========================================================================== */

:root {
  --frame42f02-ink: #141c26;          /* page backdrop (deepest) */
  --frame42f02-canvas: #273746;       /* phone canvas surface */
  --frame42f02-panel: #2e4152;        /* raised panel */
  --frame42f02-panel-2: #35495c;      /* hovered / alternate panel */
  --frame42f02-line: #43596d;         /* hairline borders */
  --frame42f02-aqua: #40e0d0;         /* signature accent */
  --frame42f02-aqua-deep: #1fa396;
  --frame42f02-royal: #4169e1;        /* primary CTA */
  --frame42f02-steel: #4682b4;        /* secondary surfaces */
  --frame42f02-coffee: #6f4e37;       /* warm highlight (hot tags) */
  --frame42f02-sand: #f8f9fa;         /* light text */
  --frame42f02-mist: #b9c8d6;         /* muted text */
  --frame42f02-amber: #e0b689;        /* warm readable accent */
  --frame42f02-font-head: "Chakra Petch", "Segoe UI", Arial, sans-serif;
  --frame42f02-font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --frame42f02-radius-pill: 999px;
  --frame42f02-radius-card: 3px;
  --frame42f02-header-h: 62px;        /* brand deck */
  --frame42f02-action-h: 48px;        /* action deck */
  --frame42f02-dock-h: 62px;
  --frame42f02-tap: 44px;             /* minimum touch target */
  --frame42f02-shadow-card: 0 1px 0 rgba(0, 0, 0, 0.28);
  --frame42f02-shadow-pop: 0 8px 26px rgba(0, 0, 0, 0.42);
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--frame42f02-header-h) + var(--frame42f02-action-h) + 16px);
}

body {
  margin: 0;
  background: var(--frame42f02-ink);
  background-image: radial-gradient(1100px 520px at 50% -180px, #1d2a38 0%, var(--frame42f02-ink) 62%);
  color: var(--frame42f02-sand);
  font-family: var(--frame42f02-font-body);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--frame42f02-aqua);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3, h4 {
  font-family: var(--frame42f02-font-head);
  line-height: 1.28;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 0.9em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

:focus-visible {
  outline: 2px solid var(--frame42f02-aqua);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.frame42f02-shell {
  position: relative;
  width: 100%;
  max-width: 430px;   /* the literal phone-canvas width */
  margin-inline: auto;
  background: var(--frame42f02-canvas);
  min-height: 100vh;
  overflow-x: clip;
}

/* ---------- fixed top bar (two-deck asymmetric header) ---------- */

.frame42f02-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(18, 26, 36, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(64, 224, 208, 0.38);
}

/* brand deck: logo + stacked wordmark left, menu trigger right */
.frame42f02-deck-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--frame42f02-header-h);
  padding: 8px 12px 6px;
}

.frame42f02-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}

.frame42f02-brand__logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 6px;
  border: 1px solid rgba(64, 224, 208, 0.55);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.08);
  object-fit: cover;
}

.frame42f02-brand__words {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.frame42f02-brand__word {
  font-family: var(--frame42f02-font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--frame42f02-sand);
  white-space: nowrap;
}

.frame42f02-brand__word--sub {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--frame42f02-aqua);
}

.frame42f02-menubtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--frame42f02-tap);
  height: var(--frame42f02-tap);
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  color: var(--frame42f02-sand);
  flex: 0 0 auto;
}

.frame42f02-menubtn__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.frame42f02-menubtn__bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.frame42f02-topbar.frame42f02-open .frame42f02-menubtn__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.frame42f02-topbar.frame42f02-open .frame42f02-menubtn__bars span:nth-child(2) {
  opacity: 0;
}

.frame42f02-topbar.frame42f02-open .frame42f02-menubtn__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* action deck: Register + Login, full-width pair */
.frame42f02-deck-actions {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
  padding: 0 12px 9px;
}

.frame42f02-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--frame42f02-tap);
  padding: 9px 16px;
  border-radius: var(--frame42f02-radius-pill);
  font-family: var(--frame42f02-font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-align: center;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.frame42f02-btn:active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(1.12);
}

.frame42f02-btn--register {
  background: linear-gradient(135deg, var(--frame42f02-aqua) 0%, #2fc4b4 100%);
  color: #0d2937;
  box-shadow: 0 4px 14px rgba(64, 224, 208, 0.28);
}

.frame42f02-btn--login {
  background: transparent;
  border: 1px solid var(--frame42f02-aqua);
  color: var(--frame42f02-aqua);
}

/* ---------- layered dropdown menu ---------- */

.frame42f02-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #101823;
  border-bottom: 2px solid var(--frame42f02-aqua);
  box-shadow: var(--frame42f02-shadow-pop);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.frame42f02-topbar.frame42f02-open .frame42f02-menu {
  max-height: 560px;
}

.frame42f02-menu__inner {
  padding: 6px 12px 16px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.frame42f02-menu__group {
  margin-top: 12px;
}

.frame42f02-menu__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--frame42f02-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--frame42f02-amber);
  padding: 4px 0;
}

.frame42f02-menu__kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 182, 137, 0.5), transparent);
}

.frame42f02-menu__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.frame42f02-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--frame42f02-radius-card);
  color: var(--frame42f02-sand);
  font-size: 14.5px;
  font-weight: 500;
}

.frame42f02-menu__link:hover,
.frame42f02-menu__link:focus-visible {
  background: var(--frame42f02-panel);
  text-decoration: none;
}

.frame42f02-menu__link em {
  font-style: normal;
  font-size: 11px;
  color: var(--frame42f02-mist);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--frame42f02-font-head);
}

.frame42f02-menu__arrow {
  color: var(--frame42f02-aqua);
  font-family: var(--frame42f02-font-head);
  font-size: 13px;
}

/* dim scrim behind open menu */
.frame42f02-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 12, 18, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.frame42f02-scrim.frame42f02-on {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- main ---------- */

.frame42f02-main {
  padding-top: calc(var(--frame42f02-header-h) + var(--frame42f02-action-h) + 2px);
  /* keep clear of the fixed bottom dock */
  padding-bottom: calc(var(--frame42f02-dock-h) + 34px + env(safe-area-inset-bottom));
}

.frame42f02-wrap {
  padding-inline: 12px;
}

/* ---------- community pot ticker ---------- */

.frame42f02-pot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 12px 0;
  padding: 9px 12px;
  background: linear-gradient(120deg, rgba(65, 105, 225, 0.35), rgba(70, 130, 180, 0.22));
  border-left: 3px solid var(--frame42f02-aqua);
  border-radius: var(--frame42f02-radius-card);
}

.frame42f02-pot__label {
  font-family: var(--frame42f02-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--frame42f02-mist);
}

.frame42f02-pot__value {
  font-family: var(--frame42f02-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--frame42f02-aqua);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- hero carousel ---------- */

.frame42f02-carousel {
  position: relative;
  margin: 12px 12px 0;
  border-radius: var(--frame42f02-radius-card);
  overflow: hidden;
  border: 1px solid var(--frame42f02-line);
  aspect-ratio: 2 / 1;
  background: var(--frame42f02-panel);
}

.frame42f02-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  text-align: left;
  display: block;
}

.frame42f02-slide.frame42f02-on {
  opacity: 1;
  z-index: 2;
}

.frame42f02-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame42f02-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 24, 0) 30%, rgba(10, 16, 24, 0.86) 100%);
}

.frame42f02-slide__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  pointer-events: none;
}

.frame42f02-slide__kicker {
  font-family: var(--frame42f02-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--frame42f02-aqua);
}

.frame42f02-slide__title {
  font-family: var(--frame42f02-font-head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--frame42f02-sand);
  line-height: 1.25;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.frame42f02-slide__cta {
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: var(--frame42f02-radius-pill);
  background: rgba(64, 224, 208, 0.92);
  color: #0d2937;
  font-family: var(--frame42f02-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.frame42f02-dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.frame42f02-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--frame42f02-radius-pill);
  background: rgba(248, 249, 250, 0.4);
  transition: width 0.2s ease, background 0.2s ease;
}

.frame42f02-dot.frame42f02-on {
  width: 26px;
  background: var(--frame42f02-aqua);
}

/* ---------- intro / H1 block ---------- */

.frame42f02-intro {
  padding: 18px 12px 6px;
}

.frame42f02-intro__h1 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--frame42f02-sand);
}

.frame42f02-intro__h1 b {
  color: var(--frame42f02-aqua);
  font-weight: 700;
}

.frame42f02-intro__lead {
  margin: 10px 0 12px;
  color: var(--frame42f02-mist);
  font-size: 14.5px;
}

.frame42f02-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.frame42f02-trust li {
  background: var(--frame42f02-panel);
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  padding: 8px 9px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--frame42f02-sand);
  text-align: center;
}

.frame42f02-trust li strong {
  display: block;
  font-family: var(--frame42f02-font-head);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frame42f02-aqua);
  margin-bottom: 3px;
}

/* ---------- category chip strip ---------- */

.frame42f02-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.frame42f02-chip {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 86px;
  min-height: var(--frame42f02-tap);
  padding: 8px 12px;
  background: var(--frame42f02-panel);
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  color: var(--frame42f02-sand);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.frame42f02-chip:hover {
  text-decoration: none;
  border-color: var(--frame42f02-aqua);
}

.frame42f02-chip.frame42f02-on {
  border-color: var(--frame42f02-aqua);
  background: rgba(64, 224, 208, 0.1);
}

.frame42f02-chip__name {
  font-family: var(--frame42f02-font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.frame42f02-chip__count {
  font-size: 10.5px;
  color: var(--frame42f02-mist);
}

/* ---------- game category sections ---------- */

.frame42f02-cat {
  padding: 14px 12px 4px;
}

.frame42f02-cat__head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.frame42f02-cat__index {
  font-family: var(--frame42f02-font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--frame42f02-aqua);
  letter-spacing: 0.12em;
}

.frame42f02-cat__title {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--frame42f02-sand);
}

.frame42f02-cat__count {
  margin-left: auto;
  font-family: var(--frame42f02-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--frame42f02-ink);
  background: var(--frame42f02-aqua);
  padding: 3px 9px;
  border-radius: var(--frame42f02-radius-pill);
}

.frame42f02-cat__blurb {
  margin: 2px 0 8px;
  font-size: 13.5px;
  color: var(--frame42f02-mist);
}

.frame42f02-cat__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 12px;
  font-size: 12.5px;
}

.frame42f02-cat__links span {
  font-family: var(--frame42f02-font-head);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frame42f02-mist);
}

.frame42f02-cat__links a {
  color: var(--frame42f02-amber);
  border-bottom: 1px dotted rgba(224, 182, 137, 0.55);
}

/* horizontal icon-name bars (2 columns) */
.frame42f02-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.frame42f02-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 9px;
  background: var(--frame42f02-panel);
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  box-shadow: var(--frame42f02-shadow-card);
  text-align: left;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.frame42f02-bar:active {
  transform: translateY(1px);
  border-color: var(--frame42f02-aqua);
}

.frame42f02-bar__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 4px;
  object-fit: cover;
  background: #1c2836;
}

.frame42f02-bar__name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--frame42f02-sand);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.frame42f02-bar__go {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--frame42f02-steel);
  font-family: var(--frame42f02-font-head);
  font-size: 14px;
}

/* icon tile grid for the hot showcase (4 cols at 320px, 5 at 390px) */
.frame42f02-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.frame42f02-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 5px 7px;
  background: var(--frame42f02-panel);
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  text-align: center;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.frame42f02-tile:active {
  transform: translateY(1px);
  border-color: var(--frame42f02-aqua);
}

.frame42f02-tile__icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: #1c2836;
}

.frame42f02-tile__name {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--frame42f02-sand);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.frame42f02-tile--hot::before {
  content: "HOT";
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 2;
  font-family: var(--frame42f02-font-head);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--frame42f02-sand);
  background: var(--frame42f02-coffee);
  padding: 2px 5px;
  border-radius: 2px;
}

/* ---------- editorial modules ---------- */

.frame42f02-prose {
  padding: 20px 12px 6px;
  border-top: 1px solid rgba(67, 89, 109, 0.5);
  margin-top: 18px;
}

.frame42f02-prose:first-of-type {
  border-top: 0;
}

.frame42f02-kicker {
  display: block;
  font-family: var(--frame42f02-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--frame42f02-aqua);
  margin-bottom: 6px;
}

.frame42f02-h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--frame42f02-sand);
  margin-bottom: 10px;
}

.frame42f02-prose p {
  font-size: 14.5px;
  color: var(--frame42f02-mist);
}

.frame42f02-prose strong {
  color: var(--frame42f02-sand);
  font-weight: 600;
}

.frame42f02-h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--frame42f02-amber);
  margin: 14px 0 4px;
}

.frame42f02-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}

.frame42f02-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--frame42f02-mist);
}

.frame42f02-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.58em;
  width: 7px;
  height: 7px;
  background: var(--frame42f02-aqua);
  border-radius: 1px;
  transform: rotate(45deg);
}

.frame42f02-list--check li::before {
  content: "\2713";
  width: auto;
  height: auto;
  transform: none;
  background: none;
  color: var(--frame42f02-aqua);
  font-family: var(--frame42f02-font-head);
  font-weight: 700;
  font-size: 12px;
  top: 0.14em;
  left: 0;
}

/* numbered steps */
.frame42f02-steps {
  list-style: none;
  counter-reset: frame42f02-step;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 10px;
}

.frame42f02-steps li {
  counter-increment: frame42f02-step;
  position: relative;
  padding: 10px 12px 10px 46px;
  background: var(--frame42f02-panel);
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  font-size: 13.5px;
  color: var(--frame42f02-mist);
}

.frame42f02-steps li::before {
  content: counter(frame42f02-step, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--frame42f02-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--frame42f02-ink);
  background: var(--frame42f02-aqua);
  padding: 3px 6px;
  border-radius: 2px;
}

.frame42f02-steps strong {
  color: var(--frame42f02-sand);
}

/* trick rows (label + tip) */
.frame42f02-trick {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(67, 89, 109, 0.65);
}

.frame42f02-trick:last-of-type {
  border-bottom: 0;
}

.frame42f02-trick__tag {
  font-family: var(--frame42f02-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frame42f02-aqua);
  padding-top: 2px;
}

.frame42f02-trick__body {
  font-size: 13.5px;
  color: var(--frame42f02-mist);
}

/* feature spec sheet */
.frame42f02-spec {
  margin: 0 0 12px;
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  overflow: hidden;
}

.frame42f02-spec__row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
}

.frame42f02-spec__row + .frame42f02-spec__row {
  border-top: 1px solid rgba(67, 89, 109, 0.55);
}

.frame42f02-spec__key {
  padding: 9px 10px;
  background: rgba(20, 28, 38, 0.45);
  font-family: var(--frame42f02-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frame42f02-aqua);
}

.frame42f02-spec__val {
  padding: 9px 10px;
  font-size: 13px;
  color: var(--frame42f02-mist);
}

/* takeaways */
.frame42f02-recap {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 10px;
  list-style: none;
}

.frame42f02-recap li {
  padding: 10px 12px;
  background: linear-gradient(120deg, rgba(65, 105, 225, 0.22), rgba(64, 224, 208, 0.08));
  border-left: 3px solid var(--frame42f02-royal);
  border-radius: var(--frame42f02-radius-card);
  font-size: 13.5px;
  color: var(--frame42f02-sand);
}

/* inline CTA line */
.frame42f02-ctaline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 12px 8px;
  padding: 12px 14px;
  background: linear-gradient(120deg, rgba(64, 224, 208, 0.14), rgba(65, 105, 225, 0.16));
  border: 1px solid rgba(64, 224, 208, 0.4);
  border-radius: var(--frame42f02-radius-card);
}

.frame42f02-ctaline__text {
  font-size: 13px;
  color: var(--frame42f02-sand);
}

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

.frame42f02-xfooter {
  margin-top: 22px;
  padding: 18px 12px 14px;
  background: #1d2937;
  border-top: 2px solid var(--frame42f02-aqua);
}

.frame42f02-xfooter h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--frame42f02-sand);
  margin-bottom: 12px;
}

.frame42f02-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}

.frame42f02-dir a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 8px 10px;
  background: rgba(46, 65, 82, 0.55);
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  color: var(--frame42f02-sand);
  font-size: 12.5px;
  font-weight: 500;
}

.frame42f02-dir a::before {
  content: "\2192";
  color: var(--frame42f02-aqua);
  font-family: var(--frame42f02-font-head);
}

.frame42f02-dir a:hover {
  text-decoration: none;
  border-color: var(--frame42f02-aqua);
  background: rgba(64, 224, 208, 0.08);
}

.frame42f02-xbrand {
  font-size: 13px;
  color: var(--frame42f02-mist);
  border-top: 1px dashed rgba(67, 89, 109, 0.7);
  padding-top: 14px;
  margin-bottom: 14px;
}

.frame42f02-xbrand strong {
  color: var(--frame42f02-sand);
}

/* horizontal promo shortcuts (7 actions) */
.frame42f02-shorts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
}

.frame42f02-shorts button,
.frame42f02-shorts .frame42f02-shorts__link {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: var(--frame42f02-radius-pill);
  font-family: var(--frame42f02-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: transform 0.12s ease;
}

.frame42f02-shorts button {
  background: transparent;
  border: 1px solid var(--frame42f02-aqua);
  color: var(--frame42f02-aqua);
}

.frame42f02-shorts button:active {
  transform: translateY(1px);
  background: rgba(64, 224, 208, 0.12);
}

.frame42f02-xnote {
  font-size: 11.5px;
  line-height: 1.55;
  color: #8ba0b3;
}

.frame42f02-xnote strong {
  color: var(--frame42f02-amber);
}

/* ---------- common footer ---------- */

.frame42f02-foot {
  padding: 16px 12px 8px;
  text-align: center;
  background: #182430;
}

.frame42f02-foot__copy {
  font-size: 11.5px;
  color: var(--frame42f02-mist);
  margin: 0 0 4px;
}

.frame42f02-foot__badge {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--frame42f02-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--frame42f02-amber);
  border: 1px solid rgba(224, 182, 137, 0.6);
  border-radius: var(--frame42f02-radius-pill);
  padding: 3px 10px;
}

/* ---------- fixed bottom dock (5 roles) ---------- */

.frame42f02-dock {
  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));
  background: rgba(16, 24, 34, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(64, 224, 208, 0.35);
  padding-bottom: env(safe-area-inset-bottom);
}

.frame42f02-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--frame42f02-dock-h);
  padding: 7px 2px 6px;
  color: var(--frame42f02-mist);
  position: relative;
  transition: transform 0.12s ease;
}

.frame42f02-dock__item:active {
  transform: scale(0.94);
}

.frame42f02-dock__item:hover {
  text-decoration: none;
  color: var(--frame42f02-sand);
}

.frame42f02-dock__icon {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.frame42f02-dock__label {
  font-family: var(--frame42f02-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame42f02-dock__item.frame42f02-on {
  color: var(--frame42f02-aqua);
}

.frame42f02-dock__item.frame42f02-on::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  background: var(--frame42f02-aqua);
  border-radius: 0 0 3px 3px;
}

/* the two promo dock roles get a warm pulse ring to stand out */
.frame42f02-dock__item--promo {
  color: var(--frame42f02-amber);
}

.frame42f02-dock__item--promo .frame42f02-dock__icon {
  filter: drop-shadow(0 0 6px rgba(224, 182, 137, 0.55));
}

/* ---------- help pages: features uses sheets; tips uses a rail ---------- */

.frame42f02-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 12px 12px 0;
  font-size: 12px;
  color: var(--frame42f02-mist);
}

.frame42f02-crumb a {
  color: var(--frame42f02-aqua);
}

.frame42f02-guidehead {
  padding: 14px 12px 2px;
}

.frame42f02-guidehead h1 {
  font-size: 22px;
  color: var(--frame42f02-sand);
  margin-bottom: 8px;
}

.frame42f02-guidehead p {
  font-size: 14.5px;
  color: var(--frame42f02-mist);
}

.frame42f02-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 8px;
}

.frame42f02-actions .frame42f02-btn {
  flex: 1 1 148px;
}

.frame42f02-shot {
  margin: 8px 0 12px;
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  overflow: hidden;
}

.frame42f02-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.frame42f02-shot figcaption {
  padding: 8px 10px 10px;
  font-size: 12px;
  color: var(--frame42f02-mist);
}

.frame42f02-qa {
  margin: 0 0 8px;
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  background: var(--frame42f02-panel);
}

.frame42f02-qa h3 {
  margin: 0;
  padding: 10px 12px 4px;
  font-size: 15px;
  color: var(--frame42f02-sand);
}

.frame42f02-qa p {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 14px;
  color: var(--frame42f02-mist);
}

.frame42f02-rail {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.frame42f02-rail li {
  position: relative;
  padding: 0 0 14px 22px;
  font-size: 14px;
  color: var(--frame42f02-mist);
}

.frame42f02-rail li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 0;
  width: 2px;
  background: var(--frame42f02-steel);
}

.frame42f02-rail li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--frame42f02-royal);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.25);
}

.frame42f02-rail li:last-child::before {
  display: none;
}

.frame42f02-rail strong {
  display: block;
  color: var(--frame42f02-sand);
  font-family: var(--frame42f02-font-head);
  margin-bottom: 2px;
}

.frame42f02-prep {
  margin: 0 0 12px;
}

.frame42f02-prep div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(67, 89, 109, 0.55);
}

.frame42f02-prep dt {
  font-family: var(--frame42f02-font-head);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frame42f02-amber);
}

.frame42f02-prep dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--frame42f02-mist);
}

.frame42f02-band {
  margin: 0 0 12px;
  padding: 12px;
  background: #1d2937;
  border-left: 4px solid var(--frame42f02-coffee);
  border-radius: var(--frame42f02-radius-card);
}

.frame42f02-band p:last-child {
  margin-bottom: 0;
}

.frame42f02-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
}

.frame42f02-facts div {
  padding: 10px;
  background: var(--frame42f02-panel);
  border-radius: var(--frame42f02-radius-card);
  border-top: 2px solid var(--frame42f02-royal);
  min-width: 0;
}

.frame42f02-facts dt {
  font-family: var(--frame42f02-font-head);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--frame42f02-aqua);
  margin-bottom: 4px;
}

.frame42f02-facts dd {
  margin: 0;
  font-size: 13px;
  color: var(--frame42f02-sand);
}

.frame42f02-ticks {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 12px;
  padding: 0 0 6px;
  list-style: none;
  scroll-snap-type: x mandatory;
}

.frame42f02-ticks li {
  flex: 0 0 78%;
  scroll-snap-align: start;
  padding: 10px 12px;
  background: var(--frame42f02-panel);
  border: 1px solid var(--frame42f02-line);
  border-radius: var(--frame42f02-radius-card);
  font-size: 13.5px;
  color: var(--frame42f02-mist);
}

.frame42f02-takes {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: frame42f02-take;
}

.frame42f02-takes li {
  counter-increment: frame42f02-take;
  position: relative;
  padding: 12px 4px 12px 48px;
  margin: 0;
  font-size: 14px;
  color: var(--frame42f02-sand);
  border-bottom: 1px solid rgba(67, 89, 109, 0.6);
}

.frame42f02-takes li::before {
  content: counter(frame42f02-take);
  position: absolute;
  left: 0;
  top: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: var(--frame42f02-font-head);
  font-weight: 700;
  color: #0d2937;
  background: var(--frame42f02-amber);
  border-radius: var(--frame42f02-radius-pill);
}

/* ---------- utilities ---------- */

.frame42f02-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.frame42f02-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  background: var(--frame42f02-aqua);
  color: #0d2937;
  font-family: var(--frame42f02-font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--frame42f02-radius-pill);
  transition: top 0.2s ease;
}

.frame42f02-skip:focus {
  top: 8px;
  text-decoration: none;
}

/* ---------- wider phone widths ---------- */

@media (min-width: 360px) {
  .frame42f02-intro__h1 {
    font-size: 24px;
  }

  .frame42f02-dir {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 390px) {
  .frame42f02-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .frame42f02-slide__title {
    font-size: 18px;
  }

  .frame42f02-spec__row {
    grid-template-columns: 122px minmax(0, 1fr);
  }
}

/* ---------- wide screens keep the phone canvas ---------- */

@media (min-width: 431px) {
  .frame42f02-shell {
    border-inline: 1px solid rgba(64, 224, 208, 0.14);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  }
}

@media (min-width: 780px) {
  body {
    background-image:
      radial-gradient(520px 320px at 18% 12%, rgba(65, 105, 225, 0.12), transparent 70%),
      radial-gradient(520px 320px at 82% 88%, rgba(64, 224, 208, 0.08), transparent 70%),
      linear-gradient(#141c26, #141c26);
  }
}

/* ---------- motion preferences ---------- */

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

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