html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

pre {
  font-family: monospace;
  color: #686868; }

* {
  box-sizing: border-box; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px); }
  to {
    opacity: 1;
    transform: translateY(0); } }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; } }

@keyframes buttonPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); } }

@keyframes shimmer {
  0% { background-position: -120% 0; }
 100% { background-position: 120% 0; } }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem; }

html, body {
  height: 100%;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #040712;
  color: #f5f5ff;
  overflow-x: hidden; }

body {
  background: radial-gradient(circle at top, #262a5f 0, #040712 55%); }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: hidden; }

main {
  flex: 1; }

.hero {
  position: relative;
  padding: 3.5rem 1.5rem 3rem;
  overflow: hidden;
  color: #f5f5ff; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 97, 150, 0.35), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(144, 202, 249, 0.35), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(123, 31, 162, 0.7), transparent 65%);
  opacity: 0.95;
  pointer-events: none; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap; }

.hero-left {
  flex: 1 1 320px;
  min-width: 0; }

.hero-right {
  flex: 0 0 320px;
  max-width: 380px;
  width: 100%; }

.logo {
  font-family: "Press Start 2P", system-ui, sans-serif;
  line-height: 1.15;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: fadeInUp 0.6s ease both; }

.logo-combo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
  animation: fadeInUp 0.5s ease both; }

.logo-image {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  border-radius: 0.9rem;
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.9),
    0 0 0 2px rgba(255, 255, 255, 0.14); }

.logo-top,
.logo-middle,
.logo-bottom {
  display: block; }

.logo-top {
  color: #ffeb3b;
  text-shadow: 0 0 12px rgba(255, 255, 0, 0.6); }

.logo-middle {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.8); }

