
:root {
  --bg: #04100e;
  --bg-2: #071916;
  --paper: #efe3c9;
  --paper-2: #f8f0dc;
  --ink: #10251f;
  --muted: #a19883;
  --gold: #d1a54b;
  --gold-2: #9d6b1f;
  --white: #fbfaf5;
  --shadow: 0 25px 60px rgba(0, 0, 0, .22);
  --cinzel: "Cinzel", serif;
  --inter: "Inter", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--inter); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(840px, calc(100% - 40px)); }
.center { text-align: center; }
.section { padding: 110px 0; }
.section-dark { padding: 110px 0; }
.site-header { position: sticky; top: 0; z-index: 30; background: linear-gradient(to bottom, rgba(3, 12, 10, .95), rgba(3, 12, 10, .75)); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: clamp(120px, 16vw, 120px); }
.main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.main-nav a, .footer-links a { font-family: var(--cinzel); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.84); position: relative; }
.main-nav a::after, .footer-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .25s ease; }
.main-nav a:hover::after, .footer-links a:hover::after { width: 100%; }
.menu-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 6px auto; background: var(--white); }
.hero { position: relative; overflow: hidden; min-height: calc(100vh - 86px); display: grid; align-items: center; isolation: isolate; }
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-bg { z-index: -2; background: radial-gradient(circle at 55% 18%, rgba(48, 132, 196, .24), transparent 24%), radial-gradient(circle at 70% 40%, rgba(18, 65, 87, .5), transparent 34%), linear-gradient(90deg, rgba(2, 9, 8, .95), rgba(5, 21, 18, .58) 42%, rgba(2, 7, 6, .4) 100%), url('assets/campuses/sacred-gate.webp'); background-size: cover; background-position: center; filter: brightness(.42) saturate(.8); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 70%, var(--bg) 100%); }
.hero-overlay { z-index: -1; background: radial-gradient(circle at 28% 25%, rgba(255, 205, 96, .08), transparent 25%), repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; padding: 90px 0 80px; }
.hero-copy h1, .section-title h2, .dark-banner h2, .download-strip h2 { margin: 0; font-family: var(--cinzel); text-transform: uppercase; }
.hero-copy h1 { max-width: 620px; font-size: clamp(54px, 8vw, 70px); line-height: .92; letter-spacing: 1px; }
.hero-copy h1 span { background: linear-gradient(#fee29d, #d1a54b 45%, #8b5b17 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-family: var(--cinzel); font-size: 11px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; }
.eyebrow.dark { color: var(--gold-2); }
.eyebrow.small { font-size: 10px; letter-spacing: 4px; }
.lead { max-width: 520px; margin: 22px 0 0; color: rgba(255,255,255,.76); line-height: 1.75; font-size: 16px; }
.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid transparent; font-family: var(--cinzel); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; transition: .25s ease; }
.btn-gold { color: #1f1204; background: linear-gradient(135deg, #f5db8d, #d1a54b 50%, #8f5f1f 100%); box-shadow: 0 18px 35px rgba(209,165,75,.26); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.9); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats div { min-width: 105px; padding: 18px 16px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.hero-stats strong { display: block; color: var(--gold); font-family: var(--cinzel); font-size: 26px; }
.hero-stats span { display: block; margin-top: 8px; color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-logo { width: min(480px, 90%); filter: drop-shadow(0 35px 60px rgba(0,0,0,.45)); }
.paper { position: relative; background: radial-gradient(circle at 18% 20%, rgba(255,255,255,.5), transparent 24%), radial-gradient(circle at 85% 80%, rgba(208,165,75,.09), transparent 28%), linear-gradient(90deg, rgba(118, 88, 36, .06), transparent 8% 92%, rgba(118, 88, 36, .06)), var(--paper); color: var(--ink); }
.paper::before, .paper::after, .dark-banner::before, .dark-banner::after { content: ""; position: absolute; left: 0; width: 100%; height: 18px; background: linear-gradient(135deg, transparent 0 18%, #05120f 18% 38%, transparent 38% 58%, #05120f 58% 78%, transparent 78%), linear-gradient(#05120f, #05120f); background-size: 120px 18px, 100% 9px; background-repeat: repeat-x; }
.paper::before, .dark-banner::before { top: -1px; }
.paper::after, .dark-banner::after { bottom: -1px; transform: rotate(180deg); }
.section-title { text-align: center; max-width: 860px; margin: 0 auto 55px; }
.section-title.light h2 { color: var(--white); }
.section-title h2, .dark-banner h2, .download-strip h2 { font-size: clamp(36px, 4vw, 58px); letter-spacing: 6px; line-height: 1.08; }
.section-crest { width: 84px; margin: 0 auto 20px; }
.divider { display: block; width: 8px; height: 8px; margin: 22px auto 0; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 10px rgba(209,165,75,.08); }
.classes-section { overflow: hidden; }
.class-stage { position: relative; min-height: 560px; display: grid; align-items: center; grid-template-columns: 1fr; justify-items: center; }
.class-name-bg { position: absolute; inset: 44% 0 auto; transform: translateY(-50%); text-align: center; color: rgba(15, 37, 31, .07); font-family: var(--cinzel); font-size: clamp(64px, 14vw, 190px); letter-spacing: 8px; line-height: 1; text-transform: uppercase; pointer-events: none; }
.class-visual-wrap { position: relative; z-index: 2; display: flex; align-items: end; justify-content: center; min-height: 440px; }
.class-visual-wrap::before { content: ""; position: absolute; bottom: 38px; width: 280px; height: 48px; border-radius: 50%; background: radial-gradient(circle, rgba(0,0,0,.28), transparent 70%); filter: blur(8px); }
.class-visual { position: relative; z-index: 2; max-height: 500px; width: auto; transition: opacity .3s ease, transform .3s ease; filter: drop-shadow(0 20px 35px rgba(0,0,0,.15)); }
.class-panel { position: absolute; right: 0; bottom: 48px; width: min(380px, 94%); padding: 22px 24px; border-left: 3px solid rgba(157,107,31,.28); background: rgba(255,255,255,.35); box-shadow: 0 16px 35px rgba(33, 20, 7, .08); z-index: 3; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.class-panel-icon { width: 64px; display: grid; place-items: start center; }
.class-panel-icon img { width: 54px; height: auto; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.08)); }
.class-panel-body { min-width: 0; }
.panel-label { margin: 0 0 8px; color: var(--gold-2); font-family: var(--cinzel); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.class-panel h3 { margin: 0 0 8px; font-family: var(--cinzel); font-size: 30px; color: var(--ink); }
.class-panel p:last-child { margin: 0; color: rgba(16,37,31,.78); line-height: 1.7; }
.class-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}
.class-tab {
  position: relative;
  padding: 0;
  width: 86px;
  background: transparent;
  border: 0;
  color: rgba(16,37,31,.5);
  font-family: var(--cinzel);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, color .25s ease, opacity .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.class-tab-badge {
  width: 64px;
  display: grid;
  place-items: center;
}
.class-tab img {
  display: block;
  width: 64px;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) saturate(.08) brightness(1.04);
  opacity: .45;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease, drop-shadow .25s ease;
  clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
}
.class-tab-label {
  display: block;
  line-height: 1.1;
}
.class-tab:hover {
  color: rgba(16,37,31,.78);
  transform: translateY(-2px);
}
.class-tab:hover img {
  opacity: .72;
}
.class-tab.active {
  color: var(--ink);
}
.class-tab.active img {
  filter: none;
  opacity: 1;
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 6px 10px rgba(71, 41, 109, .18));
}
.class-tab.active .class-tab-label {
  color: rgba(37,23,12,.95);
}
.dark-banner { position: relative; padding: 110px 0 120px; background: radial-gradient(circle at 50% 45%, rgba(27, 95, 75, .36), transparent 32%), linear-gradient(135deg, #051511, #0b241e 55%, #061411); }
.banner-copy { max-width: 620px; margin: 26px auto 0; color: rgba(255,255,255,.72); line-height: 1.8; }
.campus-list { display: grid; gap: 60px; }
.campus-card { display: grid; grid-template-columns: .78fr 1.22fr; gap: 40px; align-items: center; }
.campus-card.reverse { grid-template-columns: 1.22fr .78fr; }
.campus-card.reverse .campus-copy { order: 2; text-align: right; align-items: flex-end; }
.campus-card.reverse .campus-image { order: 1; }
.campus-copy { display: flex; flex-direction: column; align-items: flex-start; }
.campus-emblem { width: 112px; margin: 0 0 18px; }
.campus-emblem.mp { width: 82px; }
.campus-emblem.phoenix { width: 92px; }
.campus-copy h3 { margin: 0 0 12px; font-family: var(--cinzel); font-size: clamp(30px, 4vw, 44px); font-weight: 500; }
.campus-copy p:last-child { margin: 0; color: rgba(16,37,31,.7); line-height: 1.75; }
.campus-image { overflow: hidden; border: 1px solid rgba(157,107,31,.45); box-shadow: var(--shadow); border-radius: 4px; }
.campus-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.features { background: radial-gradient(circle at 50% 0, rgba(209,165,75,.12), transparent 28%), linear-gradient(135deg, #051511, #03100d); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature-grid article { padding: 24px; min-height: 0px; border: 1px solid rgba(255,255,255,.09); background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); }
.feature-grid strong { display: block; color: var(--gold); font-family: var(--cinzel); font-size: 18px; line-height: 1.35; text-transform: uppercase;font-size: 13px; }
.feature-grid span { display: block; margin-top: 12px; color: rgba(255,255,255,.68); line-height: 1.7; font-size: 14px;}
.download-strip { padding: 70px 0; background: linear-gradient(90deg, rgba(3, 12, 10, .96), rgba(8, 28, 24, .86)), radial-gradient(circle at 80% 30%, rgba(209,165,75,.18), transparent 28%); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.download-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.download-strip p:not(.eyebrow) { max-width: 690px; color: rgba(255,255,255,.72); line-height: 1.75; }
.site-footer { padding: 50px 0 65px; background: #020b09; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.footer-logo { width: min(200px, 80vw); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.site-footer p { max-width: 760px; margin: 0; color: rgba(255,255,255,.44); line-height: 1.7; font-size: 13px; }
@media (max-width: 1024px) {
  .hero-grid, .download-inner, .campus-card, .campus-card.reverse { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 60px; }
  .hero-visual { order: -1; }
  .campus-card.reverse .campus-copy, .campus-card.reverse .campus-image { order: initial; text-align: left; align-items: flex-start; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .class-panel { position: relative; right: auto; bottom: auto; margin-top: -10px; width: min(460px, 100%); }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); padding: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(4, 16, 14, .98); flex-direction: column; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 12px; }
  .header-inner { min-height: 78px; }
  .section, .section-dark { padding: 88px 0; }
  .class-name-bg { font-size: clamp(56px, 17vw, 130px); letter-spacing: 2px; }
  .class-tabs { gap: 14px; }
  .download-inner { flex-direction: column; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1200px); }
  .hero-copy h1 { font-size: clamp(44px, 14vw, 74px); }
  .section-title h2, .dark-banner h2, .download-strip h2 { letter-spacing: 3px; }
  .hero-stats { gap: 10px; }
  .hero-stats div { min-width: calc(50% - 5px); }
  .class-visual { max-height: 380px; }
  .class-panel { grid-template-columns: 1fr; }
  .class-panel-icon { width: 64px; }
  .class-panel h3 { font-size: 26px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-actions, .download-actions { flex-direction: column; align-items: stretch; }
}


/* Event Schedule + Requirements */
.event-schedule {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(209,165,75,.14), transparent 30%),
    radial-gradient(circle at 18% 74%, rgba(105,68,143,.14), transparent 28%),
    linear-gradient(135deg, #051511, #061b16 48%, #020b09);
}

.event-grid,
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: unset;
  gap: 28px;
}

.event-card,
.requirement-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(209,165,75,.26);
  background:
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
    radial-gradient(circle at 20% 0%, rgba(209,165,75,.08), transparent 32%);
  box-shadow: 0 22px 55px rgba(0,0,0,.2);
}

.event-card::before,
.requirement-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.035);
  pointer-events: none;
}

.event-card {
  min-height: 360px;
  padding: 34px;
}

.event-card-head,
.requirement-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.event-icon,
.requirement-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  color: #1f1204;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5db8d, #d1a54b 52%, #8f5f1f);
  box-shadow: 0 14px 28px rgba(209,165,75,.16);
  font-size: 24px;
}

.event-card h3,
.requirement-card h3 {
  margin: 0;
  color: var(--gold);
  font-family: var(--cinzel);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1;
  text-transform: uppercase;
}

.event-card-head p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.52);
  font-family: var(--cinzel);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.event-day {
  width: max-content;
  max-width: 100%;
  margin: 34px auto 20px;
  padding: 12px 18px;
  color: var(--gold);
  border: 1px solid rgba(209,165,75,.28);
  background: rgba(209,165,75,.06);
  font-family: var(--cinzel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.event-time-row,
.event-times span {
  border: 1px solid rgba(209,165,75,.15);
  background: rgba(209,165,75,.045);
}

.event-time-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  color: var(--gold);
  font-family: var(--cinzel);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.event-time-row em {
  color: rgba(255,255,255,.28);
  font-family: var(--inter);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.event-times {
  display: grid;
  gap: 12px;
}

.event-times span {
  display: block;
  padding: 15px 18px;
  color: var(--gold);
  font-family: var(--cinzel);
  font-size: 17px;
  font-weight: 700;
}

.requirements {
  overflow: hidden;
}

.requirement-card {
  padding: 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,.38), rgba(255,255,255,.16)),
    radial-gradient(circle at 80% 0%, rgba(209,165,75,.15), transparent 30%);
    max-width: 960px;
margin: 0 auto;
width: 100%;
}

.requirement-head {
  padding: 26px 30px;
  border-bottom: 1px solid rgba(157,107,31,.22);
}

.requirement-icon {
  width: 44px;
  height: 44px;
  font-size: 20px;
}

.requirement-head h3 {
  color: var(--ink);
  font-size: 26px;
}

.requirement-card dl {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 24px 30px 30px;
}

.requirement-card dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16,37,31,.08);
}

.requirement-card dl div:last-child {
  border-bottom: 0;
}

.requirement-card dt {
  color: var(--gold-2);
  font-family: var(--cinzel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.requirement-card dd {
  margin: 0;
  color: rgba(16,37,31,.82);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .event-grid,
  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .event-card,
  .requirement-head,
  .requirement-card dl {
    padding-left: 22px;
    padding-right: 22px;
  }

  .event-card-head,
  .requirement-head {
    align-items: flex-start;
  }

  .event-time-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .requirement-card dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* Carousel, glow effects, parallax, animations, and custom Ran-style cursor */
html,
body {
  cursor: url('assets/ui/ran-cursor.svg') 4 4, auto;
}

a,
button,
.btn,
.class-tab,
.hero-dot,
.hero-arrow,
input,
select,
textarea {
  cursor: url('assets/ui/ran-cursor-pointer.svg') 24 24, pointer;
}

.hero {
  min-height: calc(100vh - 86px);
}

.hero-bg {
  display: none;
}

.hero-carousel,
.hero-slide,
.slide-shade {
  position: absolute;
  inset: 0;
}

.hero-carousel {
  z-index: -3;
  overflow: hidden;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.04);
  background:
    radial-gradient(circle at 55% 18%, rgba(48, 132, 196, .24), transparent 24%),
    radial-gradient(circle at 70% 40%, rgba(18, 65, 87, .5), transparent 34%),
    linear-gradient(90deg, rgba(2, 9, 8, .92), rgba(5, 21, 18, .58) 42%, rgba(2, 7, 6, .42) 100%),
    var(--slide-bg);
  background-size: cover;
  background-position: center;
  filter: brightness(.46) saturate(.88);
  transition: opacity 1s ease, transform 5.8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-shade {
  background:
    linear-gradient(to bottom, transparent 68%, var(--bg) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 120px);
}

.hero-carousel-controls {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border: 1px solid rgba(209,165,75,.18);
  border-radius: 999px;
  background: rgba(3, 12, 10, .42);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(209,165,75,.25);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255,255,255,.05);
  font-size: 28px;
  line-height: 1;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.hero-arrow:hover {
  transform: translateY(-2px);
  background: rgba(209,165,75,.12);
  box-shadow: 0 0 22px rgba(209,165,75,.22);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(209,165,75,.44);
  border-radius: 50%;
  background: transparent;
  transition: width .25s ease, background .25s ease, box-shadow .25s ease;
}

.hero-dot.active {
  width: 30px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(209,165,75,.45);
}

.hero-copy h1 {
  text-shadow: 0 0 34px rgba(209,165,75,.08), 0 22px 55px rgba(0,0,0,.5);
}

.hero-logo {
  animation: floatLogo 5s ease-in-out infinite;
}

.btn,
.event-card,
.requirement-card,
.feature-grid article,
.campus-image,
.class-tab img,
.campus-emblem,
.hero-stats div,
.class-panel {
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease,
    filter .28s ease,
    background .28s ease;
}

.glow-link,
.btn-gold,
.btn-ghost {
  position: relative;
  overflow: hidden;
}

.glow-link::before,
.btn-gold::before,
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: rotate(18deg) translateX(-120%);
  transition: transform .6s ease;
}

.glow-link:hover::before,
.btn-gold:hover::before,
.btn-ghost:hover::before {
  transform: rotate(18deg) translateX(420%);
}

.btn:hover,
.feature-grid article:hover,
.event-card:hover,
.requirement-card:hover,
.hero-stats div:hover {
  border-color: rgba(209,165,75,.46);
  box-shadow: 0 0 24px rgba(209,165,75,.14), 0 24px 55px rgba(0,0,0,.24);
}

.feature-grid article:hover,
.event-card:hover,
.requirement-card:hover,
.hero-stats div:hover {
  transform: translateY(-6px);
}

.campus-image:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(209,165,75,.65);
  box-shadow: 0 0 28px rgba(209,165,75,.16), var(--shadow);
}

.campus-image img {
  transition: transform 1.1s ease, filter .35s ease;
}

.campus-image:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.class-tab:hover img,
.class-tab.active img,
.campus-emblem:hover {
  filter: drop-shadow(0 0 10px rgba(209,165,75,.38)) drop-shadow(0 8px 16px rgba(0,0,0,.18));
}

.class-visual {
  animation: floatCharacter 4.8s ease-in-out infinite;
}

.class-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(209,165,75,.5);
  box-shadow: 0 0 28px rgba(209,165,75,.12), 0 20px 45px rgba(33,20,7,.12);
}

.section-title h2,
.dark-banner h2,
.download-strip h2 {
  text-shadow: 0 0 28px rgba(209,165,75,.12);
}

.reveal-up,
.reveal-float {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-float {
  transform: translateY(18px) scale(.98);
}

.reveal-up.in-view,
.reveal-float.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.event-card:nth-child(2),
.requirement-card:nth-child(2),
.campus-card:nth-child(2) {
  transition-delay: .08s;
}

.feature-grid article {
  position: relative;
  overflow: hidden;
}

.feature-grid article::after,
.event-card::after,
.requirement-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209,165,75,.5), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}

