/* ============================================================
   compact-69454d-frame.css
   yollyboy123 mobile-first canvas styles (prefix: frame9454d-)
   Palette: #E65100 / #0E1621 / #FF5722 / #FFF176 / #1E90FF
   Direction: geometric title + neutral body, small-medium radius,
   outlined tile cards, conclusion-first rhythm, focus-slide motion.
   ============================================================ */

/* ===== Design tokens ===== */
:root {
  --frame9454d-bg: #0E1621;
  --frame9454d-bg-deep: #060c14;
  --frame9454d-surface: #15202f;
  --frame9454d-surface-2: #1b2a3d;
  --frame9454d-primary: #E65100;
  --frame9454d-accent: #FF5722;
  --frame9454d-highlight: #FFF176;
  --frame9454d-info: #1E90FF;
  --frame9454d-text: #f4f6fa;
  --frame9454d-text-soft: #c8d2e0;
  --frame9454d-muted: #8a97a8;
  --frame9454d-border: rgba(255, 87, 34, 0.24);
  --frame9454d-border-soft: rgba(255, 255, 255, 0.08);
  --frame9454d-radius-sm: 8px;
  --frame9454d-radius: 14px;
  --frame9454d-radius-lg: 20px;
  --frame9454d-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  --frame9454d-maxw: 430px;
  --frame9454d-tap: 44px;
}

/* ===== Reset ===== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--frame9454d-bg-deep);
  color: var(--frame9454d-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--frame9454d-highlight); outline-offset: 2px; border-radius: 4px; }

/* ===== Phone canvas (centered on wide screens) ===== */
.frame9454d-canvas {
  width: 100%;
  max-width: var(--frame9454d-maxw);
  margin: 0 auto;
  background: var(--frame9454d-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: var(--frame9454d-shadow);
  overflow: hidden;
}

/* ===== Top header (sticky) ===== */
.frame9454d-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(14, 22, 33, 0.98), rgba(14, 22, 33, 0.9));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame9454d-border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.frame9454d-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.frame9454d-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--frame9454d-border);
  flex-shrink: 0;
}
.frame9454d-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: var(--frame9454d-highlight);
  white-space: nowrap;
}
.frame9454d-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.frame9454d-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.frame9454d-btn:active { transform: scale(0.96); }
.frame9454d-btn-login {
  background: var(--frame9454d-surface-2);
  color: var(--frame9454d-text);
  border: 1px solid var(--frame9454d-border-soft);
}
.frame9454d-btn-register {
  background: linear-gradient(135deg, var(--frame9454d-primary), var(--frame9454d-accent));
  color: #fff;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.35);
}
.frame9454d-btn-menu {
  background: var(--frame9454d-surface-2);
  color: var(--frame9454d-text);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame9454d-border-soft);
}
.frame9454d-btn-menu svg { width: 18px; height: 18px; }

/* ===== Slide-up menu panel ===== */
.frame9454d-menu {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 100%);
  bottom: 0;
  width: 100%;
  max-width: var(--frame9454d-maxw);
  background: var(--frame9454d-surface);
  border-top: 1px solid var(--frame9454d-border);
  border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  transition: transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
  max-height: 78vh;
  overflow-y: auto;
}
.frame9454d-menu.is-open { transform: translate(-50%, 0); }
.frame9454d-menu-grip {
  width: 40px;
  height: 4px;
  border-radius: 3px;
  background: var(--frame9454d-border-soft);
  margin: -6px auto 12px;
}
.frame9454d-menu-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--frame9454d-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.frame9454d-menu-title button {
  font-size: 18px;
  color: var(--frame9454d-muted);
  width: 30px;
  height: 30px;
  line-height: 1;
}
.frame9454d-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.frame9454d-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--frame9454d-surface-2);
  border: 1px solid var(--frame9454d-border-soft);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--frame9454d-text);
  min-height: var(--frame9454d-tap);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.frame9454d-menu-link:active { background: #243349; border-color: var(--frame9454d-border); }
.frame9454d-menu-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--frame9454d-accent);
  flex-shrink: 0;
}
.frame9454d-menu-link span { line-height: 1.25; }

.frame9454d-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 55;
}
.frame9454d-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ===== Main ===== */
.frame9454d-main {
  padding: 14px 14px 120px;
}

/* ===== Intro / H1 ===== */
.frame9454d-intro {
  margin-bottom: 16px;
}
.frame9454d-intro h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--frame9454d-text);
}
.frame9454d-intro h1 em {
  font-style: normal;
  color: var(--frame9454d-accent);
}
.frame9454d-intro p {
  color: var(--frame9454d-text-soft);
  font-size: 14px;
}