.logo-bottom {
  color: #80deea;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.7); }

.hero-tagline {
  font-size: 1.05rem;
  max-width: 32rem;
  color: #e3e6ff;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s 0.1s ease both; }

.hero-description a {
  color: #80deea;
  text-decoration: none;
  border-bottom: 1px solid rgba(128, 222, 234, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease; }

.hero-description a:hover {
  color: #b2ebf2;
  border-bottom-color: #b2ebf2; }

.hero-meta a {
  color: #9fa8ff;
  text-decoration: none;
  transition: color 0.2s ease; }

.hero-meta a:hover {
  color: #c5cae9; }

.icon-x {
  width: 1em;
  height: 1em;
  vertical-align: -0.2em;
  display: inline-block;
  fill: currentColor;
  flex-shrink: 0; }

.icon-x-sm {
  width: 0.9em;
  height: 0.9em;
  vertical-align: -0.15em; }

.link-with-x {
  display: inline-flex;
  align-items: center;
  gap: 0.25em; }

.link-with-x .icon-x {
  vertical-align: 0; }

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
  animation: fadeInUp 0.6s 0.2s ease both; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease-out, transform 0.2s ease-out, box-shadow 0.25s ease-out, border-color 0.2s ease-out, opacity 0.2s ease-out;
  will-change: transform, box-shadow; }

.btn:hover {
  transform: translateY(-2px) scale(1.02); }

.btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s; }

.btn-primary {
  background: linear-gradient(135deg, #ff4081, #ff9100);
  color: #050816;
  box-shadow: 0 0 18px rgba(255, 64, 129, 0.6); }

.btn-primary:hover {
  box-shadow: 0 0 22px rgba(255, 64, 129, 0.85); }

.btn-ghost {
  background: rgba(4, 7, 18, 0.25);
  color: #f5f5ff;
  border-color: rgba(197, 202, 255, 0.6); }

.btn-ghost:hover {
  background: rgba(10, 14, 33, 0.7);
  border-color: #ffffff; }

.btn-pump {
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #050816;
  border-color: rgba(0, 200, 83, 0.6);
  box-shadow: 0 0 14px rgba(0, 200, 83, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem; }

.btn-pump-logo {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  vertical-align: middle; }

.btn-pump:hover {
  box-shadow: 0 0 20px rgba(0, 200, 83, 0.6);
  border-color: #00e676; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: #ced4ff;
  opacity: 0.9; }

.hero-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #ced4ff;
  align-self: center; }

.hero-billy-card {
  position: relative;
  padding: 1.3rem 1.2rem 1.4rem;
  border-radius: 1.1rem;
  background: radial-gradient(circle at top, #11192d, #050816);
  border: 1px solid rgba(208, 214, 255, 0.35);
  box-shadow:
    0 22px 40px rgba(2, 8, 26, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.9);
  animation: fadeInUp 0.6s 0.15s ease both;
  transition: transform 0.25s ease, box-shadow 0.25s ease; }

.hero-billy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(2, 8, 26, 0.98), 0 0 0 1px rgba(0, 0, 0, 0.9); }

.hero-billy-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 220deg, #80deea, #ff4081, #ffeb3b, #80deea);
  opacity: 0.12;
  z-index: -1;
  filter: blur(4px); }

.hero-billy-avatar {
  width: 72px;
  height: 72px;
  border-radius: 0.8rem;
  margin-bottom: 0.9rem;
  background-image: url("./beat-billy-bot-icon.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.12); }

.hero-billy-info {
  font-size: 0.85rem; }

.hero-billy-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9fa8ff;
  margin-bottom: 0.2rem; }

.hero-billy-name {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #ffffff; }

.hero-billy-desc {
  color: #cfd3ff;
  line-height: 1.4;
  margin-bottom: 0.8rem; }

.hero-billy-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.1rem;
  font-size: 0.78rem; }

.hero-billy-stats .stat-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b93d9;
  margin-bottom: 0.15rem; }

.hero-billy-stats .stat-value {
  font-weight: 600;
  color: #ffffff; }

.hero-billy-stats .stat-bad {
  color: #ff8a80; }

.section {
  padding: 3.2rem 1.5rem;
  overflow-x: hidden; }

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  min-width: 0; }

.section-title {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: #f5f5ff;
  animation: fadeInUp 0.5s ease both; }

.section-subtitle {
  font-size: 0.95rem;
  color: #c6cbff;
  max-width: 34rem;
  animation: fadeIn 0.6s 0.1s ease both; }

.section-light {
  background: radial-gradient(circle at top, #171c33, #050816); }

.section-dark {
  background: radial-gradient(circle at top, #050816, #020412); }

.section-solana {
  background: radial-gradient(circle at top, #0a0e24, #020412); }

.section-tweets {
  background: radial-gradient(circle at top, #171c33, #050816);
  padding-top: 1rem;
  padding-bottom: 1rem; }

.section-inner-tweets-ref {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem; }

.tweets-ref-text {
  font-size: 0.9rem;
  color: #9fa8da;
  margin: 0; }

.tweets-ref-text a {
  color: #80deea;
  text-decoration: none; }

.tweets-ref-text a:hover {
  text-decoration: underline; }

.steps-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; }

.steps-grid-five {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem; }

.tiers-table-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid rgba(187, 200, 255, 0.4);
  background: rgba(4, 7, 22, 0.9); }

.tiers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem; }

.tiers-table th,
.tiers-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(187, 200, 255, 0.2); }

.tiers-table th {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fa8ff; }

.tiers-table td {
  color: #e3e6ff; }

.tiers-table tbody tr:last-child td {
  border-bottom: 0; }

.tiers-table tbody tr:hover td {
  background: rgba(159, 168, 255, 0.08); }

.tier-wallet-link {
  text-decoration: none;
  display: inline-block;
  max-width: 100%; }

.tier-wallet-link:hover .tier-wallet {
  color: #b2ebf2;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 12px rgba(128, 222, 234, 0.4); }

.tier-wallet {
  font-size: 0.75rem;
  word-break: break-all;
  color: #80deea;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.25rem 0.4rem;
  border-radius: 0.35rem;
  display: inline-block;
  max-width: 100%;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }

.tier-key-placeholder {
  color: #8b93d9;
  font-size: 0.8rem;
  font-style: italic; }

.tier-locked td {
  background: rgba(17, 24, 51, 0.5); }

.tier-wallet-blur {
  color: #9fa8ff;
  font-size: 0.85rem;
  font-style: italic; }

.step-card {
  background: rgba(4, 7, 22, 0.88);
  border-radius: 1rem;
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid rgba(186, 195, 255, 0.35);
  box-shadow: 0 14px 35px rgba(2, 6, 23, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease; }

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.95);
  border-color: rgba(186, 195, 255, 0.5); }

.step-number {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #9fa8ff;
  margin-bottom: 0.7rem; }

.step-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff; }

.step-text {
  font-size: 0.9rem;
  color: #cfd3ff;
  line-height: 1.5; }

.section-inner-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: flex-start; }

.feature-list {
  list-style: none;
  margin-top: 1.7rem;
  display: grid;
  gap: 1.2rem; }

.feature-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem 1rem;
  align-items: flex-start; }

.feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffeb3b, #ff6f00); }

.feature-title {
  font-weight: 600;
  margin-bottom: 0.1rem;
  color: #ffffff; }

.feature-text {
  font-size: 0.9rem;
  color: #c6cbff;
  line-height: 1.5; }

.solana-card {
  border-radius: 1.3rem;
  padding: 1.6rem 1.5rem 1.6rem;
  background: radial-gradient(circle at top left, #1b223d, #050816);
  border: 1px solid rgba(187, 222, 251, 0.45);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.95);
  font-size: 0.9rem; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(224, 242, 241, 0.7);
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e0f2f1;
  margin-bottom: 0.6rem; }

.solana-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #ffffff; }

.solana-text {
  color: #c1e1ff;
  line-height: 1.5;
  margin-bottom: 0.9rem; }

.solana-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.8rem;
  display: grid;
  gap: 0.45rem; }

.solana-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem; }

.solana-list li::before {
  content: "➜";
  font-size: 0.75rem;
  color: #80deea; }

.solana-footnote {
  font-size: 0.78rem;
  color: #9fb5ff; }

.section-arena {
  background: radial-gradient(circle at top, #050816, #02030a); }

.section-inner-arena {
  max-width: 1400px;
  overflow-x: hidden; }

.arena-layout {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 1rem;
  flex-wrap: wrap; }

.arena-panel {
  flex: 0 0 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
  align-items: stretch; }

.arena-panel .panel-card {
  flex: 0 0 auto; }

.panel-card-tweets {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 5rem; }

.panel-card-tweets .panel-title {
  flex-shrink: 0; }

.tweets-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(159, 168, 255, 0.5) rgba(17, 24, 51, 0.8); }

.tweets-list::-webkit-scrollbar {
  width: 8px; }

.tweets-list::-webkit-scrollbar-track {
  background: rgba(17, 24, 51, 0.8);
  border-radius: 4px; }

.tweets-list::-webkit-scrollbar-thumb {
  background: rgba(159, 168, 255, 0.5);
  border-radius: 4px; }

.tweets-list::-webkit-scrollbar-thumb:hover {
  background: rgba(159, 168, 255, 0.7); }

.tweet-card-inline {
  background: rgba(4, 7, 22, 0.6);
  border: 1px solid rgba(187, 200, 255, 0.25);
  border-radius: 0.6rem;
  padding: 0.6rem 0.75rem;
  flex-shrink: 0; }

.tweet-card-inline .tweet-text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #e3e6ff;
  margin: 0 0 0.4rem; }

.tweet-card-inline .tweet-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #80deea;
  text-decoration: none; }

.tweet-card-inline .tweet-link:hover {
  text-decoration: underline; }

.arena-center {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.5rem;
  display: flex;
  align-items: stretch; }

@media (max-width: 1200px) {
  .arena-layout {
    flex-direction: column;
    flex-wrap: nowrap; }
  .arena-panel {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem; }
  .arena-panel .panel-card {
    flex: 1 1 200px;
    min-width: 0; }
  .arena-center {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    order: 2; }
  .arena-panel-left {
    order: 1; }
  .arena-panel-right {
    order: 3; } }

@media (max-width: 768px) {
  .arena-panel {
    flex-direction: column; }
  .arena-panel .panel-card {
    flex: 1 1 100%; } }

.panel-card {
  background: rgba(17, 24, 51, 0.85);
  border: 1px solid rgba(187, 200, 255, 0.4);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }

.panel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.65);
  border-color: rgba(187, 200, 255, 0.55); }

.panel-title {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fa8ff;
  margin-bottom: 0.75rem; }

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem; }

.panel-label {
  color: #8b93d9; }

.panel-value {
  font-weight: 600;
  color: #e8eaf6; }

.panel-row-metric {
  margin-bottom: 0.75rem;
  padding: 0.6rem 0.75rem;
  margin-left: -0.4rem;
  margin-right: -0.4rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(187, 200, 255, 0.2); }

.panel-row-metric:last-of-type {
  margin-bottom: 0.5rem; }

.panel-value-metric {
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15); }

.panel-row-metric .panel-label {
  font-weight: 600;
  font-size: 0.8rem;
  color: #9fa8ff;
  text-transform: uppercase;
  letter-spacing: 0.08em; }

.panel-hint,
.panel-tip {
  font-size: 0.78rem;
  color: #8b93d9;
  margin-top: 0.6rem;
  margin-bottom: 0;
  line-height: 1.4; }

.panel-card-goals {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column; }

.panel-card-goals .panel-title {
  flex-shrink: 0; }

.goals-intro {
  flex-shrink: 0;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem; }

.goals-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 220px;
  scrollbar-width: thin;
  scrollbar-color: rgba(159, 168, 255, 0.5) rgba(17, 24, 51, 0.8); }

.goals-list::-webkit-scrollbar {
  width: 6px; }

.goals-list::-webkit-scrollbar-thumb {
  background: rgba(159, 168, 255, 0.5);
  border-radius: 3px; }

.goal-item {
  background: rgba(4, 7, 22, 0.5);
  border: 1px solid rgba(187, 200, 255, 0.2);
  border-radius: 0.5rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.6rem;
  align-items: center; }

.goal-tier {
  font-weight: 700;
  color: #9fa8ff;
  text-transform: uppercase;
  letter-spacing: 0.06em; }

.goal-pool {
  color: #80deea;
  font-weight: 600;
  text-align: right; }

.goal-wallet {
  grid-column: 1 / -1;
  color: #80deea;
  text-decoration: none;
  font-size: 0.7rem;
  word-break: break-all; }

.goal-wallet:hover {
  text-decoration: underline; }

.goal-seed {
  grid-column: 1 / -1;
  color: #8b93d9;
  font-style: italic;
  font-size: 0.7rem; }

.goal-item-locked {
  opacity: 0.85; }

.goal-item-locked .goal-seed {
  font-style: normal;
  color: #9fa8ff; }

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem; }

.notifications {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  max-width: 90vw; }

.notification {
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  background: rgba(4, 7, 22, 0.95);
  border: 1px solid rgba(187, 200, 255, 0.5);
  color: #e8eaf6;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease; }

.notification-visible {
  opacity: 1;
  transform: translateY(0); }

.notification-success {
  border-color: rgba(129, 199, 132, 0.8);
  color: #c8e6c9; }

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.7rem; }

.arena-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(17, 24, 51, 0.6);
  border: 1px solid rgba(187, 200, 255, 0.35); }

.arena-action-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem; }

.arena-action-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9fa8ff; }

.btn-wallet {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(187, 200, 255, 0.5);
  background: rgba(26, 35, 126, 0.6);
  color: #c5cae9;
  cursor: not-allowed;
  opacity: 0.85; }

.arena-level-select {
  min-width: 220px;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(187, 200, 255, 0.5);
  background: rgba(4, 7, 18, 0.95);
  color: #e8eaf6;
  cursor: pointer; }

.arena-action-hint {
  font-size: 0.75rem;
  color: #8b93d9; }

.arena-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap; }

.badge {
  font-size: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(158, 172, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c5cae9;
  background: rgba(8, 11, 30, 0.9); }

.badge-live {
  border-color: rgba(255, 82, 82, 0.8);
  color: #ff8a80;
  background: rgba(26, 8, 8, 0.9); }

.arena-center {
  min-height: 260px; }

.arena-frame-inner {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; }

.arena-scaler-wrap {
  flex: 0 0 auto;
  position: relative; }

.arena-scaler {
  transform-origin: 0 0;
  position: relative; }

.arena-center #app-root {
  width: 980px;
  min-height: 440px;
  height: auto;
  max-width: 100%;
  overflow: visible; }

@media (max-width: 900px) {
  .arena-center #app-root {
    min-height: 380px; } }

