/* =========================================================
   MU XƯA CŨ — PORTAL & LANDING PAGE STYLES
   Design inspired by muhanoi.id (Dark Fantasy MU Aesthetic)
   ========================================================= */

:root {
  --bg-primary: #03070b;
  --bg-secondary: #07111a;
  --bg-panel: #081420;
  --bg-panel-elevated: #0b1926;
  --bg-glass: rgba(7, 18, 28, 0.82);

  --gold-primary: #d6a84d;
  --gold-light: #f5d68c;
  --gold-dark: #8a581c;
  --gold-gradient: linear-gradient(135deg, #fff2bc 0%, #d6a84d 50%, #8a581c 100%);
  --gold-border: rgba(214, 168, 77, 0.35);
  --gold-border-soft: rgba(214, 168, 77, 0.18);
  --gold-glow: 0 0 25px rgba(214, 168, 77, 0.28);

  --ruby-primary: #9d2219;
  --ruby-light: #e63946;
  --ruby-gradient: linear-gradient(135deg, #e63946 0%, #9d2219 60%, #4a0c07 100%);

  --cyan-primary: #4b8fc9;
  --cyan-light: #7ec4f8;

  --emerald-primary: #38b000;
  --emerald-light: #54d383;

  --text-main: #eef4f7;
  --text-muted: #8b99a6;
  --text-dim: #607080;

  --font-heading: 'Roboto Slab', serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;

  --header-h: 74px;
  --container-max: 1360px;
  --radius: 4px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  scrollbar-width: thin;
  scrollbar-color: #8a581c #03070b;
}

/* Custom WebKit Scrollbar (Chrome, Edge, Opera, Safari) */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #03070b;
  border-left: 1px solid rgba(214, 168, 77, 0.12);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b8862d 0%, #8a581c 50%, #5d3a0c 100%);
  border-radius: 4px;
  border: 1px solid rgba(245, 214, 140, 0.25);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f5d68c 0%, #d6a84d 50%, #8a581c 100%);
  border-color: rgba(245, 214, 140, 0.6);
  box-shadow: 0 0 10px rgba(214, 168, 77, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

::-webkit-scrollbar-thumb:active {
  background: #f5d68c;
  box-shadow: 0 0 14px rgba(245, 214, 140, 0.8);
}

::-webkit-scrollbar-corner {
  background: #03070b;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Global faint atmospheric background image bg.png */
.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(180deg, rgba(3, 7, 11, 0.75) 0%, rgba(3, 7, 11, 0.85) 45%, rgba(3, 7, 11, 0.92) 100%),
    url('../images/bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.45;
  filter: saturate(1.1) brightness(0.9);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  background: 
    radial-gradient(circle at 10% 25%, rgba(75, 143, 201, 0.15), transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(157, 34, 25, 0.12), transparent 35%);
}

.container {
  width: min(var(--container-max), calc(100% - 40px));
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- STICKY PRO HEADER ---------- */
.pro-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(3, 8, 13, 0.92);
  border-bottom: 1px solid var(--gold-border-soft);
  backdrop-filter: blur(20px) saturate(130%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.pro-header__bottom-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(214, 168, 77, 0.2) 20%, rgba(245, 214, 140, 0.7) 50%, rgba(214, 168, 77, 0.2) 80%, transparent 100%);
}

.pro-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pro-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pro-brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  box-shadow: var(--gold-glow);
  object-fit: cover;
}

.pro-brand__info {
  display: flex;
  flex-direction: column;
}

.pro-brand__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.pro-brand__sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan-light);
  text-transform: uppercase;
}

.pro-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.pro-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pro-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
  box-shadow: 0 0 10px rgba(245, 214, 140, 0.6);
}

.pro-nav__link:hover,
.pro-nav__link.is-active {
  color: var(--gold-light);
  background: linear-gradient(180deg, rgba(214, 168, 77, 0.06), transparent 75%);
}

.pro-nav__link:hover::after,
.pro-nav__link.is-active::after {
  left: 14px;
  right: 14px;
}

.pro-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-zalo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0088cc;
  background: rgba(0, 136, 204, 0.12);
  border: 1px solid rgba(0, 136, 204, 0.35);
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-header-zalo:hover {
  background: rgba(0, 136, 204, 0.22);
  border-color: #0088cc;
  box-shadow: 0 0 16px rgba(0, 136, 204, 0.35);
  transform: translateY(-1px);
}

