:root {
  --bg: #090b12;
  --bg-soft: #0f1320;
  --panel: rgba(15, 20, 32, 0.96);
  --panel-alt: rgba(19, 26, 41, 0.94);
  --panel-soft: rgba(14, 18, 30, 0.78);
  --line: rgba(126, 197, 255, 0.12);
  --line-strong: rgba(126, 197, 255, 0.26);
  --text: #eef5ff;
  --muted: #a9b9d0;
  --accent: #63beff;
  --accent-strong: #b7ebff;
  --accent-warm: #ffae67;
  --success: #69f1ca;
  --danger: #ffd84b;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(4, 6, 12, 0.62), rgba(6, 10, 18, 0.74)),
    radial-gradient(circle at 50% 18%, rgba(255, 174, 103, 0.12), transparent 28%),
    radial-gradient(circle at 15% 12%, rgba(99, 190, 255, 0.2), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(255, 174, 103, 0.16), transparent 22%),
    url("../img/fundo.png") center top / cover no-repeat fixed,
    linear-gradient(180deg, #06080e 0%, #0d1220 48%, #080b14 100%);
}

a,
button {
  font: inherit;
}

.noise,
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.noise {
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 98%);
}

.glow-blue {
  background: radial-gradient(circle at 8% 16%, rgba(99, 190, 255, 0.16), transparent 26%);
}

.glow-orange {
  background: radial-gradient(circle at 92% 12%, rgba(255, 174, 103, 0.14), transparent 24%);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.site-header {
  display: grid;
  gap: 22px;
  margin-bottom: 22px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 16, 26, 0.96), rgba(8, 12, 21, 0.96));
  box-shadow: var(--shadow);
}

.header-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.top-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(126, 197, 255, 0.18);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.top-nav-link:hover,
.top-nav-link.is-active {
  transform: translateY(-2px);
  border-color: rgba(126, 197, 255, 0.34);
  background: rgba(99, 190, 255, 0.08);
}

.top-nav-login-button {
  cursor: pointer;
  font: inherit;
  appearance: none;
}

.top-nav-donate-button {
  cursor: pointer;
  font: inherit;
  appearance: none;
  border-color: rgba(255, 174, 103, 0.28);
  background: rgba(255, 174, 103, 0.08);
}

.top-nav-donate-button:hover,
.top-nav-donate-button.is-active {
  border-color: rgba(255, 174, 103, 0.5);
  background: rgba(255, 174, 103, 0.14);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.header-online-stats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.game-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 174, 103, 0.22);
  background: rgba(255, 174, 103, 0.08);
  color: #ffd8b6;
}

.game-status-pill.is-online {
  border-color: rgba(105, 241, 202, 0.28);
  background: rgba(105, 241, 202, 0.08);
  color: #bff8e6;
}

.game-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff7d67;
  box-shadow: 0 0 0 8px rgba(255, 125, 103, 0.12);
}

.game-status-pill.is-online .game-status-dot {
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(105, 241, 202, 0.12);
}

.online-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(126, 197, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #d6e8ff;
}

.online-stat-pill-admin {
  border-color: rgba(255, 174, 103, 0.24);
  background: rgba(255, 174, 103, 0.08);
  color: #ffd8b6;
}

.online-stat-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.online-stat-pill-admin .online-stat-label {
  color: rgba(255, 216, 182, 0.82);
}

.online-stat-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f7fbff;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(126, 197, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  margin-left: auto;
}

.language-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(99, 190, 255, 0.16);
  color: #dff2ff;
  font-weight: 700;
}

.language-name {
  font-weight: 600;
}

.language-switcher select {
  border: 0;
  background: transparent;
  color: transparent;
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr);
  align-items: start;
  gap: 24px;
}

.brand-column {
  display: grid;
  gap: 8px;
  align-content: end;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-pokemon-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  width: 224px;
  margin-left: 10px;
  margin-top: 6px;
  margin-bottom: -26px;
  padding-bottom: 10px;
  z-index: 3;
}

.brand-pokemon-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 126px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(126, 197, 255, 0.38), rgba(126, 197, 255, 0.02) 72%),
    linear-gradient(90deg, rgba(255, 174, 103, 0.18), rgba(126, 197, 255, 0.24), rgba(255, 174, 103, 0.18));
  filter: blur(2px);
  opacity: 0.95;
}

.brand-pokemon-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 144px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(12, 17, 29, 0.2), rgba(35, 48, 73, 0.9), rgba(12, 17, 29, 0.2));
  box-shadow:
    0 0 0 1px rgba(126, 197, 255, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.32);
}

.brand-pokemon-strip {
  display: block;
  width: 208px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.24))
    drop-shadow(0 16px 18px rgba(0, 0, 0, 0.18));
  position: relative;
  z-index: 1;
}

.brand-logo {
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.38));
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1.05rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.94rem;
}

.header-countdown {
  position: relative;
  padding: 16px 18px;
  padding-top: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(99, 190, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(14, 19, 31, 0.96), rgba(9, 13, 24, 0.96));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  min-width: 0;
  align-self: center;
  overflow: hidden;
}

.header-countdown-shell {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.header-countdown-grid {
  margin-top: 12px;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(68px, 1fr));
}

.header-countdown-grid article {
  min-width: 0;
  padding: 14px 8px;
}

.header-countdown-grid strong {
  font-size: clamp(1.1rem, 1.8vw, 1.65rem);
}

.header-countdown-grid span {
  font-size: 0.72rem;
}

.countdown-side-icon {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.24));
  animation: float-soft 3.4s ease-in-out infinite;
}

.launch-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(10px);
}

.launch-popup-overlay.is-hidden {
  display: none;
}

.launch-popup {
  position: relative;
  width: min(720px, calc(100vw - 28px));
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(99, 190, 255, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 174, 103, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(12, 16, 26, 0.98), rgba(8, 12, 21, 0.98));
  box-shadow: var(--shadow);
  text-align: center;
}

.launch-popup h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.05;
}

.launch-popup p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.launch-popup-grid {
  margin-top: 22px;
}

.launch-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.community-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 34;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 4, 10, 0.74);
  backdrop-filter: blur(10px);
}

.community-popup-overlay.is-hidden {
  display: none;
}

.community-popup {
  position: relative;
  width: min(640px, calc(100vw - 28px));
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(99, 190, 255, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(37, 211, 102, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(12, 16, 26, 0.98), rgba(8, 12, 21, 0.98));
  box-shadow: var(--shadow);
  max-height: min(92vh, 920px);
  overflow-y: auto;
}

.community-popup h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.community-popup p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.66;
}

.community-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.community-popup-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.avatar-popup {
  width: min(920px, calc(100vw - 28px));
}

.avatar-popup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  max-height: min(60vh, 640px);
  overflow: auto;
  padding-right: 4px;
}

.avatar-popup-card {
  padding: 10px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 18px;
  background: rgba(8, 11, 19, 0.86);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.avatar-popup-card:hover,
.avatar-popup-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(99, 190, 255, 0.34);
  background: rgba(99, 190, 255, 0.08);
}

.avatar-popup-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.avatar-popup-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.payment-popup {
  width: min(1060px, calc(100vw - 28px));
  max-height: min(92vh, 900px);
  padding: 22px;
}

.payment-popup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 16px;
  margin-top: 18px;
}

.payment-form,
.payment-result-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(126, 197, 255, 0.12);
  border-radius: 24px;
  background: rgba(8, 12, 21, 0.62);
}

.payment-form label {
  display: grid;
  gap: 10px;
}

