/* v3-sidebar */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700&display=swap");

:root {
  --bg: #120904;
  --text: #f4e0b3;
  --text-soft: #dbc89e;
  --muted: #be9a63;
  --line: rgba(171, 126, 58, 0.78);
  --line-strong: rgba(224, 181, 95, 0.88);
  --title-gold: #f7deb0;
  --title-gold-shadow:
    0 1px 0 rgba(110, 58, 16, 0.82),
    0 8px 24px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(255, 188, 68, 0.12);
  --content-width: 1440px;
  --hero-parallax-x: 0px;
  --hero-parallax-y: 0px;
  --scroll-drift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 198, 84, 0.17), transparent 36%),
    linear-gradient(180deg, rgba(6, 3, 1, 0.42), rgba(6, 3, 1, 0.9)),
    var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 4, 2, 0.2), rgba(7, 4, 2, 0.88)),
    url("../assets/draft-full.png") center top / cover no-repeat;
  filter: saturate(1.08) brightness(0.48) blur(1.5px);
  transform: scale(1.04);
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(252, 199, 81, 0.16), transparent 28%),
    radial-gradient(circle at 80% 22%, rgba(217, 94, 45, 0.18), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(111, 37, 18, 0.2), transparent 32%);
  z-index: -2;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-glow,
.page-noise,
.embers {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.cursor-dust {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 40;
  mix-blend-mode: screen;
}

.page-glow {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 214, 120, 0.2), transparent 28%),
    radial-gradient(circle at 12% 44%, rgba(190, 73, 16, 0.12), transparent 26%),
    radial-gradient(circle at 85% 50%, rgba(175, 118, 23, 0.14), transparent 28%);
  z-index: -1;
}

.page-noise {
  background-image:
    linear-gradient(transparent 0, rgba(255, 255, 255, 0.02) 50%, transparent 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px);
  background-size: auto, 24px 24px, 36px 36px;
  mix-blend-mode: soft-light;
  opacity: 0.55;
  z-index: 0;
}

.ember {
  position: absolute;
  bottom: -10vh;
  left: var(--left);
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 231, 186, 0.95) 0%, rgba(246, 178, 70, 0.85) 35%, rgba(246, 103, 35, 0.18) 70%, transparent 100%);
  opacity: 0;
  filter: blur(0.4px);
  animation: ember-rise var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.cursor-dust__particle {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(255, 247, 227, 0.98) 0%, hsla(var(--hue), 100%, 74%, var(--twinkle)) 46%, hsla(var(--hue), 96%, 54%, 0.14) 76%, transparent 100%);
  box-shadow:
    0 0 14px hsla(var(--hue), 100%, 74%, 0.46),
    0 0 24px hsla(var(--hue), 92%, 58%, 0.22);
  transform: translate3d(var(--x), var(--y), 0) scale(0.45);
  animation: cursor-dust-float var(--duration) cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay);
}

.cursor-dust__particle::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background:
    radial-gradient(circle, hsla(var(--hue), 100%, 84%, 0.22) 0%, hsla(var(--hue), 92%, 62%, 0.12) 38%, transparent 76%);
  filter: blur(1.8px);
}

.site-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 28px 0 40px;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-bottom: 18px;
}

.site-nav,
.panel,
.hero {
  border: 1px solid rgba(181, 136, 71, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 225, 170, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.34);
}

.site-nav,
.panel {
  position: relative;
  overflow: clip;
}

.site-nav::before,
.site-nav::after,
.panel::before,
.panel::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(211, 166, 87, 0.62);
  pointer-events: none;
}

.site-nav::before,
.panel::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}

.site-nav::after,
.panel::after {
  right: 10px;
  bottom: 10px;
  border-left: 0;
  border-top: 0;
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 26px 14px;
  aspect-ratio: 1440 / 124;
  min-height: 100px;
  background:
    linear-gradient(180deg, rgba(28, 14, 7, 0.18), rgba(16, 8, 4, 0.32)),
    url("../assets/header-banner-wide-v20260401-03.png") center / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(44, 20, 9, 0.94), rgba(18, 9, 4, 0.9));
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 2px;
  font-family: "Cinzel", serif;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--title-gold);
  text-shadow: var(--title-gold-shadow);
  transition: color 220ms ease, transform 220ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 214, 145, 0.92), transparent);
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff1cb;
  text-shadow:
    0 1px 0 rgba(115, 60, 16, 0.82),
    0 10px 28px rgba(0, 0, 0, 0.48),
    0 0 22px rgba(255, 196, 86, 0.22);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 430px);
  min-height: 88px;
  transform: none;
}

.brand img {
  display: block;
  max-width: min(100%, 430px);
  height: auto;
  opacity: 0;
  filter:
    drop-shadow(0 6px 22px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 16px rgba(255, 196, 86, 0.2));
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid rgba(221, 173, 84, 0.58);
  background:
    linear-gradient(180deg, rgba(79, 39, 16, 0.96), rgba(26, 12, 6, 0.96));
  color: #ffe6b1;
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  box-shadow:
    inset 0 1px 0 rgba(255, 227, 174, 0.16),
    0 10px 26px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.nav-actions .button {
  color: var(--title-gold);
  letter-spacing: 0.08em;
  text-shadow: var(--title-gold-shadow);
}

.button::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -35%;
  width: 32%;
  height: 260%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(20deg);
  transition: transform 320ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: #fff4d6;
  box-shadow:
    inset 0 1px 0 rgba(255, 227, 174, 0.24),
    0 14px 32px rgba(0, 0, 0, 0.32),
    0 0 26px rgba(255, 190, 67, 0.12);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(390%) rotate(20deg);
}

.button--small {
  min-height: 38px;
  padding: 10px 16px;
  font-size: 0.84rem;
}

.button--ghost {
  background:
    linear-gradient(180deg, rgba(42, 18, 9, 0.74), rgba(15, 8, 4, 0.78));
}

.site-main {
  position: relative;
}

.hero {
  position: relative;
  aspect-ratio: 1496 / 470;
  min-height: 0;
  margin-bottom: 20px;
  overflow: clip;
  background: rgba(15, 8, 4, 0.88);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(219, 171, 90, 0.24);
  pointer-events: none;
}

.hero::after {
  inset: 22px;
  border-color: rgba(255, 220, 160, 0.12);
}

.hero-scene-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-scene {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate3d(0, 0, 0);
  transition: filter 280ms ease;
  filter: saturate(1.12) contrast(1.05);
}

.hero-scene__shade,
.hero-scene__rim {
  position: absolute;
  inset: 0;
}