.btn-header-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff4d1;
  background: linear-gradient(180deg, #9a661c 0%, #5d3a0c 100%);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-header-download:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 20px rgba(214, 168, 77, 0.5);
  transform: translateY(-1px);
}

/* Pulse animation on main download buttons */
.is-pulse {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(214, 168, 77, 0.35);
  }
  50% {
    box-shadow: 0 0 28px rgba(245, 214, 140, 0.75), 0 0 45px rgba(157, 34, 25, 0.35);
  }
}

.pro-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(11, 25, 38, 0.8);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
}

.pro-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-light);
  transition: var(--transition);
}

/* Mobile Drawer */
.pro-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: rgba(4, 10, 16, 0.98);
  border-left: 1px solid var(--gold-border);
  backdrop-filter: blur(25px);
  z-index: 1001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pro-drawer.is-open {
  right: 0;
}

.pro-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--gold-border-soft);
}

.pro-drawer__close {
  font-size: 1.6rem;
  color: var(--gold-light);
}

.pro-drawer nav {
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.pro-drawer nav a {
  padding: 14px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pro-drawer nav a:hover,
.pro-drawer nav a.is-active {
  color: var(--gold-light);
}

.pro-drawer__footer {
  margin-top: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pro-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pro-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 840px;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: 
    linear-gradient(180deg, rgba(3, 7, 11, 0.35) 0%, rgba(3, 7, 11, 0.15) 30%, rgba(3, 7, 11, 0.45) 65%, #03070b 100%), 
    url('../images/bg.png');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  filter: saturate(1.1) brightness(0.9);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at 50% 40%, rgba(3, 7, 11, 0.08) 0%, rgba(2, 4, 7, 0.55) 100%);
  pointer-events: none;
}

#canvas-embers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-inline: auto;
  width: 100%;
  max-width: 960px;
  position: relative;
  z-index: 4;
}

.hero__logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.hero__main-logo {
  width: min(440px, 85vw);
  max-height: 260px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(230, 57, 70, 0.45));
  animation: floatEmblem 4s ease-in-out infinite;
}

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

.hero__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero__kicker span {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary));
}

.hero__kicker span:last-child {
  transform: scaleX(-1);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 35px rgba(214, 168, 77, 0.35);
  margin-bottom: 12px;
}

.hero__title-highlight {
  display: inline-block;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #c9d5df;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Launch Countdown Sequence */
.launch-card {
  width: min(620px, 100%);
  margin-inline: auto;
  margin-bottom: 32px;
  background: linear-gradient(180deg, rgba(12, 26, 38, 0.88) 0%, rgba(6, 14, 22, 0.96) 100%);
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 35px rgba(214, 168, 77, 0.08);
  border-radius: var(--radius);
  padding: 24px 30px;
  backdrop-filter: blur(15px);
  position: relative;
}

.launch-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.launch-card__tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
  background: rgba(3, 8, 12, 0.7);
  border: 1px solid rgba(214, 168, 77, 0.2);
  border-radius: var(--radius);
  padding: 4px;
}

.launch-frame {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
  box-shadow: 0 0 0 1px var(--gold-primary), 0 0 16px rgba(214, 168, 77, 0.35);
  background: linear-gradient(180deg, rgba(154, 102, 28, 0.45) 0%, rgba(8, 20, 32, 0.85) 100%);
  transition: transform 0.55s cubic-bezier(.34, 1.45, .64, 1), width 0.55s cubic-bezier(.34, 1.45, .64, 1);
  z-index: 1;
}

.launch-tab {
  position: relative;
  z-index: 2;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 2px);
  text-align: center;
  cursor: pointer;
  color: var(--text-color);
  font: inherit;
  transition: transform 0.4s cubic-bezier(.34, 1.45, .64, 1), opacity 0.3s ease;
  user-select: none;
}

.launch-tab:hover {
  opacity: 1;
}

.launch-tab:active {
  transform: scale(0.97);
}

.launch-tab:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

.launch-tab.is-active {
  opacity: 1;
}