.payment-form label span,
.payment-result-details span,
.payment-mode-copy span,
.payment-summary-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.payment-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(126, 197, 255, 0.14);
  border-radius: 16px;
  background: rgba(5, 10, 22, 0.72);
  color: var(--text);
  font: inherit;
}

.payment-form input:focus,
.payment-form textarea:focus {
  outline: none;
  border-color: rgba(99, 190, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(99, 190, 255, 0.12);
}

.payment-plan-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.payment-plan-selector.is-hidden,
.payment-donation-field.is-hidden {
  display: none;
}

.payment-plan-card {
  position: relative;
  display: grid;
  min-height: 330px;
  padding: 0;
  border: 1px solid rgba(126, 197, 255, 0.16);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(12, 17, 30, 0.92);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.payment-plan-art {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(7, 10, 18, 0.04), rgba(7, 10, 18, 0.74)),
    url("../img/pacote.jpeg");
  background-repeat: no-repeat;
  background-size: 324% auto;
  transform: scale(1.025);
  transition: transform 180ms ease, filter 180ms ease;
}

.payment-plan-card-bronze .payment-plan-art {
  background-position: 0% 12%;
}

.payment-plan-card-prata .payment-plan-art {
  background-position: 50% 12%;
}

.payment-plan-card-ouro .payment-plan-art {
  background-position: 100% 12%;
}

.payment-plan-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 330px;
  padding: 22px 18px 18px;
  background:
    linear-gradient(180deg, rgba(5, 8, 14, 0.01) 0%, rgba(5, 8, 14, 0.12) 24%, rgba(5, 8, 14, 0.62) 58%, rgba(5, 8, 14, 0.96) 100%);
}

.payment-plan-card:hover,
.payment-plan-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(255, 174, 103, 0.55);
  box-shadow: 0 18px 36px rgba(255, 174, 103, 0.16);
  filter: saturate(1.03);
}

.payment-plan-card small {
  color: #fff3df;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.52);
}

.payment-plan-card strong {
  font-size: 1.5rem;
  line-height: 1;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.6);
}

.payment-plan-card span {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58);
}

.payment-plan-overlay span {
  white-space: pre-line;
  line-height: 1.45;
  font-size: 0.91rem;
  color: #eef6ff;
}

.payment-plan-card.is-active .payment-plan-overlay {
  background:
    linear-gradient(180deg, rgba(5, 8, 14, 0.01) 0%, rgba(18, 24, 38, 0.18) 28%, rgba(8, 12, 21, 0.8) 62%, rgba(8, 12, 21, 0.96) 100%);
}

.payment-plan-card.is-active .payment-plan-art {
  transform: scale(1.05);
  filter: brightness(1.04) saturate(1.06);
}

.payment-mode-copy,
.payment-summary-card,
.payment-result-head {
  display: grid;
  gap: 6px;
}

.payment-summary-card {
  padding: 16px 18px;
  border: 1px solid rgba(255, 174, 103, 0.14);
  border-radius: 20px;
  background: rgba(255, 174, 103, 0.06);
}

.payment-summary-card small,
.payment-result-head small {
  color: #ffd7b5;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.payment-money-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(126, 197, 255, 0.14);
  border-radius: 16px;
  background: rgba(5, 10, 22, 0.72);
}

.payment-money-input span {
  color: #dff2ff;
  font-weight: 700;
}

.payment-money-input input {
  min-height: 0;
  padding: 0 0 0 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.payment-submit {
  width: 100%;
}

.payment-result-card {
  grid-auto-rows: min-content;
  align-content: start;
}

.payment-result-qr {
  display: grid;
  place-items: center;
  min-height: 232px;
  border: 1px dashed rgba(126, 197, 255, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(99, 190, 255, 0.08), transparent 38%),
    rgba(6, 10, 18, 0.8);
  overflow: hidden;
}

.payment-result-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 22px;
}

.payment-result-qr img {
  width: min(100%, 230px);
  height: auto;
  display: block;
  padding: 12px;
  border-radius: 24px;
  background: #fff;
}

.payment-result-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.payment-result-details div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.payment-result-details strong {
  font-size: 1rem;
}

.payment-result-actions {
  display: flex;
  justify-content: flex-end;
}

.payment-qr-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.account-login-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.account-login-form label {
  display: grid;
  gap: 10px;
}

.account-login-form label span {
  color: var(--muted);
  font-size: 0.95rem;
}

.account-login-form input {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(126, 197, 255, 0.14);
  border-radius: 18px;
  background: rgba(5, 10, 22, 0.72);
  color: var(--text);
  font: inherit;
}

.account-login-form input:focus {
  outline: none;
  border-color: rgba(99, 190, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(99, 190, 255, 0.12);
}

.community-option {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 20px;
  border: 1px solid rgba(126, 197, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.community-option strong {
  font-size: 1rem;
}

.community-option span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.community-option:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 211, 102, 0.38);
  background: rgba(37, 211, 102, 0.09);
}

.site-nav a,
.header-cta,
.action-primary,
.action-secondary,
.discord-button,
.submit-button {
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.header-cta,
.action-primary,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #08121d;
  box-shadow: 0 16px 34px rgba(99, 190, 255, 0.24);
}

.header-cta:hover,
.action-primary:hover,
.submit-button:hover,
.discord-button:hover {
  transform: translateY(-2px);
}

.action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.page-frame {
  position: relative;
  min-height: 0;
}

.page-view {
  display: none;
  animation: page-fade 260ms ease;
}

.page-view.active {
  display: block;
}

.page-marquee,
.promo-marquee {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(16, 22, 35, 0.98), rgba(22, 30, 48, 0.98));
  box-shadow: var(--shadow);
}

.page-marquee {
  margin-bottom: 22px;
}

.page-marquee-track,
.promo-marquee-track {
  display: flex;
  width: max-content;
}

.page-marquee-track {
  animation: marquee-scroll 18s linear infinite;
}

.promo-marquee-track {
  animation: marquee-scroll 12s linear infinite;
}

.page-marquee-group,
.promo-marquee-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  padding: 12px 18px;
}

.page-marquee-group span,
.promo-marquee-group span {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-marquee-group span {
  color: #c6ebff;
}

.promo-marquee-group span {
  color: #ffe27f;
}

.page-marquee-group span::after,
.promo-marquee-group span::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 18px;
  vertical-align: middle;
  background: center / contain no-repeat url("../img/marquee-separator.png");
  opacity: 0.95;
}

.hero-page,
.about-layout,
.register-layout,
.highlight-stage {
  display: grid;
  gap: 22px;
}

.hero-page {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: start;
}

.hero-copy,
.hero-panel,
.feature-panel,
.discord-panel,
.poster-card,
.countdown-card,
.register-story-card,
.signup-panel,
.home-bands article,
.signal-band article,
.river-card,
.spotlight-panel,
.mini-card,
.journey-track article,
.team-card,
.download-window {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 16, 27, 0.96), rgba(8, 12, 21, 0.96));
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 34px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(99, 190, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 174, 103, 0.1), transparent 24%);
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-panel {
  display: grid;
  gap: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.status-pill,
.countdown-pill,
.panel-badge,
.feature-panel small,
.hero-card small,
.team-card small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.status-pill-button {
  border: 1px solid rgba(99, 190, 255, 0.22);
  cursor: pointer;
}

.status-pill,
.countdown-pill {
  border: 1px solid rgba(99, 190, 255, 0.22);
  background: rgba(99, 190, 255, 0.08);
  color: #c9edff;
}

.panel-badge {
  border: 1px solid rgba(255, 174, 103, 0.24);
  background: rgba(255, 174, 103, 0.09);
  color: #ffd6b3;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(105, 241, 202, 0.1);
}

.eyebrow {
  margin: 18px 0 12px;
  color: #ffd0a4;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.subpage-header h1,
.section-heading h2,
.feature-panel h2,
.lock-content h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 0.96;
}

.hero-copy h1 span {
  display: inline-block;
  color: var(--accent-strong);
}

.lead,
.hero-text,
.section-heading p,
.feature-panel p,
.discord-copy p,
.lock-content p,
.register-story-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.66;
}

