/* ==========================================================================
   1w essence - palette stylesheet (1w-essence-palette-923731.css)
   Mobile-first canvas: 320-430px. Wider screens keep a centred phone canvas.
   Palette: #FFD700 gold | #FF7F50 coral | #1C2833 ink | #8B7355 bronze | #A0522D sienna
   Every custom class and variable uses the frame92373- prefix for this site.
   ========================================================================== */

:root {
  --frame92373-ink: #1C2833;
  --frame92373-ink-deep: #121a23;
  --frame92373-ink-soft: #243140;
  --frame92373-surface: #2a3a48;
  --frame92373-surface-2: #33465a;
  --frame92373-card: #2f4150;
  --frame92373-gold: #FFD700;
  --frame92373-gold-dim: #e6c200;
  --frame92373-coral: #FF7F50;
  --frame92373-coral-dim: #f0663a;
  --frame92373-bronze: #8B7355;
  --frame92373-sienna: #A0522D;
  --frame92373-text: #f6efe1;
  --frame92373-text-soft: #d8cdb9;
  --frame92373-text-dim: #a9a08e;
  --frame92373-line: rgba(255, 215, 0, 0.16);
  --frame92373-line-strong: rgba(255, 215, 0, 0.34);
  --frame92373-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
  --frame92373-shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.32);
  --frame92373-radius: 14px;
  --frame92373-radius-sm: 10px;
  --frame92373-radius-lg: 22px;
  --frame92373-header-h: 58px;
  --frame92373-bottomnav-h: 76px;
  --frame92373-max: 440px;
  --frame92373-font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--frame92373-ink-deep);
  color: var(--frame92373-text);
  font-family: var(--frame92373-font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 50% -8%, rgba(255, 127, 80, 0.10), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(255, 215, 0, 0.08), transparent 55%),
    linear-gradient(180deg, var(--frame92373-ink) 0%, var(--frame92373-ink-deep) 60%);
  background-attachment: fixed;
}

/* Centred phone canvas on wider screens (no desktop-wide layout). */
.frame92373-shell {
  width: 100%;
  max-width: var(--frame92373-max);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(180deg, rgba(36, 49, 64, 0.55) 0%, rgba(18, 26, 35, 0.92) 30%),
    var(--frame92373-ink);
  box-shadow: var(--frame92373-shadow);
  overflow: hidden;
}

a { color: var(--frame92373-gold); text-decoration: none; }
a:hover { color: var(--frame92373-coral); }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: 0.2px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 20px; }
:focus-visible {
  outline: 2px solid var(--frame92373-gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ==========================================================================
   Compact brand bar (top navigation, fixed)
   ========================================================================== */
.frame92373-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  max-width: var(--frame92373-max);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(28, 40, 51, 0.98), rgba(18, 26, 35, 0.96));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame92373-line);
}

.frame92373-brandbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--frame92373-header-h);
  padding: 0 10px;
}

.frame92373-menubtn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--frame92373-line);
  border-radius: 12px;
  color: var(--frame92373-text);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.2s ease, color 0.2s ease;
}
.frame92373-menubtn:hover { border-color: var(--frame92373-line-strong); color: var(--frame92373-gold); }
.frame92373-menubtn svg { width: 22px; height: 22px; }