.launch-tab__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.launch-tab__date {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.countdown__item {
  background: rgba(2, 6, 10, 0.85);
  border: 1px solid rgba(214, 168, 77, 0.25);
  border-radius: var(--radius);
  padding: 12px 6px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.countdown__num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff6d9;
  line-height: 1;
  text-shadow: 0 0 15px rgba(245, 214, 140, 0.5);
}

.countdown__unit {
  display: block;
  margin-top: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.launch-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--emerald-light);
  text-transform: uppercase;
}

.launch-card__status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 10px var(--emerald-light);
  animation: blinkDot 1.5s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Primary CTA Download */
.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 280px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, #aa241a 0%, #68120b 100%);
  border: 1px solid #e63946;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(157, 34, 25, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-cta-main:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(230, 57, 70, 0.7), 0 0 30px rgba(214, 168, 77, 0.4);
  filter: brightness(1.15);
}

.btn-cta-main svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Quick Dock */
.quick-dock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(720px, 100%);
  margin-inline: auto;
}

.quick-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(7, 18, 28, 0.85);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.quick-dock__item:hover {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, rgba(214, 168, 77, 0.12) 0%, rgba(7, 18, 28, 0.95) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.quick-dock__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 168, 77, 0.22) 0%, rgba(7, 18, 28, 0.6) 100%);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  transition: var(--transition);
}

.quick-dock__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.quick-dock__item:hover .quick-dock__icon {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(214, 168, 77, 0.5);
  transform: scale(1.08);
  color: #fff6db;
}

.quick-dock__title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.quick-dock__desc {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* ---------- STATS BAR (HIGHLIGHTS) ---------- */
.stats-bar {
  position: relative;
  z-index: 10;
  margin-top: -30px;
  margin-bottom: 60px;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(5, 13, 20, 0.94);
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.stats-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border-right: 1px solid var(--gold-border-soft);
  transition: var(--transition);
}

.stats-bar__item:last-child {
  border-right: none;
}

.stats-bar__item:hover {
  background: linear-gradient(180deg, rgba(214, 168, 77, 0.08), transparent);
}

.stats-bar__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(214, 168, 77, 0.2) 0%, rgba(4, 10, 16, 0.7) 70%);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  color: var(--gold-light);
  transition: var(--transition);
}

.stats-bar__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: var(--transition);
}

.stats-bar__item:hover .stats-bar__icon {
  border-color: var(--gold-primary);
  box-shadow: 0 0 18px rgba(214, 168, 77, 0.45);
}

.stats-bar__item:hover .stats-bar__icon svg {
  transform: scale(1.15);
  color: #fff6db;
}

.stats-bar__content b {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--gold-light);
  line-height: 1.25;
}

.stats-bar__content span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ---------- SECTION HEADINGS ---------- */
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-head__kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-head__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.section-head__divider {
  width: 140px;
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* ---------- DASHBOARD (ROADMAP + TIMETABLE) ---------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 80px;
}

.card {
  background: linear-gradient(180deg, rgba(8, 20, 32, 0.94) 0%, rgba(4, 11, 18, 0.96) 100%);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.card__head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gold-border-soft);
  background: linear-gradient(180deg, rgba(214, 168, 77, 0.08) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card__title svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--gold-light);
}

/* News Tab Navigation */
.news-tabs {
  display: flex;
  gap: 4px;
}

.news-tab-btn {
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 2px;
  transition: var(--transition);
}

.news-tab-btn:hover,
.news-tab-btn.is-active {
  color: var(--gold-light);
  background: rgba(214, 168, 77, 0.12);
  border-color: rgba(214, 168, 77, 0.3);
}

/* News Body */
.news-lead {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: var(--transition);
}

.news-lead:hover {
  background: rgba(214, 168, 77, 0.04);
}

.news-lead__thumb {
  position: relative;
  height: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-border-soft);
}

.news-lead__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-lead:hover .news-lead__thumb img {
  transform: scale(1.08);
}

.news-lead__tag {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 3px 6px;
  background: var(--ruby-primary);
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 2px;
}

.news-lead__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-lead__time {
  font-size: 0.65rem;
  color: var(--text-dim);
}

.news-lead__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin: 4px 0 6px;
  line-height: 1.35;
  transition: var(--transition);
}