.lead,
.hero-text {
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.promo-showcase {
  display: grid;
  gap: 18px;
}

.home-ranking-strip {
  display: grid;
  gap: 16px;
  margin: 4px 0 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 174, 103, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(14, 20, 33, 0.96), rgba(9, 13, 24, 0.96));
  box-shadow: var(--shadow);
}

.home-ranking-head {
  display: grid;
  gap: 4px;
}

.home-ranking-head small {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 174, 103, 0.22);
  background: rgba(255, 174, 103, 0.09);
  color: #ffd7b5;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-ranking-head strong {
  font-size: 1.15rem;
}

.home-ranking-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-ranking-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(126, 197, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.home-ranking-card-head {
  display: flex;
  align-items: center;
}

.home-ranking-list {
  display: grid;
  gap: 10px;
}

.home-ranking-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.rank-tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 10px;
  border-radius: 14px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-ranking-item strong {
  font-size: 1rem;
}

.home-ranking-item small {
  color: var(--muted);
  font-size: 0.88rem;
}

.rank-tier-ss {
  border-color: rgba(255, 226, 127, 0.28);
  background:
    radial-gradient(circle at left center, rgba(255, 226, 127, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(30, 26, 12, 0.38), rgba(255, 255, 255, 0.03));
}

.rank-tier-ss .rank-tier-badge {
  color: #fff7d2;
  background: linear-gradient(135deg, #ffe27f, #ffae67);
  box-shadow:
    0 0 18px rgba(255, 226, 127, 0.45),
    0 0 42px rgba(255, 174, 103, 0.24);
}

.rank-tier-ss strong {
  color: #fff4bf;
  text-shadow:
    0 0 10px rgba(255, 226, 127, 0.34),
    0 0 24px rgba(255, 174, 103, 0.18);
}

.rank-tier-s {
  border-color: rgba(126, 197, 255, 0.22);
  background:
    radial-gradient(circle at left center, rgba(126, 197, 255, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.03);
}

.rank-tier-s .rank-tier-badge {
  color: #eef8ff;
  background: linear-gradient(135deg, #8bd4ff, #63beff);
  box-shadow: 0 0 16px rgba(99, 190, 255, 0.28);
}

.rank-tier-s strong {
  color: #dff4ff;
  text-shadow: 0 0 10px rgba(99, 190, 255, 0.18);
}

.rank-tier-a .rank-tier-badge {
  color: #f5f8ff;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(126, 197, 255, 0.18));
  border: 1px solid rgba(126, 197, 255, 0.18);
}

.trainer-search-card {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(99, 190, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(14, 20, 33, 0.96), rgba(9, 13, 24, 0.96));
  box-shadow: var(--shadow);
}

.trainer-search-head {
  display: grid;
  gap: 8px;
}

.trainer-search-head small {
  display: inline-block;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(99, 190, 255, 0.22);
  background: rgba(99, 190, 255, 0.08);
  color: #c9edff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trainer-search-head strong {
  font-size: 1.18rem;
}

.trainer-search-field {
  position: relative;
  display: block;
}

.trainer-search-watermark {
  position: absolute;
  left: 18px;
  top: 12px;
  color: rgba(183, 235, 255, 0.12);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.trainer-search-field input {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid rgba(126, 197, 255, 0.14);
  border-radius: 22px;
  background: rgba(7, 11, 20, 0.9);
  color: var(--text);
  font-size: 1rem;
  outline: 0;
}

.trainer-search-watermark {
  display: none;
}

.trainer-search-field input:focus {
  border-color: rgba(99, 190, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(99, 190, 255, 0.12);
}

.trainer-search-actions {
  display: grid;
  gap: 12px;
}

.trainer-search-button {
  width: 100%;
}

.trainer-search-feedback {
  margin: 0;
}

.promo-inline-marquee {
  overflow: hidden;
  margin: 8px 0 18px;
  border: 1px solid rgba(126, 197, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.promo-inline-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 10s linear infinite;
}

.promo-inline-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  padding: 10px 16px;
}

.promo-inline-group span {
  white-space: nowrap;
  color: #ffe27f;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo-inline-group span::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  vertical-align: middle;
  background: center / contain no-repeat url("../img/marquee-separator.png");
  opacity: 0.95;
}

.promo-feature-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 174, 103, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(14, 20, 33, 0.96), rgba(9, 13, 24, 0.96));
  box-shadow: var(--shadow);
}

.promo-story-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.promo-story-nav {
  display: flex;
  gap: 10px;
}

.promo-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(126, 197, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.promo-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 197, 255, 0.34);
  background: rgba(99, 190, 255, 0.08);
}

.promo-story-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 16px;
}

.promo-story-progress span {
  display: block;
  flex: 1 1 0;
  max-width: 88px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.promo-story-progress span.is-active {
  background: linear-gradient(90deg, #ffe27f, #ffae67);
  box-shadow: 0 0 12px rgba(255, 226, 127, 0.24);
}

.promo-feature-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.promo-feature-card p {
  margin: 0 0 16px;
}

.promo-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 170px;
  margin: 12px 0 14px;
  border: 1px dashed rgba(126, 197, 255, 0.35);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(99, 190, 255, 0.08), rgba(255, 174, 103, 0.08)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0 14px,
      rgba(255, 255, 255, 0.01) 14px 28px
    );
  color: #c6ebff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.promo-image-button {
  width: 100%;
  height: clamp(260px, 32vw, 420px);
  cursor: default;
  padding: 0;
  overflow: hidden;
}

.promo-image-button.is-clickable {
  cursor: pointer;
}

.promo-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-image-button.is-ranking {
  display: block;
  border-style: solid;
  border-color: rgba(255, 226, 127, 0.18);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 174, 103, 0.16), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(99, 190, 255, 0.16), transparent 28%),
    radial-gradient(circle at 50% 88%, rgba(126, 197, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(8, 12, 21, 0.99), rgba(10, 15, 27, 0.99));
}

.promo-ranking-slide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  height: 100%;
  padding: 22px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.promo-ranking-world {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(126, 197, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.promo-ranking-list {
  display: grid;
  gap: 12px;
}

.promo-ranking-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-ranking-item:last-child {
  border-bottom: 0;
}

.promo-rank-tier {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.promo-ranking-copy {
  display: grid;
  justify-items: start;
}

.promo-ranking-name {
  font-size: 1.08rem;
  line-height: 1.05;
}

.promo-ranking-copy small {
  color: var(--muted);
  font-size: 0.84rem;
}

.promo-ranking-item.rank-tier-ss .promo-rank-tier {
  color: #fff0a8;
  text-shadow:
    0 0 10px rgba(255, 231, 133, 0.82),
    0 0 24px rgba(255, 174, 103, 0.62),
    0 0 42px rgba(255, 226, 127, 0.42);
}

.promo-ranking-item.rank-tier-ss .promo-ranking-name {
  color: #fff2bb;
  text-shadow:
    0 0 12px rgba(255, 226, 127, 0.45),
    0 0 26px rgba(255, 174, 103, 0.25);
  font-size: 1.16rem;
}

.promo-ranking-item.rank-tier-s .promo-rank-tier {
  color: #b7ebff;
  text-shadow:
    0 0 10px rgba(99, 190, 255, 0.44),
    0 0 20px rgba(126, 197, 255, 0.24);
}

.promo-ranking-item.rank-tier-s .promo-ranking-name {
  color: #dff4ff;
  text-shadow: 0 0 12px rgba(99, 190, 255, 0.2);
  font-size: 1.1rem;
}

.promo-ranking-item.rank-tier-a .promo-rank-tier {
  color: #f3f7ff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.16);
}

.promo-ranking-item.rank-tier-a .promo-ranking-name {
  color: #eef5ff;
  font-size: 1.04rem;
}

.is-hidden-media {
  display: none !important;
}

.promo-image-large {
  min-height: 0;
}

#promo-story-image-tag {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.38s ease, transform 0.38s ease;
  will-change: opacity, transform;
}

#promo-story-image-tag.is-fading-out.to-left {
  opacity: 0;
  transform: translateX(-28px);
}

#promo-story-image-tag.is-fading-out.to-right {
  opacity: 0;
  transform: translateX(28px);
}

#promo-story-image-tag.is-fading-in {
  opacity: 0;
}

#promo-story-image-tag.is-fading-in.from-right {
  transform: translateX(28px);
}