.frame92373-brand {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--frame92373-text);
}
.frame92373-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--frame92373-line-strong);
  background: var(--frame92373-ink-deep);
  flex: 0 0 auto;
}
.frame92373-brandname {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(90deg, var(--frame92373-gold), var(--frame92373-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.frame92373-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }

.frame92373-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.frame92373-btn-login {
  background: transparent;
  color: var(--frame92373-text);
  border-color: var(--frame92373-line-strong);
}
.frame92373-btn-login:hover { color: var(--frame92373-gold); border-color: var(--frame92373-gold); }
.frame92373-btn-register {
  background: linear-gradient(135deg, var(--frame92373-gold), var(--frame92373-coral));
  color: var(--frame92373-ink);
  box-shadow: 0 6px 16px rgba(255, 127, 80, 0.32);
}
.frame92373-btn-register:hover { filter: brightness(1.06); }

/* Expandable navigation drawer (drops from the brand bar). */
.frame92373-menu {
  position: absolute;
  top: var(--frame92373-header-h);
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(28, 40, 51, 0.99), rgba(18, 26, 35, 0.99));
  border-bottom: 1px solid var(--frame92373-line);
  padding: 10px 12px 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.24s ease, padding 0.2s ease;
  pointer-events: none;
}
.frame92373-menu.frame92373-menu-open {
  max-height: 560px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  box-shadow: var(--frame92373-shadow);
}
.frame92373-menu-group { margin-bottom: 8px; }
.frame92373-menu-title {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frame92373-coral);
  margin: 8px 4px 4px;
  font-weight: 700;
}
.frame92373-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.frame92373-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.08);
  color: var(--frame92373-text-soft);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
}
.frame92373-menu-link:hover {
  background: rgba(255, 215, 0, 0.08);
  color: var(--frame92373-gold);
  border-color: var(--frame92373-line-strong);
}
.frame92373-menu-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   Main canvas + spacing
   ========================================================================== */
.frame92373-main {
  padding-top: calc(var(--frame92373-header-h) + 8px);
  padding-bottom: calc(var(--frame92373-bottomnav-h) + 22px);
  padding-left: 12px;
  padding-right: 12px;
}
.frame92373-section { margin: 18px 0; }

/* ==========================================================================
   Hero + carousel
   ========================================================================== */
.frame92373-hero { margin: 6px 0 16px; }
.frame92373-hero-head { padding: 0 2px; margin-bottom: 10px; }
.frame92373-hero h1 {
  font-size: 22px;
  line-height: 1.28;
  background: linear-gradient(90deg, var(--frame92373-gold), #fff7d6 40%, var(--frame92373-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.frame92373-hero-lede { color: var(--frame92373-text-soft); font-size: 14px; margin-top: 8px; }

.frame92373-carouselwrap { position: relative; border-radius: var(--frame92373-radius-lg); overflow: hidden; }
.frame92373-carousel {
  position: relative;
  border-radius: var(--frame92373-radius-lg);
  overflow: hidden;
  box-shadow: var(--frame92373-shadow);
  border: 1px solid var(--frame92373-line);
}
.frame92373-slide {
  margin: 0;
  position: relative;
  display: none;
  cursor: pointer;
}
.frame92373-slide.frame92373-active { display: block; }
.frame92373-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.frame92373-slide-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.55));
  padding: 26px 12px 8px;
  border-radius: 0 0 var(--frame92373-radius-lg) var(--frame92373-radius-lg);
}
.frame92373-slide-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--frame92373-coral);
  color: #1a1206;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.frame92373-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 2px;
}
.frame92373-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.18s ease;
}
.frame92373-dot.frame92373-dot-active { background: var(--frame92373-gold); transform: scale(1.25); }

.frame92373-herostrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.frame92373-herostrip-cell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--frame92373-line);
  border-radius: var(--frame92373-radius-sm);
  padding: 10px 6px;
  text-align: center;
}
.frame92373-herostrip-num {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--frame92373-gold);
  line-height: 1.1;
}
.frame92373-herostrip-label {
  display: block;
  font-size: 11px;
  color: var(--frame92373-text-dim);
  margin-top: 3px;
}

/* ==========================================================================
   Section headings
   ========================================================================== */
.frame92373-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 2px 10px;
}
.frame92373-section-bar {
  width: 5px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--frame92373-gold), var(--frame92373-coral));
  flex: 0 0 auto;
}
.frame92373-section-head h2 {
  font-size: 17px;
  color: var(--frame92373-text);
}
.frame92373-section-note {
  font-size: 13px;
  color: var(--frame92373-text-dim);
  margin: -4px 2px 10px;
}