.hero-scene__shade {
  background:
    linear-gradient(90deg, rgba(11, 5, 2, 0.42) 0%, rgba(11, 5, 2, 0.08) 35%, rgba(11, 5, 2, 0.08) 65%, rgba(11, 5, 2, 0.34) 100%),
    linear-gradient(180deg, rgba(8, 4, 2, 0.28) 0%, transparent 28%, rgba(8, 4, 2, 0.1) 100%);
}

.hero-scene__rim {
  box-shadow:
    inset 0 0 0 1px rgba(255, 224, 164, 0.08),
    inset 0 0 140px rgba(0, 0, 0, 0.24);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 760px);
  margin: 0 auto;
  min-height: inherit;
  padding: 64px 32px 76px;
  text-align: center;
}

.hero-copy__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(640px, 76%);
  min-height: clamp(190px, 23vw, 250px);
  padding: 28px 30px 26px;
  background:
    linear-gradient(180deg, rgba(19, 9, 4, 0.82), rgba(14, 7, 3, 0.7)),
    radial-gradient(circle at center, rgba(38, 18, 8, 0.58), rgba(12, 6, 3, 0.28) 70%, transparent 100%);
  transform: translate(-50%, 2%);
  border: 1px solid rgba(208, 162, 82, 0.22);
  outline: 1px solid rgba(255, 225, 170, 0.08);
  outline-offset: -10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 223, 170, 0.08),
    0 22px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  z-index: 1;
  overflow: visible;
}

.hero-copy__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(208, 162, 82, 0.45);
  background: rgba(20, 10, 4, 0.72);
  color: transparent;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 227, 174, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-copy__close::before {
  content: "\00D7";
  color: var(--title-gold);
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  line-height: 1;
  text-shadow: var(--title-gold-shadow);
}

.hero-copy__close:hover,
.hero-copy__close:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 227, 174, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(255, 190, 67, 0.14);
}

.hero-copy__panel.is-closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.98);
}

.hero-copy__eyebrow {
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f7ddad;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.hero-copy__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(2.6rem, 4.6vw, 4.15rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #f7deb0;
  text-shadow:
    0 2px 0 rgba(95, 48, 12, 0.74),
    0 12px 36px rgba(0, 0, 0, 0.68),
    0 0 24px rgba(255, 190, 67, 0.18);
}

.hero-copy__subtitle {
  margin: 16px auto 0;
  max-width: 470px;
  font-size: clamp(0.96rem, 1.55vw, 1.08rem);
  font-weight: 500;
  color: #f1dec0;
  line-height: 1.65;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.44);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.spell-aura {
  position: absolute;
  right: 20%;
  top: 42%;
  width: 150px;
  height: 150px;
  transform: translate3d(calc(var(--hero-parallax-x) * 0.6), calc(var(--hero-parallax-y) * 0.55), 0);
  pointer-events: none;
  opacity: 0.95;
}

.spell-aura__core,
.spell-aura__ring,
.spell-aura__spark {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.spell-aura__core {
  background:
    radial-gradient(circle, rgba(255, 242, 208, 0.98) 0%, rgba(254, 184, 82, 0.9) 20%, rgba(255, 120, 45, 0.45) 48%, rgba(255, 120, 45, 0) 78%);
  filter: blur(1.2px);
  animation: aura-pulse 2800ms ease-in-out infinite;
}

.spell-aura__ring {
  inset: 12px;
  border: 2px solid rgba(255, 207, 124, 0.5);
  border-top-color: rgba(255, 255, 255, 0.85);
  border-right-color: rgba(255, 166, 54, 0.82);
  animation: aura-rotate 4200ms linear infinite;
}

.spell-aura__spark {
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(255, 246, 227, 1) 0%, rgba(255, 195, 92, 0.8) 60%, rgba(255, 120, 45, 0.05) 100%);
  box-shadow: 0 0 18px rgba(255, 181, 73, 0.6);
}

.spell-aura__spark--one {
  top: 22%;
  left: 76%;
  animation: orbit-one 3000ms ease-in-out infinite;
}

.spell-aura__spark--two {
  top: 64%;
  left: 22%;
  animation: orbit-two 2500ms ease-in-out infinite;
}

.spell-aura__spark--three {
  top: 10%;
  left: 42%;
  animation: orbit-three 3400ms ease-in-out infinite;
}

.main-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  grid-template-areas:
    "notice event"
    "features event";
  gap: 16px;
  align-items: start;
}

.panel {
  background:
    linear-gradient(180deg, rgba(45, 22, 11, 0.94), rgba(21, 10, 5, 0.94));
}

.notice-panel {
  grid-area: notice;
  padding: 26px 28px 24px;
  background:
    linear-gradient(180deg, rgba(251, 241, 215, 0.96), rgba(233, 214, 178, 0.94));
  color: #49301b;
}

.notice-panel::before,
.notice-panel::after {
  border-color: rgba(151, 106, 43, 0.36);
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 20px;
}

.panel-head h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--title-gold);
  text-shadow:
    0 2px 0 rgba(92, 45, 10, 0.8),
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(255, 188, 68, 0.14);
}

.notice-panel .panel-head h2 {
  color: #49301b;
  text-shadow: none;
}

.panel-head p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.panel-head--tight {
  margin-bottom: 14px;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notice-list li + li {
  margin-top: 10px;
}

.notice-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4f361b;
  padding: 10px 0;
  transition: color 180ms ease, transform 180ms ease;
}

.notice-link:hover,
.notice-link:focus-visible {
  color: #8b5617;
  transform: translateX(2px);
}

.notice-link::before {
  content: "◆";
  font-size: 0.7rem;
  color: #b0782e;
}

.notice-tag {
  margin-left: auto;
  min-width: 40px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(147, 93, 23, 0.12);
  color: #8c4e12;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.panel-more {
  margin-top: 20px;
}

.feature-grid {
  grid-area: features;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.event-card {
  position: relative;
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(35, 16, 8, 0.96), rgba(20, 8, 4, 0.98));
  border: 1px solid rgba(173, 128, 57, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 174, 0.1),
    0 18px 48px rgba(0, 0, 0, 0.28);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 222, 164, 0.1);
  pointer-events: none;
}

.feature-card:hover,
.feature-card:focus-visible,
.event-card:hover,
.event-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(228, 181, 93, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 174, 0.18),
    0 24px 56px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(255, 188, 68, 0.18),
    0 0 0 1px rgba(220, 173, 84, 0.25);
}