/* ===== Hero carousel ===== */
.frame9454d-hero {
  position: relative;
  border-radius: var(--frame9454d-radius-lg);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--frame9454d-shadow);
  border: 1px solid var(--frame9454d-border);
}
.frame9454d-hero-track {
  display: flex;
  transition: transform 0.5s ease;
}
.frame9454d-hero-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
}
.frame9454d-hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.frame9454d-hero-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.frame9454d-hero-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--frame9454d-highlight);
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 9px;
  border-radius: 6px;
  font-weight: 700;
}
.frame9454d-hero-cta {
  background: linear-gradient(135deg, var(--frame9454d-primary), var(--frame9454d-accent));
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.frame9454d-hero-dots {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: flex;
  gap: 5px;
}
.frame9454d-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.25s ease, width 0.25s ease;
  border: none;
  padding: 0;
}
.frame9454d-hero-dot.is-active {
  background: var(--frame9454d-highlight);
  width: 18px;
  border-radius: 4px;
}

/* ===== Quick shortcut tiles ===== */
.frame9454d-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.frame9454d-quick a {
  background: var(--frame9454d-surface);
  border: 1px solid var(--frame9454d-border-soft);
  border-radius: 12px;
  padding: 10px 4px 8px;
  text-align: center;
  font-size: 11px;
  color: var(--frame9454d-text-soft);
  font-weight: 600;
  min-height: var(--frame9454d-tap);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.18s ease, transform 0.15s ease;
}
.frame9454d-quick a:active { transform: scale(0.96); background: var(--frame9454d-surface-2); }
.frame9454d-quick svg { width: 20px; height: 20px; color: var(--frame9454d-accent); }

/* ===== Game categories ===== */
.frame9454d-cat { margin-bottom: 22px; }
.frame9454d-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.frame9454d-cat-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--frame9454d-highlight);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}
.frame9454d-cat-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--frame9454d-primary), var(--frame9454d-accent));
}
.frame9454d-cat-pill {
  font-size: 10.5px;
  color: var(--frame9454d-muted);
  background: var(--frame9454d-surface);
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid var(--frame9454d-border-soft);
  white-space: nowrap;
  font-weight: 600;
}

.frame9454d-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 380px) {
  .frame9454d-grid { grid-template-columns: repeat(5, 1fr); gap: 9px; }
}
.frame9454d-tile {
  background: var(--frame9454d-surface);
  border: 1px solid var(--frame9454d-border);
  border-radius: var(--frame9454d-radius);
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: var(--frame9454d-tap);
}
.frame9454d-tile:active {
  transform: scale(0.95);
  border-color: var(--frame9454d-accent);
  box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.25);
}
.frame9454d-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9px;
  background: var(--frame9454d-bg-deep);
}
.frame9454d-tile span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--frame9454d-text-soft);
  margin-top: 5px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  padding: 0 1px;
}

/* ===== Content modules ===== */
.frame9454d-module {
  background: var(--frame9454d-surface);
  border: 1px solid var(--frame9454d-border-soft);
  border-radius: var(--frame9454d-radius);
  padding: 16px;
  margin-bottom: 14px;
}
.frame9454d-module > h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--frame9454d-highlight);
}
.frame9454d-module h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--frame9454d-accent);
  margin: 14px 0 6px;
}
.frame9454d-module p {
  font-size: 13.5px;
  color: var(--frame9454d-text-soft);
  margin-bottom: 9px;
}
.frame9454d-module p:last-child { margin-bottom: 0; }
.frame9454d-module ul { margin: 6px 0; }
.frame9454d-module ul li {
  font-size: 13px;
  color: var(--frame9454d-text-soft);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.45;
}
.frame9454d-module ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--frame9454d-primary);
}
.frame9454d-inline-link {
  color: var(--frame9454d-info);
  font-weight: 600;
  border-bottom: 1px dashed rgba(30, 144, 255, 0.45);
}
.frame9454d-lead {
  font-size: 14px;
  color: var(--frame9454d-text);
  font-weight: 600;
  background: rgba(255, 87, 34, 0.08);
  border-left: 3px solid var(--frame9454d-accent);
  padding: 9px 12px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 10px;
}

/* Testimonials */
.frame9454d-quote {
  border-left: 3px solid var(--frame9454d-accent);
  padding: 6px 0 6px 12px;
  margin: 10px 0;
}
.frame9454d-quote p {
  font-style: italic;
  color: var(--frame9454d-text);
  margin: 0;
}
.frame9454d-quote cite {
  font-size: 11.5px;
  color: var(--frame9454d-muted);
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-weight: 600;
}

/* Comparison cells */
.frame9454d-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.frame9454d-compare-cell {
  background: var(--frame9454d-surface-2);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--frame9454d-border-soft);
}
.frame9454d-compare-cell h4 {
  font-size: 12.5px;
  color: var(--frame9454d-highlight);
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}
.frame9454d-compare-cell p {
  font-size: 12px;
  color: var(--frame9454d-text-soft);
  margin: 0;
  line-height: 1.4;
}