/* ==========================================================================
   Game grids (4 cols at 320px, up to 5 at wider canvas)
   ========================================================================== */
.frame92373-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .frame92373-gamegrid { gap: 9px; }
}
@media (min-width: 395px) {
  .frame92373-gamegrid { grid-template-columns: repeat(5, 1fr); }
}

.frame92373-gamecard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: linear-gradient(180deg, var(--frame92373-card), var(--frame92373-ink-soft));
  border: 1px solid rgba(255, 215, 0, 0.10);
  border-radius: var(--frame92373-radius-sm);
  padding: 6px 4px 7px;
  text-align: center;
  color: var(--frame92373-text-soft);
  transition: transform 0.12s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.frame92373-gamecard:hover {
  border-color: var(--frame92373-line-strong);
  box-shadow: var(--frame92373-shadow-soft);
  color: var(--frame92373-gold);
}
.frame92373-gamewrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--frame92373-ink-deep);
  display: block;
}
.frame92373-gamewrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame92373-gamename {
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--frame92373-text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  width: 100%;
}
.frame92373-gamecard:hover .frame92373-gamename { color: var(--frame92373-gold); }

/* ==========================================================================
   Content modules (Security, Achievements, How to Play, Fact Summary)
   ========================================================================== */
.frame92373-card {
  background: linear-gradient(180deg, rgba(47, 65, 80, 0.65), rgba(36, 49, 64, 0.55));
  border: 1px solid var(--frame92373-line);
  border-radius: var(--frame92373-radius);
  padding: 14px;
  margin: 12px 0;
  box-shadow: var(--frame92373-shadow-soft);
}
.frame92373-card h2 { font-size: 16px; margin-bottom: 8px; color: var(--frame92373-gold); }
.frame92373-card h3 {
  font-size: 14px;
  color: var(--frame92373-coral);
  margin: 12px 0 4px;
}
.frame92373-card p { color: var(--frame92373-text-soft); font-size: 14px; }
.frame92373-card ul, .frame92373-card ol { color: var(--frame92373-text-soft); font-size: 14px; }
.frame92373-card li { margin-bottom: 5px; }

.frame92373-module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0 4px;
}
.frame92373-module-tile {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 215, 0, 0.10);
  border-radius: 10px;
  padding: 10px;
  min-height: 78px;
}
.frame92373-module-tile h4 {
  font-size: 13px;
  color: var(--frame92373-gold);
  margin-bottom: 4px;
}
.frame92373-module-tile p {
  font-size: 12px;
  color: var(--frame92373-text-dim);
  margin: 0;
  line-height: 1.45;
}

.frame92373-steps {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  counter-reset: step;
}
.frame92373-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: 10px;
  padding: 9px 10px;
}
.frame92373-step-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--frame92373-gold), var(--frame92373-coral));
  color: var(--frame92373-ink);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.frame92373-step-title { font-size: 13px; font-weight: 700; color: var(--frame92373-text); display: block; }
.frame92373-step-text { font-size: 12.5px; color: var(--frame92373-text-dim); }

.frame92373-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.frame92373-fact {
  background: rgba(160, 82, 45, 0.12);
  border: 1px solid rgba(160, 82, 45, 0.32);
  border-radius: 10px;
  padding: 10px;
}
.frame92373-fact strong { color: var(--frame92373-gold); font-size: 13px; display: block; margin-bottom: 2px; }
.frame92373-fact span { color: var(--frame92373-text-soft); font-size: 12.5px; }

.frame92373-callout {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 127, 80, 0.10));
  border: 1px solid var(--frame92373-line-strong);
  border-radius: var(--frame92373-radius);
  padding: 12px 14px;
  margin-top: 12px;
  color: var(--frame92373-text);
  font-size: 14px;
}
.frame92373-callout strong { color: var(--frame92373-gold); }