.feature-card__title {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 14px;
  margin-bottom: 12px;
  background:
    linear-gradient(180deg, rgba(30, 14, 7, 0.94), rgba(14, 6, 3, 0.94));
  border: 1px solid rgba(186, 141, 62, 0.46);
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--title-gold);
  text-shadow:
    0 1px 0 rgba(105, 55, 14, 0.82),
    0 8px 24px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(255, 188, 68, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 227, 174, 0.08),
    inset 0 0 24px rgba(255, 197, 92, 0.04);
}

.feature-card__media,
.event-card__media {
  position: relative;
  border: 1px solid rgba(197, 151, 74, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 210, 117, 0.1), rgba(0, 0, 0, 0.18)),
    var(--card-image) center / 100% 100% no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 190, 0.05);
}

.feature-card__media {
  flex: none;
  width: 100%;
  aspect-ratio: 330 / 162;
  min-height: 120px;
}

.event-card__media {
  aspect-ratio: 258 / 128;
  min-height: 100px;
}

.feature-card__media::after,
.event-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 224, 169, 0.02), rgba(0, 0, 0, 0.14)),
    radial-gradient(circle at 70% 30%, rgba(255, 196, 89, 0.12), transparent 32%);
}

.feature-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 6px 0;
}

.feature-card__body p,
.event-card__body p {
  margin: 0 0 16px;
  color: #dbc79e;
  font-size: 0.92rem;
  line-height: 1.72;
}

.feature-card__action {
  margin-top: auto;
  align-self: flex-start;
  cursor: pointer;
}

.feature-card--viewer-open {
  border-color: rgba(228, 181, 93, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 174, 0.18),
    0 24px 56px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(255, 188, 68, 0.18),
    0 0 0 1px rgba(220, 173, 84, 0.25);
}

.feature-discord-viewer {
  position: relative;
  grid-column: 1 / -1;
  margin-top: -4px;
  padding-top: 10px;
}

.feature-discord-viewer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 215, 138, 0.26) 12%, rgba(255, 191, 86, 0.82) 50%, rgba(255, 215, 138, 0.26) 88%, transparent);
  pointer-events: none;
}

.feature-discord-viewer::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 220px;
  height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 191, 86, 0.18), transparent 68%);
  pointer-events: none;
}

.feature-discord-viewer[hidden] {
  display: none !important;
}

.section-discord-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(176, 130, 59, 0.42);
  background:
    linear-gradient(180deg, rgba(42, 20, 10, 0.97), rgba(15, 7, 4, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 174, 0.1),
    inset 0 18px 40px rgba(255, 196, 89, 0.025),
    0 18px 48px rgba(0, 0, 0, 0.28);
}

.section-discord-board::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 222, 164, 0.09);
  pointer-events: none;
}

.section-discord-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 205, 114, 0.08), transparent 30%),
    radial-gradient(circle at 88% 100%, rgba(145, 80, 24, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 26%);
  pointer-events: none;
}

.section-discord-board--feature {
  margin-top: 6px;
  padding: 24px 24px 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 184, 0.12),
    inset 0 14px 30px rgba(255, 185, 74, 0.04),
    0 24px 54px rgba(0, 0, 0, 0.34);
}

.section-discord-board--feature::before {
  inset: 11px;
}

.section-discord-board--feature .section-discord-board__head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(233, 191, 107, 0.18) 12%, rgba(233, 191, 107, 0.46) 50%, rgba(233, 191, 107, 0.18) 88%, transparent);
  pointer-events: none;
}

.section-discord-board--guide::after {
  background:
    radial-gradient(circle at top left, rgba(245, 208, 142, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26%);
}

.section-discord-board--download::after {
  background:
    radial-gradient(circle at top left, rgba(255, 195, 98, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26%);
}

.section-discord-board--community::after {
  background:
    radial-gradient(circle at top left, rgba(214, 184, 128, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26%);
}

.section-discord-board__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.section-discord-board__titles {
  min-width: 0;
}

.section-discord-board__eyebrow,
.notice-discord-detail__eyebrow {
  margin: 0 0 6px;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-discord-board__title,
.notice-discord-detail__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--title-gold);
  text-shadow: var(--title-gold-shadow);
  letter-spacing: 0.03em;
}

.section-discord-board__desc,
.notice-discord-detail__hint {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #dbc79e;
}

.section-discord-board__close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 170, 95, 0.4);
  background:
    linear-gradient(180deg, rgba(79, 39, 16, 0.96), rgba(27, 13, 6, 0.94));
  color: var(--title-gold);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 227, 174, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.section-discord-board__close:hover,
.section-discord-board__close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(236, 194, 110, 0.72);
  color: #fff2cf;
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 188, 0.16),
    0 12px 24px rgba(0, 0, 0, 0.28),
    0 0 16px rgba(255, 188, 68, 0.16);
}

.section-discord-board__tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 2px 0 6px;
}

.section-discord-board__tab {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(189, 146, 71, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.08));
  color: var(--text-soft);
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 226, 170, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.section-discord-board__tab:hover,
.section-discord-board__tab:focus-visible,
.section-discord-board__tab.is-active {
  border-color: rgba(232, 186, 96, 0.72);
  color: #fff0c8;
  background:
    linear-gradient(180deg, rgba(91, 44, 17, 0.98), rgba(33, 16, 7, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 231, 183, 0.14),
    0 8px 20px rgba(0, 0, 0, 0.24),
    0 0 16px rgba(255, 188, 68, 0.12);
  transform: translateY(-1px);
}

.section-discord-board__viewer {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(189, 146, 71, 0.26);
  background:
    linear-gradient(180deg, rgba(16, 8, 4, 0.78), rgba(11, 6, 3, 0.54));
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 169, 0.06),
    inset 0 18px 24px rgba(255, 177, 63, 0.02);
}

.section-discord-board__channel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(189, 146, 71, 0.22);
  background:
    linear-gradient(180deg, rgba(61, 30, 12, 0.52), rgba(24, 11, 6, 0.46));
}

.section-discord-board__channel-hash {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}

.section-discord-board__channel-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--title-gold);
}

.section-discord-board__feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  max-height: 430px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(171, 126, 58, 0.32) transparent;
}

.section-discord-board__feed .discord-message {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.06));
  border-color: rgba(193, 149, 74, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 174, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.section-discord-board__feed .discord-message:hover {
  border-color: rgba(222, 173, 84, 0.38);
}

.section-discord-board__feed .discord-message__embed {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.12));
  border-left-color: rgba(230, 182, 88, 0.8);
}

.section-discord-board__feed::-webkit-scrollbar {
  width: 4px;
}

.section-discord-board__feed::-webkit-scrollbar-thumb {
  background: rgba(171, 126, 58, 0.32);
  border-radius: 999px;
}

