*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #d4a846;
  --gold-light: #f0d68a;
  --gold-dark: #8b6914;
  --cyan: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.5);
  --dark: #0a0c14;
  --dark-blue: #0d1220;
  --dark-card: rgba(17, 24, 39, 0.86);
  --text: #e0dcd4;
  --text-muted: #d0ccd9;
  --danger: #ef4444;
  --success: #22c55e;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Crimson Text', Georgia, serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  min-height: 100vh;
}

::selection { background: var(--gold-dark); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }

a { color: var(--cyan); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold-light); }

nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0 2rem;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(10, 12, 20, .97), rgba(10, 12, 20, .72));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 70, .15);
  transition: all .3s;
}

nav.scrolled {
  background: rgba(10, 12, 20, .98);
  box-shadow: 0 4px 30px rgba(0, 229, 255, .05);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(180deg, #fff6cf 0%, #ebcb72 40%, #c08a23 75%, #6f4c12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: .7px rgba(68, 46, 8, .5);
  text-shadow:
    0 1px 0 rgba(255, 244, 194, .22),
    0 6px 18px rgba(0, 0, 0, .28);
}

.nav-wordmark {
  font-size: 1.5rem;
  white-space: nowrap;
}

.footer-wordmark {
  font-size: 1.8rem;
  margin-bottom: .9rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: .5rem 0;
  transition: color .3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  border: none;
  padding: .5rem 0;
  color: var(--text-muted) !important;
}

.nav-cta:hover,
.nav-cta.active {
  color: var(--gold-light) !important;
  background: transparent;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all .3s;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/background_hero.png') center top / cover no-repeat;
  filter: brightness(1.03) saturate(1.08);
  transform: none;
  animation: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center 18%, rgba(0, 229, 255, .05), transparent 24%),
    linear-gradient(180deg, rgba(10, 12, 20, .02) 0%, rgba(10, 12, 20, .03) 45%, rgba(10, 12, 20, .48) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(212, 168, 70, .6), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(0, 229, 255, .5), transparent),
    radial-gradient(1.5px 1.5px at 50% 30%, rgba(212, 168, 70, .7), transparent),
    radial-gradient(1px 1px at 70% 80%, rgba(0, 229, 255, .4), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(212, 168, 70, .5), transparent);
  animation: particleFloat 8s ease-in-out infinite alternate;
}

@keyframes particleFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 2rem;
}

.hero-content-bottom {
  margin-bottom: 6rem;
}

.hero-tagline {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .8rem;
  opacity: 0;
  animation: fadeUp .8s .4s forwards;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e4dfd6;
  max-width: 560px;
  margin: 0 auto 2rem;
  text-shadow: 0 6px 20px rgba(0, 0, 0, .45);
  opacity: 0;
  animation: fadeUp .8s .6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll svg { width: 28px; stroke: var(--gold); opacity: .65; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary,
.btn-secondary {
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .9rem 2.1rem;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 70, .4);
  color: var(--dark);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left .5s;
}

.btn-primary:hover::after { left: 100%; }

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

.btn-secondary:hover {
  background: rgba(0, 229, 255, .1);
  box-shadow: 0 0 20px rgba(0, 229, 255, .2);
  transform: translateY(-2px);
  color: var(--cyan);
}

.status-bar {
  background: linear-gradient(90deg, rgba(13, 18, 32, .95), rgba(17, 24, 39, .95));
  border-top: 1px solid rgba(212, 168, 70, .1);
  border-bottom: 1px solid rgba(212, 168, 70, .1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.status-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Cinzel', serif;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, .5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.status-item .label { color: var(--text-muted); }
.status-item .value { color: var(--gold-light); font-weight: 600; }

section { padding: 5rem 2rem; }

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f4e5b2;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .22);
  margin-bottom: .8rem;
}

.section-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 1rem auto 1.5rem;
}

.page-header {
  padding-top: 145px;
  padding-bottom: 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(0, 229, 255, .04), transparent 60%),
    linear-gradient(180deg, rgba(13, 18, 32, 1), var(--dark));
  border-bottom: 1px solid rgba(212, 168, 70, .08);
}

.page-header h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #f4e5b2;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .2);
  margin-bottom: .5rem;
}

.page-header p { color: var(--text-muted); font-size: 1.05rem; }

.features {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, .03), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(212, 168, 70, .03), transparent 50%),
    var(--dark);
}

.features-grid {
  
  
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card,
.download-box,
.auth-box,
.profile-card,
.tier-card,
.admin-card,
.content-card,
.community-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, .84), rgba(13, 18, 32, .95));
  border: 1px solid rgba(212, 168, 70, .12);
}

.feature-card {
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: all .4s;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: rgba(212, 168, 70, .35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--gold));
  opacity: 0;
  transition: opacity .4s;
}

.feature-card:hover::before { opacity: 1; }

.feature-media {
  width: 100%;
  min-height: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 70, .08);
  background: linear-gradient(180deg, rgba(9, 13, 24, .9), rgba(16, 22, 38, .8));
  padding: 0;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: .6rem;
  letter-spacing: .05em;
}

.feature-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

.server-details-grid {
  
  
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.server-detail-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, .84), rgba(13, 18, 32, .95));
  border: 1px solid rgba(212, 168, 70, .12);
  padding: 1.15rem 1.25rem;
  min-height: 0;
}

.server-detail-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: .45rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.server-detail-card p {
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.4;
}

.download-section {
  background:
    radial-gradient(ellipse at center, rgba(212, 168, 70, .03), transparent 60%),
    var(--dark);
}

.download-box {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem;
  position: relative;
  text-align: center;
}

.download-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--gold-dark), transparent 30%, transparent 70%, var(--cyan));
  z-index: -1;
  opacity: .3;
}

.download-version {
  font-family: 'Cinzel', serif;
  color: var(--cyan);
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.download-size { color: var(--text-muted); margin-bottom: 2rem; font-size: .95rem; }

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.download-method-note {
  color: var(--text-muted);
  font-size: .92rem;
  margin-top: -.35rem;
}

.download-requirements {
  text-align: left;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 168, 70, .1);
}

.download-requirements h4,
.admin-subtitle {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: .1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.requirements-list {
  
  
  gap: .8rem 1.2rem;
}

.requirement-item {
  color: var(--text-muted);
  font-size: .92rem;
  border-bottom: 1px solid rgba(212, 168, 70, .06);
  padding-bottom: .5rem;
}

.requirement-item strong { color: var(--gold-light); margin-right: .35rem; }

.content-grid {
  max-width: 1100px;
  margin: 2rem auto 0;
  
  
  gap: 1.5rem;
}

.content-card {
  padding: 2rem;
}

.content-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.content-list p,
.community-intro { color: var(--text-muted); }

.community-grid {
  
  
  gap: 1rem;
  margin-top: 1.2rem;
}

.community-card {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: all .3s;
}

.community-card strong {
  color: var(--cyan);
  font-family: 'Cinzel', serif;
  letter-spacing: .05em;
}

.community-card span { color: var(--text-muted); font-size: .92rem; }

.community-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, .28);
}

.donate-section {
  background:
    radial-gradient(ellipse at center, rgba(212, 168, 70, .04), transparent 60%),
    var(--dark);
}

.donate-tiers {
  
  
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.tier-card {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all .4s;
}

.tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 70, .3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.tier-card.popular { border-color: var(--gold); }

.tier-card.popular::after {
  content: 'BEST VALUE';
  position: absolute;
  top: -.7rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .15em;
  padding: .3rem 1rem;
  background: var(--gold);
  color: var(--dark);
}

.tier-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--cyan);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.tier-price {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.5rem;
  color: var(--gold-light);
  margin-bottom: .3rem;
}

.tier-price span { font-size: 1rem; color: var(--text-muted); }
.tier-coins { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.5rem; }

.tier-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.tier-features li {
  padding: .4rem 0;
  color: var(--text-muted);
  font-size: .9rem;
  border-bottom: 1px solid rgba(212, 168, 70, .05);
}

.tier-features li::before { content: '✦ '; color: var(--gold); }

.payment-methods-grid {
  max-width: 1100px;
  margin: 0 auto;
  
  
  gap: 1.5rem;
}

.payment-method-card {
  padding: 2rem;
  background: linear-gradient(145deg, rgba(17, 24, 39, .88), rgba(13, 18, 32, .96));
  border: 1px solid rgba(212, 168, 70, .16);
}

.payment-method-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.payment-method-summary {
  color: var(--cyan);
  font-size: .95rem;
  margin-bottom: 1rem;
}

.payment-method-details p {
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.8;
}

.auth-section,
.admin-section {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(0, 229, 255, .03), transparent 50%),
    var(--dark-blue);
}

.auth-section {
  min-height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
}

.auth-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.auth-single { max-width: 460px; margin: 0 auto; width: 100%; }

.auth-box,
.profile-card,
.admin-card {
  padding: 2.4rem;
}

.auth-box h3,
.profile-card h3,
.admin-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--gold-light);
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  background: rgba(10, 12, 20, .8);
  border: 1px solid rgba(212, 168, 70, .15);
  color: var(--text);
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  transition: border-color .3s;
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138, 133, 120, .5); }

.form-submit {
  width: 100%;
  margin-top: .5rem;
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .9rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  border: none;
  cursor: pointer;
  transition: all .3s;
}

