/* AstraMC presentation. Layout and palette only. */
:root {
  --bg: #0b151c;
  --ink: #edf4f5;
  --muted: #b0c2ca;
  --accent: #a3e1ef;
  --line: #30454e;
  --panel: #12222b;
  --panel-radius: 12px;
  --glass-blur: none;
  --glass-border: var(--line);
  --glass-shadow: none;
  --copper: #e7b486;
}

body, body.staff-mode { background: var(--bg); color: var(--ink); }
body > header { background: #111e26; border-color: var(--line); border-radius: 12px; box-shadow: none; }
body > header nav a { font-size: 13px; }
body > header nav a.active { background: #203640; color: var(--ink); }
body > footer { border-color: var(--line); border-radius: 0; background: transparent; }
body > footer .site-footer-meta { color: var(--muted); }
.eyebrow { color: var(--accent); }
.gradient { color: var(--accent); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
:where(a, button, summary) { scroll-margin-block: 100px 16px; }
.btn, .staff-link { border-radius: 8px; }
body .btn.primary { color: #0c222b; background: var(--accent); border-color: var(--accent); }
body .btn.primary:hover { background: #c5edf5; border-color: #c5edf5; }
.glass, .dashboard-panel, .dashboard-stat, .staff-sidebar, .dashboard-welcome,
.forum-category, .account-card, .application, .rule-section, dialog { box-shadow: none; }
.dashboard-welcome { border-inline-start: 3px solid var(--accent); }
.dashboard-welcome .emblem-orbit, .dashboard-stat .stat-decoration { display: none; }
.quick-action, .account-uploads > div { border-radius: 8px; }
.account-identity h1, .page-intro h1 { letter-spacing: -.035em; }
.page-intro::before { opacity: .38; }

.hero.cinematic {
  justify-content: flex-start;
  min-height: clamp(490px, 65svh, 680px);
  padding: max(112px, 8vw) clamp(24px, 6vw, 78px) clamp(24px, 6vw, 78px);
  border-radius: 14px;
  background: #132731;
}
.hero.cinematic .scene-shade { background: linear-gradient(90deg,#08131cf2 8%,#08131cbb 44%,#08131c1a 88%); }
.hero.cinematic .scene-image { inset: 0; width: 100%; height: 100%; animation: none; object-fit: cover; object-position: 64% center; }
.hero.cinematic .hero-center { align-items: flex-start; text-align: left; max-width: 620px; padding: 0; }
.hero.cinematic .hero-logo { animation: none; filter: none; margin: 0 0 12px; }
.hero.cinematic .main-logo { width: clamp(110px, 16vw, 180px); height: 90px; object-position: left center; }
.hero.cinematic h1 { color: var(--ink); font-size: clamp(36px, 5.6vw, 78px); line-height: .98; letter-spacing: -.045em; text-shadow: none; }
.hero.cinematic h1 span { display: block; color: var(--accent); -webkit-text-fill-color: currentColor; background: none; }
.hero.cinematic .hero-center > p { max-width: 38ch; margin-inline: 0; color: #e0eaf0; }
.hero.cinematic .hero-buttons { justify-content: flex-start; gap: 10px; }
.hero.cinematic .hero-scroll { align-self: flex-start; margin-top: 22px; color: var(--ink); }
.hero.cinematic .hero-scroll i { animation: none; }
.hero.cinematic .wave-edge { display: none; }

.community-strip { border-color: var(--line); }
.community-strip > div { align-items: center; }
.section-title h2, .section-head h2 { font-weight: 800; letter-spacing: -.025em; }
.feature-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.feature-grid .feature-card {
  grid-template-columns: 1fr;
  min-height: 0;
  background: var(--panel);
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.feature-grid .feature-card:hover { border-color: var(--accent); transform: none; }
.feature-grid .staff-feature .feature-art {
  min-height: 126px;
  background: var(--site-scene, url(/hero-v2.webp)) center 55% / cover;
  opacity: 1;
}
.feature-grid .rules-feature .feature-art { display: none; }
.feature-grid .rules-feature { align-content: center; border-inline-start: 3px solid var(--copper); }
.feature-grid .rules-feature .eyebrow { color: var(--copper); }
.feature-grid .feature-copy { padding: clamp(20px, 3vw, 38px); }
.feature-grid .feature-art :is(.feature-number,.floating-rune) { display: none; }
.feature-grid .feature-copy h3 { font-weight: 800; letter-spacing: -.03em; }
.recruit-section .card { border-radius: 10px; box-shadow: none; }
.journey-grid { gap: 0; border-block: 1px solid var(--line); }
.journey-grid .journey-card { background: none; border-color: var(--line); border-radius: 0; box-shadow: none; }
.journey-grid .journey-card > span { font-size: 24px; color: var(--copper); }
.journey-grid .journey-card p { font-size: 14px; }
.forum-category { border-radius: 10px; }

@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero.cinematic { min-height: 530px; align-items: flex-end; }
  .hero.cinematic .scene-shade { background: linear-gradient(0deg,#08131cf5 7%,#08131cb8 58%,#08131c44 100%); }
  .hero.cinematic .scene-image { object-position: 62% center; }
  .hero.cinematic .hero-buttons { align-items: stretch; }
}
@media (max-width: 540px) {
  .hero.cinematic { padding: 108px 18px 24px; }
  .hero.cinematic .hero-center > p { font-size: 15px; }
  .hero.cinematic .hero-buttons { width: 100%; }
  .hero.cinematic .hero-buttons .btn { width: 100%; }
  .journey-grid .journey-card { border-inline: 0; border-bottom: 1px solid var(--line); }
  .journey-grid .journey-card:last-child { border-bottom: 0; }
}

#nav-account { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.nav-account-name { max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-account-avatar {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 24px; height: 24px; flex: 0 0 24px; border-radius: 5px;
  background: #284652; color: var(--ink); font-size: 12px;
}
.nav-account-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }

.hero-buttons .button-icon { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; font-size: inherit; }
.hero-buttons .button-icon svg { display: block; width: 22px; height: 22px; }
.apply-grid .card-icon {
 display: grid; place-items: center; width: 64px; height: 64px;
 border: 1px solid #24c5ef38; border-radius: 21px; background: #12313e;
 color: #2ed0f3; box-shadow: inset 0 1px 0 #ffffff06; margin-bottom: 20px;
}
.apply-grid .card-icon svg { display: block; width: 30px; height: 30px; }