.news-lead:hover .news-lead__title {
  color: var(--gold-light);
}

.news-lead__snippet {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list {
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: var(--transition);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover .news-item__title {
  color: var(--gold-light);
  transform: translateX(4px);
}

.news-item__tag {
  padding: 2px 6px;
  font-size: 0.55rem;
  font-weight: 700;
  border-radius: 2px;
  text-transform: uppercase;
  background: rgba(75, 143, 201, 0.15);
  border: 1px solid rgba(75, 143, 201, 0.3);
  color: var(--cyan-light);
}

.news-item__title {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d6dfe6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition);
}

.news-item__time {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* Roadmap List */
.roadmap-list {
  padding: 20px;
  list-style: none;
  position: relative;
}

.roadmap-list::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--emerald-light) 0%, var(--gold-primary) 50%, rgba(214, 168, 77, 0.2) 100%);
}

.roadmap-item {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-dot {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #091a27;
  border: 2px solid var(--gold-primary);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  color: var(--gold-light);
  z-index: 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.roadmap-item.is-done .roadmap-dot {
  background: var(--emerald-primary);
  border-color: var(--emerald-light);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(84, 211, 131, 0.5);
}

.roadmap-item.is-active .roadmap-dot {
  background: var(--ruby-primary);
  border-color: var(--ruby-light);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(230, 57, 70, 0.6);
  animation: pulseGlow 2s infinite;
}

.roadmap-info {
  display: flex;
  flex-direction: column;
}

.roadmap-info b {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.roadmap-info span {
  font-size: 0.72rem;
  color: var(--gold-light);
  margin-top: 2px;
}

.roadmap-info p {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Event Timetable */
.timetable-list {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timetable-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(3, 8, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: var(--transition);
}

.timetable-item:hover {
  border-color: var(--gold-border-soft);
  background: rgba(214, 168, 77, 0.05);
}

.timetable-item.is-imminent {
  border-color: rgba(230, 57, 70, 0.5);
  background: linear-gradient(90deg, rgba(157, 34, 25, 0.15) 0%, transparent 100%);
}

.timetable-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timetable-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(214, 168, 77, 0.1);
  color: var(--gold-light);
  flex-shrink: 0;
}

.timetable-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.timetable-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2eaf0;
}

.timetable-freq {
  font-size: 0.62rem;
  color: var(--text-dim);
}

.timetable-time {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-light);
}

.timetable-tabs {
  display: flex;
  gap: 4px;
}

.timetable-tab-btn {
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.timetable-tab-btn:hover,
.timetable-tab-btn.is-active {
  color: var(--gold-light);
  background: rgba(214, 168, 77, 0.12);
  border-color: rgba(214, 168, 77, 0.3);
}

.badge-imminent {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 2px;
  background: rgba(230, 57, 70, 0.25);
  border: 1px solid rgba(230, 57, 70, 0.6);
  color: #ff7d8c;
  margin-left: 6px;
  animation: pulseGlow 1.5s infinite;
}

.timetable-right {
  text-align: right;
  flex-shrink: 0;
}

.timetable-hint {
  font-size: 0.58rem;
  color: var(--gold-light);
  opacity: 0.7;
}

.timetable-item {
  cursor: pointer;
}

.timetable-item:hover .timetable-hint {
  opacity: 1;
  text-decoration: underline;
}

.schedule-pill {
  display: inline-block;
  padding: 4px 10px;
  margin: 4px 4px 4px 0;
  border-radius: 4px;
  background: rgba(3, 8, 12, 0.8);
  border: 1px solid rgba(214, 168, 77, 0.25);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.schedule-pill.is-next {
  border-color: var(--gold-primary);
  background: rgba(214, 168, 77, 0.2);
  color: var(--gold-light);
  box-shadow: 0 0 10px rgba(214, 168, 77, 0.3);
}

/* ---------- 7 CHARACTER CLASS SHOWCASE ---------- */
.class-section {
  position: relative;
  padding: 40px 0 80px;
}

.class-shell {
  background: linear-gradient(180deg, rgba(8, 20, 32, 0.95) 0%, rgba(4, 10, 16, 0.98) 100%);
  border: 1px solid var(--gold-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border-radius: var(--radius);
  overflow: hidden;
}

.class-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(2, 6, 10, 0.8);
  border-bottom: 1px solid var(--gold-border-soft);
}

.class-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  position: relative;
}

.class-tab-btn:last-child {
  border-right: none;
}

.class-tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: var(--transition);
}

.class-tab-btn:hover {
  background: rgba(214, 168, 77, 0.08);
}

.class-tab-btn.is-active {
  background: linear-gradient(180deg, rgba(214, 168, 77, 0.16) 0%, rgba(8, 20, 32, 0.9) 100%);
}

.class-tab-btn.is-active::after {
  background: var(--gold-gradient);
  box-shadow: 0 0 12px rgba(245, 214, 140, 0.7);
}

.class-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.class-tab-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  color: var(--text-muted);
  transition: var(--transition);
}

.class-tab-btn:hover .class-tab-icon svg,
.class-tab-btn.is-active .class-tab-icon svg {
  color: var(--gold-light);
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(245, 214, 140, 0.7));
}