.form-submit:hover { box-shadow: 0 4px 20px rgba(212, 168, 70, .4); }
.form-submit.cyan { background: linear-gradient(135deg, var(--cyan), #0088aa); }

.form-link {
  text-align: center;
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--text-muted);
}

.profile-grid {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  
  
  gap: 2rem;
  align-items: stretch;
  justify-content: center;
}

.profile-grid > .profile-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.profile-grid > .profile-card form {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.profile-grid > .profile-card .form-submit {
  margin-top: auto;
}

.profile-card h3 {
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(212, 168, 70, .1);
}

.profile-stat {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(212, 168, 70, .05);
}

.profile-stat .stat-label { color: var(--text-muted); font-size: .9rem; }
.profile-stat .stat-value { color: var(--gold-light); font-family: 'Cinzel', serif; font-size: .9rem; }

.profile-info-grid {
  
  
  gap: .85rem;
}

.profile-info-grid .profile-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .38rem;
  min-width: 0;
  min-height: 4.5rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(212, 168, 70, .16);
  border-radius: .7rem;
  background: rgba(212, 168, 70, .07);
}

.profile-info-grid .stat-label { font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.profile-info-grid .stat-value { overflow-wrap: anywhere; font-size: 1rem; }

@media (max-width: 600px) {
  .profile-info-grid {  }
}

.history-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: .32rem .7rem;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.history-status-success {
  color: #4ade80;
  border-color: rgba(74, 222, 128, .3);
  background: rgba(74, 222, 128, .08);
}

.history-status-refunded {
  color: #f87171;
  border-color: rgba(248, 113, 113, .3);
  background: rgba(248, 113, 113, .08);
}

.flash-message {
  position: fixed;
  top: 95px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  padding: 1rem 2rem;
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideDown .4s ease;
  max-width: 560px;
  width: 90%;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.flash-success { background: rgba(34, 197, 94, .15); border: 1px solid var(--success); color: var(--success); }
.flash-error { background: rgba(239, 68, 68, .15); border: 1px solid var(--danger); color: var(--danger); }
.flash-info { background: rgba(0, 229, 255, .1); border: 1px solid var(--cyan); color: var(--cyan); }

.flash-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.3rem;
  cursor: pointer;
  margin-left: auto;
}

footer {
  background: rgba(10, 12, 20, .98);
  border-top: 1px solid rgba(212, 168, 70, .1);
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto 2rem;
  
  
  gap: 2rem;
}

.footer-brand p { color: var(--text-muted); font-size: .9rem; max-width: 400px; line-height: 1.7; }

.footer-links h4,
.footer-social h4 {
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: .9rem;
  padding: .25rem 0;
  transition: color .3s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-social-icons {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.footer-social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 168, 70, .2);
  color: var(--text-muted);
  font-size: 1rem;
  transition: all .3s;
}

.footer-social-icons a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 70, .1);
}

.footer-community-copy {
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-size: .9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 168, 70, .08);
  color: var(--text-muted);
  font-size: .8rem;
  letter-spacing: .05em;
}

.admin-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.admin-page-header {
  padding-bottom: 2.4rem;
}

.admin-layout {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 100px;
}

.admin-sidebar-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, .88), rgba(13, 18, 32, .98));
  border: 1px solid rgba(212, 168, 70, .14);
  padding: 1.25rem;
  display: grid;
  gap: .55rem;
}

.admin-sidebar-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: .45rem;
}

.admin-sidebar-card a {
  display: block;
  padding: .7rem .85rem;
  color: var(--text-muted);
  border: 1px solid rgba(212, 168, 70, .08);
  background: rgba(10, 12, 20, .35);
  transition: all .25s ease;
}

.admin-sidebar-card a:hover {
  color: var(--gold-light);
  border-color: rgba(212, 168, 70, .25);
  transform: translateX(4px);
}

.admin-sidebar-card a.active {
  color: var(--gold-light);
  border-color: rgba(212, 168, 70, .28);
  background: rgba(212, 168, 70, .08);
}

.admin-content {
  display: grid;
  gap: 1.5rem;
}

.admin-card-hidden {
  display: none;
}

.admin-card-header {
  margin-bottom: 1.5rem;
}

.admin-card-header p {
  color: var(--text-muted);
  font-size: .95rem;
}

.admin-form { display: grid; gap: 1.25rem; }

.admin-subcard {
  border: 1px solid rgba(212, 168, 70, .1);
  background: rgba(10, 12, 20, .28);
  padding: 1rem;
}

.admin-subcard h4 {
  font-family: 'Cinzel', serif;
  color: var(--cyan);
  font-size: .9rem;
  margin-bottom: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}

.admin-grid-span { grid-column: 1 / -1; }

.admin-repeater {
  display: grid;
  gap: 1rem;
}

.admin-repeat-item {
  border: 1px solid rgba(212, 168, 70, .08);
  background: rgba(10, 12, 20, .28);
  padding: 1rem;
}

.admin-repeat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
}

.admin-repeat-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
  gap: .9rem;
  align-items: end;
}

.admin-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-actions .form-submit {
  width: auto;
  min-width: 220px;
  margin-top: 0;
}

.admin-remove {
  padding: .7rem 1rem;
  border: 1px solid rgba(239, 68, 68, .35);
  background: rgba(239, 68, 68, .08);
  color: #fca5a5;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: all .3s;
}

.admin-remove:hover {
  background: rgba(239, 68, 68, .14);
  border-color: rgba(239, 68, 68, .55);
}

.admin-image-preview {
  margin-top: .85rem;
  display: grid;
  gap: .55rem;
}

.admin-image-preview img {
  width: 100%;
  max-width: 220px;
  height: 140px;
  object-fit: cover;
  border: 1px solid rgba(212, 168, 70, .16);
  background: rgba(10, 12, 20, .35);
}

.admin-image-preview span {
  color: var(--text-muted);
  font-size: .8rem;
  word-break: break-all;
}

/* Compact admin layout: prioritize data density without changing form behavior. */
.admin-body .admin-page-header {
  padding: 105px 1.25rem 1.35rem;
}

.admin-body .admin-page-header h1 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin-bottom: .25rem;
}

.admin-body .admin-page-header .section-divider {
  margin: .45rem auto .65rem;
}

.admin-body .admin-page-header p {
  font-size: .9rem;
}

.admin-body .admin-section {
  padding: 1rem 1.25rem 2.5rem;
}

.admin-body .admin-layout {
  width: 100%;
  max-width: 1580px;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 1rem;
}

.admin-body .admin-sidebar {
  top: 92px;
}

.admin-body .admin-sidebar-card {
  padding: .75rem;
  gap: .35rem;
}

.admin-body .admin-sidebar-card h3 {
  font-size: .85rem;
  margin: 0 0 .25rem;
}

.admin-body .admin-sidebar-card a {
  padding: .5rem .65rem;
  font-size: .84rem;
}

.admin-body .admin-content {
  gap: 1rem;
}

.admin-body .admin-card {
  padding: 1.15rem;
}

.admin-body .admin-card h3 {
  font-size: .98rem;
  margin-bottom: .65rem;
}

.admin-body .admin-card-header {
  margin-bottom: .8rem;
}

.admin-body .admin-card-header p {
  font-size: .84rem;
  line-height: 1.45;
}

.admin-body .admin-form,
.admin-body .admin-repeater {
  gap: .7rem;
}

.admin-body .admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem .8rem;
}

.admin-body .form-group {
  margin-bottom: .55rem;
}

.admin-body .admin-repeat-inline > .form-group{
  margin-bottom: 0;
}

.admin-body .form-group label {
  margin-bottom: .25rem;
  font-size: .67rem;
  letter-spacing: .07em;
}

.admin-body .form-group input,
.admin-body .form-group select,
.admin-body .form-group textarea {
  min-height: 36px;
  padding: .5rem .7rem;
  font-size: .9rem;
}

.admin-body .form-group textarea {
  min-height: 72px;
}

.admin-body .form-submit,
.admin-body .btn-secondary,
.admin-body .admin-remove {
  min-height: 36px;
  padding: .55rem .75rem;
  font-size: .72rem;
}

.admin-body .admin-subcard,
.admin-body .admin-repeat-item {
  padding: .7rem;
}

.admin-body .admin-subcard h4 {
  margin-bottom: .55rem;
  font-size: .78rem;
}

.admin-body .admin-repeat-head {
  margin-bottom: .5rem;
  font-size: .82rem;
}

.admin-body .admin-repeat-inline {
  gap: .6rem;
}

.admin-body .admin-actions {
  gap: .55rem;
}

.admin-body .admin-actions .form-submit {
  min-width: 160px;
}

.admin-body .admin-image-preview {
  margin-top: .5rem;
  gap: .35rem;
}

.admin-body .admin-image-preview img {
  max-width: 160px;
  height: 90px;
}

.admin-body .history-status {
  min-width: 70px;
  padding: .24rem .45rem;
  font-size: .62rem;
}

@media (max-width: 1400px) {
  .admin-body .admin-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}



