:root {
  --bg: #05030a;
  --bg-soft: #0b0713;
  --panel: #12091d;
  --panel-2: #331d59;
  --text: #f1ebdf;
  --muted: #d8cfea;
  --purple: #a94dff;
  --purple-2: #9147cb;
  --purple-3: #6d2d9d;
  --line: rgba(173, 91, 255, 0.35);
  --max: 1400px;
  --radius: 20px;
  --shadow: 0 0 30px rgba(148, 71, 203, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.display, .section-title, .card-title, .nav-title {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: .94;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 1, 6, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(112, 55, 164, 0.4);
}

.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

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

.brand-left {
  justify-self: start;
}

.brand-right {
  justify-self: end;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.brand-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.nav-title {
  color: #a94dff;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 0.94;
  white-space: nowrap;
  text-decoration: none;
}

nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 38px;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
}

nav a {
  color: #f1ebdf;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
  color: #a94dff;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand-right {
    display: none;
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    min-height: 82px;
  }
}

@media (max-width: 640px) {
  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .nav-title {
    font-size: 17px;
    letter-spacing: 0.1em;
  }
}

nav a {
  transition: color .2s ease, transform .2s ease;
}

nav a:hover {
  color: var(--purple);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.notif {
  position: relative;
  color: var(--purple);
  font-size: 22px;
  line-height: 1;
}

.notif-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #d81d2a;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 11px;
  display: grid;
  place-items: center;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #6b4c3d;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 18px;
}

.hero {
  padding: 28px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.02;
  max-width: 100%;
}

.hero-art {
  max-width: 540px;
  justify-self: center;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
}

.art-label {
  display: inline-block;
  margin-bottom: 10px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: white;
  background: #6484ff;
  border-radius: 4px;
  padding: 3px 8px;
}

.hero-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}

.intro {
  padding: 10px 0 90px;
}

.intro-box {
  min-height: 470px;
  display: flex;
  align-items: flex-end;
}

