/* Block Puzzle Trials — neon cosmic puzzle-arena landing
   Palette from promo art: midnight navy, cyan, gold CTA, magenta gems */

:root {
  --void: #04091f;
  --navy: #0b1b4a;
  --navy-mid: #122a6e;
  --panel: rgba(12, 28, 78, 0.72);
  --panel-edge: rgba(125, 211, 252, 0.35);
  --ink: #e8f4ff;
  --ink-soft: #9eb6d8;
  --cyan: #3de7ff;
  --cyan-deep: #00b4d8;
  --gold: #ffd84d;
  --gold-deep: #f5a623;
  --magenta: #e84cff;
  --lime: #7dff6b;
  --ruby: #ff4d6d;
  --violet: #9b5cff;
  --glow-cyan: rgba(61, 231, 255, 0.45);
  --glow-gold: rgba(255, 216, 77, 0.5);
  --shadow: rgba(0, 8, 40, 0.55);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --font-display: "Titan One", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --nav-h: 72px;
  --ease-pop: cubic-bezier(0.34, 1.45, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.bpt-body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--void);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.02em;
}

.bpt-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--void);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 8px;
  font-weight: 700;
}

.bpt-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ===== Cosmos backdrop ===== */
.bpt-cosmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, #1a3a9a 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 40%, rgba(232, 76, 255, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #061033 0%, var(--void) 45%, #070f28 100%);
  overflow: hidden;
}

.bpt-cosmos__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.bpt-cosmos__nebula--a {
  width: 480px;
  height: 480px;
  top: 5%;
  left: -10%;
  background: #1e4db8;
}

.bpt-cosmos__nebula--b {
  width: 420px;
  height: 420px;
  bottom: 10%;
  right: -8%;
  background: #5b21b6;
}

.bpt-cosmos__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(61, 231, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 231, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(58deg) translateY(-8%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
  opacity: 0.55;
}

.bpt-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
  animation: bpt-twinkle 2.8s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes bpt-twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

/* ===== Nav ===== */
.bpt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 1rem;
  transition: padding 0.25s var(--ease-out);
}

.bpt-nav.is-scrolled {
  padding-top: 0.5rem;
}

.bpt-nav__bar {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.55rem 0.85rem 0.55rem 1rem;
  background: rgba(8, 18, 52, 0.78);
  border: 1px solid rgba(61, 231, 255, 0.22);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px var(--shadow);
  transition: box-shadow 0.25s var(--ease-out), border-color 0.25s;
}

.bpt-nav.is-scrolled .bpt-nav__bar {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  border-color: rgba(61, 231, 255, 0.4);
}

.bpt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  min-width: 0;
}

.bpt-brand__img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(61, 231, 255, 0.35);
}

.bpt-brand__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.95rem;
}

.bpt-nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.bpt-nav__links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s, background 0.2s;
}

.bpt-nav__links a:hover,
.bpt-nav__links a:focus-visible {
  color: var(--ink);
  background: rgba(61, 231, 255, 0.12);
  outline: none;
}