.footer {
  padding: 1.6rem 1.5rem 2rem;
  background: #03040b;
  border-top: 1px solid rgba(59, 66, 116, 0.9); }

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #9fa8da; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e8eaf6; }

.footer-logo-mark {
  width: 18px;
  height: 18px;
  border-radius: 0.3rem;
  background-image: url("./beat-billy-bot-icon.png");
  background-size: cover;
  background-position: center;
  image-rendering: pixelated;
  box-shadow: 0 0 10px rgba(129, 212, 250, 0.6); }

.footer-text {
  max-width: 32rem;
  line-height: 1.4; }

/* Loading screen (from website-loading-screen: rotating L + OADING) */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: opacity 0.5s ease, visibility 0.5s ease; }

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; }

.loading-screen .loading {
  color: #fff;
  font-size: 20px;
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
  perspective: 500px;
  letter-spacing: 2px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-shadow: 2px 2px 20px #ff0000;
  font-family: "Telex", "Inter", system-ui, sans-serif; }

.loading-screen .loading .rotate {
  display: inline;
  position: absolute;
  background-color: #fff;
  color: #000;
  border-radius: 2px;
  box-shadow: 0 0 60px 4px #000088;
  animation: loading-rotate-x 1s ease infinite;
  margin-left: -20px; }