.feature-grid article:hover::after,
.event-card:hover::after,
.requirement-card:hover::after {
  opacity: 1;
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    filter: drop-shadow(0 35px 60px rgba(0,0,0,.45));
  }
  50% {
    transform: translateY(-12px) rotate(.4deg);
    filter: drop-shadow(0 42px 70px rgba(209,165,75,.14));
  }
}

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

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

@media (max-width: 720px) {
  .hero-carousel-controls {
    bottom: 18px;
    gap: 10px;
  }

  .hero-arrow {
    width: 30px;
    height: 30px;
    font-size: 23px;
  }

  .hero-dot.active {
    width: 22px;
  }
}


/* Latest lively hero update: no parallax and no big hero logo */
.lively-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .72fr);
  align-items: center;
}

.hero-copy.reveal-up.in-view,
.hero-live-panel.reveal-up.in-view {
  transform: translateY(0);
}

.hero-live-panel {
  display: grid;
  gap: 18px;
  justify-self: end;
  width: min(390px, 100%);
}

.live-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(209,165,75,.24);
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    radial-gradient(circle at 20% 0%, rgba(209,165,75,.12), transparent 36%);
  box-shadow: 0 20px 45px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 35%, rgba(255,255,255,.11) 48%, transparent 62% 100%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}