.bpt-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bpt-burger {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

.bpt-burger:hover,
.bpt-burger:focus-visible {
  background: rgba(61, 231, 255, 0.15);
  outline: none;
}

@media (min-width: 860px) {
  .bpt-nav__links {
    display: flex;
  }
  .bpt-burger {
    display: none;
  }
}

@media (max-width: 859px) {
  .bpt-nav__links {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    background: rgba(8, 18, 52, 0.96);
    border: 1px solid rgba(61, 231, 255, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .bpt-nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .bpt-nav {
    position: sticky;
  }
  .bpt-nav__bar {
    position: relative;
  }
}

/* ===== Buttons ===== */
.bpt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease-pop), box-shadow 0.2s, filter 0.2s;
}

.bpt-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.bpt-btn:active {
  transform: scale(0.97);
}

.bpt-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.bpt-btn--gold {
  padding: 0.65rem 1.15rem;
  background: linear-gradient(180deg, #ffe27a 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #3a2200;
  box-shadow:
    0 4px 0 #c47a08,
    0 8px 24px var(--glow-gold);
}

.bpt-btn--gold:hover {
  box-shadow:
    0 4px 0 #c47a08,
    0 12px 28px var(--glow-gold);
}

.bpt-btn--store {
  min-width: 168px;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(180deg, #1c2f6e 0%, #0e1a44 100%);
  border: 1px solid rgba(61, 231, 255, 0.35);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  text-align: left;
}

.bpt-btn--store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.95rem;
}

.bpt-btn--store small {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.75;
}

.bpt-btn--play {
  border-color: rgba(255, 216, 77, 0.4);
  background: linear-gradient(180deg, #2a2458 0%, #15102e 100%);
}

.bpt-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* ===== Hero ===== */
.bpt-hero {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
  min-height: calc(100svh - var(--nav-h) - 2rem);
}

.bpt-hero__glow {
  position: absolute;
  width: min(520px, 80vw);
  height: min(520px, 80vw);
  right: -5%;
  top: 10%;
  background: radial-gradient(circle, rgba(61, 231, 255, 0.28) 0%, transparent 68%);
  pointer-events: none;
  filter: blur(10px);
}

.bpt-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.bpt-logo-title {
  display: flex;
  flex-direction: column;
  gap: 0.02em;
  font-size: clamp(2.75rem, 9.5vw, 4.75rem);
  line-height: 1.02;
}

.bpt-logo-title__line {
  display: block;
  /* Solid fill + clear outline — avoid transparent + background-clip (hard to read) */
  paint-order: stroke fill;
  -webkit-text-stroke: 4px #020818;
  letter-spacing: 0.01em;
}

.bpt-logo-title__line--gold {
  color: #ffe566;
  text-shadow:
    0 4px 0 #7a4200,
    0 8px 0 #3d2000,
    0 0 28px rgba(255, 216, 77, 0.65),
    0 12px 32px rgba(0, 0, 0, 0.55);
}

.bpt-logo-title__line--cyan {
  color: #7af5ff;
  text-shadow:
    0 4px 0 #0a5a7a,
    0 8px 0 #042438,
    0 0 28px rgba(61, 231, 255, 0.7),
    0 12px 32px rgba(0, 0, 0, 0.55);
}

.bpt-logo-title__line--ice {
  color: #ffffff;
  text-shadow:
    0 4px 0 #1a3a6e,
    0 8px 0 #0a1838,
    0 0 24px rgba(200, 230, 255, 0.55),
    0 12px 32px rgba(0, 0, 0, 0.55);
}

.bpt-hero__tag {
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: #d6e8ff;
  font-weight: 700;
  max-width: 28rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.bpt-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.bpt-hero__stage {
  position: relative;
  justify-self: center;
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
}

/* Phone mockup with real gameplay shot */
.bpt-phone {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  transform: rotate(-4deg);
}

.bpt-phone__bezel {
  position: relative;
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(160deg, #1a2f6e 0%, #0a1438 100%);
  border: 2px solid rgba(61, 231, 255, 0.45);
  box-shadow:
    0 0 40px var(--glow-cyan),
    0 28px 56px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.bpt-phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.bpt-phone__shot {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.bpt-phone__glow {
  position: absolute;
  inset: -20% -30%;
  background: radial-gradient(circle, rgba(61, 231, 255, 0.35) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
  filter: blur(8px);
}

.bpt-float {
  position: absolute;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  animation: bpt-float 4s ease-in-out infinite;
  z-index: 3;
}

.bpt-float svg {
  width: 26px;
  height: 26px;
}

.bpt-float--cash {
  top: 6%;
  left: -12%;
  background: linear-gradient(145deg, #8dffb0, #1faa5a);
  color: #063820;
  animation-delay: 0s;
}

.bpt-float--gem {
  top: 18%;
  right: -14%;
  background: linear-gradient(145deg, #f5a8ff, var(--magenta));
  color: #4a0060;
  animation-delay: 0.6s;
}

.bpt-float--coin {
  bottom: 8%;
  left: -8%;
  background: linear-gradient(145deg, #ffe27a, var(--gold-deep));
  color: #5a3200;
  animation-delay: 1.1s;
}

@keyframes bpt-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (min-width: 900px) {
  .bpt-hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 2rem 1.5rem 4.5rem;
    gap: 1.5rem;
  }
  .bpt-hero__stage {
    width: min(100%, 340px);
  }
  .bpt-phone {
    max-width: 300px;
  }
}

/* ===== Section heads ===== */
.bpt-section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.bpt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(61, 231, 255, 0.12);
  border: 1px solid rgba(61, 231, 255, 0.28);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bpt-kicker svg {
  width: 0.95rem;
  height: 0.95rem;
}

.bpt-section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  background: linear-gradient(180deg, #fff 0%, #b8d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 24, 64, 0.35);
}

.bpt-section-lead {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ===== Features: zigzag trial path ===== */
.bpt-features {
  padding: 3rem 1.25rem 4rem;
  max-width: 960px;
  margin: 0 auto;
}

.bpt-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bpt-path__rail {
  position: absolute;
  left: 50%;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  margin-left: -2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--cyan) 12%,
    var(--gold) 50%,
    var(--magenta) 88%,
    transparent 100%
  );
  border-radius: 4px;
  opacity: 0.55;
  box-shadow: 0 0 16px var(--glow-cyan);
}

.bpt-tile {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  width: min(100%, 440px);
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}

.bpt-tile:hover {
  border-color: rgba(61, 231, 255, 0.55);
  transform: translateY(-3px);
}

.bpt-tile--a {
  align-self: flex-start;
  margin-right: auto;
}

.bpt-tile--b {
  align-self: flex-end;
  margin-left: auto;
  grid-template-columns: 1fr auto;
}

.bpt-tile--b .bpt-tile__block {
  order: 2;
}

.bpt-tile--b .bpt-tile__body {
  text-align: right;
}

.bpt-tile__block {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #0a1840;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    0 6px 0 rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.bpt-tile__block svg {
  width: 28px;
  height: 28px;
}

.bpt-tile__block--cyan {
  background: linear-gradient(145deg, #9af5ff, var(--cyan));
}
.bpt-tile__block--gold {
  background: linear-gradient(145deg, #fff0a0, var(--gold));
}
.bpt-tile__block--magenta {
  background: linear-gradient(145deg, #f5a8ff, var(--magenta));
  color: #3a0050;
}
.bpt-tile__block--lime {
  background: linear-gradient(145deg, #c8ffb0, var(--lime));
  color: #1a4a10;
}

.bpt-tile__step {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
  letter-spacing: 0.08em;
}

.bpt-tile__body h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.bpt-tile__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .bpt-path__rail {
    left: 1.9rem;
    margin-left: 0;
  }
  .bpt-tile--a,
  .bpt-tile--b {
    width: 100%;
    margin: 0;
    grid-template-columns: auto 1fr;
  }
  .bpt-tile--b .bpt-tile__block {
    order: 0;
  }
  .bpt-tile--b .bpt-tile__body {
    text-align: left;
  }
}

/* ===== Arena / screens ===== */
.bpt-arena {
  padding: 2rem 1.25rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.bpt-promo {
  margin: 0 auto 2.5rem;
  max-width: 960px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(61, 231, 255, 0.3);
  box-shadow:
    0 0 40px rgba(61, 231, 255, 0.2),
    0 24px 48px rgba(0, 0, 0, 0.4);
}

.bpt-promo img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.bpt-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  justify-items: center;
}

.bpt-shot {
  margin: 0;
  width: min(100%, 220px);
  text-align: center;
}

.bpt-shot__frame {
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(61, 231, 255, 0.35);
  background: #061030;
  box-shadow:
    0 0 28px rgba(61, 231, 255, 0.18),
    0 18px 36px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}

.bpt-shot:hover .bpt-shot__frame {
  transform: translateY(-6px) rotate(-1deg);
  border-color: rgba(255, 216, 77, 0.55);
}

.bpt-shot__frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.bpt-shot figcaption {
  margin-top: 0.75rem;
  font-weight: 800;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ===== Download ===== */
.bpt-download {
  padding: 1rem 1.25rem 4.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.bpt-download__panel {
  position: relative;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(61, 231, 255, 0.2) 0%, transparent 55%),
    linear-gradient(160deg, rgba(22, 48, 122, 0.9) 0%, rgba(8, 18, 52, 0.95) 100%);
  border: 2px solid rgba(255, 216, 77, 0.35);
  box-shadow:
    0 0 48px rgba(255, 216, 77, 0.15),
    0 24px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.bpt-download__meter {
  position: relative;
  max-width: 320px;
  margin: 0 auto 1.5rem;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(125, 255, 107, 0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bpt-download__meter-fill {
  position: absolute;
  inset: 0;
  width: 72%;
  background: linear-gradient(90deg, #3dff8a, #7dff6b);
  border-radius: inherit;
  animation: bpt-meter 2.8s ease-in-out infinite;
}

.bpt-download__meter span {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0a2810;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@keyframes bpt-meter {
  0%,
  100% {
    width: 58%;
  }
  50% {
    width: 86%;
  }
}

.bpt-download__panel h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin-bottom: 0.75rem;
  background: linear-gradient(180deg, #fff6c2, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.5px #5a3200;
}

.bpt-download__panel > p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.bpt-download__panel .bpt-hero__cta {
  justify-content: center;
}

/* ===== Footer ===== */
.bpt-footer {
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid rgba(61, 231, 255, 0.15);
  background: rgba(4, 9, 31, 0.85);
}

.bpt-footer__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.bpt-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bpt-footer__brand strong {
  display: block;
  font-size: 1.05rem;
}

.bpt-footer__brand p {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.bpt-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.bpt-footer__links a {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s, opacity 0.2s;
}

.bpt-footer__links a:hover,
.bpt-footer__links a:focus-visible {
  color: var(--gold);
  outline: none;
}

.bpt-footer__copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ===== Modal ===== */
body.bpt-modal-open {
  overflow: hidden;
}

.bpt-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.bpt-modal[hidden] {
  display: none;
}

.bpt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 24, 0.72);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.bpt-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #16307a 0%, #0a1848 100%);
  border: 2px solid rgba(255, 216, 77, 0.4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.bpt-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}

.bpt-modal__close:hover,
.bpt-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  outline: none;
}

.bpt-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff0a0, var(--gold));
  box-shadow: 0 8px 24px var(--glow-gold);
  overflow: hidden;
}

.bpt-modal__icon img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.bpt-modal__panel h2 {
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
  color: var(--gold);
}

.bpt-modal__panel p {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-weight: 600;
}