@keyframes loading-rotate-x {
  0% { transform: rotateX(1deg); }
  100% { transform: rotateX(360deg); } }


/* Existing battle UI styles from the original demo */

.ui-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 0.5rem 1rem;
  gap: 1rem;
  overflow: visible; }

.viewport {
  background-size: cover;
  position: relative;
  margin: 0 auto;
  width: 176px;
  /* init */
  height: 112px;
  /* init */
  overflow: hidden; }

.dev-switch-link {
  text-decoration: none;
  color: #666;
  border: 1px solid #666;
  padding: 0.2em 0;
  display: inline-block;
  width: 120px;
  text-align: center; }
  .dev-switch-link:first-of-type {
    border-right: 0; }

.b4 ._flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center; }
  .b4 ._flex-row._flex-row-top {
    align-items: flex-start; }

.b4 ._c50 {
  width: calc(50%); }

.b4 .wrap {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: flex; }

.b4 .col1 {
  width: 450px;
  margin-right: 1em; }

.b4 .col2 {
  flex: 1; }

/* Beat Billy Bot customizations: arena + visible character console */
.arena-center .b4 .wrap {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem; }

.arena-center .b4 .col2 {
  flex: 1 1 auto;
  width: auto; }

.arena-center .b4 .col1 {
  display: block;
  width: 320px;
  max-width: 100%;
  margin-right: 0; }