#promo-story-image-tag.is-fading-in.from-left {
  transform: translateX(-28px);
}

#promo-story-image-tag.is-fading-in.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-grid-cards,
.home-bands,
.feature-river,
.mini-grid,
.journey-track,
.team-grid {
  display: grid;
  gap: 18px;
}

.hero-grid-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.hero-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-card.hero-card-large {
  grid-column: 1 / -1;
}

.hero-card h2 {
  margin: 8px 0;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.05;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.poster-card {
  padding: 18px;
  border-radius: 30px;
}

.poster-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 18px;
  overflow: hidden;
}

.poster-logo {
  display: block;
  width: min(100%, 340px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.35));
}

.poster-showcase {
  width: min(100%, 270px);
  animation: poster-pulse 3.8s ease-in-out infinite;
  transform-origin: center bottom;
  filter:
    drop-shadow(0 18px 32px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 26px rgba(99, 190, 255, 0.12));
}

.poster-side-art {
  display: block;
  width: 100%;
  max-width: 540px;
  min-height: 320px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.35));
}

.poster-info {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.poster-info span {
  color: var(--muted);
  font-size: 0.92rem;
}

.countdown-card,
.register-story-card {
  padding: 24px;
  border-radius: 26px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.countdown-grid article {
  position: relative;
  padding: 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.countdown-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
}

.countdown-grid strong {
  display: block;
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  line-height: 1;
}

.countdown-grid span {
  display: block;
  margin-top: 8px;
  color: #ffd7b5;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.home-bands {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 22px;
}

.home-bands article {
  padding: 22px;
  border-radius: 22px;
}

.home-bands strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.home-bands span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.subpage-header {
  margin-bottom: 24px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(99, 190, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(13, 18, 30, 0.96), rgba(8, 12, 21, 0.96));
  box-shadow: var(--shadow);
}

.subpage-header .lead {
  max-width: 760px;
  font-size: 0.96rem;
  line-height: 1.7;
}

.about-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-panel,
.discord-panel {
  padding: 28px;
  border-radius: 28px;
}

.feature-panel h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  line-height: 1.06;
}

.feature-panel small,
.team-card small {
  background: rgba(255, 174, 103, 0.09);
  border: 1px solid rgba(255, 174, 103, 0.22);
  color: #ffd7b5;
}

.discord-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
}

.discord-icon-wrap {
  display: grid;
  place-items: center;
}

.discord-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(99, 190, 255, 0.2);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(99, 190, 255, 0.16), rgba(183, 235, 255, 0.1));
  color: var(--accent-strong);
  box-shadow: var(--shadow);
}

.discord-icon svg {
  width: 46px;
  height: 46px;
}

.discord-copy small {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffd3ab;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.discord-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
}

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(99, 190, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(99, 190, 255, 0.16), rgba(183, 235, 255, 0.08));
  color: var(--text);
  cursor: pointer;
}

.discord-button:hover {
  border-color: rgba(99, 190, 255, 0.45);
  box-shadow: 0 16px 30px rgba(99, 190, 255, 0.16);
}

.feature-river,
.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.river-card,
.mini-card,
.team-card,
.spotlight-panel,
.journey-track article,
.signup-panel {
  padding: 26px;
  border-radius: 28px;
}

.river-card.large {
  grid-column: span 2;
}

.river-card small,
.mini-card span,
.journey-track strong {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.river-card small {
  color: #ffd7b6;
}

.river-card h3,
.mini-card h3,
.journey-track h3,
.team-card h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
}

.river-card p,
.mini-card p,
.journey-track p,
.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.team-card-level {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent-strong);
  font-weight: 700;
}

.team-card-empty {
  grid-column: 1 / -1;
}

.team-card-live {
  position: relative;
  overflow: hidden;
}

.team-card-live::after {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 190, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.team-card-group-6 {
  background:
    radial-gradient(circle at top right, rgba(255, 174, 103, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(13, 18, 30, 0.96), rgba(8, 12, 21, 0.96));
}

.team-card-group-5 {
  background:
    radial-gradient(circle at top right, rgba(105, 241, 202, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(13, 18, 30, 0.96), rgba(8, 12, 21, 0.96));
}

.highlight-stage {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  margin-top: 30px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 16px;
  border: 1px solid rgba(126, 197, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card span {
  color: var(--accent-strong);
}

.journey-stage,
.team-stage,
.download-lock-stage {
  margin-top: 30px;
}

.journey-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-track strong {
  color: var(--accent-warm);
}

.team-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.team-card.owner {
  background:
    radial-gradient(circle at top left, rgba(255, 174, 103, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(13, 18, 30, 0.96), rgba(8, 12, 21, 0.96));
}

.team-card.creator {
  background:
    radial-gradient(circle at top right, rgba(105, 241, 202, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(13, 18, 30, 0.96), rgba(8, 12, 21, 0.96));
}

.download-lock-stage {
  display: grid;
  gap: 18px;
}

.promo-marquee {
  pointer-events: none;
}

.download-window {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 32px;
  border-radius: 32px;
  display: grid;
  place-items: center;
}

.download-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(99, 190, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(14, 18, 29, 0.96), rgba(8, 12, 21, 0.98));
}

.lock-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

.police-tape {
  position: absolute;
  left: -18%;
  width: 136%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  background: repeating-linear-gradient(
    90deg,
    #161616 0 24px,
    #f6d13d 24px 48px
  );
  color: #0f0f0f;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.tape-left {
  top: 34%;
  transform: rotate(18deg);
}

.tape-right {
  top: 52%;
  transform: rotate(-18deg);
}

.register-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

.register-layout-single {
    grid-template-columns: minmax(0, 1fr);
  }

.register-layout-single .signup-panel-page {
    width: 100%;
  }

.register-layout-prereg {
    grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1fr);
    align-items: start;
  }

.prereg-story-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 0;
  height: fit-content;
  align-self: start;
  background:
    radial-gradient(circle at top left, rgba(99, 190, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.96), rgba(6, 10, 18, 0.95));
  box-shadow: var(--shadow);
}

.prereg-story-card small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(99, 190, 255, 0.22);
  border-radius: 999px;
  background: rgba(99, 190, 255, 0.08);
  color: #d7ecff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prereg-story-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  line-height: 1.02;
}

.prereg-story-card p {
  margin: 0;
  max-width: 34ch;
}

.prereg-countdown-card {
  width: 100%;
  margin-top: 4px;
  padding: 20px;
  border: 1px solid rgba(99, 190, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(8, 12, 22, 0.74);
}

.prereg-countdown-pill {
  margin-bottom: 12px;
}

.prereg-countdown-grid {
  margin-top: 0;
  gap: 10px;
}

.prereg-countdown-grid article {
  padding: 14px 10px;
  border-radius: 16px;
}

.prereg-countdown-grid article::before {
  width: 2px;
  border-radius: 16px 0 0 16px;
}

.prereg-countdown-grid strong {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.prereg-countdown-grid span {
  margin-top: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 22px;
  align-items: start;
}

.profile-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(99, 190, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(12, 16, 27, 0.96), rgba(8, 12, 21, 0.96));
  box-shadow: var(--shadow);
}

.profile-card-main {
  display: grid;
  gap: 24px;
}

.profile-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-world-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 174, 103, 0.28);
  border-radius: 999px;
  background: rgba(255, 174, 103, 0.08);
  color: #ffd8b5;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-online-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-online-badge.is-online {
  border: 1px solid rgba(105, 241, 202, 0.28);
  background: rgba(105, 241, 202, 0.09);
  color: #bff8e6;
}

.profile-online-badge.is-offline {
  border: 1px solid rgba(255, 174, 103, 0.22);
  background: rgba(255, 174, 103, 0.08);
  color: #ffd6b1;
}

.profile-identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.profile-avatar-column {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.profile-session-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.profile-session-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(126, 197, 255, 0.14);
  border-radius: 999px;
  background: rgba(99, 190, 255, 0.06);
  color: var(--text);
  font-size: 0.92rem;
}

.profile-logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 226, 127, 0.18);
  border-radius: 16px;
  background: rgba(255, 226, 127, 0.08);
  color: #ffe9b5;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.profile-logout-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.profile-account-switcher {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(126, 197, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.profile-account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.profile-account-list {
  display: grid;
  gap: 12px;
}