.class-tab-name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.class-tab-btn.is-active .class-tab-name {
  color: var(--gold-light);
}

/* Character Showcase Body */
.class-content-wrapper {
  position: relative;
  min-height: 520px;
}

.class-panel {
  display: none;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  padding: 40px 50px;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

.class-panel.is-active {
  display: grid;
}

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

.class-artwork {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.class-artwork img {
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 35px rgba(214, 168, 77, 0.25));
  border-radius: var(--radius);
  transition: transform 0.5s ease;
}

.class-panel:hover .class-artwork img {
  transform: scale(1.03);
}

.class-info__header {
  margin-bottom: 20px;
}

.class-role-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(214, 168, 77, 0.12);
  border: 1px solid var(--gold-border);
  border-radius: 2px;
  margin-bottom: 8px;
}

.class-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1.1;
}

.class-lore {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Stat Meters */
.class-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.stat-row {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  align-items: center;
  gap: 14px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #c0cdd6;
  text-transform: uppercase;
}

.stat-track {
  height: 8px;
  background: rgba(2, 6, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.stat-bar {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(245, 214, 140, 0.5);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-light);
  text-align: right;
}

/* Highlights / Badges */
.class-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.class-badge {
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(8, 20, 32, 0.8);
  border: 1px solid rgba(214, 168, 77, 0.25);
  border-radius: var(--radius);
  color: #d1dde5;
}

/* ---------- GUIDES & DOWNLOAD STRIP ---------- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.guide-card {
  padding: 24px 20px;
  background: linear-gradient(180deg, rgba(8, 20, 32, 0.85) 0%, rgba(4, 11, 18, 0.95) 100%);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.guide-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(214, 168, 77, 0.08);
}

.guide-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(214, 168, 77, 0.1);
  border: 1px solid var(--gold-border-soft);
  margin-bottom: 16px;
  color: var(--gold-light);
  transition: var(--transition);
}

.guide-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  transition: var(--transition);
}

.guide-card:hover .guide-icon {
  background: rgba(214, 168, 77, 0.2);
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(214, 168, 77, 0.4);
  transform: scale(1.08);
  color: #fff6db;
}

.guide-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.guide-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.guide-link {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-primary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-card:hover .guide-link {
  color: var(--gold-light);
}

/* ---------- FOOTER ---------- */
.pro-footer {
  background: #020508;
  border-top: 1px solid var(--gold-border-soft);
  padding: 60px 0 30px;
  position: relative;
}

.pro-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.footer-brand__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid var(--gold-border-soft);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.footer-social-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(214, 168, 77, 0.12);
  color: var(--gold-light);
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ---------- MODALS ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: min(640px, 100%);
  background: linear-gradient(180deg, #091724 0%, #040c14 100%);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--gold-glow);
  border-radius: var(--radius);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.is-active .modal-dialog {
  transform: translateY(0);
}

.modal-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--gold-border-soft);
  background: linear-gradient(180deg, rgba(214, 168, 77, 0.1) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  color: var(--gold-light);
}

.modal-close {
  font-size: 1.5rem;
  color: var(--text-dim);
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--ruby-light);
}

.modal-body {
  padding: 24px;
  max-height: 75vh;
  overflow-y: auto;
}

/* Download Modal List */
.download-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: rgba(3, 8, 12, 0.7);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius);
  transition: var(--transition);
}