.notice-link--discord {
  width: 100%;
  border: 0;
  padding: 13px 14px;
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.24), rgba(210, 181, 131, 0.1));
  border: 1px solid rgba(162, 110, 43, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
  cursor: pointer;
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.notice-link__main {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.notice-link__channel {
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #8c5d24;
}

.notice-link__summary {
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4f361b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-link__time {
  margin-left: 8px;
  flex-shrink: 0;
  font-size: 0.76rem;
  color: rgba(102, 68, 29, 0.82);
}

.notice-link--discord:hover,
.notice-link--discord:focus-visible {
  border-color: rgba(175, 117, 43, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 251, 242, 0.44), rgba(225, 193, 141, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 20px rgba(125, 83, 29, 0.08);
}

.notice-link--discord.is-active {
  color: #8b5617;
  transform: translateX(2px);
  border-color: rgba(171, 112, 35, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.66), rgba(234, 207, 160, 0.26));
  box-shadow:
    inset 3px 0 0 rgba(176, 109, 34, 0.76),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 24px rgba(119, 79, 28, 0.1);
}

.notice-discord-detail {
  margin-top: 18px;
  position: relative;
  padding: 20px 20px 18px;
  border: 1px solid rgba(151, 106, 43, 0.26);
  background:
    linear-gradient(180deg, rgba(247, 238, 216, 0.94), rgba(231, 212, 176, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 14px 28px rgba(255, 246, 224, 0.12),
    0 8px 22px rgba(80, 51, 16, 0.1);
}

.notice-discord-detail::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(176, 109, 34, 0.22) 12%, rgba(176, 109, 34, 0.44) 50%, rgba(176, 109, 34, 0.22) 88%, transparent);
}

.notice-discord-detail__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.notice-discord-detail__title {
  color: #51351b;
  text-shadow: none;
}

.notice-discord-detail__hint {
  color: rgba(86, 58, 27, 0.86);
}

.notice-discord-detail__feed.section-discord-board__feed--light {
  padding: 2px 0 0;
  max-height: 360px;
}

.notice-discord-detail__feed.section-discord-board__feed--light .discord-message {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(240, 224, 191, 0.34));
  border: 1px solid rgba(151, 106, 43, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 10px 20px rgba(106, 72, 27, 0.08);
}

.notice-discord-detail__feed.section-discord-board__feed--light .discord-message__author {
  color: #8c5d24;
}

.notice-discord-detail__feed.section-discord-board__feed--light .discord-message__time {
  color: rgba(93, 61, 27, 0.72);
}

.notice-discord-detail__feed.section-discord-board__feed--light .discord-message__body,
.notice-discord-detail__feed.section-discord-board__feed--light .discord-message__embed p,
.notice-discord-detail__feed.section-discord-board__feed--light .discord-message__embed strong,
.notice-discord-detail__feed.section-discord-board__feed--light .discord-message__attachment-link {
  color: #4f361b;
}

.notice-discord-detail__feed.section-discord-board__feed--light .discord-message__embed {
  background:
    linear-gradient(180deg, rgba(255, 251, 241, 0.62), rgba(231, 212, 177, 0.34));
  border-left-color: rgba(164, 105, 32, 0.72);
}

.event-panel {
  grid-area: event;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
}

.event-panel p {
  color: var(--muted);
}

.event-panel .panel-more {
  margin-top: auto;
  align-self: flex-end;
}

.event-stack {
  display: grid;
  gap: 14px;
  flex: 1;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(26, 11, 6, 0.94), rgba(15, 7, 4, 0.98));
  border: 1px solid rgba(176, 130, 59, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 229, 174, 0.08);
}

.event-card__media {
  aspect-ratio: 258 / 128;
  min-height: 100px;
}

.event-card__body {
  padding: 4px 2px 0;
}

.event-card__body strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Cinzel", serif;
  font-size: 1.02rem;
  line-height: 1.35;
}

.event-card__body p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 8px;
}

.site-footer {
  padding: 26px 8px 10px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(242, 220, 173, 0.72);
  font-size: 0.9rem;
}

.lore-band,
.journey-panel {
  position: relative;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid rgba(176, 130, 59, 0.38);
  background:
    linear-gradient(180deg, rgba(30, 14, 8, 0.94), rgba(16, 7, 4, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 174, 0.09),
    0 18px 48px rgba(0, 0, 0, 0.28);
  overflow: clip;
}

.lore-band::before,
.journey-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 219, 155, 0.08);
  pointer-events: none;
}

.lore-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.lore-band__eyebrow,
.journey-panel__eyebrow,
.highlight-card__label {
  margin: 0 0 8px;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.lore-band__title,
.journey-panel__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1.28;
  color: #f7deb0;
}

.lore-band__text {
  margin: 14px 0 0;
  color: #dbc79e;
  font-size: 0.98rem;
  line-height: 1.8;
}

.lore-band__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.highlight-card,
.journey-step {
  position: relative;
  padding: 18px 16px;
  border: 1px solid rgba(176, 130, 59, 0.28);
  background:
    linear-gradient(180deg, rgba(53, 25, 12, 0.86), rgba(22, 10, 5, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 227, 174, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.highlight-card__value {
  display: block;
  margin-bottom: 10px;
  font-family: "Cinzel", serif;
  font-size: 1.14rem;
  color: #f7deb0;
}

.highlight-card__desc,
.journey-step__desc {
  margin: 0;
  color: #d7c093;
  font-size: 0.9rem;
  line-height: 1.7;
}

.journey-panel__head {
  margin-bottom: 18px;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.journey-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border: 1px solid rgba(220, 173, 84, 0.42);
  background:
    linear-gradient(180deg, rgba(85, 39, 13, 0.94), rgba(31, 13, 5, 0.95));
  font-family: "Cinzel", serif;
  color: #ffe2a5;
  box-shadow: inset 0 1px 0 rgba(255, 227, 174, 0.08);
}

.journey-step__title {
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #f7deb0;
}

.journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 680ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 680ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible,
body.is-loaded .reveal-on-load {
  opacity: 1;
  transform: translateY(0);
}

body.is-loaded .hero-copy__eyebrow,
body.is-loaded .hero-copy__title,
body.is-loaded .hero-copy__subtitle,
body.is-loaded .hero-actions {
  animation: hero-rise 900ms cubic-bezier(0.18, 0.75, 0.22, 1) both;
}

body.is-loaded .hero-copy__title {
  animation-delay: 100ms;
}

body.is-loaded .hero-copy__subtitle {
  animation-delay: 190ms;
}

body.is-loaded .hero-actions {
  animation-delay: 270ms;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ember-rise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.7);
    opacity: 0;
  }

  15% {
    opacity: 0.92;
  }

  100% {
    transform: translate3d(var(--drift), -116vh, 0) scale(1.35);
    opacity: 0;
  }
}

@keyframes cursor-dust-float {
  0% {
    transform: translate3d(var(--x), var(--y), 0) scale(0.35);
    opacity: 0;
  }

  18% {
    opacity: 0.95;
  }

  100% {
    transform: translate3d(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy)), 0) scale(1.05);
    opacity: 0;
  }
}