/* Hide Arena / Console / Reporting dev tabs – we always show the arena + console layout we want */
.arena-center .dev-switch-link {
  display: none !important; }

.b4 .col2 .card {
  display: none; }

.b4 .col2 .card:has(.battle-arena) {
  display: block; }

.b4-reporting-table {
  display: none !important; }

.b4 .card {
  background: #fff;
  padding: 1em;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.23); }

/* Override card styles for arena + console inside our shell */
.arena-center .b4 .card {
  background: transparent;
  box-shadow: none;
  padding: 0; }

.arena-center .b4 .col1 .card {
  background: radial-gradient(circle at top left, #171c33, #050816);
  border-radius: 1.1rem;
  border: 1px solid rgba(187, 200, 255, 0.5);
  box-shadow:
    0 18px 32px rgba(2, 6, 23, 0.96),
    0 0 0 1px rgba(0, 0, 0, 0.85);
  color: #e3e6ff;
  padding: 1.1rem 1rem 1.2rem; }

.b4 .combatant-card {
  display: flex;
  margin-bottom: 1em; }
  .b4 .combatant-card > div:first-of-type {
    width: 64px;
    margin-right: 1em; }
  .b4 .combatant-card > div:nth-of-type(2) {
    flex: 1; }

.b4 .combatant-card-section + .combatant-card-section {
  margin-top: 1em; }

.b4 .combatant-card-section-label {
  text-transform: uppercase;
  margin-bottom: 0.3em; }

.b4 .combatant-image {
  position: relative;
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/21542/svJacob-2.svg);
  background-size: 400%;
  background-position: 33.33% 33.33%;
  width: 64px;
  height: 64px; }

