@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --bg: #0f0305;
  --bg-alt: #1a050a;
  --card: #1f0a0f;
  --accent: #c0392b;
  --accent-dark: #8c2a1f;
  --accent-gold: #f39c12;
  --text: #f5f2f3;
  --muted: #b78c92;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, #241018, var(--bg)) fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(243, 156, 18, 0.8) rgba(15, 3, 5, 0.92);
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 3, 5, 0.92);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(243, 156, 18, 0.95), rgba(192, 57, 43, 0.95));
  border: 2px solid rgba(15, 3, 5, 0.9);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 185, 45, 0.95), rgba(214, 69, 53, 0.95));
}

::-webkit-scrollbar-corner {
  background: rgba(15, 3, 5, 0.92);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(rgba(15, 3, 5, 0.97) 0%, rgba(30, 5, 10, 0.92) 100%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  overflow: visible;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgb(192, 57, 43), rgb(243, 156, 18), rgb(192, 57, 43), transparent);
  pointer-events: none;
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgb(146, 43, 33), rgb(192, 57, 43), rgb(146, 43, 33), transparent);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand img {
  width: 56px;
  height: 56px;
}

.nav-links {
  height: 11rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  height: 100%;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.nav-links a.is-active {
  color: var(--accent-gold);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent-gold);
}

.nav-cta {
  padding: 8px 20px;
  border-radius: 0;
  border: 1px solid rgba(243, 156, 18, 0.6);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
}

main {
  flex: 1;
}

.hero {
  position: relative;
  padding: 6rem 1.5rem 4rem;
  background: radial-gradient(circle at 20% 20%, rgba(243, 156, 18, 0.25), transparent),
    linear-gradient(120deg, #0b0204, #140307 55%, #1e050a);
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/content/photo-1528360983277-13d401cdc186.jpg');
  opacity: 0.08;
  filter: grayscale(0.6);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.tagline span {
  color: var(--accent-gold);
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.2;
  text-transform: uppercase;
  margin: 1rem 0;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-gold), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  color: #ffffff80;
  margin: 0;
  max-width: 450px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.2em;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: rgba(231, 76, 60, 0.8);
  box-shadow: 0 10px 30px rgba(192, 57, 43, 0.35);
}

.btn-outline {
  border-color: rgba(243, 156, 18, 0.4);
  color: rgba(255, 255, 255, 0.8);
}

.btn:hover {
  transform: translateY(-2px);
}

.stat-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.stat h4 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--accent-gold);
}

.stat p {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  margin: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hero figure {
  position: relative;
  display: grid;
  place-items: center;
}

.hero figure img {
  max-height: 520px;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.6));
}

.hero figure::after {
  content: '';
  position: absolute;
  bottom: 12px;
  width: 70%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.35), transparent);
  filter: blur(2px);
}

.hero-home {
  padding: 7rem 1.5rem 5rem;
  background: linear-gradient(180deg, #140104 0%, #0c0103 100%);
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  background-image:
    url('/assets/images/content/lantern-lit-asian-paradise-stockcake.jpg');
  background-size: cover;
  background-position: center;
  filter: none;
}

.hero-home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(243, 156, 18, 0.2), transparent 55%);
  pointer-events: none;
}


.hero-home .hero-inner {
  position: relative;
  z-index: 1;
  justify-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
  align-items: center;
}

.hero-logo-stack {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.hero-logo {
  width: 85%;
  margin: 0 auto;
}

.hero-logo-stack::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 156, 18, 0.45), rgba(192, 57, 43, 0));
  filter: blur(2px);
  pointer-events: none;
}


.hero-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-align: center;
  color: #ffffff80;
}

.hero-symbol {
  color: var(--accent-gold);
  letter-spacing: 0;
  font-size: 0.95rem;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 5vw, 3.75rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}

.hero-title-accent,
.hero-title-base {
  display: block;
}

.hero-title-accent {
  background: linear-gradient(135deg, rgb(243, 156, 18), rgb(192, 57, 43), rgb(243, 156, 18));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-title-base {
  color: #fff;
}

.hero-lede {
  color: #ffffff80;
  max-width: 450px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem !important;
}

.hero-logo-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 0;
  align-self: flex-start;
}