.live-card:hover {
  transform: translateY(-6px);
  border-color: rgba(209,165,75,.55);
  box-shadow: 0 0 28px rgba(209,165,75,.18), 0 24px 55px rgba(0,0,0,.28);
}

.live-card:hover::before {
  transform: translateX(120%);
}

.live-card p {
  margin: 0 0 9px;
  color: rgba(255,255,255,.58);
  font-family: var(--cinzel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.live-card strong {
  display: block;
  color: var(--gold);
  font-family: var(--cinzel);
  font-size: clamp(26px, 3vw, 30px);
  line-height: 1;
  text-transform: uppercase;
}

.live-card span:not(.pulse-dot) {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}

.server-online {
  padding-left: 58px;
}

.pulse-dot {
  position: absolute;
  left: 24px;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  /* background: #72ff93; */
  box-shadow: 0 0 0 0 rgba(114,255,147,.5);
  background:red;
  animation: onlinePulse 1.5s ease-out infinite;
}

.academy-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.academy-icons img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.25));
  transition: transform .25s ease, filter .25s ease;
}

.academy-icons img:hover {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 0 14px rgba(209,165,75,.42));
}

/* Animated magical sparks */
.spark-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.spark-layer span {
  position: absolute;
  width: var(--spark-size);
  height: var(--spark-size);
  border-radius: 50%;
  background: rgba(247, 210, 119, .78);
  box-shadow: 0 0 12px rgba(247,210,119,.7);
  opacity: 0;
  animation: sparkFloat var(--spark-duration) linear infinite;
  animation-delay: var(--spark-delay);
}