.b4 .battle-turn {
  background: #F3F3F3;
  border: 1px solid #E1E1E1;
  padding: 1em 1em; }
  .b4 .battle-turn .battle-log-line:not(:last-of-type) {
    margin-bottom: 0.4em; }
  .b4 .battle-turn .battle-turn-sub-event {
    padding-left: 3em;
    color: #999; }

.b4 .battle-revert-link {
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
  text-decoration: none;
  color: #4A90E2;
  display: block; }

.b4 .battle-turn + .battle-revert-link {
  margin-top: 1em; }

.b4 label {
  display: inline-block;
  width: 60px; }
  .b4 label.label-long {
    width: 80px; }

.b4 .upgrade-row {
  border: 1px solid #ccc;
  border-bottom: 0;
  padding: 0.5em 1em;
  font-size: 0.7em; }
  .b4 .upgrade-row:last-of-type {
    border-bottom: 1px solid #ccc; }
  .b4 .upgrade-row button {
    font-size: 0.7em; }

.battle-arena .scoreboards {
  display: flex;
  justify-content: space-between; }

.battle-arena .scoreboard {
  display: flex;
  position: relative;
  background-image: linear-gradient(-180deg, #DBDBDB 14%, #EEEEEE 25%, #E4E4E4 40%, #D8D8D8 100%);
  /* Spacing between values */ }
  .battle-arena .scoreboard .scoreboard_avatar {
    background-size: 538%;
    background-position: 34% 31%;
    background-color: #aaa; }
  .battle-arena .scoreboard .scoreboard_scores {
    flex: 1; }
    .battle-arena .scoreboard .scoreboard_scores > div:first-of-type {
      margin-bottom: 0.3em; }
  .battle-arena .scoreboard .scoreboard_name {
    color: #000;
    font-size: 1.4em;
    margin-right: 0.8em;
    margin-bottom: 0.2em; }
  .battle-arena .scoreboard .scoreboard_lvl {
    color: #666;
    margin-right: 0.8em; }
  .battle-arena .scoreboard .scoreboard_hp {
    margin-right: 0.8em; }
  .battle-arena .scoreboard .scoreboard_lvl > span:first-of-type,
  .battle-arena .scoreboard .scoreboard_hp > span:first-of-type,
  .battle-arena .scoreboard .scoreboard_danger > span:first-of-type {
    margin-right: 0.4em; }
  .battle-arena .scoreboard .scoreboard_alignment {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    width: 2em;
    height: 2em;
    justify-content: space-between;
    transform: rotate(45deg); }
    .battle-arena .scoreboard .scoreboard_alignment .square {
      width: calc(46%);
      background: #C3C3C3; }
      .battle-arena .scoreboard .scoreboard_alignment .square:first-of-type {
        margin-bottom: 6%; }
      .battle-arena .scoreboard .scoreboard_alignment .square:nth-of-type(2) {
        margin-bottom: 6%; }

.battle-arena .submission-menu {
  position: absolute;
  z-index: 20;
  transition: bottom 0.2s ease-out; }

.battle-arena .submission-menu_more-container {
  display: flex; }

.battle-arena .submission-menu_option {
  background: rgba(255, 255, 255, 0.2);
  margin-top: 0.5em;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  -webkit-user-select: none;
  /* Chrome all / Safari all */
  -moz-user-select: none;
  /* Firefox all */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none; }
  .battle-arena .submission-menu_option:hover {
    cursor: pointer; }
  .battle-arena .submission-menu_option > span:nth-of-type(2) {
    font-size: 0.8em; }
  .battle-arena .submission-menu_option.is-selected {
    background: white; }
    .battle-arena .submission-menu_option.is-selected.is-deactivated {
      opacity: 0.5;
      color: red;
      border-color: red !important; }
  .battle-arena .submission-menu_option.is-deactivated {
    opacity: 0.3;
    color: #444;
    border-color: #444 !important; }
  .battle-arena .submission-menu_option.invisible {
    visibility: hidden; }

.battle-arena .submission-bottom-nav-container {
  display: flex;
  justify-content: space-between; }

.battle-arena .battle-arena-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.5s; }

.battle-arena .single-combatant-container {
  z-index: 5;
  transition: left 0.4s ease-out; }

.battle-arena .arena-combatant-image {
  position: absolute;
  background-size: 400%; }
  .battle-arena .arena-combatant-image.is-player {
    z-index: 6;
    background-position: 33.33% 33.33%; }
  .battle-arena .arena-combatant-image:not(.is-player) {
    background-position: 100% 100%; }

.battle-arena .arena-combatant-shadow {
  content: '';
  position: absolute;
  z-index: 4;
  left: 23%;
  right: 23%;
  bottom: -7%;
  height: 14%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2); }

.is-rollout .arena-combatant-image.is-player {
  background-position: 100% 100%; }

.is-rollout .arena-combatant-image:not(.is-player) {
  background-position: 33.33% 33.33%; }

@keyframes turnToFaceUp {
  from {
    background-position: 33.33% 33.33%; }
  to {
    background-position: 100% 100%; } }

@keyframes turnToFaceDown {
  from {
    background-position: 100% 100%; }
  to {
    background-position: 33.33% 33.33%; } }

/* SPIN */
@keyframes spin {
  from {
    transform: rotate(0deg); }
  to {
    transform: rotate(360deg); } }

/* PROJECTILE */
@keyframes projectile {
  from {
    top: 80%;
    left: 5%;
    width: 100px; }
  to {
    width: 30px;
    left: 73%;
    top: 20%; } }

/* RISE */
@keyframes rise {
  from {
    transform: translate3d(0, 0px, 0); }
  to {
    transform: translate3d(0, -200px, 0); } }

/* SHAKE */
@keyframes shake {
  from, to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0); }
  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0); } }