.download-option:hover {
  border-color: var(--gold-primary);
  background: rgba(214, 168, 77, 0.06);
}

.download-info b {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
}

.download-info span {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.download-option.is-featured {
  background: linear-gradient(135deg, rgba(214, 168, 77, 0.12) 0%, rgba(12, 26, 38, 0.9) 100%);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 4px 20px rgba(214, 168, 77, 0.15);
}

.download-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #03070b;
  background: var(--gold-gradient);
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 8px;
  vertical-align: middle;
}

.download-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-dl-direct {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #03070b;
  background: var(--gold-gradient);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(214, 168, 77, 0.4);
  transition: var(--transition);
}

.btn-dl-direct:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 25px rgba(245, 214, 140, 0.75);
  transform: translateY(-2px);
}

.btn-dl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 168, 77, 0.4);
  background: linear-gradient(180deg, #7c4f14 0%, #462c0a 100%);
  color: #fff2cc;
  transition: var(--transition);
}

.btn-dl-link:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
}

/* Giftcode Box */
.giftcode-box {
  background: rgba(2, 6, 10, 0.85);
  border: 1px dashed var(--gold-primary);
  padding: 18px;
  text-align: center;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.giftcode-code {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin: 6px 0;
  user-select: all;
}

.giftcode-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--ruby-primary);
  border-radius: var(--radius);
  margin-top: 8px;
}

.giftcode-copy-btn:hover {
  background: var(--ruby-light);
}

/* ---------- BGM FLOATING CONTROLLER ---------- */
.bgm-widget {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(5, 14, 22, 0.92);
  border: 1px solid var(--gold-border);
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  transition: var(--transition);
}

.bgm-widget:hover {
  border-color: var(--gold-light);
  box-shadow: var(--gold-glow);
}

.bgm-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: grid;
  place-items: center;
  color: #03070b;
  font-size: 0.85rem;
}