.profile-package-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 22, 36, 0.9), rgba(9, 13, 22, 0.92));
}

.profile-package-list {
  display: grid;
  gap: 12px;
}

.profile-diamond-balance-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(98, 214, 155, 0.22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(17, 40, 33, 0.94), rgba(9, 14, 24, 0.94));
  box-shadow: inset 0 0 0 1px rgba(98, 214, 155, 0.08);
}

.profile-diamond-balance-card span,
.profile-diamond-balance-card small {
  color: var(--muted);
}

.profile-diamond-balance-card strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  color: #8ff5c6;
}

.profile-diamond-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-diamond-stats article {
  padding: 14px 16px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 18px;
  background: rgba(8, 11, 19, 0.86);
}

.profile-diamond-stats span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-diamond-stats strong {
  color: #dff7ff;
  font-size: 1.1rem;
}

.profile-diamond-history {
  display: grid;
  gap: 12px;
}

.profile-package-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 18px;
  background: rgba(8, 11, 19, 0.86);
}

.profile-package-item.is-owner {
  border-color: rgba(98, 214, 155, 0.28);
  background: linear-gradient(135deg, rgba(23, 45, 37, 0.95), rgba(11, 18, 31, 0.92));
  box-shadow: inset 0 0 0 1px rgba(98, 214, 155, 0.08);
}

.profile-package-copy {
  display: grid;
  gap: 4px;
}

.profile-package-copy strong {
  font-size: 1rem;
  color: var(--text);
}

.profile-package-copy span {
  color: #d7ebff;
  letter-spacing: 0.08em;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
}

.profile-package-copy small {
  color: var(--muted);
  font-size: 0.86rem;
}

.profile-account-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 18px;
  background: rgba(8, 11, 19, 0.86);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.profile-account-open {
  display: grid;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.profile-account-open strong {
  font-size: 1rem;
}

.profile-account-open span,
.profile-account-open small {
  color: var(--muted);
}

.profile-account-item:hover,
.profile-account-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(99, 190, 255, 0.34);
  background: rgba(99, 190, 255, 0.08);
}

.profile-account-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-icon-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(126, 197, 255, 0.16);
  border-radius: 14px;
  background: rgba(11, 18, 31, 0.85);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.profile-icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 190, 255, 0.34);
  background: rgba(99, 190, 255, 0.08);
}

.profile-icon-button.is-danger {
  border-color: rgba(255, 120, 120, 0.24);
  color: #ffd0d0;
}

.profile-icon-button.is-hidden,
.profile-owner-create-form.is-hidden {
  display: none;
}

.profile-inline-rename-form.is-hidden {
  display: none;
}