.hero-server-strip {
  margin-top: 6rem;
  margin-left: auto;
  margin-right: auto;
  width: min(360px, 100%);
  justify-content: center;
}

.hero-logo-panel .hero-server-strip {
  align-self: center;
}

.hero-server-strip .hero-stat-card {
  flex: 1 1 calc(50% - 0.5rem);
  margin-top: 0;
  text-align: center;
}

.hero-server-strip .hero-stat-card small {
  letter-spacing: 0.22em;
}

.hero-server-strip .hero-stat-card .status-text.status-online {
  color: #7ee2a8;
}

.hero-server-strip .hero-stat-card .status-text.status-offline {
  color: var(--accent);
}

@media (min-width: 900px) {
  .hero-home .hero-inner {
    justify-items: stretch;
    align-items: center;
  }

  .hero-logo-panel {
    justify-content: flex-start;
    align-items: flex-start;
    align-self: stretch;
  }

  .hero-server-strip {
    margin-top: 8.25rem;
  }
}

.hero-actions {
  justify-content: center;
}

.hero-actions .btn {
  min-width: 190px;
}

.hero-indicator {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0;
}

.hero-indicator__dash {
  width: 320px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(192, 57, 43, 0.9), rgba(243, 156, 18, 0.95), transparent);
  box-shadow: 0 0 12px rgba(243, 156, 18, 0.35);
  border-radius: 999px;
}

.hero-stat-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stat-card {
  flex: 1 1 160px;
  border: 1px solid rgba(243, 156, 18, 0.35);
  padding: 0.9rem 1.1rem;
  background: rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
}

.hero-stat-card span {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.35rem;
}

.hero-stat-card small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
}

.hero-stat-card--expansion {
  flex-basis: 100%;
  margin-top: 0.75rem;
  text-align: center;
}


.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-class-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(243, 156, 18, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(243, 156, 18, 0.4);
  padding: 0.35rem 0.85rem;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.hero-visual img {
  max-height: 600px;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.65));
}

.section {
  padding: 4.5rem 1.5rem;
  background: var(--bg);
}

.section-alt {
  background: linear-gradient(180deg, var(--bg), var(--bg-alt));
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  margin-bottom: 0.75rem;
  color: rgba(192, 57, 43, 0.85);
  white-space: nowrap;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, rgba(192, 57, 43, 0.9), transparent);
}

.section-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin: 0;
}

.section-heading em {
  font-style: normal;
  color: var(--accent-gold);
}

.info-cards {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.info-card {
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--card);
  min-height: 180px;
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.info-card p,
.info-card li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.info-card ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
  list-style: square;
}

.feature-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.feature-card h3 {
  margin: 0 0 0.75rem;
}

.feature-card ul {
  margin: 0;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
}

.class-cards {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .class-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .class-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .class-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1350px) {
  .class-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.class-filter {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.class-filter-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(192, 57, 43, 0.28);
  background: rgba(192, 57, 43, 0.08);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.class-filter-btn:hover,
.class-filter-btn:focus-visible {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(243, 156, 18, 0.4);
}

.class-filter-btn.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: rgba(231, 76, 60, 0.8);
  color: #fff;
}

.class-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(192, 57, 43, 0.25);
  background: rgba(192, 57, 43, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.class-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 156, 18, 0.45);
}

.class-card.is-filtered-out {
  display: none;
}

.class-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.class-modal.is-open {
  display: flex;
}

.class-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.class-modal-panel {
  position: relative;
  width: min(860px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgb(26, 3, 8), rgb(15, 3, 5));
  border: 1px solid rgba(192, 57, 43, 0.4);
}

.class-modal-line {
  height: 2px;
  background: linear-gradient(90deg, rgb(192, 57, 43), rgb(243, 156, 18), rgb(192, 57, 43));
}

.class-modal-content {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.class-modal-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.class-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.class-modal-media::after {
  display: none;
}

.class-modal-body {
  position: relative;
  padding: 1.7rem;
  padding-right: 4rem;
}

.class-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.class-modal-close:hover {
  color: #fff;
}

.class-modal-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  padding-right: 1rem;
}

.class-modal-title-row .class-role {
  position: static;
  top: auto;
  right: auto;
  padding: 0.22rem 0.58rem;
  font-size: 0.54rem;
  letter-spacing: 0.07em;
}