/* TADA */
@keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  10%, 20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); }
  30%, 50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); }
  40%, 60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }

/* CELEBRATE and OUCH*/
@keyframes celebrate {
  from {
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0); }
  10%, 20% {
    transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, -5deg) translate3d(0, 10px, 0); }
  30%, 50%, 70%, 90% {
    transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 5deg) translate3d(0, 0px, 0); }
  40%, 60%, 80% {
    transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, -5deg) translate3d(0, 10px, 0); }
  to {
    transform: scale3d(1, 1, 1); } }

/* SLIDE-OUT-DOWN */
@keyframes slideOutDown {
  0% {
    transform: translate3d(0, 0, 0); }
  76% {
    transform: translate3d(0, 60%, 0); }
  100% {
    transform: translate3d(0, 0%, 0); } }

/* BLINK */
@keyframes blink {
  /* EX: blink 0.3s steps(2, start) infinite*/
  to {
    visibility: hidden; } }

/* DIE */
@keyframes die {
  from {
    filter: blur(0);
    -webkit-filter: blur(0px);
    opacity: 1; }
  to {
    filter: blur(10px);
    -webkit-filter: blur(20px);
    opacity: 0; } }

/* SLICE */
@keyframes slice {
  from {
    background-position: 0 0; }
  to {
    background-position: 100% 0; } }

/* PRELOADED */
@keyframes preloaded {
  from, to {
    transform: translate3d(0, 0, 0); }
  15% {
    transform: translate3d(-25%, 0, 0); }
  30% {
    transform: translate3d(0%, -25%, 0); }
  40% {
    transform: translate3d(0%, 0, 0); } }

/* SCREENSHOT */
@keyframes screenshot {
  from {
    opacity: 0.5; }
  to {
    opacity: 0; }
  4% {
    opacity: 1; } }

/* FLASHBOX (DDoS */
@keyframes flashbox {
  from {
    opacity: 0; }
  to {
    opacity: 0.4; } }

.battle-arena {
  height: 100%;
  width: 100%;
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/21542/stars.png") repeat repeat, linear-gradient(-180deg, #E08E8E 0%, #D4D4E5 100%);
  position: relative; }
  .battle-arena .bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    transition: height 0.3s ease-out; }
  .battle-arena .ending-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s; }
    .battle-arena .ending-overlay.is-active {
      opacity: 0.94;
      z-index: 999; }
      .battle-arena .ending-overlay.is-active.half {
        opacity: 0.7; }
  .battle-arena .ending-overlay-link {
    color: #4A90E2; }

/* MUSIC: ON/OFF block – keep above bottom bar so it isn’t overlapped */
.battle-arena > div[style*="padding: 1em"] {
  position: relative;
  z-index: 25;
  margin-bottom: 0.5em;
  padding: 0.6rem 1rem !important;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fa8da;
  display: flex;
  align-items: center;
  gap: 0.4rem; }

.battle-arena .bottom-bar {
  z-index: 20; }

.start-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 999; }
  .start-overlay .start-overlay-link {
    background: #4A90E2;
    border-bottom: 0.3em solid #2378db;
    text-decoration: none;
    color: #fff;
    padding: 1em 2em;
    border-radius: 0.5em; }
    .start-overlay .start-overlay-link:hover {
      background: #2378db; }

.b4-reporting-table {
  width: 100%; }
  .b4-reporting-table td {
    padding: 1em;
    text-align: center;
    font-size: 0.7em; }