.profile-inline-rename-shell {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.profile-inline-rename-old {
  color: var(--text);
  font-size: 0.98rem;
}

.profile-inline-rename-arrow {
  color: var(--muted);
  font-weight: 700;
}

.profile-create-toggle {
  font-size: 1.35rem;
  line-height: 1;
}

.profile-account-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.profile-owner-tools {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(126, 197, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.profile-owner-tools.is-hidden {
  display: none;
}

.profile-owner-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.profile-owner-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.profile-package-redeem-form {
  align-items: stretch;
}

.profile-owner-create-form {
  grid-template-columns: 1fr;
}

.profile-owner-form label {
  display: grid;
  gap: 8px;
}

.profile-owner-form span {
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-owner-form input {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 16px;
  outline: 0;
  background: rgba(8, 11, 19, 0.86);
  color: var(--text);
  font: inherit;
}

.profile-owner-form select {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 16px;
  outline: 0;
  background: rgba(8, 11, 19, 0.86);
  color: var(--text);
  font: inherit;
}

.profile-owner-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-owner-danger {
  display: flex;
  justify-content: flex-start;
}

.profile-owner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(126, 197, 255, 0.18);
  border-radius: 14px;
  background: rgba(9, 16, 27, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.profile-owner-button.is-danger {
  border-color: rgba(255, 120, 120, 0.24);
  background: rgba(255, 120, 120, 0.1);
  color: #ffd0d0;
}

.profile-owner-feedback {
  margin: 0;
  min-height: 24px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(99, 190, 255, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(99, 190, 255, 0.24), transparent 44%),
    linear-gradient(180deg, rgba(17, 24, 40, 0.98), rgba(11, 15, 27, 0.98));
  color: var(--accent-strong);
  font-size: 1.9rem;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.profile-avatar.has-image {
  background:
    linear-gradient(180deg, rgba(17, 24, 40, 0.72), rgba(11, 15, 27, 0.72));
}

.profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-actions {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.profile-avatar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 120px;
  padding: 0 12px;
  border: 1px solid rgba(126, 197, 255, 0.18);
  border-radius: 12px;
  background: rgba(9, 16, 27, 0.7);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.profile-avatar-button:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 190, 255, 0.32);
  background: rgba(99, 190, 255, 0.12);
}

.profile-avatar-button.is-secondary {
  border-color: rgba(255, 174, 103, 0.2);
  background: rgba(255, 174, 103, 0.1);
  color: #ffe0c0;
}

.profile-avatar-button:disabled,
.profile-avatar-actions.is-disabled .profile-avatar-button {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.profile-avatar-feedback {
  margin: 0;
  text-align: center;
  color: #dceeff;
  max-width: 160px;
  min-height: 20px;
}

.profile-title h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  line-height: 1.04;
}

.profile-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-stats-grid.is-hidden {
  display: none;
}

.profile-stats-grid article {
  padding: 18px;
  border: 1px solid rgba(126, 197, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.profile-stats-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-stats-grid strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
}

.profile-card-builder,
.profile-comments-card {
  display: grid;
  gap: 18px;
}

.profile-comment-feed {
  display: grid;
  gap: 12px;
  max-height: 420px;
  padding-right: 6px;
  overflow: auto;
}

.profile-comment-bubble {
  padding: 16px 18px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 20px 20px 20px 8px;
  background: rgba(255, 255, 255, 0.03);
}

.profile-comment-bubble.is-own {
  border-radius: 20px 20px 8px 20px;
  background: rgba(99, 190, 255, 0.08);
}

.profile-comment-bubble.is-system {
  background: rgba(255, 174, 103, 0.07);
}

.profile-comment-bubble strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.profile-comment-bubble small {
  display: block;
  margin-bottom: 6px;
  color: #ffd7b5;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-comment-bubble p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.profile-panel-head {
  display: grid;
  gap: 8px;
}

.profile-panel-head small {
  display: inline-block;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(99, 190, 255, 0.22);
  border-radius: 999px;
  background: rgba(99, 190, 255, 0.08);
  color: #c9edff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-panel-head strong {
  font-size: 1.12rem;
  line-height: 1.5;
}

.profile-builder-form {
  display: grid;
  gap: 16px;
}

.profile-builder-form label {
  display: grid;
  gap: 10px;
}

.profile-builder-form span {
  color: #dfeeff;
  font-size: 0.9rem;
}

.profile-builder-form input,
.profile-builder-form select,
.profile-builder-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 16px;
  outline: 0;
  background: rgba(8, 11, 19, 0.86);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.profile-builder-form input,
.profile-builder-form select {
  min-height: 56px;
}

.profile-builder-form textarea {
  min-height: 132px;
}

.profile-builder-form input:focus,
.profile-builder-form select:focus,
.profile-builder-form textarea:focus {
  border-color: rgba(99, 190, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(99, 190, 255, 0.12);
}

.profile-builder-feedback {
  margin: 0;
}

.profile-comment-form {
  display: grid;
  gap: 16px;
}

.profile-comment-lock {
  padding: 14px 16px;
  border: 1px solid rgba(255, 174, 103, 0.18);
  border-radius: 16px;
  background: rgba(255, 174, 103, 0.08);
  color: #ffd7b5;
  font-size: 0.92rem;
  line-height: 1.55;
}

.profile-comment-form.is-locked {
  opacity: 0.72;
}

.profile-comment-form.is-locked textarea,
.profile-comment-form.is-locked button {
  pointer-events: none;
}

.profile-comment-form label {
  display: grid;
  gap: 10px;
}

.profile-comment-form span {
  color: #dfeeff;
  font-size: 0.9rem;
}

.profile-comment-form input,
.profile-comment-form select,
.profile-comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 16px;
  outline: 0;
  background: rgba(8, 11, 19, 0.86);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.profile-comment-form input,
.profile-comment-form select {
  min-height: 56px;
}

.profile-comment-form textarea {
  min-height: 124px;
}

.profile-comment-form input:focus,
.profile-comment-form select:focus,
.profile-comment-form textarea:focus {
  border-color: rgba(99, 190, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(99, 190, 255, 0.12);
}

.ranking-world-columns {
  display: grid;
  gap: 16px;
}

.ranking-world-card {
  display: grid;
  gap: 14px;
}

.ranking-list {
  display: grid;
  gap: 12px;
}

.ranking-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.ranking-item span {
  color: #ffd7b5;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.ranking-item strong {
  font-size: 1rem;
}

.ranking-item small {
  color: var(--muted);
  font-size: 0.88rem;
}

.register-story {
  display: grid;
  gap: 18px;
}

.register-story {
  display: grid;
  gap: 18px;
}

.signup-panel {
  border: 1px solid var(--line);
}

.signup-panel-page {
    min-height: 100%;
    position: relative;
    overflow: hidden;
    max-width: 760px;
    margin-left: auto;
    background:
      linear-gradient(90deg, rgba(8, 12, 22, 0.78) 0%, rgba(8, 12, 22, 0.68) 44%, rgba(8, 12, 22, 0.52) 100%),
      radial-gradient(circle at top right, rgba(99, 190, 255, 0.1), transparent 38%);
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow);
  }

.signup-panel.signup-panel-page {
    background:
      linear-gradient(90deg, rgba(9, 13, 23, 0.76) 0%, rgba(9, 13, 23, 0.66) 44%, rgba(9, 13, 23, 0.46) 100%),
      radial-gradient(circle at top right, rgba(99, 190, 255, 0.12), transparent 38%);
  }

.signup-panel-page > * {
  position: relative;
  z-index: 1;
}

.lives-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.lives-board {
  overflow: hidden;
}

.lives-status-note[data-state="configured"] {
  color: #76f2ac;
  border-color: rgba(59, 199, 120, 0.26);
}

.lives-grid {
  display: grid;
  gap: 14px;
}

.live-card,
.streamer-line-item {
    border: 1px solid rgba(92, 164, 255, 0.16);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }

.live-card-empty {
  padding: 28px;
  text-align: center;
}

.live-card-empty p {
  margin-top: 10px;
  color: var(--muted);
}

.streamer-line-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    min-height: 92px;
    overflow: hidden;
  }

.twitch-card-item {
    background:
      linear-gradient(90deg, rgba(5, 10, 18, 0.92), rgba(6, 11, 20, 0.76)),
      url("../img/twitch-card-background.jpeg") 50% 50% / 100% 100% no-repeat;
  }

.youtube-card-item {
    background:
      linear-gradient(90deg, rgba(5, 10, 18, 0.92), rgba(6, 11, 20, 0.76)),
      url("../img/youtube-card-background.jpeg") 50% 50% / 100% 100% no-repeat;
  }

.streamer-line-copy {
  display: grid;
  gap: 6px;
}

.streamer-line-copy strong {
  font-size: 1.04rem;
}

.streamer-line-copy span {
  color: var(--muted);
}

.streamer-line-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(92, 164, 255, 0.2);
  background: rgba(16, 24, 40, 0.85);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

.shop-storefront {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 18px;
    margin-bottom: 22px;
    align-items: stretch;
  }

.shop-section-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.shop-section-bar::before,
.shop-section-bar::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 175, 93, 0.5), transparent);
}

.shop-section-bar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 175, 93, 0.24);
  background: rgba(255, 175, 93, 0.08);
  color: #ffd7b5;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-filter-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 22px;
  }

.shop-filter-box {
    display: grid;
    gap: 10px;
    width: min(100%, 760px);
    padding: 18px 20px;
    border: 1px solid rgba(255, 175, 93, 0.2);
    border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 175, 93, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(14, 22, 38, 0.96), rgba(8, 12, 22, 0.96));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.shop-filter-box span {
      color: #ffd7b5;
      font-family: "Bebas Neue", sans-serif;
      font-size: 0.95rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

.shop-filter-box p {
      margin: 0;
      color: var(--muted);
      line-height: 1.6;
    }

.shop-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
    align-items: center;
  }

.shop-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 108px;
    padding: 0 20px;
    border: 1px solid rgba(126, 197, 255, 0.18);
    border-radius: 16px;
    background: rgba(7, 13, 24, 0.88);
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }

.shop-filter-button:hover {
    transform: translateY(-2px);
    border-color: rgba(126, 197, 255, 0.34);
    background: rgba(99, 190, 255, 0.08);
  }

.shop-filter-button.is-active {
    border-color: rgba(126, 197, 255, 0.44);
    background: linear-gradient(180deg, rgba(30, 52, 88, 0.96), rgba(12, 22, 42, 0.96));
    box-shadow: 0 0 0 1px rgba(126, 197, 255, 0.18), 0 14px 28px rgba(7, 20, 44, 0.36);
  }