.hero-grid,
.hero-carousel-controls {
  position: relative;
  z-index: 3;
}

.hero-slide.active {
  animation: heroKenBurns 7s ease-in-out forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 22% 26%, rgba(209,165,75,.12), transparent 23%),
    radial-gradient(circle at 80% 34%, rgba(105,68,143,.14), transparent 26%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Music toggle */
.music-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(209,165,75,.38);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(3,12,10,.78);
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  font-family: var(--cinzel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.music-toggle:hover,
.music-toggle.playing {
  transform: translateY(-3px);
  background: rgba(209,165,75,.13);
  box-shadow: 0 0 24px rgba(209,165,75,.22), 0 12px 30px rgba(0,0,0,.28);
}

.music-toggle.blocked {
  animation: musicAttention 1.2s ease-in-out infinite;
}

.music-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #1f1204;
  background: linear-gradient(135deg, #f5db8d, #d1a54b 50%, #8f5f1f);
}

.section-title.in-view h2,
.hero-copy.in-view h1 {
  animation: goldenGlow 2.6s ease-in-out infinite alternate;
}

@keyframes onlinePulse {
  0% {
    /* box-shadow: 0 0 0 0 rgba(114,255,147,.5); */
     box-shadow: 0 0 0 0 rgba(255,0,0,.5);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(114,255,147,0);
  }
}

@keyframes sparkFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(.7);
  }
  18% {
    opacity: .85;
  }
  80% {
    opacity: .55;
  }
  100% {
    opacity: 0;
    transform: translate3d(30px, -110px, 0) scale(1.25);
  }
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1.09);
  }
}

@keyframes goldenGlow {
  0% {
    text-shadow: 0 0 16px rgba(209,165,75,.08), 0 18px 45px rgba(0,0,0,.28);
  }
  100% {
    text-shadow: 0 0 26px rgba(209,165,75,.18), 0 22px 55px rgba(0,0,0,.34);
  }
}

@keyframes musicAttention {
  0%, 100% {
    box-shadow: 0 0 0 rgba(209,165,75,0), 0 12px 30px rgba(0,0,0,.28);
  }
  50% {
    box-shadow: 0 0 24px rgba(209,165,75,.33), 0 12px 30px rgba(0,0,0,.28);
  }
}

