:root {
  --bg: #f5f7fb;
  --panel: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --purple: #6d2fd7;
  --purple-dark: #4f1d9f;
  --green: #0cd890;
  --green-deep: #00b879;
  --orange: #ff5b2d;
  --orange-deep: #ff3e0f;
  --red: #ef3131;
  --gold: #ffd33d;
  --shadow: 0 18px 40px rgba(20, 16, 36, 0.22);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #fff;
  background: linear-gradient(180deg, #7a35df 0 86px, #00c87d 86px 56%, #ff4d23 56% 83%, #6327be 83% 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(1160px, calc(100% - 24px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple));
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.topbar-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  box-shadow: 0 18px 40px rgba(14, 3, 44, 0.34);
  backdrop-filter: blur(10px);
  justify-self: center;
  min-width: min(360px, 92vw);
}
.brand h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: .01em;
}
.brand span {
  font-size: .66em;
  vertical-align: super;
  opacity: .85;
}
.menu-btn {
  justify-self: end;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  color: white;
  cursor: pointer;
}
.menu-btn svg { width: 28px; height: 28px; }
.menu-panel {
  position: fixed;
  inset: 0 0 auto auto;
  width: min(320px, 88vw);
  transform: translateX(110%);
  transition: transform .28s ease;
  z-index: 60;
  padding: 16px;
}
.menu-panel.open { transform: translateX(0); }
.menu-card {
  background: rgba(55, 17, 112, 0.96);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.menu-head strong { font-size: 1.05rem; }
.menu-close {
  border: 0;
  background: rgba(255,255,255,.12);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
}
.menu-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.menu-list a {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
}
.menu-list a:hover { background: rgba(255,255,255,.14); }

.section {
  padding: 28px 0 40px;
}
.hero {
  padding-top: 12px;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.poster {
  position: relative;
  aspect-ratio: 1.14 / 0.76;
  margin: 22px 22px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12);
}
.poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 42%), linear-gradient(180deg, rgba(0,0,0,.08), transparent 35%);
}
.poster .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255,255,255,.18);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
}
.poster .shadow-cut {
  position: absolute;
  inset: auto 0 0;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.12));
}
.avatar-stage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
}
.avatar {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  background: linear-gradient(135deg, #ffcf5a, #ff7a5b 70%, #ff4f8f);
}
.avatar:nth-child(2) { background: linear-gradient(135deg, #ff76d4, #7d4bff 72%, #2632f1); }
.avatar::before,
.avatar::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
}
.avatar::before {
  width: 76px;
  height: 76px;
  left: 12px;
  bottom: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 30px -4px 0 10px rgba(0,0,0,.14), 42px 28px 0 6px rgba(0,0,0,.12), 70px -18px 0 7px rgba(255,255,255,.16);
}
.avatar::after {
  width: 74px;
  height: 74px;
  right: 12px;
  bottom: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: -34px -4px 0 12px rgba(0,0,0,.2);
}
.avatar .label {
  position: absolute;
  inset: 14px 14px auto auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  font-size: .72rem;
  font-weight: 800;
}
.avatar .name {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-weight: 800;
  font-size: .95rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.avatar .hint {
  position: absolute;
  right: 12px;
  top: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  font-size: 1.2rem;
}
.card-body {
  padding: 18px 22px 24px;
  text-align: center;
}
.card-body h2 {
  margin: 2px 0 14px;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
}
.card-body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}
.subscribe {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px 16px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff3a3a, #d91d26);
  box-shadow: 0 14px 22px rgba(213, 29, 38, .34);
  font-weight: 800;
}
.play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  clip-path: polygon(35% 22%, 82% 50%, 35% 78%);
}

.social-float {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  gap: 14px;
}
.social-float a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  box-shadow: var(--shadow);
}
.social-float .fb { background: #365899; }
.social-float .ig { background: linear-gradient(135deg, #8b3dff, #ff4f86 70%, #ffad42); }

.contact-band {
  margin-top: 30px;
  background: linear-gradient(180deg, #ff362b, #ff2a21);
  border-radius: 28px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-band p { margin: 0 0 8px; font-weight: 700; }
.contact-band .email { font-size: clamp(1rem, 2.4vw, 1.35rem); margin-bottom: 18px; }
.inquiry {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffdf4d 0 82%, #f0c81d 82% 100%);
  color: #1f1900;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(0,0,0,.18);
}
.inquiry .arrow {
  width: 18px;
  height: 18px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  transform: rotate(45deg);
  margin-right: 4px;
}

.printables {
  padding-top: 44px;
}
.printables-shell {
  background: linear-gradient(180deg, #ff5827, #ff5b29 45%, #ff4d22);
  border-radius: 34px;
  padding: 34px 20px 22px;
  box-shadow: var(--shadow);
}
.printables-shell h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}
.print-card {
  max-width: 780px;
  margin: 18px auto 0;
  text-align: center;
}
.print-card h4 {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
.print-card p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}
.print-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe440 0 82%, #f3ce1d 82% 100%);
  color: #1e1600;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(0,0,0,.18);
}
.download .arrow {
  width: 18px;
  height: 18px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  transform: rotate(45deg);
}
.view-all {
  align-self: center;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #1b0f00;
  font-weight: 900;
  font-size: 1.05rem;
}
.view-all .arrow-line {
  width: 38px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.view-all .arrow-line::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -5px;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.board-preview {
  margin: 38px auto 0;
  width: min(640px, 100%);
  height: 260px;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #2b32ff 0 18%, #fce5d9 18% 36%, #e4f4fd 36% 55%, #f7f066 55% 72%, #fce7dd 72% 100%);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.12), 0 18px 30px rgba(0,0,0,.18);
}
.board-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,15,0,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,15,0,.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .65;
  mix-blend-mode: multiply;
}
.board-preview::after {
  content: 'Home';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: #472c1b;
  color: #fff3c8;
  font-size: .85rem;
  font-weight: 800;
}

.footer {
  padding: 34px 0 42px;
  text-align: center;
  background: linear-gradient(180deg, rgba(99,39,190,1), rgba(84,27,168,1));
}
.footer p { margin: 0; line-height: 1.65; color: rgba(255,255,255,.92); }
.footer .fine { margin-top: 18px; opacity: .92; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.footer-links a { opacity: .95; }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0 8px;
  font-size: 2rem;
  font-weight: 900;
  color: #ffd34a;
}
.dev-note { margin-top: 20px; color: rgba(255,255,255,.88); }

.policy-page {
  background: linear-gradient(180deg, #6d2fd7 0, #5f26c0 38%, #43238e 100%);
}
.policy-hero {
  padding: 44px 0 24px;
}
.policy-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.policy-card h2 { margin-top: 0; }
.policy-card p, .policy-card li { color: rgba(255,255,255,.88); line-height: 1.7; }
.policy-card ul { margin: 10px 0 0 20px; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .topbar-inner { grid-template-columns: auto 1fr auto; }
  .brand { min-width: auto; }
}

@media (max-width: 640px) {
  body { background: linear-gradient(180deg, #7a35df 0 76px, #00c87d 76px 52%, #ff4d23 52% 80%, #6327be 80% 100%); }
  .shell { width: min(100% - 16px, 1160px); }
  .topbar-inner { min-height: 76px; }
  .brand { padding-inline: 18px; }
  .brand h1 { font-size: 1rem; }
  .menu-btn { width: 46px; height: 46px; }
  .card-body { padding-inline: 16px; }
  .poster { margin-inline: 14px; }
  .board-preview { height: 210px; }
}