.shop-filter-button-donate {
    border-color: rgba(255, 175, 93, 0.26);
    background: linear-gradient(180deg, rgba(52, 34, 16, 0.92), rgba(27, 17, 8, 0.96));
    color: #ffd7b5;
  }

.shop-filter-button-vips {
    border-color: rgba(105, 241, 202, 0.24);
    background: linear-gradient(180deg, rgba(18, 48, 43, 0.92), rgba(10, 24, 22, 0.96));
    color: #d4fff5;
  }

.shop-filter-button-donate:hover,
.shop-filter-button-donate:focus-visible {
    border-color: rgba(255, 175, 93, 0.5);
    background: linear-gradient(180deg, rgba(82, 49, 18, 0.96), rgba(43, 24, 10, 0.98));
    box-shadow: 0 0 0 4px rgba(255, 175, 93, 0.12);
  }

.shop-filter-button-vips:hover,
.shop-filter-button-vips:focus-visible {
    border-color: rgba(105, 241, 202, 0.5);
    background: linear-gradient(180deg, rgba(24, 76, 68, 0.96), rgba(12, 38, 34, 0.98));
    box-shadow: 0 0 0 4px rgba(105, 241, 202, 0.12);
  }

.shop-filter-button:focus-visible {
      outline: 0;
      box-shadow: 0 0 0 4px rgba(126, 197, 255, 0.16);
    }

.shop-support-box {
      width: 100%;
      align-content: start;
    }

.shop-support-buttons {
      margin-top: 4px;
    }

.shop-item-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 176, 74, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(12, 19, 34, 0.96), rgba(8, 12, 22, 0.96));
}

.shop-item-card[hidden] {
  display: none !important;
}

.shop-highlight-copy {
  display: grid;
  gap: 10px;
}

.shop-highlight-copy small {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 174, 103, 0.22);
  background: rgba(255, 174, 103, 0.08);
  color: #ffd7b5;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-highlight-copy strong {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.15;
}

.shop-highlight-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.9rem;
}

.shop-cta {
  cursor: default;
}

.shop-product-art {
  display: grid;
  place-items: center;
  min-height: 180px;
  border-radius: 20px;
  border: 1px solid rgba(92, 164, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(255, 176, 74, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
}

.shop-product-art img {
  width: min(100%, 150px);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.34));
}

.shop-product-art-placeholder {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03) 0,
        rgba(255, 255, 255, 0.03) 12px,
        rgba(255, 255, 255, 0.01) 12px,
        rgba(255, 255, 255, 0.01) 24px
      );
    align-content: center;
    justify-items: center;
    gap: 10px;
  }

.shop-product-art-placeholder span {
    color: rgba(230, 240, 255, 0.72);
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.14em;
    font-size: 0.9rem;
  }

.shop-product-art-placeholder strong {
    color: #f4f7ff;
    font-size: 1.18rem;
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
  }

.shop-art-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 13, 24, 0.36);
  }

.shop-art-pokemon {
    background:
      radial-gradient(circle at center, rgba(255, 138, 61, 0.22), transparent 44%),
      linear-gradient(180deg, rgba(57, 18, 18, 0.72), rgba(15, 16, 28, 0.86)),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 12px, rgba(255, 255, 255, 0.01) 12px, rgba(255, 255, 255, 0.01) 24px);
  }

.shop-art-items {
    background:
      radial-gradient(circle at center, rgba(84, 180, 255, 0.2), transparent 44%),
      linear-gradient(180deg, rgba(15, 34, 58, 0.78), rgba(11, 17, 31, 0.88)),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 12px, rgba(255, 255, 255, 0.01) 12px, rgba(255, 255, 255, 0.01) 24px);
  }

.shop-art-outfit {
    background:
      radial-gradient(circle at center, rgba(201, 112, 255, 0.22), transparent 44%),
      linear-gradient(180deg, rgba(46, 19, 63, 0.78), rgba(14, 15, 31, 0.88)),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 12px, rgba(255, 255, 255, 0.01) 12px, rgba(255, 255, 255, 0.01) 24px);
  }

.shop-art-vip {
    background:
      radial-gradient(circle at center, rgba(255, 214, 102, 0.22), transparent 44%),
      linear-gradient(180deg, rgba(64, 45, 14, 0.78), rgba(20, 17, 10, 0.9)),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 12px, rgba(255, 255, 255, 0.01) 12px, rgba(255, 255, 255, 0.01) 24px);
  }

.shop-buy-button {
  width: 100%;
  min-height: 44px;
}


.signup-panel h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
}

.signup-panel p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

.signup-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.signup-form label {
  display: grid;
  gap: 10px;
}

.signup-form span {
  color: #dfeeff;
  font-size: 0.9rem;
}

.signup-form input,
.signup-form select {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(126, 197, 255, 0.1);
  border-radius: 16px;
  outline: 0;
  background: rgba(8, 11, 19, 0.86);
  color: var(--text);
}