@media (max-width: 1024px) {
  .lively-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-live-panel {
    justify-self: start;
    width: min(560px, 100%);
  }
}

@media (max-width: 620px) {
  .hero-live-panel {
    gap: 12px;
  }

  .live-card {
    padding: 20px;
  }

  .server-online {
    padding-left: 52px;
  }

  .music-toggle {
    right: 14px;
    bottom: 14px;
  }
}


/* Animated Ran Online cursor */
@media (pointer: fine) {
  html,
  body,
  a,
  button,
  .btn,
  .class-tab,
  .hero-dot,
  .hero-arrow,
  .site-intro,
  .site-intro *,
  .character-showcase,
  .character-showcase *,
  .launch-popup,
  .launch-popup *,
  input,
  select,
  textarea {
    cursor: none !important;
  }

  .ran-custom-cursor {
    position: fixed;
    left: 0;
    top: 14px;
    z-index: 2147483647;
    width: 46px;
    height: 46px;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0);
    transition: opacity .2s ease;
    mix-blend-mode: normal;
  }

  .ran-custom-cursor.visible {
    opacity: 1;
  }

  .cursor-aura,
  .cursor-ring,
  .cursor-blade,
  .cursor-core {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
  }

  .cursor-aura {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(209,165,75,.22), rgba(105,68,143,.12) 38%, transparent 68%);
    filter: blur(2px);
    animation: cursorAuraPulse 1.8s ease-in-out infinite;
  }

  .cursor-ring {
    inset: 6px;
    border: 1px solid rgba(209,165,75,.55);
    border-radius: 50%;
    box-shadow:
      0 0 14px rgba(209,165,75,.35),
      inset 0 0 10px rgba(209,165,75,.18);
    animation: cursorSpin 2.4s linear infinite;
  }

  .cursor-ring::before,
  .cursor-ring::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f5db8d;
    box-shadow: 0 0 10px rgba(245,219,141,.85);
    transform: translateX(-50%);
  }

  .cursor-ring::after {
    top: auto;
    bottom: -4px;
    background: #8d66c5;
    box-shadow: 0 0 10px rgba(141,102,197,.8);
  }

  .cursor-blade {
    left: 7px;
    top: 4px;
    width: 26px;
    height: 34px;
    background: linear-gradient(135deg, #fff7bf 0%, #d1a54b 42%, #7d4b19 100%);
    clip-path: polygon(0 0, 100% 55%, 58% 61%, 39% 100%);
    filter:
      drop-shadow(0 2px 1px rgba(0,0,0,.55))
      drop-shadow(0 0 8px rgba(209,165,75,.5));
    transform: rotate(-9deg);
    animation: cursorBladeGlow 1.4s ease-in-out infinite alternate;
  }

  .cursor-blade::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 5px;
    width: 9px;
    height: 20px;
    background: rgba(255,255,255,.45);
    clip-path: polygon(0 0, 100% 50%, 58% 56%, 36% 100%);
  }

  .cursor-core {
    left: 19px;
    top: 19px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff4aa;
    box-shadow:
      0 0 10px rgba(255,244,170,.95),
      0 0 18px rgba(209,165,75,.55);
    animation: cursorCorePulse 1s ease-in-out infinite;
  }

  .ran-custom-cursor.cursor-hover .cursor-aura {
    background: radial-gradient(circle, rgba(209,165,75,.34), rgba(141,102,197,.22) 40%, transparent 72%);
  }

  .ran-custom-cursor.cursor-hover .cursor-ring {
    border-color: rgba(245,219,141,.9);
    animation-duration: .85s;
    box-shadow:
      0 0 20px rgba(209,165,75,.55),
      inset 0 0 12px rgba(245,219,141,.28);
  }

  .ran-custom-cursor.cursor-hover .cursor-blade {
    transform: rotate(-9deg) scale(1.1);
  }

  .ran-custom-cursor.cursor-down .cursor-ring {
    transform: scale(.82);
  }

  .ran-custom-cursor.cursor-down .cursor-blade {
    transform: rotate(-9deg) scale(.92);
  }

  .cursor-trail {
    position: fixed;
    z-index: 2147483646;
    width: var(--trail-size, 7px);
    height: var(--trail-size, 7px);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(245,219,141,.9), rgba(209,165,75,.35) 42%, transparent 70%);
    box-shadow: 0 0 12px rgba(209,165,75,.42);
    transform: translate3d(-100px, -100px, 0);
    opacity: 0;
  }

  .ran-cursor-bursts {
    position: fixed;
    inset: 0;
    z-index: 2147483645;
    pointer-events: none;
  }

  .cursor-burst {
    position: fixed;
    left: var(--x);
    top: var(--y);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f5db8d;
    box-shadow: 0 0 14px rgba(245,219,141,.9);
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0);
    animation: cursorBurst .55s ease-out forwards;
  }
}

@media (pointer: coarse) {
  .ran-custom-cursor,
  .ran-cursor-bursts,
  .cursor-trail {
    display: none !important;
  }
}

@keyframes cursorSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cursorAuraPulse {
  0%, 100% {
    transform: scale(.86);
    opacity: .6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes cursorBladeGlow {
  from {
    filter:
      drop-shadow(0 2px 1px rgba(0,0,0,.55))
      drop-shadow(0 0 7px rgba(209,165,75,.44));
  }
  to {
    filter:
      drop-shadow(0 2px 1px rgba(0,0,0,.55))
      drop-shadow(0 0 16px rgba(245,219,141,.72));
  }
}

@keyframes cursorCorePulse {
  0%, 100% {
    transform: scale(.85);
    opacity: .75;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

@keyframes cursorBurst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(34px) scale(.15);
  }
}


/* Opening slideshow intro */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 10080;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s ease, visibility .7s ease;
  background: #020806;
}

.site-intro.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-intro.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-intro-slides,
.intro-slide,
.site-intro-overlay {
  position: absolute;
  inset: 0;
}

.intro-slide {
  opacity: 0;
  background-image:
    linear-gradient(180deg, rgba(4,12,10,.04), rgba(2,8,7,.2)),
    var(--intro-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.07);
  filter: saturate(1.12) contrast(1.08) brightness(.98);
  transition: opacity 1.15s ease, transform 4.2s ease;
}

.intro-slide.active {
  opacity: 1;
  transform: scale(1);
}

.site-intro-overlay {
  background:
    radial-gradient(circle at 50% 50%, rgba(245,219,141,.04), transparent 28%),
    radial-gradient(circle at 20% 20%, rgba(245,219,141,.08), transparent 18%),
    linear-gradient(180deg, rgba(4,16,14,.02), rgba(2,8,7,.24) 62%, rgba(2,8,7,.72));
  backdrop-filter: none;
}

.site-intro::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(245,219,141,.16);
  z-index: 1;
  pointer-events: none;
}