@keyframes aura-pulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes aura-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-one {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.9);
  }

  50% {
    transform: translate3d(10px, -22px, 0) scale(1.3);
  }
}

@keyframes orbit-two {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.8);
  }

  50% {
    transform: translate3d(-16px, -10px, 0) scale(1.25);
  }
}

@keyframes orbit-three {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.95);
  }

  50% {
    transform: translate3d(12px, 14px, 0) scale(1.15);
  }
}

@media (max-width: 1240px) {
  .site-nav {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 118px;
    padding-top: 18px;
  }

  .nav-list,
  .nav-actions {
    justify-content: center;
  }

  .brand {
    order: -1;
  }

  .brand img {
    max-width: min(100%, 360px);
  }

  .main-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "notice"
      "features"
      "event";
  }

  .lore-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding-top: 14px;
  }

  .site-header {
    top: 6px;
  }

  .site-nav {
    gap: 12px;
    min-height: 90px;
    padding: 14px 16px 12px;
  }

  .hero {
    aspect-ratio: auto;
    min-height: 410px;
  }

  .hero-copy {
    width: min(100%, 620px);
    padding: 52px 20px 64px;
  }

  .hero-copy__panel {
    width: min(520px, 88%);
    min-height: 200px;
    padding: 22px 22px 20px;
    transform: translate(-50%, 4%);
  }

  .hero-copy__close {
    top: 12px;
    right: 12px;
  }

  .spell-aura {
    right: 12%;
    top: 43%;
    width: 104px;
    height: 104px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-discord-board__head,
  .notice-discord-detail__head {
    grid-template-columns: 1fr;
  }

  .lore-band,
  .journey-panel {
    padding: 22px 18px;
  }

  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 14px), var(--content-width));
  }

  .nav-list {
    gap: 12px;
    justify-content: center;
  }

  .site-nav {
    min-height: 80px;
  }

  .brand {
    min-height: 62px;
  }

  .nav-link {
    font-size: 0.83rem;
  }

  .hero {
    aspect-ratio: auto;
    min-height: 332px;
  }

  .hero-copy {
    padding: 26px 14px 34px;
  }

  .hero-copy__panel {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: auto;
    padding: 18px 16px 16px;
    transform: none;
    margin-top: 42px;
    outline-offset: -8px;
    backdrop-filter: blur(10px);
  }

  .hero-copy__panel.is-closed {
    transform: translateY(8px) scale(0.98);
  }

  .hero-copy__close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .hero-copy__close::before {
    font-size: 1.05rem;
  }

  .hero-copy__eyebrow {
    margin-bottom: 8px;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
  }

  .hero-copy__title {
    font-size: clamp(2.15rem, 11vw, 3.35rem);
    line-height: 0.98;
  }

  .hero-copy__subtitle {
    margin-top: 12px;
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .hero-actions,
  .nav-actions {
    width: 100%;
  }

  .hero-actions .button,
  .nav-actions .button {
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 16px;
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .notice-panel,
  .event-panel {
    padding: 18px 14px 16px;
  }

  .panel-head p,
  .feature-card__body p,
  .event-card__body p,
  .highlight-card__desc,
  .journey-step__desc,
  .lore-band__text {
    font-size: 0.84rem;
  }

  .main-board {
    gap: 12px;
  }

  .feature-card {
    min-height: 272px;
  }

  .feature-card__media,
  .event-card__media {
    min-height: 90px;
  }

  .lore-band,
  .journey-panel {
    margin-top: 12px;
    padding: 18px 14px;
  }

  .lore-band__stats,
  .journey-steps {
    grid-template-columns: 1fr;
  }

  .journey-actions {
    width: 100%;
  }

  .journey-actions .button {
    width: 100%;
  }
}

/* ── Discord 실시간 채널 피드 ───────────────────────────────────── */

.discord-channels {
  padding: 72px 0 80px;
  border-top: 1px solid var(--line);
}

.discord-channels__head {
  margin-bottom: 32px;
}

.discord-channels__eyebrow {
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.discord-channels__title {
  font-family: "Cinzel", serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.discord-channels__desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}

/* 사이드바 + 콘텐츠 레이아웃 */
.discord-channels__body {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-height: 500px;
  background: rgba(10, 6, 2, 0.55);
  backdrop-filter: blur(6px);
}

/* 사이드바 */
.discord-sidebar {
  width: 210px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(6, 3, 1, 0.6);
}

.discord-sidebar__top {
  display: flex;
  gap: 6px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(171, 126, 58, 0.35);
}

.discord-sidebar__search {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(171, 126, 58, 0.4);
  border-radius: 4px;
  color: var(--text);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.76rem;
  padding: 5px 8px;
  outline: none;
  transition: border-color 0.15s;
}

.discord-sidebar__search:focus {
  border-color: var(--line-strong);
}

.discord-sidebar__search::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.discord-sidebar__filter-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(171, 126, 58, 0.4);
  color: var(--muted);
  font-size: 0.7rem;
  font-family: "Noto Sans KR", sans-serif;
  padding: 5px 7px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.discord-sidebar__filter-toggle:hover {
  color: var(--text-soft);
  border-color: var(--line-strong);
  background: rgba(171, 126, 58, 0.1);
}

/* 필터 패널 */
.discord-sidebar__filter-panel {
  padding: 10px;
  border-bottom: 1px solid rgba(171, 126, 58, 0.3);
  background: rgba(0, 0, 0, 0.25);
  max-height: 220px;
  overflow-y: auto;
}

.discord-sidebar__filter-label {
  font-size: 0.68rem;
  color: var(--muted);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.discord-filter-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-soft);
  padding: 3px 2px;
  cursor: pointer;
  border-radius: 3px;
  transition: color 0.12s;
}

.discord-filter-item:hover {
  color: var(--text);
}

.discord-filter-item input[type="checkbox"] {
  accent-color: rgba(224, 181, 95, 0.9);
  cursor: pointer;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.discord-sidebar__filter-reset {
  margin-top: 10px;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(171, 126, 58, 0.4);
  color: var(--muted);
  font-size: 0.73rem;
  font-family: "Noto Sans KR", sans-serif;
  padding: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.discord-sidebar__filter-reset:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

/* 카테고리 목록 */
.discord-sidebar__categories {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(171, 126, 58, 0.3) transparent;
}

.discord-sidebar__categories::-webkit-scrollbar {
  width: 4px;
}

.discord-sidebar__categories::-webkit-scrollbar-track {
  background: transparent;
}

.discord-sidebar__categories::-webkit-scrollbar-thumb {
  background: rgba(171, 126, 58, 0.35);
  border-radius: 2px;
}

.discord-category {
  margin-bottom: 4px;
}

.discord-category__header {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 8px 4px 10px;
  color: var(--muted);
  font-size: 0.65rem;
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
  user-select: none;
}

.discord-category__header:hover {
  color: var(--text-soft);
}

.discord-category__arrow {
  font-size: 0.55rem;
  transition: transform 0.2s ease;
  display: inline-block;
  opacity: 0.7;
}

.discord-category.is-collapsed .discord-category__arrow {
  transform: rotate(-90deg);
}

.discord-category.is-collapsed .discord-category__channels {
  display: none;
}

.discord-category__channels {
  padding-bottom: 2px;
}

.discord-channel-item {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 5px 10px 5px 18px;
  color: rgba(190, 154, 99, 0.75);
  font-size: 0.8rem;
  font-family: "Noto Sans KR", sans-serif;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-left-color 0.12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  margin-right: 4px;
}

.discord-channel-item:hover {
  background: rgba(171, 126, 58, 0.08);
  color: var(--text-soft);
}

.discord-channel-item.is-active {
  background: rgba(171, 126, 58, 0.18);
  color: var(--text);
  border-left-color: var(--line-strong);
  font-weight: 500;
}

/* 콘텐츠 영역 */
.discord-channels__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.discord-channels__channel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(171, 126, 58, 0.35);
  background: rgba(6, 3, 1, 0.4);
}

.discord-channel-header__hash {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.8;
}

.discord-channel-header__name {
  font-size: 0.88rem;
  color: var(--text);
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 메시지 피드 */
.discord-channels__feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  overflow-y: auto;
  max-height: 452px;
  scrollbar-width: thin;
  scrollbar-color: rgba(171, 126, 58, 0.3) transparent;
}

.discord-channels__feed::-webkit-scrollbar {
  width: 4px;
}

.discord-channels__feed::-webkit-scrollbar-thumb {
  background: rgba(171, 126, 58, 0.35);
  border-radius: 2px;
}

.discord-feed__loading,
.discord-feed__empty,
.discord-feed__error {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 24px 0;
  text-align: center;
}

.discord-feed__error {
  color: rgba(220, 100, 100, 0.8);
}

/* 메시지 카드 */
.discord-message {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
  transition: border-color 0.15s;
}

.discord-message:hover {
  border-color: var(--line-strong);
}

.discord-message__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.discord-message__author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--line-strong);
}