.intro-copy {
  max-width: 480px;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.75;
  color: #e8dff0;
  padding-bottom: 12px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.button-row-center {
  justify-content: center;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid {
  background: var(--purple-2);
  color: #180a21;
  box-shadow: 0 0 24px rgba(145, 71, 203, .28);
}

.btn-outline {
  border-color: var(--purple-2);
  color: var(--purple);
  background: transparent;
}

.section-box {
  background: #08040d;
  border: 1px solid rgba(37, 27, 51, 0.9);
  padding: 90px 40px;
}

.centered { text-align: center; }

.section-title {
  margin: 0;
  font-size: clamp(48px, 6vw, 84px);
}

.lead {
  max-width: 1080px;
  margin: 28px auto 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.45;
  color: var(--muted);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  padding: 90px 0;
}

.feature-card {
  overflow: hidden;
  border: 1px solid rgba(28, 20, 40, 0.95);
  border-radius: 18px;
  background: #05030a;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: brightness(.72);
}

.feature-body {
  padding: 34px 30px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  margin: 0;
  font-size: clamp(34px, 3vw, 52px);
}

.feature-text {
  margin: 30px 0 0;
  min-height: 180px;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.6;
  color: var(--muted);
}

.hub {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
  align-items: center;
  padding: 20px 0 90px;
}

.hub-image {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(143, 67, 216, 0.8);
  background: #08040d;
  box-shadow: var(--shadow);
}

.hub-copy .eyebrow {
  margin-bottom: 14px;
  color: var(--purple);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 20px;
  letter-spacing: .24em;
}

.hub-copy p {
  margin: 24px 0 0;
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.5;
  color: var(--muted);
}

.hub-tags {
  text-align: center;
  color: #d7c7da;
  font-size: clamp(18px, 1.9vw, 26px);
  letter-spacing: .08em;
  padding-bottom: 70px;
}

.story-band {
  background: linear-gradient(90deg, rgba(65, 46, 16, .5), rgba(7, 4, 12, .94), rgba(91, 61, 18, .5));
  padding: 24px 0 90px;
}

.story-panel {
  background: rgba(5, 3, 10, .88);
  border: 1px solid rgba(35, 27, 46, .95);
  border-radius: 6px;
  padding: 88px 46px;
}

.story-divider {
  width: 100px;
  height: 3px;
  background: var(--purple);
  margin: 28px auto 0;
}

.story-text {
  max-width: 980px;
  margin: 34px auto 0;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.47;
  color: #f0e4d6;
  text-align: left;
}

.factions {
  padding: 94px 0 80px;
}

.faction-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.faction-card {
  background: #0b0713;
  border: 1px solid rgba(139, 49, 198, 0.8);
  border-radius: 18px;
  padding: 24px 22px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.faction-name {
  margin: 0 0 18px;
  color: var(--purple);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 22px;
  letter-spacing: .12em;
  min-height: 62px;
}

.faction-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.faction-text {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: #e5d8ef;
}

.faction-text strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 6px;
}

.cta {
  padding: 18px 0 84px;
}

.cta-panel {
  border: 1px solid rgba(143, 67, 216, 0.92);
  border-radius: 20px;
  background: #331d59;
  padding: 56px 30px;
  text-align: center;
}

.cta-copy {
  max-width: 920px;
  margin: 26px auto 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.45;
  color: #eadcf0;
}

.footer-wrap {
  border-top: 1px solid rgba(39, 32, 49, 1);
  padding: 0 0 34px;
}

.footer-line {
  border-top: 1px solid rgba(131, 43, 199, 0.95);
  margin-top: 32px;
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #0c0813;
  border: 1px solid rgba(47, 36, 64, 1);
  color: var(--purple);
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.copyright {
  color: #c7bbd2;
  font-size: 18px;
}

section[id] { scroll-margin-top: 110px; }

@media (max-width: 1180px) {
  .hero-grid,
  .hub,
  .cards-3,
  .faction-grid {
    grid-template-columns: 1fr;
  }

  .feature-text { min-height: auto; }
  .hero h1 { max-width: 100%; }
  .hero-art { max-width: 620px; }
  .hub-copy { padding-right: 0; }
  .hub-tags { padding-top: 4px; }
}

@media (max-width: 900px) {
  nav { display: none; }
  .header-inner { min-height: 82px; }
  .intro-box { min-height: auto; }
  .section-box, .story-panel, .cta-panel { padding: 54px 22px; }
  .story-text { text-align: left; }
  .cards-3 { padding: 70px 0; }
  .factions { padding: 76px 0 60px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 20px), var(--max)); }
  .brand { gap: 12px; }
  .brand-logo { width: 54px; height: 54px; border-radius: 14px; }
  .nav-title { font-size: 17px; letter-spacing: .1em; }
  .header-actions { gap: 12px; }
  .hero { padding-top: 18px; }
  .intro-copy,
  .lead,
  .feature-text,
  .hub-copy p,
  .story-text,
  .cta-copy { font-size: 18px; }
  .button-row { gap: 14px; }
  .btn { width: 100%; }
  .footer-line { justify-content: center; text-align: center; }
  .faction-card { padding-inline: 16px; }
  .faction-name { min-height: auto; font-size: 20px; }
}
.cta-banner-section {
  padding: 18px 0 84px;
}

.cta-banner-link {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(143, 67, 216, 0.65);
  box-shadow:
          0 0 24px rgba(145, 71, 203, 0.18),
          0 0 50px rgba(94, 34, 170, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-banner-link:hover {
  transform: translateY(-2px);
  box-shadow:
          0 0 28px rgba(145, 71, 203, 0.25),
          0 0 60px rgba(94, 34, 170, 0.18);
}

.cta-banner-link img {
  display: block;
  width: 100%;
  height: auto;
}

.hero {
  padding: 40px 0 100px;
}

.hero-single {
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-single::after {
  content: "";
  position: absolute;
  right: 0;
  top: 40px;
  width: 42%;
  height: 420px;
  background:
          radial-gradient(circle, rgba(150, 76, 255, 0.16) 0%, rgba(80, 25, 140, 0.08) 35%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-subtext {
  margin-top: 28px;
  max-width: 760px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.5;
  color: #d8cfea;
}

.hero-buttons {
  margin-top: 34px;
}
.hero-single {
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-copy {
  width: 100%;
  max-width: 100%;
}

.hero h1 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.02;
}