.site-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 34%, rgba(245,219,141,.14) 46%, transparent 58%);
  transform: translateX(-72%);
  animation: introShine 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.site-intro-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 40px 24px clamp(58px, 8vh, 96px);
}

.site-intro-content::before {
  content: "";
  position: absolute;
  left: 50%;
  /* bottom: clamp(18px, 3vh, 30px); */
  bottom: 0;
  transform: translateX(-50%);
  /* width: min(980px, calc(100vw - 36px)); */
  width: 100%;
  /* height: min(360px, 48vh); */
  height: min(520px, 88vh);
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, rgba(2,8,7,0), rgba(2,8,7,.28) 18%, rgba(2,8,7,.62) 55%, rgba(2,8,7,.82) 100%);
  filter: blur(1px);
  pointer-events: none;
  z-index: -1;
}

.site-intro-logo {
  width: min(145px, 34vw);
  margin-bottom: 12px;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.55)) drop-shadow(0 0 26px rgba(209,165,75,.35));
  animation: introLogoFloat 3s ease-in-out infinite;
}

.site-intro-kicker {
  margin: 0 0 10px;
  color: rgba(245,219,141,.98);
  font-family: var(--cinzel);
  font-size: clamp(12px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: clamp(4px, .5vw, 8px);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.52), 0 0 14px rgba(245,219,141,.18);
}

.site-intro-title {
  margin: 0;
  font-family: var(--cinzel);
  font-size: clamp(34px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: clamp(2px, .5vw, 6px);
  line-height: .95;
  text-transform: uppercase;
  background: linear-gradient(#fffbe0, #f5db8d 32%, #d1a54b 58%, #8b5b17);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(209,165,75,.26), 0 5px 20px rgba(0,0,0,.48);
  animation: introTitlePulse 2.8s ease-in-out infinite;
}

.site-intro-subtitle {
  margin: 18px 0 0;
  max-width: 700px;
  color: rgba(255,255,255,.98);
  font-size: clamp(16px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(0,0,0,.56), 0 0 12px rgba(0,0,0,.24);
}

.site-intro-location {
  min-height: 1.1em;
  margin: 24px 0 0;
  color: var(--gold-light);
  font-family: var(--cinzel);
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: clamp(2px, .45vw, 5px);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(209,165,75,.38), 0 4px 16px rgba(0,0,0,.52);
  transition: opacity .38s ease, transform .38s ease, filter .38s ease;
}

.site-intro-content.is-switching .site-intro-location,
.site-intro-content.is-switching .site-intro-subtitle {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
}

.site-intro-skip {
  position: absolute;
  top: clamp(24px, 4vw, 42px);
  right: clamp(24px, 4vw, 42px);
  z-index: 5;
  min-width: 132px;
  padding: 13px 18px;
  border: 1px solid rgba(245,219,141,.34);
  border-radius: 999px;
  background: rgba(3,12,10,.58);
  color: rgba(255,255,255,.9);
  font-family: var(--cinzel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(209,165,75,.14), 0 12px 28px rgba(0,0,0,.28);
  transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-intro-skip:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(209,165,75,.12);
  box-shadow: 0 0 28px rgba(209,165,75,.34), 0 16px 34px rgba(0,0,0,.36);
}

.site-intro-progress {
  width: min(460px, 78vw);
  height: 6px;
  margin-top: 28px;
  border-radius: 999px;
  border: 1px solid rgba(245,219,141,.22);
  background: rgba(255,255,255,.08);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(209,165,75,.16);
}

.site-intro-progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5b17, #d1a54b, #fff1b0);
  box-shadow: 0 0 20px rgba(245,219,141,.55);
  transition: width .9s ease;
}

.site-intro-dots {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.site-intro-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  box-shadow: 0 0 0 1px rgba(245,219,141,.16);
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}

.site-intro-dot.active {
  background: var(--gold-light);
  transform: scale(1.25);
  box-shadow: 0 0 14px rgba(245,219,141,.78);
}

body.intro-open,
body.character-showcase-open,
body.launch-popup-open {
  overflow: hidden;
}

@keyframes introLogoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.03); }
}

@keyframes introTitlePulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(209,165,75,.18)); }
  50% { filter: drop-shadow(0 0 24px rgba(245,219,141,.35)); }
}

@keyframes introShine {
  0%, 45% { transform: translateX(-72%); opacity: .1; }
  60% { opacity: .72; }
  100% { transform: translateX(76%); opacity: .08; }
}


/* Character showcase sequence */
.character-showcase {
  position: fixed;
  inset: 0;
  z-index: 10090;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s ease, visibility .6s ease;
  background: #020806;
}

.character-showcase.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.character-showcase.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.character-showcase-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(245,219,141,.10), transparent 22%),
    radial-gradient(circle at 20% 25%, rgba(141,102,197,.12), transparent 18%),
    radial-gradient(circle at 78% 24%, rgba(209,165,75,.1), transparent 16%),
    linear-gradient(180deg, rgba(5,17,15,.95), rgba(2,8,7,.96));
}

.character-showcase::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(245,219,141,.14);
  z-index: 1;
  pointer-events: none;
}

.character-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 32%, rgba(245,219,141,.1) 46%, transparent 60%);
  transform: translateX(-72%);
  animation: introShine 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.character-showcase-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 26px;
  text-align: center;
}