.discord-message__author--bot::after {
  content: "BOT";
  font-size: 0.62rem;
  background: rgba(88, 101, 242, 0.3);
  border: 1px solid rgba(88, 101, 242, 0.5);
  color: #a5abf8;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.discord-message__time {
  font-size: 0.75rem;
  color: var(--muted);
}

.discord-message__body {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.discord-message__embed {
  margin-top: 10px;
  padding: 10px 14px;
  border-left: 3px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 4px 4px 0;
}

.discord-message__embed strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 4px;
}

.discord-message__embed p {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 0;
  white-space: pre-wrap;
}

.discord-message__image {
  display: block;
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  border-radius: 6px;
  margin-top: 10px;
  object-fit: contain;
}

.discord-message__thumbnail {
  display: block;
  max-width: 80px;
  max-height: 80px;
  border-radius: 4px;
  margin-top: 8px;
  object-fit: cover;
  float: right;
}

.discord-message__attachment-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .discord-channels {
    padding: 52px 0 60px;
  }

  .section-discord-board--feature,
  .notice-discord-detail {
    padding: 16px;
  }

  .section-discord-board__tabs {
    gap: 6px;
  }

  .section-discord-board__tab {
    width: 100%;
  }

  .notice-link--discord {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .notice-link__summary {
    white-space: normal;
  }

  .notice-link__time {
    margin-left: 0;
  }

  .discord-channels__body {
    flex-direction: column;
    min-height: auto;
  }

  .discord-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .discord-sidebar__categories {
    max-height: 140px;
  }

  .discord-channels__feed {
    max-height: 320px;
  }
}

/* ── Discord Panel ─────────────────────────────────────────────── */

.discord-channels__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.discord-channels__search-wrap {
  flex: 1;
  min-width: 0;
}

.discord-channels__toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.discord-channels__summary {
  margin: 0 0 22px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.discord-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.discord-category-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(22, 11, 5, 0.82), rgba(11, 6, 3, 0.92)),
    radial-gradient(circle at top left, rgba(188, 139, 57, 0.1), transparent 32%);
}

.discord-category-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(171, 126, 58, 0.1), rgba(247, 222, 176, 0.78), rgba(171, 126, 58, 0.1));
  opacity: 0.55;
}

.discord-category-panel--notice::before {
  background: linear-gradient(90deg, rgba(171, 126, 58, 0.12), rgba(255, 221, 154, 0.96), rgba(171, 126, 58, 0.12));
  opacity: 1;
}

.discord-category-panel--download::before {
  background: linear-gradient(90deg, rgba(171, 126, 58, 0.12), rgba(255, 201, 107, 0.9), rgba(171, 126, 58, 0.12));
  opacity: 0.95;
}

.discord-category-panel--community::before {
  background: linear-gradient(90deg, rgba(171, 126, 58, 0.1), rgba(216, 180, 116, 0.78), rgba(171, 126, 58, 0.1));
  opacity: 0.88;
}

.discord-category-panel--event::before {
  background: linear-gradient(90deg, rgba(171, 126, 58, 0.1), rgba(255, 184, 91, 0.86), rgba(171, 126, 58, 0.1));
  opacity: 0.92;
}

.discord-category-panel--status::before {
  background: linear-gradient(90deg, rgba(171, 126, 58, 0.08), rgba(202, 224, 158, 0.74), rgba(171, 126, 58, 0.08));
  opacity: 0.84;
}

.discord-category-panel__top {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(171, 126, 58, 0.26);
  background: linear-gradient(180deg, rgba(31, 16, 8, 0.68), rgba(17, 9, 4, 0.34));
}