.bgm-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */
@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .timetable-card {
    grid-column: span 2;
  }
  .stats-bar__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .pro-nav {
    display: none;
  }
  .pro-burger {
    display: flex;
  }
  .class-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .class-stats {
    max-width: 450px;
    margin-inline: auto;
  }
  .class-features {
    justify-content: center;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .timetable-card {
    grid-column: span 1;
  }
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pro-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .stats-bar__grid {
    grid-template-columns: 1fr;
  }
  .stats-bar__item {
    border-right: none;
    border-bottom: 1px solid var(--gold-border-soft);
  }
  .stats-bar__item:last-child {
    border-bottom: none;
  }
  .quick-dock {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .news-lead {
    grid-template-columns: 1fr;
  }
  .news-lead__thumb {
    height: 160px;
  }
  .class-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .countdown {
    gap: 8px;
  }
  .launch-card {
    padding: 16px;
  }
}

/* =========================================================
   LUCIAN UX/UI PROMPT #015 · MIT License (c) 2026 Seokwoooo
   https://lucianlabs.dev/uxui-prompt/#015
   Plan Radio Cards (.u015) Component Styles
   ========================================================= */
:root {
  --ux-page: #03070b;
  --ux-surface: #081420;
  --ux-surface-2: #0b1926;
  --ux-surface-3: #112538;
  --ux-ink: #eef4f7;
  --ux-ink-2: #c9d5df;
  --ux-ink-3: #8b99a6;
  --ux-line: rgba(214, 168, 77, 0.18);
  --ux-line-2: rgba(214, 168, 77, 0.35);
  --ux-accent: #d6a84d;
  --ux-accent-2: #f5d68c;
  --ux-accent-soft: rgba(214, 168, 77, 0.14);
  --ux-accent-ink: #03070b;
  --ux-mint: #54d383;
  --ux-warn: #f5d68c;
  --ux-danger: #e63946;
  --ux-glass: rgba(7, 18, 28, 0.85);
  --ux-glass-line: rgba(214, 168, 77, 0.35);
  --ux-shadow: rgba(0, 0, 0, 0.5);
  --ux-shadow-strong: rgba(0, 0, 0, 0.8);
  --ux-grad: linear-gradient(120deg, #f5d68c, #d6a84d 55%, #8a581c);
  --ux-ease: cubic-bezier(.2, .8, .2, 1);
  --ux-spring: cubic-bezier(.34, 1.45, .64, 1);
}

:root[data-theme="light"] {
  --ux-page: #F4F2EE;
  --ux-surface: #FFFFFF;
  --ux-surface-2: #F5F3EF;
  --ux-surface-3: #EAE7E1;
  --ux-ink: #16151B;
  --ux-ink-2: #57535F;
  --ux-ink-3: #8E8A97;
  --ux-line: rgba(22, 21, 27, 0.09);
  --ux-line-2: rgba(22, 21, 27, 0.17);
  --ux-accent: #6A57F2;
  --ux-accent-2: #2F8FE0;
  --ux-accent-soft: rgba(106, 87, 242, 0.12);
  --ux-accent-ink: #FFFFFF;
  --ux-mint: #119C72;
  --ux-warn: #D6731E;
  --ux-danger: #D93A55;
  --ux-glass: rgba(255, 255, 255, 0.58);
  --ux-glass-line: rgba(255, 255, 255, 0.85);
  --ux-shadow: rgba(40, 30, 80, 0.14);
  --ux-shadow-strong: rgba(40, 30, 80, 0.3);
  --ux-grad: linear-gradient(120deg, #7B61FF, #3D8BFF 55%, #1FB89A);
}

.ux, .ux *, .ux *::before, .ux *::after { box-sizing: border-box; }
.ux {
  color: var(--ux-ink);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
  word-break: keep-all;
  overflow-wrap: break-word;
}
:where(.ux) :is(button, input, textarea, select) { font: inherit; color: inherit; }
:where(.ux) button { cursor: pointer; }
.ux :focus-visible { outline: 2px solid var(--ux-accent); outline-offset: 3px; }
.ux [hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .ux, .ux *, .ux *::before, .ux *::after,
  .launch-frame, .launch-tab {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.u015 { position: relative; width: min(440px, 100%); margin-inline: auto; }
.u015-grp { position: relative; display: flex; flex-direction: column; gap: 12px; }
.u015-frame {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: 0 0 0 2px var(--ux-accent), 0 18px 36px -18px color-mix(in srgb, var(--ux-accent) 70%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--ux-accent) 12%, transparent), transparent 75%);
  transition: top 0.55s var(--ux-spring), height 0.55s var(--ux-spring);
  z-index: 1;
}

.u015-opt {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: 18px;
  background: var(--ux-surface);
  color: var(--ux-ink);
  text-align: left;
  box-shadow: 0 0 0 1px var(--ux-line);
  transition: transform 0.4s var(--ux-spring), box-shadow 0.3s var(--ux-ease);
}

.u015-opt:hover { box-shadow: 0 0 0 1px var(--ux-line-2); }
.u015-opt:active { transform: scale(0.98); }
.u015-opt:focus-visible { outline: 2px solid var(--ux-accent); outline-offset: 4px; }

.u015-dot {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ux-line-2);
  transition: box-shadow 0.3s var(--ux-ease);
}

.u015-dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--ux-accent);
  transform: scale(0);
  transition: transform 0.45s var(--ux-spring);
}

.u015-opt[aria-checked="true"] .u015-dot {
  box-shadow: inset 0 0 0 2px var(--ux-accent);
}
.u015-opt[aria-checked="true"] .u015-dot::after {
  transform: scale(1);
}

.u015-ic {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--g);
}

.u015-ic svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.u015-txt { flex: 1; min-width: 0; }
.u015-txt b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.u015-txt em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ux-accent-soft);
  color: var(--ux-accent);
}

.u015-txt small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--ux-ink-3);
  line-height: 1.4;
}

.u015-price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ux-ink-3);
  transition: color 0.35s var(--ux-ease);
}

.u015-price b {
  display: block;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.u015-price small { font-size: 11px; }
.u015-opt[aria-checked="true"] .u015-price { color: var(--ux-ink); }
.u015-opt[aria-checked="true"] .u015-price b { color: var(--ux-accent); }

.u015-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 0;
  padding: 0 6px;
  font-size: 14px;
  color: var(--ux-ink-2);
}

.u015-cta b {
  color: var(--ux-accent);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