.character-showcase-logo {
  width: min(120px, 28vw);
  margin-bottom: 8px;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.5)) drop-shadow(0 0 20px rgba(209,165,75,.24));
}

.character-showcase-kicker {
  margin: 0;
  color: rgba(245,219,141,.94);
  font-family: var(--cinzel);
  font-size: clamp(12px, 1.8vw, 16px);
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.44);
}

.character-showcase-title {
  margin: 10px 0 0;
  font-family: var(--cinzel);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(#fffbe0, #f5db8d 32%, #d1a54b 58%, #8b5b17);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 26px rgba(209,165,75,.18), 0 4px 16px rgba(0,0,0,.42);
}

.character-showcase-stage {
  position: relative;
  width: min(760px, 92vw);
  height: min(66vh, 760px);
  margin-top: 18px;
}

.character-showcase-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1%;
  width: min(560px, 72vw);
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209,165,75,.20), rgba(141,102,197,.10) 36%, transparent 72%);
  transform: translateX(-50%);
  filter: blur(6px);
}

.character-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(22px) scale(.96);
  transition: opacity .5s ease, transform .5s ease, filter .5s ease;
  filter: blur(8px);
}

.character-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.character-slide img {
  max-width: min(90vw, 620px);
  max-height: min(62vh, 680px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.52)) drop-shadow(0 0 30px rgba(209,165,75,.08));
}

.character-showcase-meta {
  position: relative;
  width: min(760px, 92vw);
  margin-top: 6px;
  padding: 18px 20px 14px;
}

.character-showcase-meta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(2,8,7,.18), rgba(2,8,7,.58) 35%, rgba(2,8,7,.84));
  z-index: -1;
}

.character-showcase-name {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--cinzel);
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(209,165,75,.28), 0 3px 12px rgba(0,0,0,.48);
  transition: opacity .3s ease, transform .3s ease;
}

.character-showcase-copy {
  margin: 10px auto 0;
  max-width: 620px;
  color: rgba(255,255,255,.9);
  font-size: clamp(14px, 1.8vw, 18px);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.42);
}

.character-showcase-progress {
  width: min(440px, 74vw);
  height: 6px;
  margin: 18px auto 0;
  border-radius: 999px;
  border: 1px solid rgba(245,219,141,.22);
  background: rgba(255,255,255,.07);
  overflow: hidden;
  box-shadow: 0 0 18px rgba(209,165,75,.12);
}

.character-showcase-progress span {
  display: block;
  width: 12.5%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5b17, #d1a54b, #fff1b0);
  box-shadow: 0 0 20px rgba(245,219,141,.52);
  transition: width .4s ease;
}

.character-showcase-count {
  margin: 10px 0 0;
  color: rgba(255,255,255,.76);
  font-family: var(--cinzel);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .character-showcase::before {
    inset: 12px;
  }

  .character-showcase-stage {
    height: min(56vh, 540px);
  }

  .character-slide img {
    max-height: min(52vh, 500px);
  }

  .character-showcase-meta {
    padding-inline: 14px;
  }
}


/* Opening launch popup */
.launch-popup {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

.launch-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.launch-popup-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 219, 141, .13), transparent 20%),
    radial-gradient(circle at 82% 22%, rgba(209, 165, 75, .12), transparent 22%),
    radial-gradient(circle at 50% 48%, rgba(209,165,75,.24), transparent 34%),
    linear-gradient(135deg, rgba(2, 9, 8, .9), rgba(3, 12, 10, .97));
  backdrop-filter: blur(11px);
  cursor: default;
}

.launch-popup-card {
  position: relative;
  width: min(820px, 94vw);
  min-height: min(570px, 86vh);
  overflow: hidden;
  padding: clamp(54px, 7vw, 78px) clamp(28px, 7vw, 74px);
  border: 1px solid rgba(245, 219, 141, .5);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.11), transparent 28%),
    radial-gradient(circle at 50% 0%, rgba(245,219,141,.24), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(177, 109, 22, .19), transparent 30%),
    linear-gradient(145deg, rgba(4,16,14,.99), rgba(2,9,8,.99));
  box-shadow:
    0 42px 120px rgba(0,0,0,.72),
    0 0 0 1px rgba(255,255,255,.07) inset,
    0 0 58px rgba(209,165,75,.28),
    0 0 130px rgba(245,219,141,.08);
  text-align: center;
  transform: translateY(28px) scale(.92);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
  animation: launchCardFloat 4.5s ease-in-out infinite;
}

.launch-popup.is-visible .launch-popup-card {
  transform: translateY(0) scale(1);
}

.launch-popup-card::before,
.launch-popup-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.launch-popup-card::before {
  inset: 16px;
  border: 1px solid rgba(209,165,75,.32);
  border-radius: 7px;
  box-shadow: 0 0 28px rgba(209,165,75,.12) inset;
}

.launch-popup-card::after {
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(245,219,141,.17) 44%, transparent 54% 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 92px);
  opacity: .7;
  transform: translateX(-62%);
  animation: launchShine 3.8s ease-in-out infinite;
}

.launch-popup-aura {
  position: absolute;
  left: 50%;
  top: -210px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,219,141,.28), rgba(209,165,75,.12) 38%, transparent 70%);
  transform: translateX(-50%);
  animation: launchAuraPulse 2.6s ease-in-out infinite;
}

.launch-popup-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 0;
  width: min(560px, 84vw);
  aspect-ratio: 1;
  border: 1px solid rgba(245,219,141,.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 34px rgba(209,165,75,.1),
    0 0 120px rgba(209,165,75,.06) inset;
  animation: launchRingSpin 18s linear infinite;
}

.launch-popup-ring::before,
.launch-popup-ring::after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: inherit;
  border: 1px dashed rgba(209,165,75,.18);
}

.launch-popup-ring::after {
  inset: 76px;
  border-style: solid;
  opacity: .55;
}

.launch-popup-sparks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.launch-popup-sparks i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 14px rgba(245,219,141,.9), 0 0 28px rgba(209,165,75,.45);
  opacity: .75;
  animation: launchSparkRise 4.5s ease-in-out infinite;
}