.discord-category-panel--notice .discord-category-panel__top {
  background:
    radial-gradient(circle at top left, rgba(255, 224, 156, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(36, 19, 10, 0.76), rgba(18, 9, 4, 0.4));
}

.discord-category-panel--download .discord-category-panel__top {
  background:
    radial-gradient(circle at top left, rgba(255, 194, 102, 0.11), transparent 42%),
    linear-gradient(180deg, rgba(35, 18, 8, 0.76), rgba(16, 8, 4, 0.42));
}

.discord-category-panel--community .discord-category-panel__top {
  background:
    radial-gradient(circle at top left, rgba(227, 194, 132, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(31, 16, 8, 0.72), rgba(17, 9, 4, 0.36));
}

.discord-category-panel--event .discord-category-panel__top {
  background:
    radial-gradient(circle at top left, rgba(255, 180, 92, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(38, 18, 8, 0.78), rgba(18, 9, 4, 0.38));
}

.discord-category-panel--status .discord-category-panel__top {
  background:
    radial-gradient(circle at top left, rgba(201, 229, 169, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(28, 16, 8, 0.72), rgba(15, 8, 4, 0.38));
}

.discord-category-panel__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.discord-category-panel__title-wrap {
  min-width: 0;
}

.discord-category-panel__eyebrow {
  margin: 0 0 6px;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.discord-category-panel__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  color: var(--title-gold);
  text-shadow: var(--title-gold-shadow);
}

.discord-category-panel__count {
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid rgba(171, 126, 58, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  color: var(--text-soft);
}

.discord-category-panel--notice .discord-category-panel__count {
  border-color: rgba(255, 214, 134, 0.45);
  color: #f5deaf;
}

.discord-category-panel--download .discord-category-panel__count,
.discord-category-panel--event .discord-category-panel__count {
  border-color: rgba(245, 187, 97, 0.44);
}

.discord-category-panel--status .discord-category-panel__count {
  border-color: rgba(188, 214, 146, 0.38);
}

.discord-category-panel__body {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  min-height: 380px;
}

.discord-category-panel.is-collapsed .discord-category-panel__body {
  display: none;
}

.discord-category-panel__channels {
  border-right: 1px solid rgba(171, 126, 58, 0.22);
  background: rgba(7, 4, 2, 0.48);
  padding: 12px 8px 14px;
  max-height: 460px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(171, 126, 58, 0.32) transparent;
}

.discord-category-panel__channels::-webkit-scrollbar {
  width: 4px;
}

.discord-category-panel__channels::-webkit-scrollbar-thumb {
  background: rgba(171, 126, 58, 0.32);
  border-radius: 999px;
}

.discord-channel-item--panel {
  margin: 0 0 6px;
  padding: 9px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 6px;
  border-left-width: 3px;
}

.discord-category-panel__viewer {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.discord-category-panel__channel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(171, 126, 58, 0.24);
  background: rgba(8, 4, 2, 0.3);
}

.discord-category-panel__channel-hash {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--muted);
}

.discord-category-panel__channel-name {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-category-panel__feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
  max-height: 460px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(171, 126, 58, 0.32) transparent;
}

.discord-category-panel__feed::-webkit-scrollbar {
  width: 4px;
}

.discord-category-panel__feed::-webkit-scrollbar-thumb {
  background: rgba(171, 126, 58, 0.32);
  border-radius: 999px;
}

@media (max-width: 1100px) {
  .discord-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .discord-channels__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .discord-channels__toolbar-actions {
    justify-content: stretch;
  }

  .discord-channels__toolbar-actions .button,
  .discord-channels__toolbar-actions .discord-sidebar__filter-toggle {
    flex: 1 1 180px;
  }

  .discord-category-panel__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .discord-category-panel__channels {
    border-right: none;
    border-bottom: 1px solid rgba(171, 126, 58, 0.22);
    max-height: 220px;
  }

  .discord-category-panel__feed {
    max-height: 360px;
  }
}

.discord-panel {
  display: grid;
  grid-template-columns: 1fr 350px;
  align-items: center;
  gap: 48px;
  padding: 72px 0 80px;
  border-top: 1px solid var(--line);
}

.discord-panel__eyebrow {
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.discord-panel__title {
  font-family: "Cinzel", serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 16px;
}

.discord-panel__desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 44ch;
}

.discord-panel__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.discord-panel__widget {
  width: 350px;
  height: 500px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #1e1f22;
  flex-shrink: 0;
}

.discord-panel__widget iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

@media (max-width: 900px) {
  .discord-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .discord-panel__widget {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 640px) {
  .discord-panel {
    padding: 52px 0 60px;
    gap: 24px;
  }

  .discord-panel__widget {
    height: 360px;
  }

  .discord-panel__actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ember,
  .spell-aura {
    display: none !important;
  }

  .hero-scene {
    transform: translate3d(0, 0, 0);
  }
}

/* =============================================
   랭킹 패널
   ============================================= */

.ranking-panel {
  position: relative;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid rgba(176, 130, 59, 0.38);
  background: linear-gradient(180deg, rgba(30, 14, 8, 0.94), rgba(16, 7, 4, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 174, 0.09),
    0 18px 48px rgba(0, 0, 0, 0.28);
  overflow: clip;
}

.ranking-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 219, 155, 0.08);
  pointer-events: none;
}

.ranking-panel__head {
  margin-bottom: 20px;
}

.ranking-panel__eyebrow {
  margin: 0 0 8px;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ranking-panel__title {
  margin: 0 0 8px;
  font-family: "Cinzel", serif;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  color: #f7deb0;
}

.ranking-panel__desc {
  margin: 0;
  color: #dbc79e;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* 탭 */
.ranking-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(176, 130, 59, 0.28);
  padding-bottom: 12px;
}

.ranking-tab {
  padding: 8px 18px;
  border: 1px solid rgba(176, 130, 59, 0.38);
  background: linear-gradient(180deg, rgba(53, 25, 12, 0.6), rgba(22, 10, 5, 0.8));
  color: var(--muted);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms;
}

.ranking-tab:hover {
  color: #f7deb0;
  border-color: rgba(220, 173, 84, 0.6);
}

.ranking-tab.is-active {
  background: linear-gradient(180deg, rgba(85, 39, 13, 0.94), rgba(31, 13, 5, 0.95));
  color: #ffe2a5;
  border-color: rgba(220, 173, 84, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 227, 174, 0.12);
}

/* 테이블 */
.ranking-table-wrap {
  position: relative;
  min-height: 200px;
}

.ranking-loading {
  display: none;
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.ranking-table thead tr {
  border-bottom: 1px solid rgba(220, 173, 84, 0.38);
}

.ranking-table th {
  padding: 10px 12px;
  text-align: left;
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ranking-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(176, 130, 59, 0.14);
  color: var(--text-soft, #c8a87a);
}

.ranking-table tbody tr:hover td {
  background: rgba(255, 214, 120, 0.04);
}

.ranking-rank {
  font-family: "Cinzel", serif;
  font-weight: 700;
  text-align: center;
  width: 48px;
  color: var(--muted);
}

.ranking-rank--top1 { color: #ffd700; }
.ranking-rank--top2 { color: #c0c0c0; }
.ranking-rank--top3 { color: #cd7f32; }

.ranking-name {
  font-weight: 500;
  color: #f7deb0;
}

.ranking-value {
  font-family: "Cinzel", serif;
  font-weight: 600;
  color: #ffe2a5;
}

.ranking-sub {
  color: var(--muted);
  font-size: 0.84rem;
}

.ranking-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0 !important;
}

.ranking-updated {
  margin: 12px 0 0;
  text-align: right;
  font-size: 0.8rem;
  color: rgba(190, 154, 99, 0.6);
}

/* =============================================
   CINEMATIC INTRO OVERLAY
   ============================================= */

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #090503;
  overflow: hidden;
  transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-overlay.is-hiding {
  opacity: 0;
  pointer-events: none;
}

.intro-overlay.is-gone {
  display: none;
}

/* Letterbox bars */
.intro-letterbox {
  position: absolute;
  left: 0;
  right: 0;
  height: 13vh;
  background: #000;
  z-index: 2;
  transition: transform 900ms cubic-bezier(0.76, 0, 0.24, 1);
}

.intro-letterbox--top {
  top: 0;
  transform: translateY(0);
}

.intro-letterbox--bottom {
  bottom: 0;
  transform: translateY(0);
}

.intro-overlay.is-hiding .intro-letterbox--top {
  transform: translateY(-100%);
}

.intro-overlay.is-hiding .intro-letterbox--bottom {
  transform: translateY(100%);
}

/* Canvas particles */
.intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Vignette */
.intro-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.72) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Ambient glow orbs */
.intro-glow-orb {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: intro-orb-pulse 4s ease-in-out infinite alternate;
}

.intro-glow-orb--left {
  left: -120px;
  top: 20%;
  background: radial-gradient(circle, rgba(180, 100, 20, 0.28), transparent 70%);
  animation-delay: -1.5s;
}

.intro-glow-orb--right {
  right: -120px;
  top: 30%;
  background: radial-gradient(circle, rgba(200, 130, 30, 0.22), transparent 70%);
}

@keyframes intro-orb-pulse {
  from { opacity: 0.5; transform: scale(0.9); }
  to   { opacity: 1;   transform: scale(1.1); }
}

/* Main content */
.intro-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: min(92vw, 900px);
}

/* Horizontal line above eyebrow */
.intro-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 181, 95, 0.9), transparent);
  margin-bottom: 20px;
  animation: intro-line-expand 800ms 600ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes intro-line-expand {
  from { width: 0; opacity: 0; }
  to   { width: clamp(120px, 20vw, 240px); opacity: 1; }
}

.intro-eyebrow {
  margin: 0 0 8px;
  font-family: "Cinzel", serif;
  font-size: clamp(0.9rem, 1.8vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(240, 200, 120, 0.85);
  text-transform: uppercase;
  opacity: 0;
  animation: intro-fade-up 700ms 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro-title {
  margin: 0 0 18px;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5.5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  color: #f7deb0;
  text-shadow:
    0 0 40px rgba(255, 190, 67, 0.55),
    0 0 80px rgba(255, 160, 40, 0.28),
    0 4px 0 rgba(80, 35, 8, 0.7),
    0 16px 48px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: intro-title-reveal 900ms 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-title__space {
  display: inline-block;
  width: 0.3em;
}

@keyframes intro-title-reveal {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(16px);
    letter-spacing: 0.18em;
    text-shadow: 0 0 80px rgba(255, 190, 67, 0.8), 0 0 160px rgba(255, 140, 20, 0.5);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    letter-spacing: 0.08em;
    text-shadow:
      0 0 40px rgba(255, 190, 67, 0.55),
      0 0 80px rgba(255, 160, 40, 0.28),
      0 4px 0 rgba(80, 35, 8, 0.7),
      0 16px 48px rgba(0, 0, 0, 0.8);
  }
}

/* Divider below title */
.intro-divider {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 181, 95, 0.7), transparent);
  margin-bottom: 18px;
  animation: intro-line-expand 700ms 1600ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.intro-subtitle {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  font-weight: 400;
  color: rgba(241, 222, 192, 0.78);
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
  opacity: 0;
  animation: intro-fade-up 700ms 1700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes intro-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.intro-progress {
  position: absolute;
  bottom: 13vh;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  z-index: 4;
}

.intro-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(180, 120, 30, 0.6), rgba(255, 200, 80, 0.95), rgba(255, 220, 120, 1));
  box-shadow: 0 0 8px rgba(255, 190, 60, 0.7);
  transition: width linear;
}

/* Skip button */
.intro-skip {
  position: absolute;
  bottom: calc(13vh + 18px);
  right: 24px;
  z-index: 5;
  padding: 8px 18px;
  background: rgba(20, 10, 4, 0.72);
  border: 1px solid rgba(208, 162, 82, 0.45);
  color: rgba(240, 200, 120, 0.9);
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, opacity 220ms ease;
  opacity: 0;
  animation: intro-fade-up 500ms 2000ms ease both;
}

.intro-skip:hover {
  background: rgba(208, 162, 82, 0.18);
  border-color: rgba(224, 181, 95, 0.8);
  color: #f7deb0;
}

.intro-skip:focus-visible {
  outline: 2px solid rgba(224, 181, 95, 0.7);
  outline-offset: 3px;
}

/* Reduced motion - 애니메이션만 제거, 오버레이는 유지 */
@media (prefers-reduced-motion: reduce) {
  .intro-line,
  .intro-eyebrow,
  .intro-title,
  .intro-divider,
  .intro-subtitle,
  .intro-skip {
    animation: none;
    opacity: 1;
    width: clamp(120px, 20vw, 240px);
    transform: none;
  }

  .intro-glow-orb {
    animation: none;
  }
}

/* 반응형 */
@media (max-width: 640px) {
  .ranking-tabs {
    flex-wrap: wrap;
  }

  .ranking-tab {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.84rem;
    text-align: center;
  }

  .ranking-table th,
  .ranking-table td {
    padding: 8px 6px;
    font-size: 0.82rem;
  }
}