/* Inline scenario list */
.frame9454d-scenario {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.frame9454d-scenario-item {
  background: var(--frame9454d-surface-2);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid var(--frame9454d-border-soft);
}
.frame9454d-scenario-item strong {
  display: block;
  font-size: 13px;
  color: var(--frame9454d-highlight);
  margin-bottom: 3px;
  font-family: 'Space Grotesk', sans-serif;
}
.frame9454d-scenario-item span {
  font-size: 12.5px;
  color: var(--frame9454d-text-soft);
}

/* ===== Expanded footer ===== */
.frame9454d-ext {
  margin-top: 22px;
  border-top: 1px dashed var(--frame9454d-border);
  padding-top: 18px;
}
.frame9454d-ext-brand {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 6px;
}
.frame9454d-ext-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--frame9454d-border);
  flex-shrink: 0;
}
.frame9454d-ext-brand p {
  font-size: 12.5px;
  color: var(--frame9454d-text-soft);
  line-height: 1.45;
}
.frame9454d-ext-brand p strong {
  color: var(--frame9454d-highlight);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}
.frame9454d-ext-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  color: var(--frame9454d-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 16px 0 8px;
  font-weight: 600;
}
.frame9454d-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.frame9454d-ext-promo {
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.2), rgba(255, 87, 34, 0.1));
  border: 1px solid var(--frame9454d-border);
  border-radius: 11px;
  padding: 10px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--frame9454d-highlight);
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: var(--frame9454d-tap);
  transition: transform 0.15s ease, background 0.2s ease;
}
.frame9454d-ext-promo:active { transform: scale(0.97); }
.frame9454d-ext-promo svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--frame9454d-accent); }

.frame9454d-ext-dir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}
.frame9454d-ext-dir a {
  background: var(--frame9454d-surface);
  border: 1px solid var(--frame9454d-border-soft);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 12.5px;
  color: var(--frame9454d-text-soft);
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  transition: background 0.18s ease;
}
.frame9454d-ext-dir a:active { background: var(--frame9454d-surface-2); }
.frame9454d-ext-dir svg { width: 14px; height: 14px; color: var(--frame9454d-info); flex-shrink: 0; }

.frame9454d-disclaimer {
  margin-top: 16px;
  font-size: 11px;
  color: var(--frame9454d-muted);
  line-height: 1.55;
  background: rgba(0, 0, 0, 0.22);
  padding: 11px 12px;
  border-radius: 10px;
  border-left: 3px solid var(--frame9454d-info);
}

/* ===== Common footer / bottom nav ===== */
.frame9454d-footer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--frame9454d-maxw);
  z-index: 50;
  background: linear-gradient(180deg, rgba(14, 22, 33, 0.97), rgba(6, 12, 20, 0.99));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--frame9454d-border);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.frame9454d-bottomnav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 64px;
}
.frame9454d-bottomnav a,
.frame9454d-bottomnav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  color: var(--frame9454d-muted);
  font-weight: 600;
  background: none;
  border: none;
  min-height: var(--frame9454d-tap);
  position: relative;
  transition: color 0.2s ease;
  padding: 0 2px;
}
.frame9454d-bottomnav .frame9454d-nav-ico {
  width: 22px;
  height: 22px;
  display: block;
}
.frame9454d-bottomnav .frame9454d-nav-ico svg { width: 22px; height: 22px; }
.frame9454d-bottomnav a.is-active { color: var(--frame9454d-highlight); }
.frame9454d-bottomnav a.is-active::before,
.frame9454d-bottomnav button.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--frame9454d-accent);
}
.frame9454d-bottomnav a:active,
.frame9454d-bottomnav button:active { color: var(--frame9454d-highlight); }
.frame9454d-bottomnav .frame9454d-nav-promo { color: var(--frame9454d-accent); }

.frame9454d-copyright {
  text-align: center;
  font-size: 10px;
  color: var(--frame9454d-muted);
  padding: 5px 0 7px;
  background: var(--frame9454d-bg-deep);
  border-top: 1px solid var(--frame9454d-border-soft);
}

/* ===== Visually hidden helper ===== */
.frame9454d-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ===== Small phone safety (<= 359px) ===== */
@media (max-width: 359px) {
  .frame9454d-main { padding: 12px 10px 120px; }
  .frame9454d-topbar { padding: 9px 10px; }
  .frame9454d-brand-name { font-size: 16px; }
  .frame9454d-btn { padding: 7px 10px; font-size: 12px; }
  .frame9454d-intro h1 { font-size: 21px; }
  .frame9454d-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}
