:root {
  --ink: #1b1640;
  --sky: #7ecbff;
  --sky-2: #e7f6ff;
  --yellow: #ffe14a;
  --pink: #ff8ad4;
  --mint: #7ef0a8;
}

body.is-landing,
body.is-portal {
  margin: 0;
  background: var(--sky-2);
  color: var(--ink);
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

/* Trang ngắn: đẩy footer xuống đáy màn hình */
body.is-landing,
body.is-portal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.is-landing > main,
body.is-portal > .container { flex: 1 0 auto; width: 100%; }
.site-footer { margin-top: auto; }

h1, h2, h3, .toy, .eyebrow, .brand-logo + span {
  font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
}

.brand-logo {
  height: 42px;
  width: auto;
  max-height: none;
}

.navbar {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='64' viewBox='0 0 140 64'%3E%3Cg fill='%237fb6e0' fill-opacity='0.28'%3E%3Cg transform='translate(22 34) rotate(-18)'%3E%3Cellipse cx='0' cy='4' rx='7' ry='6'/%3E%3Ccircle cx='-7' cy='-5' r='2.8'/%3E%3Ccircle cx='-2.5' cy='-9' r='2.8'/%3E%3Ccircle cx='2.5' cy='-9' r='2.8'/%3E%3Ccircle cx='7' cy='-5' r='2.8'/%3E%3C/g%3E%3Cg transform='translate(96 18) rotate(16) scale(0.8)'%3E%3Cellipse cx='0' cy='4' rx='7' ry='6'/%3E%3Ccircle cx='-7' cy='-5' r='2.8'/%3E%3Ccircle cx='-2.5' cy='-9' r='2.8'/%3E%3Ccircle cx='2.5' cy='-9' r='2.8'/%3E%3Ccircle cx='7' cy='-5' r='2.8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat,
    #e7f6ff;
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 2px 10px rgba(27, 22, 64, 0.06);
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 3.6rem;
  padding: 0 12px;
}

.navbar-item,
.navbar-link {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 1.02rem;
}

.navbar-item:hover,
.navbar-link:hover,
.navbar-item:focus,
.navbar-link:focus {
  background: transparent !important;
  color: #2f6fb5 !important;
}

.navbar-burger span {
  background: var(--ink);
}

.navbar-menu,
.navbar-dropdown {
  background: #fff;
}

/* Nút Tải game vàng kim */
.navbar .button.is-link {
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 999px;
  padding: 0 1.2em;
  height: 2.4em;
}

.navbar .button.is-link:hover {
  color: var(--ink);
  filter: brightness(1.05);
  transform: translateY(1px);
}

/* Đăng ký / Đăng nhập / tài khoản */
.navbar-end .button {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  height: 2.2em;
  padding: 0 0.9em;
}
.navbar-end .button.is-primary:not(.is-light) {
  background: #8fd8ff;
  color: var(--ink);
}
.navbar-end .button:hover { filter: brightness(0.97); color: var(--ink); }

@media (min-width: 1024px) {
  .navbar-menu { background: transparent; }
  .navbar-start { margin-inline: auto; align-items: center; gap: 4px; }
  .navbar-end { margin-inline-start: 0; }
}

.sky-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, #fff6a8 0 70px, transparent 72px),
    linear-gradient(180deg, #59bfff 0%, #b7e6ff 55%, #e7f6ff 100%);
  padding: 28px 20px 10px;
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 40px;
  opacity: 0.9;
  pointer-events: none;
}

.cloud:before,
.cloud:after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.c1 { width: 140px; height: 42px; top: 36px; left: 8%; }
.c1:before { width: 54px; height: 54px; top: -28px; left: 22px; }
.c1:after { width: 40px; height: 40px; top: -18px; left: 62px; }
.c2 { width: 180px; height: 48px; top: 90px; right: 6%; }
.c2:before { width: 64px; height: 64px; top: -34px; left: 30px; }
.c2:after { width: 46px; height: 46px; top: -20px; left: 80px; }
.c3 { width: 90px; height: 28px; top: 28px; left: 46%; opacity: 0.7; }

.sky-hero-grid {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 12px;
  min-height: 560px;
}

.eyebrow {
  display: inline-block;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 800;
  box-shadow: 0 3px 0 var(--ink);
  margin-bottom: 14px;
}

.sky-copy h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 0 #1b1640, 0 0 0 #1b1640;
  -webkit-text-stroke: 2px #1b1640;
  paint-order: stroke fill;
  margin: 0 0 14px;
}

.sky-lead {
  font-size: 1.12rem;
  line-height: 1.55;
  max-width: 34rem;
  color: #102044;
  font-weight: 600;
}

.sky-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 10px;
}

.sky-note a {
  color: #123;
  font-weight: 700;
}