.signup-form input:focus,
.signup-form select:focus {
  border-color: rgba(99, 190, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(99, 190, 255, 0.12);
}

.signup-form select {
  cursor: pointer;
  appearance: none;
}

.signup-form select option {
  color: #08121d;
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox-field input {
  width: 20px;
  min-height: 20px;
  margin-top: 4px;
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: #ffd4b4;
}

.form-feedback.success {
  color: #bff8e6;
}

.signup-note-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(126, 197, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.signup-note-card strong {
  font-size: 0.98rem;
}

.signup-note-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.signup-captcha-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(126, 197, 255, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(10, 15, 26, 0.94), rgba(8, 12, 21, 0.88)),
    radial-gradient(circle at top right, rgba(99, 190, 255, 0.14), transparent 42%);
}

.signup-captcha-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.signup-captcha-head strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
  color: #eef6ff;
}

.signup-captcha-head span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.signup-captcha-refresh {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(126, 197, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #e5f2ff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.signup-captcha-refresh:hover {
  transform: translateY(-1px);
  border-color: rgba(126, 197, 255, 0.34);
  background: rgba(99, 190, 255, 0.08);
}

.signup-captcha-refresh:disabled {
  opacity: 0.6;
  cursor: wait;
}

.signup-captcha-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(126, 197, 255, 0.12);
  background: rgba(6, 10, 18, 0.72);
}

.signup-captcha-visual img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

.signup-captcha-visual img.is-loading {
  opacity: 0.55;
  filter: saturate(0.7);
}

.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes page-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes poster-pulse {
  0%,
  100% {
    transform: scale(1);
    filter:
      drop-shadow(0 18px 32px rgba(0, 0, 0, 0.35))
      drop-shadow(0 0 0 rgba(99, 190, 255, 0));
  }

  50% {
    transform: scale(1.03);
    filter:
      drop-shadow(0 22px 34px rgba(0, 0, 0, 0.4))
      drop-shadow(0 0 26px rgba(99, 190, 255, 0.18));
  }
}

@media (max-width: 1200px) {
  .site-header {
    justify-content: stretch;
  }

  .header-main {
    grid-template-columns: 1fr;
  }

  .brand-pokemon-stage {
    width: 188px;
    margin-left: 30px;
    margin-bottom: -24px;
  }

  .brand-pokemon-strip {
    width: 172px;
  }

  .hero-page,
  .about-layout,
  .highlight-stage,
  .register-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .signup-panel-page {
    max-width: none;
    margin-left: 0;
  }

  .prereg-story-card p {
    max-width: none;
  }

  .home-bands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid-cards,
  .feature-river,
  .mini-grid,
  .journey-track,
  .form-row,
  .discord-panel,
  .profile-stats-grid,
  .lives-layout,
  .lives-grid,
  .shop-grid {
        grid-template-columns: 1fr;
      }

    .shop-storefront {
        grid-template-columns: 1fr;
      }

  .home-ranking-columns {
    grid-template-columns: 1fr;
  }

  .promo-ranking-slide {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .profile-owner-form {
    grid-template-columns: 1fr;
  }

  .profile-owner-fields {
    grid-template-columns: 1fr;
  }

  .profile-account-item {
    grid-template-columns: 1fr;
  }

  .profile-account-actions {
    justify-content: flex-end;
  }

  .profile-inline-rename-shell {
    grid-template-columns: 1fr;
  }

    .shop-filter-box {
      width: 100%;
      padding: 16px;
    }

  .shop-filter-buttons {
      gap: 12px;
    }

    .shop-filter-button {
      flex: 1 1 calc(50% - 12px);
      min-width: 0;
      padding: 0 14px;
    }

  .discord-panel {
    justify-items: start;
  }

  .feature-river .river-card.large {
    grid-column: auto;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .header-meta {
    gap: 10px;
  }

  .header-online-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 10px;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 18px, 1360px);
    padding-top: 12px;
  }

  .site-header,
  .hero-copy,
  .poster-card,
  .countdown-card,
  .feature-panel,
  .discord-panel,
  .spotlight-panel,
  .mini-card,
  .journey-track article,
  .team-card,
  .download-window,
  .signup-panel,
  .subpage-header {
    border-radius: 22px;
  }

  .site-header {
    align-items: center;
    gap: 16px;
    padding: 16px;
  }

  .header-topbar {
    align-items: stretch;
  }

  .top-nav,
  .header-meta {
    width: 100%;
  }

  .top-nav {
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .top-nav::-webkit-scrollbar {
    height: 6px;
  }

  .top-nav::-webkit-scrollbar-thumb {
    background: rgba(126, 197, 255, 0.22);
    border-radius: 999px;
  }

  .top-nav-link {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 0 15px;
    scroll-snap-align: start;
  }

  .header-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .header-online-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-status-pill,
  .online-stat-pill,
  .language-switcher {
    width: 100%;
    justify-content: center;
    min-height: 54px;
  }

  .language-switcher {
    margin-left: 0;
  }

  .brand-pokemon-stage {
    width: 168px;
    margin-left: 28px;
    margin-bottom: -20px;
    padding-bottom: 10px;
  }

  .brand-pokemon-stage::before {
    width: 108px;
  }

  .brand-pokemon-stage::after {
    width: 124px;
  }

  .brand-pokemon-strip {
    width: 152px;
  }

  .header-countdown {
    width: 100%;
    padding: 14px;
    padding-top: 14px;
  }

  .header-countdown-shell {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .countdown-side-icon {
    display: none;
  }

  .brand-logo {
    width: 92px;
  }

  .brand-copy span {
    font-size: 0.92rem;
  }

  .hero-copy h1,
  .subpage-header h1,
  .section-heading h2,
  .feature-panel h2,
  .lock-content h2 {
    font-size: clamp(2.5rem, 14vw, 4.6rem);
  }

  .hero-copy,
  .poster-card,
  .countdown-card,
  .feature-panel,
  .discord-panel,
  .team-card,
  .download-window,
  .signup-panel,
  .subpage-header {
    padding: 22px;
  }

  .trainer-search-field input,
  .signup-form input,
  .signup-form select,
  .profile-comment-form textarea {
    font-size: 16px;
  }

  .signup-captcha-head {
    flex-direction: column;
    align-items: stretch;
  }

  .signup-captcha-refresh {
    width: 100%;
  }

  .promo-arrow {
    width: 46px;
    height: 46px;
  }

  .trainer-search-button,
  .submit-button,
  .discord-button {
    min-height: 56px;
  }

  .hero-actions,
  .discord-panel {
    gap: 12px;
  }

  .poster-art {
    min-height: 300px;
  }

  .poster-logo {
    width: min(100%, 280px);
  }

  .poster-side-art {
    max-width: 100%;
    min-height: 240px;
    max-height: 320px;
  }

  .action-primary,
  .action-secondary,
  .discord-button,
  .submit-button {
    width: 100%;
  }

  .countdown-grid {
    gap: 10px;
  }

  .countdown-grid article {
    padding: 16px 10px;
  }

  .police-tape {
    left: -34%;
    width: 168%;
    min-height: 48px;
    font-size: 1.08rem;
    letter-spacing: 0.12em;
  }

  .launch-popup {
    padding: 22px;
    border-radius: 24px;
  }

  .community-popup {
    padding: 22px;
    border-radius: 24px;
  }

  .promo-story-top {
    align-items: start;
    flex-direction: column;
  }

  .promo-story-nav {
    width: 100%;
    justify-content: space-between;
  }

  .profile-stats-grid article {
    padding: 14px 12px;
  }

  .signup-panel-page {
    background:
      linear-gradient(180deg, rgba(8, 12, 22, 0.78) 0%, rgba(8, 12, 22, 0.72) 58%, rgba(8, 12, 22, 0.68) 100%);
  }
}

@media (max-width: 520px) {
  .hero-grid-cards,
  .home-bands,
  .team-grid,
  .form-row,
  .about-layout,
  .register-layout {
    grid-template-columns: 1fr;
  }

  .brand-block {
    gap: 12px;
  }

  .brand-logo {
    width: 76px;
  }

  .brand-pokemon-stage {
    width: min(100%, 198px);
    margin-left: 10px;
    margin-bottom: -18px;
    padding-bottom: 8px;
  }

  .brand-pokemon-stage::before {
    width: 108px;
    height: 16px;
  }

  .brand-pokemon-stage::after {
    width: 124px;
  }

  .brand-pokemon-strip {
    width: min(100%, 184px);
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.95rem;
  }

  .lead,
  .hero-text,
  .section-heading p,
  .feature-panel p,
  .discord-copy p,
  .lock-content p,
  .register-story-card p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .feature-panel h2,
  .discord-copy h2 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    padding: 14px;
  }

  .top-nav {
    gap: 8px;
    padding-bottom: 2px;
  }

  .top-nav-link {
    min-height: 40px;
    padding: 0 13px;
    border-radius: 14px;
  }

  .header-meta {
    gap: 8px;
  }

  .game-status-pill,
  .online-stat-pill,
  .language-switcher {
    min-height: 50px;
    padding-inline: 12px;
    border-radius: 16px;
  }

  .language-badge {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .trainer-search-field input {
    min-height: 58px;
    border-radius: 18px;
  }

  .promo-feature-card {
    padding: 18px;
  }

  .promo-ranking-world {
    padding: 16px;
  }

  .promo-ranking-item {
    grid-template-columns: auto 1fr;
  }

  .promo-ranking-copy small {
    grid-column: 1 / -1;
  }

  .promo-arrow {
    width: 42px;
    height: 42px;
  }

  .launch-popup h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .community-popup-actions {
    grid-template-columns: 1fr;
  }

  .avatar-popup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-session-bar {
    align-items: stretch;
  }

  .profile-logout-button {
    width: 100%;
  }

  .profile-session-pill {
    width: 100%;
    justify-content: center;
  }

  .community-popup h2 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .streamer-line-item {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .payment-popup-layout {
    grid-template-columns: 1fr;
  }

  .payment-plan-selector {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .payment-plan-card,
  .payment-plan-overlay {
    min-height: 280px;
  }

  .payment-result-details {
    grid-template-columns: 1fr;
  }
}