.class-modal-title {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

.class-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.class-meta-box {
  padding: 0.5rem;
  border: 1px solid rgba(192, 57, 43, 0.2);
  background: rgba(192, 57, 43, 0.1);
  text-align: center;
}

.class-meta-box small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.class-meta-box strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
}

.class-modal-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.class-modal-points {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.class-modal-points h4 {
  margin: 0 0 0.5rem;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.class-modal-points ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.class-modal-points li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.class-modal-points li::before {
  content: '◆ ';
  position: absolute;
  left: 0;
  top: 0.02rem;
}

.class-modal-pros h4,
.class-modal-pros li::before {
  color: #4cd997;
}

.class-modal-cons h4,
.class-modal-cons li::before {
  color: #ff6b6b;
}

@media (max-width: 900px) {
  .class-modal-content {
    grid-template-columns: 1fr;
  }

  .class-modal-media {
    min-height: 240px;
    max-height: 320px;
  }

  .class-modal-media::after {
    background: linear-gradient(to top, rgb(26, 3, 8) 20%, transparent);
  }

  .class-modal-points {
    grid-template-columns: 1fr;
  }
}

.class-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgb(192, 57, 43), rgb(243, 156, 18), rgb(192, 57, 43));
  z-index: 2;
}

.class-card-media {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.class-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0.85;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.class-card:hover .class-card-media img {
  transform: scale(1.08);
  opacity: 1;
}

.class-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 55%);
}

.class-card-body {
  padding: 0.85rem;
}

.class-card-body h3 {
  margin: 0;
  font-size: 0.92rem;
}

.class-race {
  margin-top: 0.2rem;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-pill-row {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.class-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.class-role {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
}

.class-role-tank {
  color: #52b6ff;
  background: rgba(82, 182, 255, 0.16);
  border-color: rgba(82, 182, 255, 0.4);
}

.class-role-dps {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.16);
  border-color: rgba(255, 107, 107, 0.4);
}

.class-role-support {
  color: #4cd997;
  background: rgba(76, 217, 151, 0.16);
  border-color: rgba(76, 217, 151, 0.4);
}

.class-type-physical {
  color: #ffa24d;
  background: rgba(255, 162, 77, 0.14);
  border-color: rgba(255, 162, 77, 0.35);
}

.class-type-magical {
  color: #c48bff;
  background: rgba(196, 139, 255, 0.14);
  border-color: rgba(196, 139, 255, 0.35);
}

.class-card-corner {
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid rgba(192, 57, 43, 0.45);
  pointer-events: none;
}

.class-card-corner--left {
  left: 0;
  border-left: 2px solid rgba(192, 57, 43, 0.45);
}

.class-card-corner--right {
  right: 0;
  border-right: 2px solid rgba(192, 57, 43, 0.45);
}

.why-layout {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.why-copy p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.78);
}

.why-copy .btn {
  margin-top: 1.5rem;
}

.why-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.why-card {
  position: relative;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(243, 156, 18, 0.25);
  background: rgba(0, 0, 0, 0.25);
  min-height: 120px;
  overflow: hidden;
}

.why-card::before,
.why-card::after {
  content: '';
  position: absolute;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(192, 57, 43, 0.45);
  pointer-events: none;
}

.why-card::before {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}

.why-card::after {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}

.why-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(243, 156, 18, 0.7);
  margin-bottom: 0.5rem;
}

.why-card strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.news-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.news-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 156, 18, 0.25);
  background: rgba(192, 57, 43, 0.05);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgb(192, 57, 43), rgb(243, 156, 18), rgb(192, 57, 43));
  z-index: 2;
  pointer-events: none;
}