.frame92373-inline-link {
  color: var(--frame92373-coral);
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 127, 80, 0.6);
}
.frame92373-inline-link:hover { color: var(--frame92373-gold); border-bottom-color: var(--frame92373-gold); }

/* ==========================================================================
   Extended footer (brand > directory > promotions > disclaimer)
   ========================================================================== */
.frame92373-extended {
  margin: 18px 0 10px;
  padding: 16px 14px;
  border-radius: var(--frame92373-radius);
  background: linear-gradient(180deg, rgba(36, 49, 64, 0.85), rgba(18, 26, 35, 0.92));
  border: 1px solid var(--frame92373-line);
}
.frame92373-extended-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.frame92373-extended-brand img { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--frame92373-line-strong); }
.frame92373-extended-brand strong { color: var(--frame92373-gold); font-size: 15px; }
.frame92373-extended-brand p { font-size: 12.5px; color: var(--frame92373-text-dim); margin: 2px 0 0; line-height: 1.5; }

.frame92373-ext-title {
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--frame92373-coral);
  margin: 12px 0 6px;
  font-weight: 700;
}
.frame92373-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.frame92373-directory a {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.12);
  color: var(--frame92373-text-soft);
}
.frame92373-directory a:hover { color: var(--frame92373-gold); border-color: var(--frame92373-line-strong); }

.frame92373-promorow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.frame92373-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.16), rgba(255, 127, 80, 0.12));
  border: 1px solid var(--frame92373-line-strong);
  color: var(--frame92373-text);
  font-size: 12.5px;
  font-weight: 700;
  min-height: 48px;
}
.frame92373-promo:hover { color: var(--frame92373-gold); }
.frame92373-promo small { display: block; font-weight: 600; color: var(--frame92373-text-dim); font-size: 11px; }

.frame92373-disclaimer {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--frame92373-text-dim);
  line-height: 1.55;
  border-top: 1px dashed rgba(255, 215, 0, 0.18);
  padding-top: 10px;
}

/* ==========================================================================
   Universal footer (copyright only)
   ========================================================================== */
.frame92373-footer {
  text-align: center;
  padding: 14px 12px 4px;
  color: var(--frame92373-text-dim);
  font-size: 12px;
}
.frame92373-footer a { color: var(--frame92373-text-dim); }
.frame92373-footer a:hover { color: var(--frame92373-gold); }

/* ==========================================================================
   Floating bottom navigation (5 roles, monochrome icons + accent indicator)
   ========================================================================== */
.frame92373-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  max-width: var(--frame92373-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(28, 40, 51, 0.97), rgba(18, 26, 35, 0.99));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--frame92373-line);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.36);
}
.frame92373-navitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  padding: 4px 2px;
  color: var(--frame92373-text-dim);
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.12s ease, color 0.2s ease, background 0.2s ease;
}
.frame92373-navitem svg {
  width: 23px;
  height: 23px;
  transition: transform 0.14s ease;
}
.frame92373-navitem:hover { color: var(--frame92373-text); }
.frame92373-navitem:hover svg { transform: scale(1.08); }
.frame92373-navitem-label { line-height: 1.1; text-align: center; }

/* Active state: contrast inversion (gold pill, ink icon). */
.frame92373-navitem-frame92373-active {
  color: var(--frame92373-ink);
  background: linear-gradient(135deg, var(--frame92373-gold), var(--frame92373-coral));
  box-shadow: 0 6px 14px rgba(255, 127, 80, 0.32);
}
.frame92373-navitem-frame92373-active svg { transform: scale(1.06); }

/* Accent indicator dot above the active item. */
.frame92373-navitem-frame92373-active::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--frame92373-gold);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.25);
}

/* Quick scale-feedback for taps. */
.frame92373-pressed { transform: scale(0.94); }

/* ==========================================================================
   Utility
   ========================================================================== */
.frame92373-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