.toy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  border: 3px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  cursor: pointer;
  color: var(--ink);
}

.toy:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--ink);
  color: var(--ink);
}

.toy-yellow { background: var(--yellow); }
.toy-blue { background: #8fd8ff; }
.toy-white { background: #fff; }
.toy-green { background: var(--mint); }

.sky-stage {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 20px;
}

.battle-frame {
  width: min(420px, 80%);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 8px 0 var(--ink);
  padding: 14px 14px 12px;
  position: relative;
  z-index: 1;
}

.battle-turn,
.battle-vs,
.fighter b {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
}

.battle-turn {
  text-align: center;
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.battle-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px;
  background: linear-gradient(180deg, #d9f3ff, #fff6c8);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 12px 10px 8px;
  min-height: 196px;
}

.fighter { text-align: center; }
.fighter .idle,
.fighter img {
  width: 118px;
  height: 118px;
}
.fighter img {
  object-fit: contain;
  image-rendering: auto; /* ảnh trong cast/hd đã phóng nguyên lần, thu mượt cho đều pixel */
}
.fighter b { display: block; font-size: 1rem; line-height: 1.1; }

.hp {
  display: block;
  height: 12px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 8px 6px;
}
.hp i { display: block; height: 100%; width: 78%; background: #3dcc6e; }
.hp-low i { width: 46%; background: #ff5a6a; }

.battle-vs {
  align-self: center;
  display: grid;
  place-items: center;
  animation: clash 1.2s ease-in-out infinite;
}
.battle-vs svg { display: block; filter: drop-shadow(0 3px 0 rgba(27, 22, 64, 0.25)); }

@keyframes clash {
  0%, 100% { transform: scale(1) rotate(0); }
  45% { transform: scale(1.12) rotate(-6deg); }
  55% { transform: scale(1.12) rotate(6deg); }
}
.battle-note {
  text-align: center;
  font-size: 0.92rem;
  margin: 8px 0 0;
  color: #3c3760;
}

.hero-cat {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 190px;
  height: auto;
  filter: drop-shadow(0 18px 0 rgba(27, 22, 64, 0.12));
  animation: bob 2.8s ease-in-out infinite;
  z-index: 2;
}

.cat-bubble {
  position: absolute;
  right: 180px;
  bottom: 70px;
  top: auto;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px 18px 6px 18px;
  padding: 8px 12px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  box-shadow: 0 4px 0 var(--ink);
  z-index: 3;
}

.band, .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 10px;
}

.band-head h2,
.finale h2,
.steps h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.band-head p,
.finale p,
.tile p,
.steps p {
  color: #3c3760;
  line-height: 1.5;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 14px;
}

/* Sân khấu: nền map 37 trong game */
.stage {
  position: relative;
  min-height: 520px;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 6px 0 var(--ink);
  overflow: hidden;
  isolation: isolate;
  background: #1a1238 url(../images/cast/stage-37.webp) center bottom / cover no-repeat;
  image-rendering: pixelated;
  user-select: none;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 45% 40% at 50% 62%, rgba(190, 140, 255, 0.28), transparent 70%),
              linear-gradient(180deg, rgba(16, 18, 63, 0.35), transparent 30%, transparent 75%, rgba(16, 18, 63, 0.45));
}
.stage-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 5;
}
.stage-name {
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.15rem;
  line-height: 1.3;
}

.stage-actor {
  position: absolute;
  left: 50%;
  top: var(--feet, 94%);
  width: calc(48% * var(--boss, 1));
  transform: translate(-50%, -100%);
  display: grid;
  justify-items: center;
  z-index: 2;
}
.stage-pet {
  all: unset;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.25));
}
.stage-pet:focus-visible { outline: 3px dashed var(--yellow); outline-offset: 6px; border-radius: 12px; }
.stage-pet,
.stage-pet .idle {
  width: 100%;
}
.stage-pet .idle {
  aspect-ratio: 1;
  align-items: end;
  animation: actor-bob 1.6s ease-in-out infinite;
}
.stage-pet img {
  image-rendering: auto; /* .stage để pixelated cho nền, ảnh boss dùng bản HD */
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
}
.stage-pet.is-in { animation: actor-in 0.42s cubic-bezier(.3, 1.6, .5, 1); }
.stage-pet.is-hop { animation: actor-hop 0.45s ease; }
.stage-shadow {
  width: 55%;
  min-width: 80px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: rgba(8, 6, 24, 0.55);
  filter: blur(3px);
}
.stage-bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 15rem;
  margin: 0;
  padding: 8px 14px;
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  z-index: 3;
  animation: bubble-in 0.22s ease-out;
}
.stage-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  margin-left: -8px;
  border: 8px solid transparent;
  border-top-color: var(--ink);
}
.fx-taunt {
  position: absolute;
  bottom: 62%;
  z-index: 4;
  color: #ff4f6d;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 2px 0 var(--ink);
  animation: heart-up 0.7s ease-out forwards;
}