.news-card figure {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.news-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 2px 8px;
  border-radius: 0;
  font-size: 0.65rem;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 3, 5, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-update,
.badge-patch {
  color: #f39c12;
  border-color: rgba(245, 166, 35, 0.55);
  background: rgba(245, 166, 35, 0.25);
  box-shadow: inset 0 0 12px rgba(245, 166, 35, 0.25);
}

.badge-event {
  color: rgb(231, 76, 60);
  border-color: rgba(192, 57, 43, 0.6);
  background: rgba(192, 57, 43, 0.25);
  box-shadow: inset 0 0 12px rgba(192, 57, 43, 0.25);
}

.badge-news {
  color: rgba(89, 255, 176, 0.9);
  border-color: rgba(39, 174, 96, 0.6);
  background: rgba(39, 174, 96, 0.22);
  box-shadow: inset 0 0 12px rgba(39, 174, 96, 0.3);
}

.news-card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-meta {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(192, 57, 43, 0.9);
}

.news-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.news-body h3 {
  margin: 0;
  font-size: 1.1rem;
}

.news-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.news-body p.news-meta {
  color: rgba(192, 57, 43, 0.9);
}

.news-body h3 + p {
  margin-top: 3px;
}

.news-feature {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  align-items: start;
}

.news-feature figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.news-feature figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.news-feature figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--border);
}

.news-feature article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.feature-actions {
  margin-top: 1.5rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.chip {
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 156, 18, 0.4);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.chip.guide-tag {
  border-width: 1px;
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  padding: 0.22rem 0.55rem;
  border-radius: 0;
}

.guide-tag--beginner {
  color: #ffd699;
  background: rgba(243, 156, 18, 0.18);
  border-color: rgba(243, 156, 18, 0.58);
}

.guide-tag--questing {
  color: #ffb6b6;
  background: rgba(231, 76, 60, 0.18);
  border-color: rgba(231, 76, 60, 0.56);
}

.guide-tag--leveling {
  color: #b8f0ff;
  background: rgba(52, 152, 219, 0.2);
  border-color: rgba(52, 152, 219, 0.56);
}

html[data-theme='blue'] .guide-tag--beginner {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(129, 140, 248, 0.56);
}

html[data-theme='blue'] .guide-tag--questing {
  color: #99f6e4;
  background: rgba(20, 184, 166, 0.2);
  border-color: rgba(45, 212, 191, 0.55);
}

html[data-theme='blue'] .guide-tag--leveling {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.55);
}

.news-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 1.75rem;
}

.news-list li {
  padding-left: 1.5rem;
  position: relative;
}

.news-list li::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-gold);
  border-radius: 50%;
  left: -7px;
  top: 6px;
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.45);
}

.news-list-date {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-link:hover {
  color: var(--accent-gold);
}

.article-meta-bar {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.article-meta-pill {
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.article-layout {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.article-main {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.article-main article,
.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
}

.article-main article h2,
.article-main article h3 {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 2rem;
}

.article-main article h2:first-of-type {
  margin-top: 0;
}

.article-main article p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.25rem;
}

.article-figure {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

.article-figure figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.65);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.article-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.article-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.article-card dt {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.article-card dd {
  margin: 0;
}

.article-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.article-timeline li {
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  padding-left: 1.25rem;
  position: relative;
}

.article-timeline li::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
  left: -6px;
  top: 6px;
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.4);
}

.quote-card {
  border-left: 4px solid var(--accent-gold);
  padding: 1.5rem 1.75rem;
  background: rgba(243, 156, 18, 0.07);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
}

.article-inline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.article-inline-grid .pill {
  justify-content: flex-start;
}

.site-footer {
  padding: 2.5rem 1.5rem 3.5rem;
  border-top: 1px solid var(--border);
  background: #050203;
  color: rgba(255, 255, 255, 0.7);
}

.hero-subpage {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-subpage .hero-inner {
  align-items: flex-start;
}

.hero-subpage figure img {
  border-radius: var(--radius);
  max-height: 440px;
  object-fit: cover;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.5rem;
}

.breadcrumb a {
  color: var(--accent-gold);
}

.section-lede {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 60ch;
}

.info-cards--dense .info-card {
  min-height: auto;
}

.info-card small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.4rem;
}

.data-wrapper {
  margin-top: 1.75rem;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.note-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.note-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.note-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.list-check li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 0.75rem;
  top: 0.1rem;
}

.rulebook-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rule-item;
  display: grid;
  gap: 0.65rem;
}

.rulebook-row {
  counter-increment: rule-item;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--border);
  border-left: 2px solid color-mix(in srgb, var(--accent) 70%, transparent);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.8rem 1rem;
}