.launch-popup-sparks i:nth-child(1) { left: 10%; top: 78%; animation-delay: 0s; }
.launch-popup-sparks i:nth-child(2) { left: 20%; top: 22%; animation-delay: .6s; transform: scale(.7); }
.launch-popup-sparks i:nth-child(3) { left: 34%; top: 88%; animation-delay: 1.1s; transform: scale(.9); }
.launch-popup-sparks i:nth-child(4) { left: 48%; top: 15%; animation-delay: .25s; transform: scale(.55); }
.launch-popup-sparks i:nth-child(5) { left: 64%; top: 82%; animation-delay: 1.45s; }
.launch-popup-sparks i:nth-child(6) { left: 77%; top: 28%; animation-delay: .85s; transform: scale(.75); }
.launch-popup-sparks i:nth-child(7) { left: 88%; top: 72%; animation-delay: 1.85s; transform: scale(.6); }
.launch-popup-sparks i:nth-child(8) { left: 54%; top: 92%; animation-delay: 2.2s; transform: scale(.8); }

.launch-popup-close {
  position: absolute;
  right: 24px;
  top: 22px;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(245,219,141,.26);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-size: 30px;
  line-height: 1;
  transition: .25s ease;
  box-shadow: 0 0 18px rgba(209,165,75,.08);
}

.launch-popup-close:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(209,165,75,.12);
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 22px rgba(209,165,75,.35);
}

.launch-popup-logo {
  position: relative;
  z-index: 2;
  width: min(230px, 60vw);
  margin-bottom: clamp(18px, 3vw, 26px);
  filter: drop-shadow(0 22px 36px rgba(0,0,0,.6)) drop-shadow(0 0 28px rgba(209,165,75,.35));
  animation: launchLogoPulse 3s ease-in-out infinite;
  margin: 0 auto 15px;
}

.launch-popup-kicker {
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
  color: var(--gold);
  letter-spacing: 6px;
}

.launch-popup h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--cinzel);
  font-size: clamp(44px, 9vw, 84px);
  line-height: .9;
  letter-spacing: clamp(2px, .6vw, 6px);
  text-transform: uppercase;
  background: linear-gradient(#fffbe0, #f5db8d 32%, #d1a54b 58%, #8b5b17);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(209,165,75,.24);
  animation: launchTitleGlow 2.7s ease-in-out infinite;
}

.launch-popup-message {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 24px 0 0;
  padding: 12px 22px;
  border: 1px solid rgba(245,219,141,.22);
  border-radius: 999px;
  background: rgba(209,165,75,.08);
  color: rgba(255,255,255,.94);
  font-family: var(--cinzel);
  font-size: clamp(22px, 4.2vw, 36px);
  font-weight: 900;
  letter-spacing: clamp(2px, .6vw, 6px);
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(209,165,75,.1) inset;
}

.launch-popup-message q{display: block;quotes: none;}

.launch-popup-divider {
  position: relative;
  z-index: 2;
  display: block;
  width: min(220px, 52vw);
  height: 1px;
  margin: 34px auto 30px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), transparent);
  box-shadow: 0 0 20px rgba(209,165,75,.75);
}

.launch-popup-divider::before,
.launch-popup-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 16px rgba(245,219,141,.8);
  transform: translateY(-50%);
}

.launch-popup-divider::before { left: 24%; }
.launch-popup-divider::after { right: 24%; }

.launch-popup-button {
  position: relative;
  z-index: 2;
  min-width: 220px;
  min-height: 54px;
  font-size: 14px;
  letter-spacing: 2px;
  box-shadow: 0 0 28px rgba(209,165,75,.24);
  animation: launchButtonGlow 2.2s ease-in-out infinite;
}

body.launch-popup-open {
  overflow: hidden;
}

@keyframes launchAuraPulse {
  0%, 100% {
    opacity: .62;
    transform: translateX(-50%) scale(.9);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.12);
  }
}

@keyframes launchCardFloat {
  0%, 100% { box-shadow: 0 42px 120px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.07) inset, 0 0 58px rgba(209,165,75,.28), 0 0 130px rgba(245,219,141,.08); }
  50% { box-shadow: 0 48px 130px rgba(0,0,0,.76), 0 0 0 1px rgba(255,255,255,.09) inset, 0 0 76px rgba(209,165,75,.36), 0 0 160px rgba(245,219,141,.12); }
}

@keyframes launchShine {
  0%, 42% { transform: translateX(-68%); opacity: .12; }
  58% { opacity: .75; }
  100% { transform: translateX(68%); opacity: .12; }
}

@keyframes launchRingSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes launchSparkRise {
  0%, 100% { opacity: 0; transform: translateY(22px) scale(.55); }
  18% { opacity: .85; }
  50% { opacity: .95; transform: translateY(-20px) scale(1); }
  82% { opacity: .35; }
}

@keyframes launchLogoPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.035); }
}

@keyframes launchTitleGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(209,165,75,.18)); }
  50% { filter: drop-shadow(0 0 22px rgba(245,219,141,.32)); }
}

@keyframes launchButtonGlow {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 28px rgba(209,165,75,.24); }
  50% { transform: translateY(-2px); box-shadow: 0 0 42px rgba(209,165,75,.42); }
}

@media (max-width: 680px) {
  .site-intro::before {
    inset: 12px;
  }

  .site-intro-subtitle {
    max-width: 92vw;
    letter-spacing: .05em;
  }

  .site-intro-progress {
    width: min(340px, 84vw);
  }

  .site-intro-skip {
    top: 18px;
    right: 18px;
    min-width: auto;
    padding: 11px 14px;
    font-size: 10px;
  }

  .site-intro-location {
    margin-top: 18px;
  }

  .launch-popup-card {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 48px;
  }

  .launch-popup-close {
    right: 16px;
    top: 16px;
  }

  .launch-popup-kicker {
    letter-spacing: 4px;
  }
}

@media (max-width: 480px) {
  .launch-popup {
    padding: 14px;
  }

  .launch-popup-card {
    width: 100%;
    padding-inline: 20px;
  }

  .launch-popup-message {
    display: block;
    letter-spacing: 2px;
    border-radius: 12px;
  }

  .launch-popup-button {
    width: 100%;
  }
}
