/* Multiple Roblox Accounts — polish (colors, buttons, perf) */
html[data-theme="halloween"] {
  --aqua-bright: #ffb347;
  --aqua-deep: #e85d04;
  --aqua-glow: rgba(232, 93, 4, 0.38);
  --ink: #f5e6d8;
  --ink-soft: #c4a890;
}

html[data-theme="halloween"] .brand {
  color: #f0dcc8;
}

.brand-name--short {
  display: none;
}

@media (max-width: 520px) {
  .brand-name--full {
    display: none;
  }
  .brand-name--short {
    display: inline;
  }
  .brand {
    font-size: 16px;
    gap: 8px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
}

@media (min-width: 521px) and (max-width: 900px) {
  .brand {
    font-size: 15px;
    max-width: 38vw;
    line-height: 1.15;
  }
}

html[data-theme="halloween"] .btn-aqua {
  background: linear-gradient(135deg, #ffb347 0%, #ff9f43 28%, #e85d04 72%, #c2410c 100%);
  color: #1a0800;
  border: 1px solid rgba(255, 220, 180, 0.22);
  box-shadow:
    0 8px 28px rgba(232, 93, 4, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-theme="halloween"] .btn-aqua:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(255, 120, 40, 0.5);
}

html[data-theme="halloween"] .btn-aqua:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn:focus-visible,
.ext-download:focus-visible {
  outline: 2px solid #ffb347;
  outline-offset: 3px;
}

html[data-theme="halloween"] .btn-ghost {
  color: #e8d4c0;
  border-color: rgba(255, 160, 80, 0.32);
  background: rgba(255, 120, 40, 0.08);
}

html[data-theme="halloween"] .btn-ghost:hover {
  color: #fff3e8;
  border-color: rgba(255, 180, 100, 0.45);
  background: rgba(255, 140, 60, 0.14);
}

.nav-bar .btn-sm.ext-download {
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-mark img {
  object-fit: cover;
}

.splash h1 em {
  color: #ffc078;
}

.nav-bar {
  backdrop-filter: blur(16px) saturate(1.25);
}

#nav.solid .nav-bar {
  box-shadow: 0 1px 0 rgba(255, 140, 60, 0.12);
}

.pumpkin-stage__glow {
  opacity: 0.9;
  filter: blur(26px) saturate(1.12);
}

.pumpkin-stage.is-ready .pumpkin-stage__glow {
  background: radial-gradient(circle at 50% 55%, rgba(255, 160, 60, 0.48), transparent 70%);
}

.splash-tutorial__frame {
  border: 1px solid rgba(255, 160, 80, 0.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

.yt-player__thumb {
  object-fit: cover;
}

.bento-sec,
.showcase-sec,
.tl-sec,
.faq-band,
.cta-band {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

@media (max-width: 768px) {
  .bg-orbs .orb,
  .bg-aurora,
  .bg-shimmer,
  .bg-sweep {
    opacity: 0.55;
  }
  .hw-bat {
    opacity: 0.35 !important;
  }
}

html[data-theme="halloween"] .ext-launch-btn,
html[data-theme="halloween"] .ext-foot-btn--primary {
  background: linear-gradient(135deg, #ffb347, #e85d04);
  color: #1a0800;
  border: none;
}

html[data-theme="halloween"] .ext-join {
  background: rgba(255, 160, 80, 0.14);
  color: #ffe8c8;
  border: 1px solid rgba(255, 160, 80, 0.28);
}

html[data-theme="halloween"] .ext-join:hover {
  background: rgba(255, 160, 80, 0.22);
}

/* ─── Bento features (contrast + icons) ─── */
html[data-theme="halloween"] .sec-head p {
  color: #b8a090;
  font-size: 16px;
}

html[data-theme="halloween"] .bento-card {
  padding: 26px 28px;
  gap: 14px;
}

html[data-theme="halloween"] .bento-card h3 {
  color: #fff0e4;
  font-size: 21px;
  letter-spacing: -0.025em;
}

html[data-theme="halloween"] .bento-card p {
  color: #d4b8a0;
  font-size: 15px;
  line-height: 1.68;
  max-width: 42ch;
}

html[data-theme="halloween"] .bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(145deg, #ffc078 0%, #ff9f43 42%, #e85d04 100%);
  color: #1a0800;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  border: 1px solid rgba(255, 220, 170, 0.35);
  box-shadow:
    0 10px 28px rgba(232, 93, 4, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  -webkit-font-smoothing: antialiased;
}

html[data-theme="halloween"] .bento-num {
  color: #ff9f43;
  opacity: 0.22;
}

html[data-theme="halloween"] .bento-visual--windows {
  background: linear-gradient(145deg, rgba(255, 140, 60, 0.12), rgba(18, 10, 8, 0.92));
  border-color: rgba(255, 150, 80, 0.22);
}

html[data-theme="halloween"] .bento-visual--windows::before,
html[data-theme="halloween"] .bento-visual--windows::after {
  border-color: rgba(255, 160, 80, 0.55);
  background-color: rgba(28, 16, 12, 0.95);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* ─── Showcase panel + feature pills ─── */
html[data-theme="halloween"] .showcase-sec {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 120, 40, 0.06) 45%,
    transparent 100%
  );
}

html[data-theme="halloween"] .showcase-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(36, 22, 14, 0.92), rgba(20, 12, 9, 0.96));
  border: 1px solid rgba(255, 150, 80, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color: #e8d4bc;
}

html[data-theme="halloween"] .showcase-points li:hover {
  border-color: rgba(255, 170, 90, 0.38);
  box-shadow: 0 16px 40px rgba(255, 100, 30, 0.12);
}

html[data-theme="halloween"] .showcase-points-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(145deg, #ffb347, #e85d04);
  color: #1a0800;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(232, 93, 4, 0.35);
}

.showcase-points-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

html[data-theme="halloween"] .showcase-points strong {
  display: block;
  margin: 0;
  color: #fff3e8;
  font-size: 15px;
}

html[data-theme="halloween"] .showcase-points-desc {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: #c9b5a0;
}

html[data-theme="halloween"] .ext-panel {
  border-color: rgba(255, 150, 80, 0.28) !important;
  box-shadow:
    0 0 0 1px rgba(255, 160, 80, 0.08) inset,
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(255, 120, 40, 0.12) !important;
}

html[data-theme="halloween"] .ext-launch {
  background: linear-gradient(135deg, rgba(48, 28, 18, 0.95), rgba(24, 14, 10, 0.98));
  border-color: rgba(255, 150, 80, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

html[data-theme="halloween"] .ext-launch-title {
  color: #fff0e4;
}

html[data-theme="halloween"] .ext-launch-sub {
  color: #c9b5a0;
}

html[data-theme="halloween"] .ext-stats {
  color: #b8a090;
  background: rgba(14, 8, 6, 0.5);
}

html[data-theme="halloween"] .ext-stats b {
  color: #ffe8c8;
}

html[data-theme="halloween"] .ext-stats-note {
  color: #a89484;
  opacity: 1;
}

html[data-theme="halloween"] .ext-row {
  background: rgba(22, 12, 10, 0.88);
  border-color: rgba(255, 140, 60, 0.16);
}

html[data-theme="halloween"] .ext-row--live {
  background: linear-gradient(90deg, rgba(255, 140, 60, 0.14), rgba(22, 12, 10, 0.92));
  border-color: rgba(255, 160, 80, 0.32);
}

html[data-theme="halloween"] .ext-row--sel {
  box-shadow: inset 3px 0 0 #ff9f43;
}

html[data-theme="halloween"] .ext-name {
  color: #fff0e4;
}

html[data-theme="halloween"] .ext-meta {
  color: #a89484;
}

html[data-theme="halloween"] .ext-tag {
  color: #ff9f43;
}

html[data-theme="halloween"] .ext-foot {
  background: rgba(14, 8, 6, 0.92);
  border-top-color: rgba(255, 140, 60, 0.18);
}

html[data-theme="halloween"] .ext-foot-btn {
  background: rgba(32, 18, 12, 0.9);
  border-color: rgba(255, 140, 60, 0.2);
  color: #d4b8a0;
}

html[data-theme="halloween"] .ext-foot-btn:hover {
  color: #fff0e4;
  border-color: rgba(255, 160, 80, 0.35);
}

html[data-theme="halloween"] .ext-ava {
  background: rgba(255, 140, 60, 0.12);
  border-color: rgba(255, 160, 80, 0.35);
  color: #ffc078;
}

@media (prefers-reduced-motion: reduce) {
  .hw-bat,
  .hw-float-pump,
  .bg-sweep,
  .bg-shimmer,
  .bg-orbs .orb,
  .bg-aurora {
    animation: none !important;
  }
  .btn-aqua:hover {
    transform: none;
  }
}