.rulebook-row::before {
  content: counter(rule-item, decimal-leading-zero);
  min-width: 2.2rem;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.42rem;
}

.rulebook-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 156, 18, 0.4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.account-layout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.account-form {
  display: flex;
  flex-direction: column;
}

.account-panel {
  position: relative;
  overflow: hidden;
}

.account-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgb(192, 57, 43), rgb(243, 156, 18), rgb(192, 57, 43));
  z-index: 2;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.form-field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.62rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-field input:focus {
  outline: 2px solid rgba(243, 156, 18, 0.65);
  outline-offset: 1px;
  border-color: rgba(243, 156, 18, 0.5);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 2.4rem;
}

.password-toggle {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.password-toggle svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.password-toggle .icon-eye-off {
  display: none;
}

.password-toggle.is-visible .icon-eye {
  display: none;
}

.password-toggle.is-visible .icon-eye-off {
  display: block;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--accent-gold);
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(243, 156, 18, 0.65);
  outline-offset: 2px;
}

.field-error {
  display: none;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--accent);
  line-height: 1.3;
}

.form-field.is-invalid .field-error,
.form-check-wrap.is-invalid .field-error {
  display: block;
}

.form-field.is-invalid input {
  border-color: var(--accent);
}

.form-check-wrap {
  margin-top: 1rem;
}

.form-check {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1rem 1fr;
  column-gap: 0.6rem;
  align-items: start;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.form-check-wrap .field-error {
  margin-left: calc(1rem + 0.6rem);
}

.account-actions {
  gap: 0.75rem;
}

.account-side-actions {
  flex-direction: column;
  align-items: stretch;
}

.account-side-actions .btn {
  width: 100%;
}

.account-actions .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.account-actions .btn.btn-primary {
  color: #fff;
}

.account-login-note {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
}

.account-login-note a {
  color: var(--accent);
}

.account-login-note a:hover,
.account-login-note a:focus-visible {
  color: var(--accent-gold);
}

.account-panel .list-check li {
  font-size: 0.84rem;
}

.btn-row.account-actions .btn,
.btn-row.account-actions .btn.btn-primary,
.btn-row.account-actions .btn.btn-outline,
.account-form .btn,
.account-panel .btn {
  border-radius: 0 !important;
}

.form-check-wrap.is-invalid .form-check span {
  color: var(--accent);
}

.form-check input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--accent-gold);
}

.cta-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.25), rgba(20, 5, 8, 0.95));
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.guide-article-page .hero h1,
.news-article-page .hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.guide-article-page .hero p,
.news-article-page .hero p {
  font-size: 0.95rem;
}

.guide-article-page .article-meta-pill,
.news-article-page .article-meta-pill {
  font-size: 0.7rem;
  padding: 0.4rem 1rem;
}

.guide-article-page .article-main article,
.guide-article-page .article-card,
.news-article-page .article-main article,
.news-article-page .article-card {
  font-size: 0.93rem;
}

.guide-article-page .article-main article h2,
.news-article-page .article-main article h2 {
  font-size: 1.25rem;
}

.guide-article-page .article-main article h3,
.guide-article-page .article-card h3,
.news-article-page .article-main article h3,
.news-article-page .article-card h3 {
  font-size: 0.92rem;
}

.guide-article-page .article-main article p,
.guide-article-page .article-card p,
.guide-article-page .list-check li,
.guide-article-page .article-timeline li p,
.news-article-page .article-main article p,
.news-article-page .article-card p,
.news-article-page .list-check li,
.news-article-page .article-timeline li p {
  font-size: 0.88rem;
}

