/* ==========================================================================
   okbetgame.click base frame styles
   Every class and CSS variable uses the frame62c18- prefix.
   Palette: #00FFFF cyan | #00695C deep teal | #E9967A dark salmon
            #008B8B dark cyan | #CCCCCC light gray | #0A0A0A near black
   Mobile canvas: 320px to 430px, centered on wider screens.
   ========================================================================== */

:root {
  --frame62c18-black: #0A0A0A;
  --frame62c18-panel: #0E1513;
  --frame62c18-tile: #0C1211;
  --frame62c18-teal: #00695C;
  --frame62c18-cyanDeep: #008B8B;
  --frame62c18-cyan: #00FFFF;
  --frame62c18-salmon: #E9967A;
  --frame62c18-gray: #CCCCCC;
  --frame62c18-serif: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --frame62c18-sans: 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
  --frame62c18-radius: 4px;
  --frame62c18-topH: 96px;
  --frame62c18-barH: 62px;
}

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

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

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

body {
  margin: 0;
  background: #060807;
  color: var(--frame62c18-gray);
  font-family: var(--frame62c18-sans);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: var(--frame62c18-cyan); text-decoration: none; }

a:hover { text-decoration: underline; }

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

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

::selection { background: rgba(0, 255, 255, .25); color: #fff; }

/* ---------- phone canvas (max 430px, centered) ---------- */

.frame62c18-canvas {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(180deg, #0A0A0A 0%, #0B100F 55%, #0A0A0A 100%);
  box-shadow: 0 0 46px rgba(0, 139, 139, .16);
  padding: var(--frame62c18-topH) 0 calc(var(--frame62c18-barH) + 24px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 431px) {
  .frame62c18-canvas {
    border-left: 1px solid rgba(0, 139, 139, .35);
    border-right: 1px solid rgba(0, 139, 139, .35);
  }
}

/* ---------- fixed top header: brand row + action row ---------- */

.frame62c18-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(8, 12, 11, .97);
  border-bottom: 1px solid var(--frame62c18-teal);
}

.frame62c18-brandRow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 7px 12px 5px;
}

.frame62c18-logo {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  border: 1px solid var(--frame62c18-cyanDeep);
  object-fit: cover;
}

.frame62c18-wordmark {
  margin: 0;
  font-family: var(--frame62c18-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .4px;
  color: #FFFFFF;
  line-height: 1;
}

.frame62c18-wordmark b { color: var(--frame62c18-cyan); font-weight: 700; }

.frame62c18-actionRow {
  display: grid;
  grid-template-columns: 46px 1.25fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 0 12px 9px;
}

/* menu toggle with icon state morph (bars collapse into an X) */
.frame62c18-menuBtn {
  width: 44px;
  height: 40px;
  border: 1px solid var(--frame62c18-cyanDeep);
  border-radius: var(--frame62c18-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.frame62c18-menuBtn i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--frame62c18-cyan);
  transition: transform .22s ease, opacity .18s ease;
}

.frame62c18-menuBtnOpen i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.frame62c18-menuBtnOpen i:nth-child(2) { opacity: 0; }
.frame62c18-menuBtnOpen i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* staggered CTA sizes: big solid primary, slimmer outlined secondary */
.frame62c18-btnPrimary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  background: linear-gradient(180deg, #00FFFF, #00B3B3);
  color: #032B2B;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-radius: var(--frame62c18-radius);
  box-shadow: 0 3px 14px rgba(0, 255, 255, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}

.frame62c18-btnPrimary:active { transform: scale(.965); }

.frame62c18-btnSecondary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--frame62c18-cyan);
  border: 1px solid var(--frame62c18-cyanDeep);
  border-radius: var(--frame62c18-radius);
  background: rgba(0, 105, 92, .16);
  transition: border-color .15s ease, background-color .15s ease;
}

.frame62c18-btnSecondary:active {
  border-color: var(--frame62c18-cyan);
  background: rgba(0, 139, 139, .22);
}

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

.frame62c18-menuPanel {
  position: fixed;
  top: var(--frame62c18-topH);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: #0B100F;
  border-bottom: 1px solid var(--frame62c18-teal);
  box-shadow: 0 16px 26px rgba(0, 0, 0, .5);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .22s ease, transform .3s ease;
}

.frame62c18-menuPanel.frame62c18-open {
  max-height: 560px;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.frame62c18-menuGroup { padding: 11px 14px 3px; }

.frame62c18-menuHead {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--frame62c18-salmon);
}

.frame62c18-menuLink {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 10px;
  color: var(--frame62c18-gray);
  font-size: 14.5px;
  border-left: 2px solid transparent;
  border-radius: 0 3px 3px 0;
}

.frame62c18-menuLink:active {
  color: var(--frame62c18-cyan);
  border-left-color: var(--frame62c18-cyan);
  background: rgba(0, 139, 139, .12);
}

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

.frame62c18-hero { padding: 18px 14px 4px; }

.frame62c18-heroTag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--frame62c18-salmon);
  border: 1px solid rgba(233, 150, 122, .5);
  border-radius: 3px;
}