@media (max-width: 960px) {
  .admin-body .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-body .admin-sidebar {
    position: static;
  }

  .admin-body .admin-sidebar-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-body .admin-sidebar-card h3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .admin-body .admin-page-header {
    padding-top: 96px;
  }

  .admin-body .admin-section {
    padding-inline: .75rem;
  }

  .admin-body .admin-grid,
  .admin-body .admin-sidebar-card {
    grid-template-columns: 1fr;
  }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all .7s cubic-bezier(.22, 1, .36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .footer-content,
  .content-grid,
  .auth-container,
  .profile-grid,
  .admin-grid,
  .admin-repeat-inline,
  .admin-layout{
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  nav { padding: 0 1rem; height: 78px; }
  .nav-wordmark { font-size: 1.12rem; }
  .footer-wordmark { font-size: 1.4rem; }

  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(10, 12, 20, .98);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.2rem;
    transform: translateY(-130%);
    transition: transform .4s;
  }

  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .status-bar { gap: 1.5rem; }
  .hero { min-height: 640px; }
  .hero-bg { background-position: center top; background-size: cover; }
  .hero-content-bottom { margin-bottom: 5rem; }
  .hero-subtitle { font-size: 1rem; }
  .features-grid,
  .server-details-grid,
  .donate-tiers,
  .payment-methods-grid {  }
  .download-box,
  .auth-box,
  .profile-card,
  .admin-card,
  .content-card { padding: 1.5rem; }
  .admin-actions .form-submit { width: 100%; }
}

/* Nova Arcana: celestial public theme. Keep administrative controls independent. */
.brand-logo { display:block; object-fit:contain; width:210px; height:auto; }
.nav-logo { max-height:80px; }
.footer-logo { width:180px; }
.ui-icon { width:24px; height:24px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.skip-link { position:fixed; left:1rem; top:-100px; z-index:200; padding:.6rem 1rem; background:#171226; color:#fff; }
.skip-link:focus { top:1rem; }
.site-body {
  --gold:#cbb29b; --gold-light:#f2d9ba; --gold-dark:#8d6ca6;
  --cyan:#c7b6f1; --cyan-glow:rgba(178,132,255,.3);
  --dark:#090c17; --dark-blue:#101321; --dark-card:rgba(14,17,31,.9);
  --text:#eee8f6; --text-muted:#d6d2e2; --success:#86e6b2;
  background:#090c17; color:var(--text);
}
.site-body a:focus-visible, .site-body button:focus-visible, .site-body input:focus-visible,
.site-body select:focus-visible, .site-body textarea:focus-visible {
  outline:2px solid #dfc4ff; outline-offset:5px;
}
.site-body nav {
  height:96px; padding-inline:max(5%, calc((100vw - 1280px)/2));
  background:linear-gradient(180deg,rgba(9,11,23,.86),rgba(9,11,23,.22));
  border-bottom:1px solid rgba(210,188,231,.2); backdrop-filter:blur(8px);
}
.site-body nav.scrolled { background:rgba(9,11,23,.95); box-shadow:0 4px 30px #0003; }
.site-body .nav-links { gap:clamp(1rem,2.5vw,2.8rem); }
.site-body .nav-links a { font-family:'Crimson Text',Georgia,serif; font-size:1rem; letter-spacing:.02em; text-transform:none; color:#e9e3f3; }
.site-body .nav-links a.active, .site-body .nav-links a:hover { color:#e5c7ff; }
.site-body .nav-links a::after { background:#c8a0f8; box-shadow:0 0 9px #b98be4; height:1px; }
.site-body .hero { height:600px; min-height:0; padding:0; text-align:left; display:block; }
.site-body .hero-bg { background-image:url('../images/background_hero.webp?v=arcana-20260924'); background-position:center top; filter:none; }
.site-body .hero-overlay { background:linear-gradient(90deg,rgba(7,10,22,.35),transparent 65%),linear-gradient(0deg,#090c17 0%,transparent 28%); }
.site-body .hero-particles { opacity:.35; pointer-events:none; }
.hero-inner { position:relative; max-width:1280px; width:90%; margin:auto; padding-top:158px; padding-bottom:88px; }
.site-body .hero-content { max-width:610px; width:51%; padding:0; }
.hero-eyebrow { font-family:'Cinzel',serif; font-size:.67rem; text-transform:uppercase; letter-spacing:.42em; color:#e2d3f1; margin-bottom:16px; }
.hero-eyebrow span { color:#dbc4ae; margin-right:10px; font-size:1.1rem; }
.site-body .hero-tagline { font-size:clamp(2.4rem,4.25vw,4rem); font-weight:500; line-height:1.03; letter-spacing:-.035em; margin-bottom:18px; color:#efdefb; background:linear-gradient(180deg,#fff4ff 15%,#d2b8eb 45%,#ffe3be 72%,#c7a186); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; text-wrap:balance; opacity:1; animation:none; }
.site-body .hero-subtitle { max-width:480px; margin:0 0 26px; font-size:1.08rem; line-height:1.5; letter-spacing:.015em; color:#e5e0ef; opacity:1; animation:none; }
.site-body .hero-buttons { justify-content:flex-start; flex-wrap:nowrap; gap:14px; opacity:1; animation:none; }
.site-body .btn-primary, .site-body .btn-secondary, .site-body .form-submit {
  position:relative; isolation:isolate; min-height:50px; padding:.8rem 1.6rem;
  border:1px solid #b49ac8; color:#f5efff; font-size:.8rem; letter-spacing:.06em;
  background:linear-gradient(135deg,#8352c5,#452b7d 60%,#6a409e);
  box-shadow:inset 0 0 0 3px #100c272b,inset 0 0 18px #c38aff33,0 0 20px #8d54d833;
  border-radius:7px 1px 7px 1px; transition:transform .2s,box-shadow .2s,background .2s;
}
.site-body .btn-primary::before, .site-body .btn-secondary::before { content:''; position:absolute; inset:4px; border:1px solid #e4c6ff40; pointer-events:none; border-radius:4px 0 4px 0; }
.site-body .btn-secondary { background:linear-gradient(135deg,#15182cdf,#0d1020e8); border-color:#998ba9; box-shadow:inset 0 0 18px #b89bcb13; }
.site-body .btn-primary:hover, .site-body .form-submit:hover { color:#fff; background:linear-gradient(135deg,#9664d8,#59348c); box-shadow:0 0 25px #b685f34d; }
.site-body .btn-secondary:hover { color:#fff; background:#25203a; box-shadow:0 0 18px #b685f333; }
.site-body .btn-primary::after { display:none; }
.site-body .hero-buttons .btn-primary { flex:1.15; }
.site-body .hero-buttons .btn-secondary { flex:1; }
.site-body .hero-buttons .ui-icon { width:20px; height:20px; }
.site-body .hero-buttons .button-arrow { width:14px; margin-left:auto; }
.realm-panel { position:relative; z-index:3; width:94%; max-width:1360px; margin:-35px auto 0; padding:24px 28px 0; border:1px solid #9b86b044; background:linear-gradient(135deg,#111423eb,#0c1020e6 55%,#111322f2); box-shadow:0 22px 70px #0004,inset 0 0 65px #65519309; border-radius:10px 2px 10px 2px; }
.realm-stats {   gap:36px; margin:0 16px; }
.stat-panel { position:relative; padding:14px 18px 16px; border:1px solid #a292b64d; background:linear-gradient(140deg,#090d18d9,#111423ad); }
.stat-panel::before, .stat-panel::after { content:''; position:absolute; width:13px; height:13px; pointer-events:none; border:1px solid #b5a0c56b; }
.stat-panel::before { top:3px; left:3px; border-right:0; border-bottom:0; }
.stat-panel::after { bottom:3px; right:3px; border-left:0; border-top:0; }
.panel-ornament { position:absolute; top:-30px; left:50%; transform:translateX(-50%); font-size:38px; line-height:1.4; color:#b6a0b4; text-shadow:0 0 14px #dcb5ef55; }
.panel-ornament .ui-icon { width:44px; height:44px; stroke-width:1; }
.panel-label { font-family:'Cinzel',serif; font-size:.65rem; font-weight:500; letter-spacing:.2em; color:#d4cbdf; padding:0 9px 9px; border-bottom:1px solid #aa99c333; }
.site-body .status-bar, .site-body .server-details-grid { background:none; border:0; padding:14px 0 0; margin:0;   gap:0; max-width:none; }
.site-body .server-details-grid {  row-gap:14px; }
.site-body .status-item, .site-body .server-detail-card { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:3px; min-width:0; text-align:center; font-family:'Crimson Text',Georgia,serif; text-transform:none; letter-spacing:0; padding:0 7px; background:none; border:0; border-right:1px solid #a18caf30; }
.site-body .status-item:last-child, .site-body .server-detail-card:last-child { border-right:0; }
.site-body .status-item .ui-icon, .site-body .server-detail-card .ui-icon { width:21px; height:21px; color:#c5daf5; margin-bottom:3px; }
.site-body .status-item .label, .site-body .server-detail-card h3 { color:#ddd7e9; font-family:'Crimson Text',Georgia,serif; font-size:.88rem; line-height:1.5; font-weight:400; text-transform:none; letter-spacing:0; margin:0; }
.site-body .status-item .value, .site-body .server-detail-card p { font-family:'Crimson Text',Georgia,serif; font-size:1.14rem; line-height:1.3; color:#eee5fa; font-weight:600; overflow-wrap:anywhere; }
.site-body .status-dot { width:17px; height:17px; margin:2px 0 5px; background:linear-gradient(135deg,#b8ffdc,#44bb83); box-shadow:0 0 17px #66eab266; animation:none; }
.site-body .is-online .value { color:#98f0c4; }
.site-body .is-offline .status-dot { background:#ed8d98; box-shadow:0 0 12px #ed8d9844; }
.site-body .is-offline .value { color:#f1a3ac; }
.site-body .status-item:last-child .value { color:#d0aafa; }
.site-body .features { background:radial-gradient(ellipse at top,#573b7820,transparent 65%),var(--dark); }
.site-body .home-features { background:none; padding:23px 0 0; }
.ornate-heading { display:flex; align-items:center; justify-content:center; gap:22px; }
.site-body .section-title { color:#efdfed; font-size:clamp(1.5rem,2.7vw,2.25rem); font-weight:500; letter-spacing:.035em; margin:0; }
.ornate-heading > span { flex:1; max-width:145px; height:1px; position:relative; background:linear-gradient(90deg,transparent,#a18baf88); }
.ornate-heading > span:last-child { transform:rotate(180deg); }
.ornate-heading > span::after { content:'◇'; color:#b7a0b5; position:absolute; right:8px; top:-13px; }
.section-kicker { text-align:center; font-family:'Cinzel',serif; font-size:.58rem; letter-spacing:.38em; color:#d1c4e1; text-transform:uppercase; margin:2px 0 20px; }
.site-body .features-grid { gap:16px; max-width:1280px;  }
.site-body .home-features .features-grid {  }
.site-body .feature-card { min-height:310px; padding:0; border:1px solid #aa8ac488; border-radius:5px; justify-content:flex-end; background:#0c1020; box-shadow:inset 0 0 0 3px #111427; }
.site-body .home-features .feature-card { min-height:255px; }
.site-body .feature-card::before { display:none; }
.site-body .feature-card:hover { border-color:#d7b4f2; box-shadow:0 8px 28px #0005,0 0 18px #966ac322; }
.site-body .feature-media { position:absolute; inset:0; margin:0; height:100%; min-height:0; padding:0; border:0; background-image:url('../images/feature-realms.webp'); background-size:400% auto; background-repeat:no-repeat; }
.site-body .feature-art-0 { background-position:0% top; }
.site-body .feature-art-1 { background-position:33.3333% top; }
.site-body .feature-art-2 { background-position:66.6667% top; }
.site-body .feature-art-3 { background-position:100% top; }
.site-body .feature-media::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 18%,#090c1799 44%,#090c17f5 79%); }
.site-body .feature-media img { object-position:center 30%; }
.feature-copy { position:relative; z-index:1; padding:22px 19px; }
.site-body .feature-card h3 { display:flex; align-items:center; gap:10px; color:#f4eafa; font-size:1rem; font-weight:500; letter-spacing:.025em; line-height:1.35; margin:0 0 10px; }
.site-body .feature-card h3 .ui-icon { color:#e4b77f; width:26px; height:26px; }
.site-body .feature-card p { color:#e2ddeb; font-size:.93rem; line-height:1.42; }
.features-more { text-align:center; padding:16px 0; }
.features-more a { display:inline-flex; align-items:center; gap:9px; font-family:'Cinzel',serif; font-size:.65rem; letter-spacing:.13em; color:#ddd0ef; }
.features-more .ui-icon { width:13px; height:13px; }
.site-body .page-header { padding:150px 24px 48px; background:linear-gradient(90deg,#090c17e8,#121022af),url('../images/background_hero.webp?v=arcana-20260924') center 27%/cover; border-color:#b19cca33; }
.site-body .page-header h1 { color:#f0ddec; font-weight:500; }
.site-body .section-divider { background:linear-gradient(90deg,transparent,#c6a5e2,transparent); position:relative; height:1px; width:150px; }
.site-body .section-divider::after { content:'◇'; position:absolute; left:calc(50% - 6px); top:-14px; color:#d7b6c6; }
.site-body :is(.download-section,.donate-section,.auth-section) { background:radial-gradient(ellipse at 50% 0,#5b387d20,transparent 60%),#0b0e1a; }
.site-body .auth-section { min-height:0; }
.site-body :is(.download-box,.auth-box,.profile-card,.tier-card,.content-card,.community-card,.payment-method-card) { border-color:#ae92c64d; background:linear-gradient(145deg,#171a2bd9,#0d111ff5); border-radius:7px 1px 7px 1px; box-shadow:0 12px 38px #0002,inset 0 0 32px #a880c405; }
.site-body :is(.auth-box,.download-box,.profile-card) { border-top-color:#c4aad080; }
.site-body .form-group :is(input,select,textarea) { border-color:#a18caf4d; background:#090d19b3; border-radius:3px; color:#eee8f6; }
.site-body .form-group :is(input,textarea)::placeholder { color:#c4bfd0; }
.site-body .form-submit.cyan { background:linear-gradient(135deg,#8352c5,#452b7d); }
.site-body .tier-card.popular { border-color:#b48add; }
.site-body .tier-card.popular::after { background:#b48add; }
.site-body .reveal { opacity:1; transform:none; }
.site-body footer { margin-top:22px; padding:24px max(5%,calc((100vw - 1280px)/2)) 16px; background:linear-gradient(110deg,#111321,#090d18); border-top:1px solid #a18caf40; }
.site-body .footer-content { max-width:1280px;  gap:28px; margin:0 auto 22px; align-items:start; }
.site-body .footer-brand p { font-size:.73rem; line-height:1.4; max-width:210px; margin-top:8px; color:#ccc6db; }
.site-body :is(.footer-links,.footer-social,.footer-contact) { padding-top:9px; }
.site-body .footer-links { display:flex; flex-wrap:wrap; column-gap:20px; row-gap:2px; }
.site-body footer h4 { font-family:'Cinzel',serif; font-size:.56rem; letter-spacing:.22em; font-weight:500; color:#e0d2ed; margin:0 0 14px; text-transform:uppercase; }
.site-body .footer-links h4 { flex-basis:100%; }
.site-body .footer-links a { font-size:.8rem; }
.site-body .footer-social { border-left:1px solid #a18caf33; padding-left:24px; }
.site-body .footer-social-icons { gap:8px; }
.site-body .footer-social-icons a { width:28px; height:28px; border:0; color:#cbc0e0; }
.site-body .footer-social-icons .ui-icon { width:18px; height:18px; }
.site-body .footer-community-copy { font-size:.72rem; margin-top:10px; line-height:1.4; }
.site-body .footer-contact { border-left:1px solid #a18caf33; padding-left:24px; }
.site-body .footer-contact p { display:flex; align-items:center; gap:9px; font-size:.8rem; overflow-wrap:anywhere; }
.site-body .footer-contact .ui-icon { width:19px; height:19px; }
.site-body .footer-contact a { color:#e0d6ee; min-width:0; }
.site-body .footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; border-color:#a18caf33; font-size:.7rem; padding-top:14px; text-align:left; }
.footer-motto { font-family:'Cinzel',serif; font-size:.53rem; letter-spacing:.17em; }
.footer-motto span { margin-inline:12px; font-size:1rem; color:#c7aabd; }
@media (min-width:1700px) {
  .site-body .hero { height:670px; }
  .hero-inner { padding-top:190px; }
}
@media (max-width:1100px) {
  .site-body nav { padding-inline:4%; }
  .site-body .nav-logo { width:175px; }
  .site-body .hero { height:570px; }
  .site-body .hero-content { width:56%; }
  .site-body .hero-buttons { flex-wrap:wrap; }
  .site-body .hero-buttons a { padding:.8rem 1rem; }
  .realm-panel { padding-inline:20px; }
  .realm-stats { gap:25px; margin:0;  }
  .site-body .home-features .features-grid {  }
  .site-body .home-features .feature-card { min-height:280px; }
  .site-body .features-grid {  }
  .site-body .footer-content {  }
  .site-body .footer-social { border:0; padding-left:0; }
  .site-body .footer-contact { padding-left:0; border:0; }
}
@media (max-width:768px) {
  .site-body nav { height:78px; }
  .site-body .nav-logo { width:160px; max-height:68px; }
  .site-body .nav-links { top:78px; background:#0c1020fa; visibility:hidden; pointer-events:none; }
  .site-body .nav-links.open { visibility:visible; pointer-events:auto; }
  .site-body .hero { height:auto; }
  .site-body .hero-bg { background-size:auto 460px; background-position:72% 62px; background-color:#090c17; }
  .site-body .hero-overlay { background:linear-gradient(180deg,transparent 28%,#090c17e6 54%,#090c17 70%); }
  .hero-inner { padding-top:382px; padding-bottom:45px; width:90%; }
  .site-body .hero-content { width:100%; max-width:560px; margin:auto; text-align:center; }
  .hero-eyebrow { font-size:.58rem; margin-bottom:12px; }
  .site-body .hero-tagline { font-size:clamp(2rem,6.7vw,3rem); max-width:540px; margin:0 auto 14px; }
  .site-body .hero-subtitle { font-size:1rem; margin:0 auto 22px; }
  .site-body .hero-buttons { justify-content:center; }
  .site-body .hero-buttons a { flex:0 1 auto; }
  .realm-panel { margin-top:0; padding:22px 14px 0; width:94%; }
  .realm-stats {  gap:26px; }
  .stat-panel { padding:14px 10px; }
  .site-body .home-features { padding-top:25px; }
  .ornate-heading { gap:10px; }
  .ornate-heading > span { max-width:40px; }
  .site-body .section-title { font-size:1.5rem; text-align:center; }
  .section-kicker { font-size:.5rem; letter-spacing:.22em; margin-top:8px; }
  .site-body .feature-card h3 { font-size:.95rem; }
  .feature-copy { padding:18px 14px; }
  .site-body .footer-content { gap:22px; }
  .site-body .footer-bottom { flex-direction:column; gap:5px; text-align:center; }
  .site-body .page-header { padding-top:120px; }
}
@media (max-width:480px) {
  .site-body .hero-buttons { gap:10px; }
  .site-body .hero-buttons a { font-size:.69rem; padding:.8rem .9rem; gap:8px; }
  .site-body .hero-buttons .button-arrow { display:none; }
  .site-body .hero-eyebrow { letter-spacing:.25em; }
  .site-body .status-item .label, .site-body .server-detail-card h3 { font-size:.76rem; }
  .site-body .status-item .value, .site-body .server-detail-card p { font-size:1rem; }
  .site-body .features-grid, .site-body .home-features .features-grid {  }
  .site-body .home-features .feature-card { min-height:265px; }
  .site-body .feature-copy { padding:22px; }
  .site-body .feature-card p { font-size:1rem; }
  .site-body .footer-content {  gap:22px 15px; }
  .site-body .footer-brand, .site-body .footer-links { grid-column:1/-1; }
  .site-body .footer-brand p { max-width:100%; }
  .site-body .footer-contact p { align-items:flex-start; font-size:.73rem; }
  .site-body .footer-contact .ui-icon { display:none; }
  .site-body .footer-logo { width:160px; }
  .site-body :is(.content-card,.payment-method-card,.tier-card) { padding:1.5rem; }
  .site-body .payment-methods-grid {  }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .site-body *, .site-body *::before, .site-body *::after { animation:none!important; transition:none!important; }
}

/* Bootstrap owns public layout and controls; these rules supply the Arcana skin. */
.site-body { --bs-body-color:var(--text); --bs-body-bg:var(--dark); --bs-border-color:#a18caf4d; --bs-link-color:#c7b6f1; }
.site-body p { margin-top:0; }
.site-body .row { display:flex; flex-wrap:wrap; gap:0; margin-top:calc(-1 * var(--bs-gutter-y)); margin-right:calc(-.5 * var(--bs-gutter-x)); margin-left:calc(-.5 * var(--bs-gutter-x)); }
.site-body .row > * { margin-top:var(--bs-gutter-y); }
.site-body :is(.features-grid,.content-grid,.profile-grid,.donate-tiers,.payment-methods-grid).row { width:auto; margin-left:auto; margin-right:auto; }
.site-body .content-grid.row { margin-top:1rem; }
.site-body .realm-stats.row { margin-bottom:0; }
.site-body .profile-grid.row .profile-card { display:flex; flex-direction:column; }
.site-body .profile-grid.row .profile-card form { display:flex; flex:1; flex-direction:column; }
.site-body .profile-grid.row .profile-card .form-submit { margin-top:auto; }
.site-body .form-control { font-family:inherit; line-height:1.5; }
.site-body .form-control:focus { border-color:#c49aef; box-shadow:0 0 0 .2rem #a177d326; color:var(--text); background:#0e1222; }
.site-body .form-label { margin-bottom:.4rem; }
.site-body .btn { white-space:normal; }
.site-body .navbar { position:fixed; justify-content:space-between; flex-wrap:nowrap; }
.site-body .navbar-collapse { flex-grow:0; flex-basis:auto; justify-content:flex-end; margin:0; padding-left:0; }
.site-body .navbar-toggler { border:0; border-radius:3px; box-shadow:none; }
.site-body .hero-bg { transform:translate3d(0,var(--parallax-y,0px),0); }
.site-body .hero-bg.parallax-active { will-change:transform; }
.site-body.motion-ready .hero-content { animation:arcana-enter .85s ease-out both; }
.site-body.motion-ready .reveal-pending:not(.visible) { opacity:0; transform:translateY(22px); }
.site-body.motion-ready :is(.reveal,.stat-panel) { transition:opacity .65s ease,transform .65s ease,border-color .25s,box-shadow .25s; }
.site-body.motion-ready .row > :nth-child(2) .reveal { transition-delay:70ms; }
.site-body.motion-ready .row > :nth-child(3) .reveal { transition-delay:140ms; }
.site-body.motion-ready .row > :nth-child(4) .reveal { transition-delay:210ms; }
.site-body .feature-media { transition:transform .6s ease; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .site-body .feature-card:hover .feature-media { transform:scale(1.035); }
}
@keyframes arcana-enter { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@media (min-width:992px) {
  .site-body .navbar .nav-links { display:flex!important; flex-direction:row; visibility:visible; transform:none; }
  .site-body .navbar .hamburger { display:none; }
}
@media (max-width:991.98px) {
  .site-body .navbar { height:78px; }
  .site-body .navbar .hamburger { display:flex; }
  .site-body .navbar .nav-links { position:absolute; top:78px; left:0; right:0; flex-direction:column; align-items:center; gap:1rem; background:#0c1020fa; padding:1.5rem; transform:none; visibility:visible; pointer-events:auto; }
  .site-body .navbar .nav-links.collapse:not(.show) { display:none!important; }
  .site-body .navbar .nav-links.show { display:flex; }
  .site-body .navbar .nav-links.collapsing { overflow:hidden; transition:height .25s ease; }
  .site-body .hero-bg { transform:none; }
  .site-body .hero-content { width:100%; }
}
@media (min-width:769px) and (max-width:991.98px) {
  .site-body .hero-content { width:58%; }
}
@media (prefers-reduced-motion:reduce) {
  .site-body .hero-bg { transform:none!important; will-change:auto!important; }
  .site-body .reveal-pending { opacity:1!important; transform:none!important; }
}

.site-body .footer-content.row { margin:0 auto 22px; align-items:flex-start; }
.site-body .footer-content.row > * { min-width:0; }
.site-body .status-bar.row, .site-body .server-details-grid.row { margin:0; }
.site-body .server-details-grid.row > .col { flex:1 0 85px; }
.site-body .requirements-list.row, .site-body .profile-info-grid.row { gap:0; }
.site-body .community-grid.row { margin-top:.2rem; }
.site-body .community-card { text-decoration:none; }
.site-body .stat-panel p { margin-bottom:0; }
@media (max-width:1199.98px) {
  .site-body .footer-content.row .footer-social, .site-body .footer-content.row .footer-contact { border-left:0; padding-left:calc(var(--bs-gutter-x)*.5); }
}
/* The administration area retains its existing, independent layout. */
.admin-body .footer-content { display:grid; grid-template-columns:2fr 1fr 1fr; }
@media (max-width:960px) { .admin-body .footer-content { grid-template-columns:1fr; } }

/* Celestial light, interactive calls to action, and layered hero motion. */
.site-body .hero-atmosphere { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.site-body .hero-aura { position:absolute; width:55%; height:95%; right:0; top:0; background:radial-gradient(ellipse at 53% 48%,#c28aff26,transparent 60%); mix-blend-mode:screen; opacity:.6; }
.site-body .hero-mist { position:absolute; inset:38% -12% -16%; background:radial-gradient(ellipse at 30% 68%,#b9a0e51c,transparent 38%),radial-gradient(ellipse at 75% 70%,#c1c6f01c,transparent 36%); opacity:.65; }
.site-body .hero-particles { pointer-events:none; opacity:.6; }
.site-body .hero-particles::before, .site-body .hero-particles::after { content:''; position:absolute; inset:0; background:radial-gradient(2px 2px at 18% 64%,#ffe6bb,transparent),radial-gradient(2px 2px at 62% 46%,#ead4ff,transparent),radial-gradient(1px 1px at 43% 80%,#d2b2ff,transparent),radial-gradient(2px 2px at 85% 60%,#f4dbbc,transparent),radial-gradient(1px 1px at 74% 24%,#fff,transparent); opacity:.45; }
.site-body .hero-particles::after { background-position:55px 65px; opacity:.3; }
.site-body .hero-buttons .btn { overflow:hidden; isolation:isolate; border-radius:8px 2px 8px 2px; transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease,background .28s ease; }
.site-body .hero-buttons .btn-primary { background:radial-gradient(ellipse at 50% 0,#c597f678,transparent 65%),linear-gradient(115deg,#7545b8,#452479 60%,#7542ad); border-color:#d0aff3; box-shadow:inset 0 1px 0 #f5d8ff80,inset 0 -3px 12px #26124480,0 0 20px #9b59df38; }
.site-body .hero-buttons .btn-secondary { background:radial-gradient(ellipse at 50% 0,#c4aad026,transparent 75%),linear-gradient(120deg,#171829ed,#0b1021ed); border-color:#bbaaaf; box-shadow:inset 0 1px 0 #f4debf40,0 0 15px #c9a2de12; }
.site-body .hero-buttons .btn::before { border-color:#ead0ff55; transition:border-color .25s,box-shadow .25s; }
.site-body .hero-buttons .btn::after { display:block; content:''; position:absolute; z-index:1; pointer-events:none; top:-60%; left:0; width:35%; height:220%; background:linear-gradient(90deg,transparent,#fff0ff38,transparent); transform:translateX(-350%) skewX(-22deg); opacity:0; }
.site-body .hero-buttons .btn .ui-icon { transition:transform .3s ease,filter .3s ease; }
.site-body .hero-buttons .btn:is(:hover,:focus-visible) { transform:translateY(-3px); border-color:#f4d8ff; box-shadow:inset 0 0 18px #c7a3ff26,0 8px 30px #a46bec66,0 0 7px #dbc0fc55; }
.site-body .hero-buttons .btn-secondary:is(:hover,:focus-visible) { border-color:#ffe4bd; box-shadow:inset 0 0 20px #e4c29e1c,0 8px 28px #d9ae6a33; }
.site-body .hero-buttons .btn:is(:hover,:focus-visible)::before { border-color:#f5dcffa3; box-shadow:inset 0 0 8px #c7a3ff38; }
.site-body .hero-buttons .btn:is(:hover,:focus-visible) .ui-icon:first-child { transform:translateY(-2px); filter:drop-shadow(0 0 5px #e9c8ff); }
.site-body .hero-buttons .btn:is(:hover,:focus-visible) .button-arrow { transform:translateX(4px); }
.site-body .hero-buttons .btn:active { transform:translateY(0) scale(.98); }
.site-body .navbar .nav-links a { display:inline-block; isolation:isolate; transition:color .25s,text-shadow .25s,transform .25s; }
.site-body .navbar .nav-links a::before { content:''; position:absolute; z-index:-1; pointer-events:none; inset:-3px -14px; border-radius:50%; background:radial-gradient(ellipse,#bb88f32e,transparent 72%); opacity:0; transform:scale(.65); transition:opacity .3s,transform .3s; }
.site-body .navbar .nav-links a::after { height:1px; background:linear-gradient(90deg,transparent,#f4dcbd 28%,#d3a9ff 70%,transparent); transform-origin:center; transition:transform .3s,box-shadow .3s; }
.site-body .navbar .nav-links a:is(:hover,:focus-visible) { color:#fff0d8!important; text-shadow:0 0 12px #c79af0a6; transform:translateY(-2px); }
.site-body .navbar .nav-links a:is(:hover,:focus-visible)::before { opacity:1; transform:scale(1); }
.site-body .navbar .nav-links a:is(:hover,:focus-visible)::after { transform:scaleX(1); box-shadow:0 2px 12px #cfa5ffb3; }
.site-body .brand-logo { transition:filter .35s; }
.site-body .brand-lockup:is(:hover,:focus-visible) .brand-logo { filter:drop-shadow(0 0 9px #d5b4ff73); }
@media (prefers-reduced-motion:no-preference) {
  .site-body.motion-ready .hero-buttons .btn::after { animation:arcana-sheen 2.8s linear infinite; }
  .site-body.motion-ready .hero-buttons .btn-secondary::after { animation-delay:-1.4s; }
  .site-body.motion-ready .hero-buttons .btn:is(:hover,:focus-visible)::after { animation-name:arcana-sheen; }
  .site-body.motion-ready .hero-aura { animation:arcana-aura 12s ease-in-out infinite alternate; }
  .site-body.motion-ready .hero-mist { animation:arcana-mist 26s ease-in-out infinite alternate; }
  .site-body.motion-ready .hero-particles::before { animation:arcana-stardust 13s ease-in-out infinite alternate; }
  .site-body.motion-ready .hero-particles::after { animation:arcana-stardust 19s -7s ease-in-out infinite alternate-reverse; }
  .site-body.motion-ready .hero-bg { animation:arcana-breathe 14s -5s ease-in-out infinite alternate; }
}
@media (min-width:992px) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .site-body.motion-ready .hero-bg { transform:translate3d(var(--hero-pointer-x,0px),calc(var(--parallax-y,0px) + var(--hero-pointer-y,0px)),0); transition:transform .65s cubic-bezier(.2,.65,.3,1); }
}
@keyframes arcana-sheen { 0% { opacity:0; transform:translateX(-150%) skewX(-22deg); } 12%,80% { opacity:1; } 100% { opacity:0; transform:translateX(420%) skewX(-22deg); } }
@keyframes arcana-breathe { from { scale:1.05; translate:-1% .3%; } to { scale:1.11; translate:1% -.6%; } }
@keyframes arcana-aura { from { opacity:.35; transform:translate3d(-1%,1%,0) scale(.95); } to { opacity:.8; transform:translate3d(2%,-2%,0) scale(1.08); } }
@keyframes arcana-mist { from { transform:translate3d(-4%,0,0); opacity:.4; } to { transform:translate3d(5%,-3%,0); opacity:.75; } }
@keyframes arcana-stardust { from { transform:translate3d(0,15px,0); opacity:.25; } to { transform:translate3d(18px,-30px,0); opacity:.8; } }
.site-body.ambient-paused .hero-bg, .site-body.ambient-paused .hero-aura, .site-body.ambient-paused .hero-mist, .site-body.ambient-paused .hero-particles, .site-body.ambient-paused .hero-particles::before, .site-body.ambient-paused .hero-particles::after, .site-body.ambient-paused .hero-buttons .btn::after { animation-play-state:paused!important; }
@media (max-width:991.98px) {
  .site-body .hero-aura { width:90%; height:420px; }
  .site-body .hero-mist { inset:15% -12% 40%; }
  .site-body .hero-particles { bottom:40%; opacity:.35; }
}
@media (prefers-reduced-motion:reduce) {
  .site-body .hero-bg { scale:1; }
  .site-body .hero-buttons .btn::after { display:none; }
  .site-body .hero-buttons .btn:is(:hover,:focus-visible,:active), .site-body .hero-buttons .btn .ui-icon, .site-body .navbar .nav-links a:is(:hover,:focus-visible) { transform:none; }
}

/* Slow petals stay behind the content and never intercept a click. */
.site-body .hero-petals { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.site-body .hero-petal { position:absolute; top:0; bottom:0; left:var(--petal-left); width:var(--petal-size); opacity:0; }
.site-body .hero-petal::before { content:''; position:absolute; top:-18px; width:var(--petal-size); height:calc(var(--petal-size) * .65); border-radius:85% 12% 78% 20%; background:linear-gradient(135deg,#fff0f7cc,#deb4e59c 50%,#ad7bc270); box-shadow:inset 1px 1px 2px #fff4,0 0 4px #e3b0ec22; }
@media (prefers-reduced-motion:no-preference) {
  .site-body.motion-ready .hero-petal { animation:arcana-petal-fall var(--petal-duration) var(--petal-delay) linear infinite; }
  .site-body.motion-ready .hero-petal::before { animation:arcana-petal-turn 9s var(--petal-delay) ease-in-out infinite alternate; }
}
@keyframes arcana-petal-fall {
  0% { transform:translate3d(0,-5%,0); opacity:0; }
  12% { opacity:.65; }
  50% { transform:translate3d(var(--petal-drift),50%,0); opacity:.5; }
  85% { opacity:.55; }
  100% { transform:translate3d(calc(var(--petal-drift) * -.35),108%,0); opacity:0; }
}
@keyframes arcana-petal-turn { from { rotate:-35deg; scale:.85 1; } to { rotate:130deg; scale:1 .65; } }
.site-body.ambient-paused .hero-petal, .site-body.ambient-paused .hero-petal::before { animation-play-state:paused!important; }
@media (max-width:767.98px) { .site-body .hero-petal:nth-child(n+19) { display:none; } }
@media (prefers-reduced-motion:reduce) { .site-body .hero-petals { display:none; } }

/* Crisp type and brighter secondary copy across public and administrative pages. */
body { --text:#f3f0f8; --text-muted:#d6d2e2; }
.site-body { --text:#f3f0f8; --text-muted:#d6d2e2; --gold-light:#ffe5bd; --cyan:#e0c7ff; }
.site-body :is(.section-title,.page-header h1,.feature-card h3) { color:#fff0e5; text-shadow:0 1px 2px #030510; }
.site-body .hero-tagline { background:none; color:#fff0db; -webkit-text-fill-color:currentColor; text-shadow:0 2px 3px #050713; font-weight:600; }
.site-body .hero-overlay { background:linear-gradient(90deg,#060a17b3 0%,#080b184d 42%,transparent 68%),linear-gradient(0deg,#090c17 0%,transparent 30%); }
.site-body .hero-subtitle { color:#f0ebf8; text-shadow:0 1px 2px #030611; }
.site-body .navbar .nav-links a { color:#f2eafa; font-weight:600; }
.site-body .navbar .nav-links .nav-cta { color:#f2eafa!important; }
.site-body .navbar .nav-links a:is(:hover,:focus-visible) { text-shadow:0 1px 2px #050611; }
.site-body .feature-media::after { background:linear-gradient(180deg,transparent 12%,#090c17b3 43%,#090c17fa 76%); }
.site-body .feature-card p { color:#e8e3f2; }
.site-body :is(.form-group label,.form-link,.download-size,.requirement-item,.payment-method-details p,.tier-features li) { color:#e1dbeb; }
body .form-group input::placeholder, body .form-group textarea::placeholder { color:#bfb9cc; opacity:1; }
.site-body :is(.btn,.form-submit) { color:#fff9ff; font-weight:600; }
.site-body .hero-buttons .btn-primary { background:linear-gradient(115deg,#603398,#3e226e 60%,#60328d); }
.site-body :is(.hero-buttons .btn-primary:hover,.form-submit:hover) { background:linear-gradient(115deg,#7041a6,#482478); }
.site-body .footer-brand p, .site-body .footer-community-copy, .site-body .footer-bottom { color:#d3ccdf; font-size:.8rem; }
.site-body footer h4, .site-body .panel-label { color:#efe5fa; font-size:.73rem; }
.site-body .section-kicker, .site-body .footer-motto { color:#d8cce7; font-size:.65rem; }
.site-body .features-more a { color:#ead8ff; font-size:.75rem; }
.site-body .footer-links a, .site-body .footer-contact a { color:#e5dcef; font-size:.88rem; }
.site-body .status-item .label, .site-body .server-detail-card h3 { color:#e0d9ee; }
@media (max-width:768px) {
  .site-body .hero-overlay { background:linear-gradient(180deg,transparent 28%,#090c17ed 54%,#090c17 70%); }
}

/* Original celestial palette, retaining the current six-section layout. */
.site-body {
  --dark:#090c17; --dark-blue:#101321; --dark-card:rgba(14,17,31,.9);
  --text:#f3f0f8; --text-muted:#d6d2e2; --gold:#cbb29b; --gold-light:#ffe5bd;
  --gold-dark:#8d6ca6; --cyan:#e0c7ff; --cyan-glow:#b284ff4d;
  --surface:#101321; --surface-raised:#171a2b; --surface-line:#ae92c64d;
  --bs-border-color:var(--surface-line); --bs-link-color:var(--gold-light);
  background:#090c17; font-family:'Segoe UI',Arial,sans-serif; font-size:15px; line-height:1.7;
}
.site-body :is(a,button,input,select,textarea):focus-visible { outline:2px solid #ffe5bd; outline-offset:5px; }
.site-body [id] { scroll-margin-top:110px; }
.site-body .navbar { background:linear-gradient(180deg,#090b17db,#090b1738); backdrop-filter:blur(14px); border-color:#d2bce733; height:88px; }
.site-body .navbar.scrolled { background:#090b17f2; box-shadow:0 4px 20px #00000033; }
.site-body .navbar .nav-links a { font-family:inherit; font-size:.875rem; font-weight:500; letter-spacing:0; color:var(--text); }
.site-body .navbar .nav-links a::before { display:none; }
.site-body .navbar .nav-links a::after { background:#c8a0f8; box-shadow:none; }
.site-body .navbar .nav-links a:is(:hover,:focus-visible) { transform:none; }
.site-body .navbar .nav-links a:is(:hover,.active) { color:#e5c7ff; }
.site-body .nav-logo { width:180px; }
.site-body :is(.download-section,.donate-section,.auth-section,.features) { background:radial-gradient(ellipse at 50% 0,#5b387d20,transparent 60%),#0b0e1a; }
.site-body :is(.download-box,.auth-box,.profile-card,.tier-card,.content-card,.payment-method-card) {
  background:var(--surface); border:1px solid var(--surface-line); border-radius:12px; box-shadow:0 8px 28px #00000022;
}
.site-body .community-card { background:var(--surface-raised); border:1px solid var(--surface-line); border-radius:8px; box-shadow:none; }
.site-body .feature-card { background:var(--surface); border-color:var(--surface-line); border-radius:10px; box-shadow:none; }
.site-body .feature-media::after { background:linear-gradient(180deg,transparent 12%,#090c17b3 43%,#090c17fa 76%); }
.site-body .feature-card:hover { border-color:var(--gold); box-shadow:0 8px 28px #00000055; }
.site-body .tier-card.popular { border-color:#b48add; }
.site-body .tier-card.popular::after { background:#b48add; color:#090c17; }
.site-body :is(.page-header h1,.section-title,.content-card h3,.download-version,.auth-box h2) { color:var(--gold-light); text-shadow:none; }
.site-body .page-header { background:linear-gradient(90deg,#090c17e8,#121022af),url('../images/background_hero.webp') center 28%/cover; border-color:var(--surface-line); }
.site-body .page-header p { color:var(--text-muted); }
.site-body :is(.form-group label,.form-link,.download-size,.requirement-item,.payment-method-details p,.tier-features li) { color:var(--text-muted); }
.site-body .form-group :is(input,select,textarea) { background:#090c17; border-color:#a18caf4d; border-radius:6px; color:var(--text); }
.site-body :is(.btn-primary,.form-submit,.form-submit.cyan,.hero-buttons .btn-primary) {
  background:linear-gradient(115deg,#603398,#3e226e 60%,#60328d); color:#fff9ff; border-color:#d0aff3; border-radius:6px; box-shadow:0 3px 12px #8d54d833;
  font-family:inherit; font-size:.875rem; font-weight:700; letter-spacing:.02em;
}
.site-body :is(.btn-primary:hover,.form-submit:hover,.form-submit.cyan:hover,.hero-buttons .btn-primary:hover) { background:linear-gradient(115deg,#7041a6,#482478); color:#fff9ff; box-shadow:0 4px 16px #b685f34d; }
.site-body :is(.btn-secondary,.hero-buttons .btn-secondary) { background:linear-gradient(120deg,#171829ed,#0b1021ed); color:#fff9ff; border-color:#998ba9; border-radius:6px; box-shadow:none; font-family:inherit; font-size:.875rem; letter-spacing:.02em; }
.site-body :is(.btn-secondary:hover,.hero-buttons .btn-secondary:hover) { background:#25203a; box-shadow:none; }
.site-body :is(.btn-primary,.btn-secondary)::before { display:none; }
.site-body .hero-buttons .btn:is(:hover,:focus-visible) { border-color:#f4d8ff; box-shadow:0 6px 18px #a46bec66; }
.site-body .hero-buttons .btn:is(:hover,:focus-visible) .ui-icon:first-child { filter:none; }
.site-body .hero-buttons .btn::after { background:linear-gradient(90deg,transparent,#fff0ff38,transparent); }
.site-body .hero { height:auto; min-height:680px; background:var(--dark); }
.site-body .hero-inner { max-width:1240px; padding-top:185px; padding-bottom:130px; }
.site-body .hero-content { width:52%; max-width:600px; }
.site-body .hero-tagline { text-shadow:0 1px 2px #050713; font-size:clamp(2.5rem,4.1vw,4.2rem); line-height:1.1; letter-spacing:-.035em; color:#fff0db; }
.site-body .hero-subtitle { color:var(--text); text-shadow:0 1px 2px #050713; font-family:inherit; font-size:1rem; line-height:1.85; max-width:465px; margin-bottom:28px; }
.site-body .hero-overlay { background:linear-gradient(90deg,#060a17b3,transparent 72%),linear-gradient(0deg,#090c17,transparent 40%); }
.site-body .hero-aura,.site-body .hero-mist { display:none; }
.site-body .hero-eyebrow { color:#e2d3f1; font-size:.65rem; letter-spacing:.25em; }
.site-body .hero-buttons { gap:12px; }
.site-body .hero-buttons .btn { flex:0 1 auto; min-width:180px; padding:16px 22px; border-radius:6px; gap:12px; }
.hero-client-meta { display:flex; flex-wrap:wrap; gap:8px 18px; padding:0; margin:22px 0 0; list-style:none; color:#e5e0ef; font-size:.73rem; }
.hero-client-meta li { display:flex; align-items:center; gap:8px; }
.hero-client-meta li + li::before { content:''; width:3px; height:3px; background:#dbc4ae; border-radius:50%; margin-right:4px; }
.hero-client-meta .ui-icon { width:14px; height:14px; }
.hero-discover { position:absolute; bottom:60px; left:50%; transform:translateX(-50%); display:flex; gap:14px; align-items:center; color:#e5e0ef; font-size:.65rem; text-transform:uppercase; letter-spacing:.18em; white-space:nowrap; }
.hero-discover span { font-size:1.1rem; }
.home-page .container { max-width:1240px; }
.realm-strip { position:relative; z-index:3; margin-top:-26px; padding-block:0; }
.realm-strip .stat-panel { padding:20px; border:1px solid var(--surface-line); border-radius:10px; background:var(--surface); box-shadow:0 10px 25px #00000033; }
.realm-strip .stat-panel::before,.realm-strip .stat-panel::after,.realm-strip .panel-ornament { display:none; }
.site-body .realm-strip .panel-label { font-family:inherit; font-size:.65rem; font-weight:600; letter-spacing:.18em; color:var(--gold-light); padding:0 0 12px; margin:0; border-color:#a18caf40; }
.site-body .realm-strip :is(.status-item,.server-detail-card) { font-family:inherit; padding-inline:6px; }
.site-body .realm-strip :is(.status-item .label,.server-detail-card h3) { font-family:inherit; font-size:.7rem; color:var(--text-muted); }
.site-body .realm-strip :is(.status-item .value,.server-detail-card p) { font-family:inherit; font-size:1.05rem; color:var(--text); margin:0; }
.site-body .realm-strip .status-item:last-child .value { color:var(--gold-light); }
.site-body .realm-strip .ui-icon { display:none; }
.site-body .realm-strip .status-dot { width:8px; height:8px; position:absolute; margin:2px 0 0 -55px; box-shadow:none; background:#86e6b2; }
.site-body .realm-strip .is-offline .status-dot { background:#ed8d98; }
.site-body .realm-strip .status-item { position:relative; }
.home-section { padding-top:80px; padding-bottom:80px; }
.home-section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:28px; margin-bottom:32px; }
.home-section:is(.realm-discover,.realm-world,.home-gameplay,.realm-start) { padding-top:clamp(32px,4vw,56px); }
.home-section:is(.realm-discover,.realm-world,.home-gameplay,.realm-start) .home-section-heading { margin-bottom:24px; }
.home-eyebrow { color:var(--gold-light); font-size:.64rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase; margin:0 0 12px; }
.home-section h2 { font-family:'Cinzel',Georgia,serif; font-size:clamp(1.7rem,2.6vw,2.5rem); line-height:1.25; letter-spacing:-.025em; color:#fff0e5; margin:0; font-weight:500; text-wrap:balance; }
.home-section-heading > p { max-width:310px; margin:0; color:var(--text-muted); font-size:.875rem; }
.realm-editorial { display:flex; position:relative; flex-direction:column; min-height:340px; height:100%; border:1px solid var(--surface-line); border-radius:10px; overflow:hidden; color:var(--text); background:var(--surface); transition:border-color .25s,transform .25s; }
.realm-editorial:hover { color:var(--text); border-color:var(--gold); transform:translateY(-4px); }
.realm-editorial-main { justify-content:flex-end; }
.editorial-art { position:absolute; inset:0; background:url('../images/background_hero.webp') center 37%/cover; }
.editorial-art::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,#0d111ffa,transparent 95%); }
.editorial-copy { position:relative; padding:30px; }
.home-tag { display:inline-block; font-size:.61rem; text-transform:uppercase; letter-spacing:.12em; color:#ffe5bd; }
.realm-editorial h3 { font-family:'Cinzel',Georgia,serif; font-size:1.45rem; font-weight:500; line-height:1.35; color:#fff0e5; margin:12px 0; }
.realm-editorial p { font-size:.875rem; line-height:1.8; color:#e8e3f2; margin:0 0 20px; }
.editorial-meta { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #a18caf33; padding-top:16px; font-size:.74rem; }
.editorial-meta .ui-icon { width:18px; height:18px; }
.realm-editorial-small { padding:28px; }
.editorial-top { display:flex; align-items:flex-start; gap:16px; flex-direction:column; margin-bottom:10px; }
.editorial-top .ui-icon { width:30px; height:30px; color:#e4b77f; }
.realm-editorial-small h3 { font-size:1.22rem; }
.editorial-link { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:auto; font-size:.76rem; font-weight:600; color:#ffe5bd; }
.editorial-link > span { font-size:1.15rem; }
.realm-world { padding-inline:0; background:linear-gradient(180deg,#090c17 0%,#101321 100%); border-block:1px solid #a18caf33; }
.world-showcase { border:1px solid var(--surface-line); border-radius:12px; overflow:hidden; background:#101321; }
.world-tabs { display:flex; gap:8px; border-bottom:1px solid var(--surface-line); padding:12px 20px; background:#171a2b; }
.world-tabs[hidden],.world-panel[hidden] { display:none; }
.world-tab { flex:1; display:flex; align-items:center; justify-content:center; gap:12px; padding:14px 10px; border:1px solid transparent; border-radius:6px; background:transparent; color:#e5e0ef; font:600 .8rem 'Segoe UI',Arial,sans-serif; cursor:pointer; }
.world-tab .ui-icon { width:20px; height:20px; color:#c7b6f1; }
.world-tab[aria-selected="true"] { color:#e5c7ff; background:#101321; border-color:#b48add; }
.world-tab:hover { background:#25203a80; }
.world-panel { display:grid; grid-template-columns:1.15fr 1fr; min-height:420px; }
.world-art { position:relative; background-image:url('../images/feature-realms.webp'); background-size:400% auto; background-repeat:no-repeat; background-color:#090c17; }
.world-art-0 { background-position:0% 20%; }
.world-art-1 { background-position:33.3333% 20%; }
.world-art-2 { background-position:66.6667% 20%; }
.world-art img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.world-art::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,transparent 80%,#101321); }
.world-copy { position:relative; display:flex; flex-direction:column; justify-content:center; padding:50px 44px; }
.world-copy h3 { position:relative; font-family:'Cinzel',Georgia,serif; font-size:clamp(1.65rem,2.5vw,2.3rem); color:#fff0e5; line-height:1.25; margin:0 0 20px; }
.world-copy > p:not(.home-eyebrow) { color:var(--text-muted); font-size:.95rem; line-height:1.9; margin:0 0 30px; }
.world-number { position:absolute; right:24px; top:12px; font:400 6rem 'Cinzel',Georgia,serif; color:#cbb29b0d; }
.world-link,.section-text-link { display:inline-flex; align-items:center; gap:12px; font-size:.8rem; color:var(--gold-light); font-weight:600; }
.world-link .ui-icon { width:16px; height:16px; }
.site-body .home-gameplay .features-grid { margin-inline:calc(-.5 * var(--bs-gutter-x)); }
.site-body .home-gameplay .feature-card { display:flex; flex-direction:column; justify-content:flex-start; padding:0; border-radius:10px; background:var(--surface); border-color:var(--surface-line); box-shadow:none; overflow:hidden; }
.site-body .home-gameplay .feature-media { position:relative; inset:auto; width:100%; height:180px; min-height:180px; }
.site-body .home-gameplay .feature-media::after { background:linear-gradient(0deg,#101321,transparent 45%); }
.site-body .home-gameplay .feature-card:hover { border-color:var(--gold); box-shadow:0 8px 28px #00000055; }
.site-body .home-gameplay .feature-copy { padding:18px 22px 26px; }
.site-body .home-gameplay .feature-card h3 { font-size:1.05rem; color:#fff0e5; text-shadow:none; line-height:1.45; }
.site-body .home-gameplay .feature-card h3 .ui-icon { width:20px; height:20px; color:var(--gold); }
.site-body .home-gameplay .feature-card p { color:var(--text-muted); font:400 .85rem/1.8 'Segoe UI',Arial,sans-serif; margin:0; }
.realm-start { padding-inline:0; background:linear-gradient(180deg,#090c17 0%,#101321 100%); border-top:1px solid #a18caf33; }
.start-steps { list-style:none; padding:0; margin-bottom:48px; }
.start-step { display:flex; gap:20px; height:100%; padding:24px 0; color:var(--text); border-top:1px solid #a18caf66; }
.start-step:hover { color:var(--text); border-color:var(--gold); }
.step-number { color:var(--gold); font:400 1.7rem 'Cinzel',Georgia,serif; }
.start-step h3 { font-size:1rem; color:#fff0e5; font-weight:600; margin:0 0 10px; }
.start-step p { font-size:.85rem; color:var(--text-muted); margin:0 0 18px; }
.start-step .editorial-link { justify-content:flex-start; }
.home-community { display:flex; align-items:center; justify-content:space-between; gap:36px; padding:36px; border:1px solid var(--surface-line); border-radius:12px; background:#101321; }
.home-community h3 { font:500 1.7rem 'Cinzel',Georgia,serif; color:#fff0e5; margin:0 0 14px; }
.home-community p:not(.home-eyebrow) { max-width:480px; font-size:.85rem; color:var(--text-muted); margin:0; }
.home-community-links { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
.home-community-links a { display:flex; gap:12px; align-items:center; padding:12px 18px; border:1px solid #a18caf66; border-radius:6px; color:#fff0e5; font-size:.8rem; }
.home-community-links a:hover { background:#25203a; border-color:var(--gold); }
.home-community-links .ui-icon { width:19px; height:19px; }
.site-body footer { background:linear-gradient(110deg,#111321,#090d18); border-color:var(--surface-line); margin:0; padding-top:40px; }
.site-body footer :is(h4,a,p,.footer-bottom) { color:var(--text-muted); }
.site-body footer h4 { font-family:inherit; color:var(--gold-light); font-size:.65rem; }
.site-body .footer-brand p { font-size:.75rem; line-height:1.8; }
.site-body .footer-links a { font-size:.8rem; }
.site-body :is(.footer-social,.footer-contact,.footer-bottom) { border-color:#a18caf40; }
.site-body .footer-social-icons a { color:#ded0ed; }
@media (min-width:1400px) { .site-body .hero { min-height:730px; } .site-body .hero-inner { padding-top:210px; } }
@media (max-width:991.98px) {
  .site-body .navbar { height:78px; }
  .site-body .navbar .nav-links { background:#090c17fa; }
  .home-section { padding-block:56px; }
  .site-body .hero { min-height:640px; }
  .site-body .hero-content { width:65%; }
  .home-section-heading { gap:24px; }
  .world-copy { padding:30px; }
  .world-panel { min-height:360px; }
  .home-community { align-items:flex-start; flex-direction:column; }
  .home-community-links { justify-content:flex-start; }
}
@media (max-width:767.98px) {
  .site-body .hero { min-height:0; }
  .site-body .hero-bg { background-size:auto 480px; background-position:72% 48px; background-color:var(--dark); }
  .site-body .hero-overlay { background:linear-gradient(180deg,transparent 23%,#090c17eb 48%,#090c17 65%); }
  .site-body .hero-inner { padding-top:370px; padding-bottom:86px; }
  .site-body .hero-content { width:100%; max-width:540px; }
  .site-body .hero-tagline { text-shadow:0 1px 2px #050713; font-size:clamp(2rem,7.7vw,3.2rem); }
  .site-body .hero-subtitle { font-size:.9rem; line-height:1.8; }
  .site-body .hero-buttons .btn { min-width:0; flex:1; padding:14px 12px; font-size:.77rem; }
  .hero-client-meta { justify-content:center; font-size:.67rem; gap:8px 12px; }
  .hero-discover { bottom:32px; font-size:.58rem; }
  .realm-strip { margin-top:0; }
  .realm-strip .stat-panel { padding:16px; }
  .home-section { padding-block:44px; }
  .home-section-heading { flex-direction:column; align-items:flex-start; gap:14px; margin-bottom:24px; }
  .home-section-heading > p { max-width:100%; }
  .home-section h2 { font-size:1.75rem; }
  .realm-editorial { min-height:285px; }
  .realm-editorial-small { min-height:235px; padding:24px; }
  .editorial-top { flex-direction:row; align-items:center; }
  .editorial-copy { padding:24px; }
  .world-tabs { gap:4px; padding:8px; }
  .world-tab { font-size:.66rem; flex-direction:column; gap:8px; padding:12px 6px; }
  .world-panel { grid-template-columns:1fr; }
  .world-art { min-height:300px; background-position-y:15%; }
  .world-art::after { background:linear-gradient(0deg,#101321,transparent 40%); }
  .world-copy { padding:20px 24px 32px; }
  .world-copy h3 { font-size:1.7rem; }
  .world-number { font-size:4rem; top:-20px; }
  .site-body .home-gameplay .feature-media { height:220px; min-height:220px; }
  .start-steps { margin-bottom:24px; }
  .start-step { padding:20px 0; }
  .home-community { padding:24px; gap:24px; }
  .home-community-links { width:100%; }
  .home-community-links a { flex:1 1 auto; justify-content:center; }
}
@media (prefers-reduced-motion:reduce) { .realm-editorial:hover { transform:none; } }