.guide-article-page .quote-card,
.news-article-page .quote-card {
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 40;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(86vw, 340px);
    max-width: 100vw;
    height: 100dvh;
    background:
      linear-gradient(180deg, rgba(243, 156, 18, 0.08), transparent 18%),
      linear-gradient(135deg, rgba(15, 3, 5, 0.98), rgba(26, 5, 10, 0.96));
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 5.6rem 1.25rem 1.25rem;
    overflow-y: auto;
    overflow-x: hidden;
    display: none !important;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 30;
    border-left: 1px solid rgba(243, 156, 18, 0.25);
    box-shadow: -18px 0 34px rgba(0, 0, 0, 0.45);
  }

  .nav-links::before {
    content: 'Navigation';
    width: 100%;
    margin: 0 0 0.85rem;
    padding: 0 0.2rem 0.65rem;
    border-bottom: 1px solid rgba(243, 156, 18, 0.28);
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.56);
  }

  .nav-links a {
    width: 100%;
    padding: 0.62rem 0.7rem;
    border-left: 2px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.82);
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a.is-active {
    border-left-color: rgba(243, 156, 18, 0.88);
    background: rgba(243, 156, 18, 0.12);
    color: #fff;
  }

  .nav-links.is-open {
    display: flex !important;
    animation: nav-drawer-in 0.28s ease both;
  }

  @keyframes nav-drawer-in {
    from {
      transform: translateX(100%);
      opacity: 0;
    }

    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .nav-links .nav-cta {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.4rem;
    padding: 0.72rem 0.7rem;
    border: 1px solid rgba(243, 156, 18, 0.52);
    border-left: 2px solid rgba(243, 156, 18, 0.9);
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-align: center;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 1rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .btn-row {
    flex-direction: column;
  }

  .stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .feature-card,
  .info-card,
  .news-card {
    padding: 1.5rem;
  }

  .cta-panel {
    padding: 1.75rem;
  }
}

@media (max-width: 420px) {
  .header-inner {
    padding: 0.85rem 0.7rem;
    gap: 0.55rem;
  }

  .brand {
    gap: 0.45rem;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-inner,
  .hero-home .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
  }
}

.section-lead {
  margin: 0.65rem 0 2rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 64ch;
}

.event-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
}

.event-day {
  border: 1px solid rgba(192, 57, 43, 0.35);
  background: linear-gradient(180deg, rgba(48, 3, 8, 0.9), rgba(20, 3, 6, 0.9));
  min-height: 190px;
}

.event-day header {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border-bottom: 1px solid rgba(192, 57, 43, 0.35);
  text-transform: uppercase;
}

.event-day header h3 {
  margin: 0;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.event-day header small {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: #f39c12;
  font-weight: 700;
}

.event-day.is-today {
  border-color: rgba(243, 156, 18, 0.65);
  box-shadow: 0 0 0 1px rgba(243, 156, 18, 0.22) inset;
}

.event-day.is-today header {
  background: linear-gradient(90deg, rgba(243, 156, 18, 0.22), rgba(243, 156, 18, 0.08));
}

.event-item {
  margin: 0.55rem;
  padding: 0.55rem 0.58rem;
  border: 1px solid transparent;
  border-left-width: 3px;
  background: rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 0.15rem;
}

.event-item strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.event-item span {
  font-size: 0.78rem;
  line-height: 1.3;
}

.event-war {
  border-color: rgba(255, 99, 99, 0.75);
  color: #ffb4b4;
  background: rgba(74, 7, 10, 0.48);
}

.event-pvp {
  border-color: rgba(255, 149, 73, 0.75);
  color: #ffc8a0;
  background: rgba(88, 38, 8, 0.45);
}

.event-pve {
  border-color: rgba(76, 217, 151, 0.78);
  color: #bcf7da;
  background: rgba(7, 60, 35, 0.4);
}

.event-tournament {
  border-color: rgba(243, 156, 18, 0.78);
  color: #ffd89d;
  background: rgba(91, 53, 8, 0.45);
}

.event-special {
  border-color: rgba(172, 111, 255, 0.72);
  color: #dcc1ff;
  background: rgba(63, 20, 93, 0.42);
}

.event-bonus {
  border-color: rgba(86, 176, 255, 0.75);
  color: #b9deff;
  background: rgba(16, 42, 79, 0.46);
}

.event-legend {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.event-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.event-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.event-dot.event-war {
  background: #ff5f5f;
}

.event-dot.event-pvp {
  background: #ff9448;
}

.event-dot.event-pve {
  background: #2ecc71;
}

.event-dot.event-tournament {
  background: #f39c12;
}

.event-dot.event-special {
  background: #9b59b6;
}

.event-dot.event-bonus {
  background: #3498db;
}

@media (max-width: 1200px) {
  .event-calendar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .event-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .event-calendar-grid {
    grid-template-columns: 1fr;
  }
}