.frame62c18-h1 {
  margin: 0 0 10px;
  font-family: var(--frame62c18-serif);
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: .2px;
  color: #FFFFFF;
}

.frame62c18-h1 span { color: var(--frame62c18-cyan); }

.frame62c18-lede { margin: 0 0 14px; }

.frame62c18-heroCtas {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.frame62c18-heroCtas .frame62c18-btnPrimary { flex: 1.45; }
.frame62c18-heroCtas .frame62c18-btnSecondary { flex: 1; }

/* ---------- promo carousel ---------- */

.frame62c18-carousel {
  position: relative;
  margin: 14px 12px 0;
  border: 1px solid var(--frame62c18-cyanDeep);
  border-radius: var(--frame62c18-radius);
  overflow: hidden;
  background: var(--frame62c18-tile);
}

.frame62c18-carouselTrack {
  display: flex;
  transition: transform .45s ease;
}

.frame62c18-slideBtn {
  display: block;
  min-width: 100%;
  text-align: left;
}

.frame62c18-slideBtn img {
  width: 100%;
  aspect-ratio: 640 / 248;
  object-fit: cover;
}

.frame62c18-carouselDots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.frame62c18-carouselDot {
  position: relative;
  width: 24px;
  height: 20px;
}

.frame62c18-carouselDot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  border: 1px solid var(--frame62c18-cyan);
  background: rgba(10, 10, 10, .55);
}

.frame62c18-carouselDot.frame62c18-dotOn::before {
  background: var(--frame62c18-cyan);
  box-shadow: 0 0 6px rgba(0, 255, 255, .6);
}

.frame62c18-stripNote {
  margin: 9px 14px 0;
  font-size: 12.5px;
  color: #9FB0AE;
}

/* ---------- content blocks ---------- */

.frame62c18-block { padding: 24px 12px 4px; }

.frame62c18-kicker {
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--frame62c18-salmon);
}

.frame62c18-canvas h2 {
  margin: 0 0 9px;
  font-family: var(--frame62c18-serif);
  font-size: 19.5px;
  line-height: 1.28;
  color: #FFFFFF;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(0, 139, 139, .45);
}

.frame62c18-canvas h3 {
  margin: 16px 0 6px;
  font-family: var(--frame62c18-serif);
  font-size: 15.5px;
  color: var(--frame62c18-salmon);
}

.frame62c18-note {
  margin: 0 0 13px;
  font-size: 14px;
}

.frame62c18-note a,
.frame62c18-lede a,
.frame62c18-block p a,
.frame62c18-steps a {
  text-decoration: underline;
  text-decoration-color: rgba(0, 255, 255, .45);
  text-underline-offset: 2px;
}

.frame62c18-textCta {
  color: var(--frame62c18-cyan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- outlined tile game grid ---------- */

.frame62c18-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 400px) {
  .frame62c18-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 9px 8px;
  }
}

.frame62c18-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 4px 6px;
  background: var(--frame62c18-tile);
  border: 1px solid rgba(0, 139, 139, .5);
  border-radius: var(--frame62c18-radius);
  text-align: center;
  transition: border-color .15s ease;
}

.frame62c18-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
}

.frame62c18-tile:active,
.frame62c18-tile:focus-visible { border-color: var(--frame62c18-cyan); }

.frame62c18-tileName {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  min-height: 27px;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--frame62c18-gray);
}

/* ---------- compact metric chips (feature rows) ---------- */

.frame62c18-chips {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
}

.frame62c18-chip {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  background: var(--frame62c18-panel);
  border: 1px solid rgba(0, 139, 139, .35);
  border-left: 3px solid var(--frame62c18-salmon);
  border-radius: 3px;
}

.frame62c18-chip dt {
  font-family: var(--frame62c18-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--frame62c18-cyan);
}

.frame62c18-chip dd {
  margin: 0;
  font-size: 13.5px;
}

/* ---------- category match rows ---------- */

.frame62c18-match {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
}

.frame62c18-matchRow {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  background: var(--frame62c18-tile);
  border: 1px solid rgba(0, 139, 139, .4);
  border-radius: 3px;
}

