:root {
  --framebd858-ink: #0e1621;
  --framebd858-ink-deep: #081019;
  --framebd858-panel: #142331;
  --framebd858-panel-light: #1b2d3d;
  --framebd858-bronze: #cd853f;
  --framebd858-bronze-bright: #f0aa5b;
  --framebd858-silver: #c0c0c0;
  --framebd858-white: #f5f2eb;
  --framebd858-muted: #8ea0ae;
  --framebd858-line: rgba(192, 192, 192, .18);
  --framebd858-shadow: 0 14px 34px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--framebd858-white);
  background:
    radial-gradient(circle at 15% 0%, rgba(205,133,63,.16), transparent 31rem),
    linear-gradient(135deg, #0e1621 0%, #0a141e 55%, #111e2b 100%);
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .09;
  background-image: linear-gradient(rgba(192,192,192,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(192,192,192,.25) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
a { color: var(--framebd858-bronze-bright); text-decoration: none; }
a:hover { color: var(--framebd858-white); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--framebd858-silver); outline-offset: 3px; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.framebd858-page { width: 100%; min-height: 100vh; }
.framebd858-shell { width: min(100%, 1180px); margin: 0 auto; padding: 0 14px; }
.framebd858-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--framebd858-line);
  background: rgba(8, 16, 25, .95);
  backdrop-filter: blur(16px);
}
.framebd858-topbar-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.framebd858-brand { display: flex; align-items: center; min-width: 0; gap: 9px; color: var(--framebd858-white); font-weight: 900; letter-spacing: .08em; }
.framebd858-brand img { width: 38px; height: 38px; object-fit: cover; border: 1px solid var(--framebd858-bronze); }
.framebd858-brand span { font-family: Impact, "Arial Narrow", sans-serif; font-size: 1.14rem; white-space: nowrap; }
.framebd858-actions { display: flex; align-items: center; gap: 6px; }
.framebd858-action, .framebd858-menu-button {
  min-height: 44px;
  border: 1px solid rgba(205,133,63,.72);
  border-radius: 3px;
  padding: 0 10px;
  color: var(--framebd858-white);
  background: transparent;
  cursor: pointer;
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.framebd858-action:hover, .framebd858-menu-button:hover { background: var(--framebd858-bronze); color: var(--framebd858-ink); }
.framebd858-menu-button { width: 45px; padding: 0; font-size: 1.15rem; }
.framebd858-menu-button[aria-expanded="true"] { background: var(--framebd858-bronze); color: var(--framebd858-ink); }
.framebd858-menu { display: none; border-top: 1px solid var(--framebd858-line); padding: 13px 0 17px; animation: framebd858-slide .2s ease-out; }
.framebd858-menu.is-open { display: block; }
.framebd858-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.framebd858-menu a { min-height: 44px; display: flex; align-items: center; padding: 9px 10px; border-left: 2px solid var(--framebd858-bronze); background: rgba(27,45,61,.75); font-size: .82rem; font-weight: 700; }
.framebd858-menu a:hover { background: var(--framebd858-bronze); color: var(--framebd858-ink); }

.framebd858-main { padding: 26px 0 116px; }
.framebd858-kicker { margin: 0 0 8px; color: var(--framebd858-bronze-bright); font-size: .72rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.framebd858-hero { position: relative; overflow: hidden; border: 1px solid rgba(205,133,63,.65); background: var(--framebd858-panel); box-shadow: var(--framebd858-shadow); }
.framebd858-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(255,255,255,.08); }
.framebd858-hero-copy { padding: 26px 20px 22px; background: linear-gradient(90deg, rgba(14,22,33,.98), rgba(14,22,33,.72), rgba(14,22,33,.2)); }
.framebd858-hero h1 { max-width: 760px; margin: 0; color: var(--framebd858-white); font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(2rem, 11vw, 4.5rem); font-weight: 400; line-height: .98; letter-spacing: .025em; text-transform: uppercase; }
.framebd858-hero p { max-width: 680px; margin: 15px 0 0; color: #d6dbe0; font-size: .98rem; }
.framebd858-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.framebd858-cta { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--framebd858-bronze); border-radius: 3px; padding: 0 15px; color: var(--framebd858-ink); background: var(--framebd858-bronze); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.framebd858-cta.alt { color: var(--framebd858-white); background: transparent; }
.framebd858-cta:hover { color: var(--framebd858-ink); background: var(--framebd858-bronze-bright); }
.framebd858-hero-rail { position: relative; min-height: 174px; background: var(--framebd858-ink-deep); }
.framebd858-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.framebd858-slide.is-active { opacity: 1; }
.framebd858-slide img { width: 100%; height: 100%; min-height: 174px; object-fit: cover; opacity: .66; }
.framebd858-slide-caption { position: absolute; left: 14px; bottom: 13px; padding: 7px 10px; color: var(--framebd858-white); background: rgba(14,22,33,.82); border-left: 3px solid var(--framebd858-bronze); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.framebd858-dots { position: absolute; right: 14px; bottom: 15px; z-index: 2; display: flex; gap: 5px; }
.framebd858-dot { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.framebd858-dot::after { content: ""; width: 9px; height: 9px; border: 1px solid var(--framebd858-silver); border-radius: 50%; background: transparent; }
.framebd858-dot.is-active::after { background: var(--framebd858-bronze); border-color: var(--framebd858-bronze); }

.framebd858-section { margin-top: 33px; }
.framebd858-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 13px; border-bottom: 1px solid var(--framebd858-line); padding-bottom: 10px; }
.framebd858-section-heading h2 { margin: 0; color: var(--framebd858-white); font-family: Impact, "Arial Narrow", sans-serif; font-size: 1.35rem; font-weight: 400; letter-spacing: .045em; text-transform: uppercase; }
.framebd858-section-heading p { margin: 0; color: var(--framebd858-muted); font-size: .76rem; text-align: right; }
.framebd858-game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.framebd858-game-card { min-width: 0; border: 1px solid rgba(192,192,192,.2); background: #111e2b; transition: transform .18s ease, border-color .18s ease; }
.framebd858-game-card:hover { transform: translateY(-3px); border-color: var(--framebd858-bronze-bright); }
.framebd858-game-card a { display: block; color: var(--framebd858-white); }
.framebd858-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--framebd858-panel-light); }
.framebd858-game-name { min-height: 37px; display: flex; align-items: center; padding: 5px 6px; color: #e9edf0; font-size: .67rem; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.framebd858-game-card:hover .framebd858-game-name { color: var(--framebd858-bronze-bright); }

.framebd858-story { display: grid; gap: 12px; }
.framebd858-story p { margin: 0; color: #cbd3da; font-size: .95rem; }
.framebd858-story strong { color: var(--framebd858-white); }
.framebd858-panel { border: 1px solid var(--framebd858-line); background: rgba(20,35,49,.84); padding: 16px; }
.framebd858-panel h2, .framebd858-panel h3 { margin: 0 0 7px; color: var(--framebd858-bronze-bright); font-family: Impact, "Arial Narrow", sans-serif; font-size: 1.05rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.framebd858-panel h2 { font-size: 1.22rem; }
.framebd858-panel p { margin: 0; color: #cbd3da; font-size: .95rem; }
.framebd858-panel p + p { margin-top: 10px; }
.framebd858-compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.framebd858-compare div { min-height: 115px; border-top: 2px solid var(--framebd858-bronze); padding: 11px 9px; background: rgba(27,45,61,.7); }
.framebd858-compare b { display: block; margin-bottom: 5px; color: var(--framebd858-white); font-size: .78rem; }
.framebd858-compare span { color: var(--framebd858-muted); font-size: .75rem; line-height: 1.35; }
.framebd858-checklist { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.framebd858-checklist li { position: relative; padding: 10px 10px 10px 33px; color: #cbd3da; background: rgba(27,45,61,.68); font-size: .86rem; }
.framebd858-checklist li::before { content: "✓"; position: absolute; left: 11px; color: var(--framebd858-bronze-bright); font-weight: 900; }
.framebd858-promo-strip { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.framebd858-promo-strip a, .framebd858-promo-strip button { min-height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(205,133,63,.6); background: rgba(205,133,63,.12); color: var(--framebd858-white); cursor: pointer; font-size: .76rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.framebd858-promo-strip a:hover, .framebd858-promo-strip button:hover { background: var(--framebd858-bronze); color: var(--framebd858-ink); }
.framebd858-home-extension { padding: 30px 0 0; }
.framebd858-home-extension .framebd858-story { margin-top: 16px; }
.framebd858-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.framebd858-directory a { min-height: 44px; display: flex; align-items: center; padding: 8px 10px; border-left: 2px solid var(--framebd858-silver); background: rgba(27,45,61,.72); font-size: .8rem; font-weight: 700; }
.framebd858-directory a:hover { border-left-color: var(--framebd858-bronze); background: var(--framebd858-panel-light); }
.framebd858-facts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.framebd858-facts li { border-left: 3px solid var(--framebd858-bronze); padding: 10px 12px; background: rgba(27,45,61,.7); color: #cbd3da; font-size: .88rem; }
.framebd858-facts b { color: var(--framebd858-white); }
.framebd858-footer { border-top: 1px solid var(--framebd858-line); padding: 28px 0 102px; background: rgba(8,16,25,.86); }
.framebd858-copyright { margin: 0 !important; color: var(--framebd858-silver) !important; font-size: .74rem !important; text-align: center; }

.framebd858-bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; border-top: 1px solid rgba(205,133,63,.7); background: rgba(8,16,25,.97); box-shadow: 0 -8px 25px rgba(0,0,0,.25); }
.framebd858-bottom-inner { width: min(100%, 560px); min-height: 68px; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 auto; padding: 5px 7px max(5px, env(safe-area-inset-bottom)); }
.framebd858-bottom-link { min-width: 0; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-top: 2px solid transparent; color: var(--framebd858-muted); font-size: .61rem; font-weight: 800; letter-spacing: .03em; text-align: center; text-transform: uppercase; }
.framebd858-bottom-link:hover, .framebd858-bottom-link.is-active { border-top-color: var(--framebd858-bronze-bright); color: var(--framebd858-white); }
.framebd858-bottom-icon { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .86rem; line-height: 1; }
.framebd858-bottom-link.promo .framebd858-bottom-icon { border-radius: 3px; color: var(--framebd858-bronze-bright); }
.framebd858-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@keyframes framebd858-slide { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 620px) {
  .framebd858-shell { padding: 0 24px; }
  .framebd858-hero { display: grid; grid-template-columns: 1.03fr .97fr; }
  .framebd858-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 34px; }
  .framebd858-hero-rail { min-height: 300px; }
  .framebd858-slide img { min-height: 300px; }
  .framebd858-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
  .framebd858-story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .framebd858-home-extension .framebd858-story { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .framebd858-main { padding-top: 38px; }
  .framebd858-game-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .framebd858-menu-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