/* Bảng chọn */
.roster {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 6px 0 var(--ink);
}
.roster-label {
  margin: 0;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a6590;
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pick {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 4px;
  font: inherit;
  color: var(--ink);
  background: var(--sky-2);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.pick:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.pick:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.pick.is-active { background: var(--yellow); }
.pick-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
}
/* Ảnh trong images/cast/thumb đã dựng sẵn 136×136 (2x), nên thu mượt thay vì pixelated */
.pick-thumb img {
  width: 68px;
  height: 68px;
  min-height: 0;
  max-width: none;
  max-height: none;
  image-rendering: auto;
}
.pick-name { font-weight: 800; font-size: 0.78rem; line-height: 1.2; text-align: center; }
.roster-hint {
  margin: auto 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6a6590;
}

@keyframes actor-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes actor-in {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes actor-hop {
  0%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(0) scale(1.08, 0.9); }
  60% { transform: translateY(-18px) scale(0.96, 1.05); }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to { opacity: 1; transform: translateX(-50%); }
}
@keyframes heart-up {
  from { opacity: 1; transform: translateY(0) scale(0.6); }
  to { opacity: 0; transform: translateY(-90px) scale(1.2); }
}

.idle {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}
.idle img { grid-area: 1 / 1; }
.idle img:first-child { animation: idle-a 0.64s steps(1, end) infinite; }
.idle img:last-child { animation: idle-b 0.64s steps(1, end) infinite; }
.fighter:last-child .idle img { animation-delay: -0.28s; }
.fighter .idle { transform: scaleX(-1); }

@keyframes idle-a {
  0%, 49.9% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes idle-b {
  0%, 49.9% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .idle img:first-child { animation: none; }
  .idle img:last-child { display: none; }
  .stage-pet .idle, .stage-pet.is-in, .stage-pet.is-hop, .fx-taunt, .battle-vs { animation: none; }
}

.pixel { image-rendering: pixelated; }

.tile h3,
.steps h3 { font-weight: 800; font-size: 1.2rem; }

.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}

.tile {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 16px;
}

.tile-hero {
  grid-row: span 2;
  background: linear-gradient(180deg, #fff6c8, #fff);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
}

.tile-pet {
  flex: 1;
  width: auto;
  max-height: 170px;
  margin: 8px auto 12px;
  object-fit: contain;
  animation: bob 3s ease-in-out infinite;
}

.tile-fire { background: #ffe1d2; }
.tile-ice { background: #dff8ff; }

.tile-fire img,
.tile-ice img { width: 120px; height: auto; }
/* Rồng lửa gốc rộng 150px: nhỏ hơn thế là mất pixel, nên giữ đúng 1:1 */
.tile-fire img { width: 150px; }

.steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.steps li {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 5px 0 var(--ink);
  padding: 14px;
}

.steps b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--ink);
  font-family: "Baloo 2", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.news-list { display: grid; gap: 10px; }
.news-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 0 var(--ink);
}

.finale {
  margin: 28px 20px 80px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  background: #1b1640;
  color: #fff;
  border-radius: 28px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 3px solid #1b1640;
}

.finale h2, .finale p { color: #fff; }
.finale-angel { width: 110px; }
.finale-copy { flex: 1; }
.finale-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mascot {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  display: grid;
  place-items: center;
}

.mascot img {
  width: 48px;
  image-rendering: pixelated;
  animation: bob 1.6s ease-in-out infinite;
}

.mascot-bubble {
  position: absolute;
  right: 78px;
  bottom: 16px;
  white-space: nowrap;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 4px 8px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  color: var(--ink);
}

.site-footer {
  background: #1b1640;
  color: #d9d4f2;
  padding: 32px 20px 28px;
}

.site-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer strong { color: var(--yellow); }
.site-footer a { color: var(--yellow); font-weight: 800; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }


.download-page { padding: 8px 0 40px; }
.download-lead { max-width: 40rem; margin-bottom: 16px; }
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.platform-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.platform-card h2 { font-family: "Baloo 2", sans-serif; font-weight: 800; }
.platform-card .tagline {
  font-weight: 800;
  color: #6a4de0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.platform-card .button {
  align-self: flex-start;
  margin-top: auto;
  border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  font-weight: 800;
  border-radius: 12px;
  color: var(--ink);
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


@media (max-width: 900px) {
  .sky-hero-grid,
  .showcase,
  .bento,
  .steps ol,
  .platform-grid { grid-template-columns: minmax(0, 1fr); }
  .tile-hero { grid-row: auto; min-height: 0; }
  .sky-stage { min-height: 0; display: block; padding-top: 0; }
  .battle-vs svg { width: 44px; height: 44px; }
  .battle-frame { width: min(420px, 100%); margin: 8px auto 0; }
  .hero-cat { position: relative; right: auto; bottom: auto; width: min(220px, 70%); display: block; margin: 12px auto 0; }
  .cat-bubble { position: relative; right: auto; bottom: auto; display: table; margin: 0 auto 4px; }
  .finale { flex-direction: column; align-items: flex-start; margin-bottom: 96px; }
}

@media (max-width: 600px) {
  .fighter .idle,
  .fighter img { width: 84px; height: 84px; }
  .battle-row { min-height: 0; }
  .mascot-bubble { display: none; }
}

/* Dải thông tin nhanh dưới hero */
.facts {
  position: relative;
  z-index: 1;
  list-style: none;
  max-width: 1100px;
  margin: -6px auto 0;
  padding: 0 20px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.facts li {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--ink);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.facts b { font-family: "Baloo 2", sans-serif; font-size: 1.2rem; line-height: 1.2; }
.facts span { color: #3c3760; font-size: 0.92rem; line-height: 1.4; }

/* Các dải nền tràn ngang */
.zone { padding: 22px 0 40px; }
.zone .band, .zone .wrap { padding-top: 18px; }
.zone-night {
  background:
    radial-gradient(circle at 15% 10%, rgba(126, 203, 255, 0.16), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(255, 138, 212, 0.14), transparent 40%),
    #1b1640;
}
.zone-night .band-head h2 { color: #fff; }
.zone-night .band-head p { color: #c9c3ea; }
.zone-night .stage,
.zone-night .roster { box-shadow: 0 6px 0 #0c0a24; border-color: #0c0a24; }
.zone-cream { background: #fff8de; }
.zone-dusk { background: linear-gradient(180deg, #efe6ff, #e7f6ff); }

/* Vai trò và mô tả boss trên sân */
.stage-info {
  position: absolute;
  top: 58px;
  left: 14px;
  max-width: min(22rem, 60%);
  margin: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(12, 10, 36, 0.72);
  color: #e9e6ff;
  font-size: 0.92rem;
  line-height: 1.4;
}
.stage-role {
  font-weight: 800;
  color: var(--yellow);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Lịch boss thế giới */
.week { margin-top: 28px; }
.week-head h3 { color: #fff; font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.week-head p { color: #c9c3ea; margin-bottom: 12px; }
.week-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.week-grid li {
  position: relative;
  background: #2a2358;
  border: 3px solid #0c0a24;
  border-radius: 18px;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  color: #e9e6ff;
}
.week-grid img { width: 72px; height: 72px; object-fit: contain; }
.week-grid b { font-family: "Baloo 2", sans-serif; font-size: 1rem; line-height: 1.15; }
.week-grid em { font-style: normal; font-size: 0.82rem; color: #b7b0e0; }
.week-day {
  font-weight: 800;
  font-size: 0.85rem;
  padding: 2px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}
.week-grid li.is-today {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 5px 0 #0c0a24;
  transform: translateY(-4px);
}
.week-grid li.is-today em { color: #4a4270; }
.week-grid li.is-today .week-day { background: var(--ink); color: var(--yellow); }
.week-grid li.is-today::after {
  content: "Hôm nay";
  position: absolute;
  top: -12px;
  right: -6px;
  background: #ff5a6a;
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Con đường lên thượng giới */
.path {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  counter-reset: none;
}
.path li {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.path li + li::before {
  content: "\279C";
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 800;
  color: #6a4de0;
}
.path-step {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a4de0;
  background: #efe6ff;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 2px 10px;
}
.path-img { height: 120px; width: auto; max-width: 100%; object-fit: contain; margin: 12px 0 8px; }
.path h3 { font-weight: 800; font-size: 1.3rem; }
.path p { color: #3c3760; line-height: 1.5; }

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .path li + li::before { left: 50%; top: -30px; transform: translateX(-50%) rotate(90deg); }
}

@media (max-width: 600px) {
  .stage-info { top: auto; bottom: 12px; right: 12px; left: 12px; max-width: none; font-size: 0.85rem; }
  .week-grid img { width: 56px; height: 56px; }
}

/* Footer */
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.site-footer h4 {
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer ul a { color: #d9d4f2; font-weight: 600; }
.site-footer ul a:hover { color: var(--yellow); }
.site-footer-brand img { height: 40px; width: auto; margin-bottom: 8px; }
.site-footer-brand p { color: #b7b0e0; line-height: 1.5; max-width: 22rem; }
.site-footer-bottom {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8f88bd;
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer-brand { grid-column: 1 / -1; }
}