.frame62c18-matchKey {
  font-family: var(--frame62c18-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--frame62c18-cyan);
  line-height: 1.3;
}

.frame62c18-matchRow p { margin: 0; font-size: 13.5px; }

/* ---------- numbered steps ---------- */

.frame62c18-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: frame62c18-step;
}

.frame62c18-steps li {
  counter-increment: frame62c18-step;
  position: relative;
  padding: 0 0 14px 40px;
  font-size: 14px;
}

.frame62c18-steps li::before {
  content: counter(frame62c18-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame62c18-cyanDeep);
  border-radius: 50%;
  font-family: var(--frame62c18-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--frame62c18-cyan);
  background: rgba(0, 105, 92, .18);
}

/* ---------- fact list ---------- */

.frame62c18-facts {
  display: grid;
  gap: 7px;
  margin: 0;
}

.frame62c18-factRow {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 10px;
  border: 1px dashed rgba(0, 139, 139, .45);
  border-radius: 3px;
}

.frame62c18-factRow dt {
  font-family: var(--frame62c18-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--frame62c18-salmon);
  line-height: 1.35;
}

.frame62c18-factRow dd { margin: 0; font-size: 13px; }

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

.frame62c18-ext {
  margin: 28px 12px 0;
  padding: 16px 13px 14px;
  background: var(--frame62c18-panel);
  border: 1px solid var(--frame62c18-teal);
  border-radius: var(--frame62c18-radius);
}

.frame62c18-extHead {
  font-family: var(--frame62c18-serif);
  font-size: 18px;
  line-height: 1.3;
  color: #FFFFFF;
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(0, 139, 139, .45);
}

.frame62c18-extBlurb { margin: 0 0 6px; font-size: 13.5px; }

.frame62c18-extLabel {
  margin: 16px 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--frame62c18-salmon);
}

.frame62c18-dirGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.frame62c18-dirGrid a {
  padding: 6px 0;
  font-size: 13px;
  color: var(--frame62c18-gray);
  border-bottom: 1px dashed rgba(0, 139, 139, .4);
}

.frame62c18-promoList {
  display: grid;
  gap: 8px;
}

.frame62c18-promoItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 9px 11px;
  text-align: left;
  font-size: 13.5px;
  color: #E8D9D3;
  background: rgba(233, 150, 122, .06);
  border: 1px solid rgba(233, 150, 122, .4);
  border-radius: 3px;
  transition: border-color .15s ease;
}

.frame62c18-promoItem:active,
.frame62c18-promoItem:focus-visible { border-color: var(--frame62c18-salmon); }

.frame62c18-promoItem strong { color: var(--frame62c18-salmon); font-size: 13px; }
.frame62c18-promoItem span { color: var(--frame62c18-gray); font-size: 12.5px; }

.frame62c18-extNote {
  margin: 14px 0 0;
  padding-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #9FA6A4;
  border-top: 1px solid rgba(0, 139, 139, .3);
}

/* ---------- common footer (copyright only) ---------- */

.frame62c18-foot {
  margin-top: 24px;
  padding: 14px 12px 8px;
  text-align: center;
  font-size: 12px;
  color: #8F9795;
  border-top: 1px solid rgba(0, 139, 139, .35);
}

.frame62c18-foot p { margin: 0; }

/* ---------- fixed five-role bottom nav with brand accent band ---------- */

.frame62c18-bottomNav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, rgba(0, 105, 92, .38), rgba(7, 11, 10, .98) 62%);
  border-top: 2px solid var(--frame62c18-cyan);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.frame62c18-navItem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  padding: 4px 2px;
  color: var(--frame62c18-gray);
  opacity: .92;
}

.frame62c18-navItem svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  transition: transform .18s ease;
}

.frame62c18-navItem span {
  font-size: 10px;
  letter-spacing: .3px;
}

/* active role: underline marker plus a small icon state morph */
.frame62c18-navItem.frame62c18-navOn { color: var(--frame62c18-cyan); opacity: 1; }

.frame62c18-navOn svg { transform: translateY(-1px) scale(1.14); }

.frame62c18-navOn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  width: 22px;
  height: 3px;
  margin-left: -11px;
  border-radius: 0 0 2px 2px;
  background: var(--frame62c18-cyan);
}

/* ---------- motion preference ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame62c18-carouselTrack,
  .frame62c18-menuPanel,
  .frame62c18-menuBtn i,
  .frame62c18-navItem svg,
  .frame62c18-btnPrimary,
  .frame62c18-btnSecondary { transition: none; }
}
