/* Proyecto Acronic — theme layer over the captured public content. */
:root {
  color-scheme: dark;
  --bg: #080b16;
  --panel: #10162a;
  --ink: #eef2ff;
  --muted: #aeb9d3;
  --gold: #d8b575;
  --line: rgba(112, 145, 219, .28);
  --red: #c15770;
  --acronic-blue: #56b9ff;
  --acronic-violet: #9f70ff;
}

html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: transparent !important;
  color: var(--ink) !important;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(4, 6, 13, .66), rgba(4, 6, 13, .80)),
    url("./brand/acronic-cosmic-background.webp");
  background-size: cover, cover;
  background-position: center, center 38%;
  background-repeat: no-repeat;
}
::selection { color: #050711; background: #77c8ff; }
:focus-visible { outline: 2px solid var(--acronic-blue) !important; outline-offset: 3px; }

.header {
  background: rgba(4, 5, 12, .97) !important;
  border-bottom: 1px solid rgba(93, 146, 255, .34) !important;
  box-shadow: 0 12px 38px rgba(0, 0, 0, .25);
  backdrop-filter: blur(14px);
}
.header .brand { min-width: 0; }
.header .brand img {
  display: block;
  width: clamp(122px, 13vw, 162px) !important;
  height: auto !important;
  max-height: 68px;
  object-fit: contain;
  mix-blend-mode: screen;
}
.header .brand > span, .header .brand > small { display: none !important; }
.header #navigation a, .header .nav-dropdown summary, .header .nav-controls a {
  color: #e5eafb;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.header #navigation a:hover, .header .nav-dropdown summary:hover,
.header .nav-controls a:hover { color: #8ad6ff !important; }
.header .nav-dropdown-panel, #navigation .nav-dropdown-panel {
  background: #0c1222 !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .48);
}
.header .nav-dropdown-panel a:hover { background: rgba(77, 139, 243, .12) !important; }
.header .language-control select {
  color: var(--ink) !important;
  background: #0d1425 !important;
  border: 1px solid var(--line) !important;
}
.header .menu-toggle { border-color: var(--line) !important; }
.header .menu-toggle span { background: var(--ink) !important; }
#navigation > a[href="/store.html"],#navigation > a[href="/donate.html"] {
  display: inline-flex !important;
  opacity: .82;
}

.announcement {
  color: #dceaff !important;
  background: linear-gradient(90deg, #0c1730, #11152a 58%, #101226) !important;
  border-bottom: 1px solid rgba(96, 143, 239, .25) !important;
}
.announcement .status-dot { box-shadow: 0 0 12px rgba(69, 181, 255, .8); }
.announcement a { color: #8dd9ff !important; }

:where(h1, h2, h3, h4, .guide-title, .showcase-title, .dossier-title) { color: #f0f3ff; }
:where(.eyebrow, .section-kicker, .guide-index, .feature-capture-label) { color: #87caff !important; }
:where(p, li, dd, figcaption) { color: inherit; }
a:not(.button) { color: #83d2ff; }
a:not(.button):hover { color: #fff; }

.button, button[type="submit"] {
  color: #fff !important;
  background: linear-gradient(125deg, #155493, #34256e) !important;
  border: 1px solid rgba(223, 190, 119, .88) !important;
  border-radius: 3px !important;
  box-shadow: 0 8px 24px rgba(26, 65, 139, .18);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.button:hover, button[type="submit"]:hover {
  color: #fff !important;
  filter: brightness(1.18);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(45, 113, 219, .26);
}
.button.outline, .button.ghost {
  color: #b9ddff !important;
  background: rgba(11, 18, 36, .72) !important;
  border-color: rgba(99, 162, 250, .62) !important;
}

:where(.card, .feature-card, .news-card, .release-card, .guide-card, .guide-index-card,
       .faq-card, .faq-group details, .timeline-card, .planner-toolbar, .talent-board,
       .class-sidebar, .dossier-hero, .showcase-info, .ability-card, .build-save-panel,
       .support-card, .feature-copy, .original-feature) {
  border-color: var(--line) !important;
}
:where(.card, .feature-card, .news-card, .guide-index-card, .faq-group details,
       .timeline-card, .planner-toolbar, .talent-board, .class-sidebar, .dossier-hero,
       .showcase-info, .ability-card, .build-save-panel, .support-card) {
  background-color: rgba(13, 19, 37, .92) !important;
}
.feature-guide-page, .feature-guide-page .guide-hero,
.changelog-page, .class-explorer-page {
  background-color: rgba(8, 11, 22, .62) !important;
  color: var(--ink) !important;
}
.guide-hero, .hero-shade { border-color: rgba(99, 151, 242, .28) !important; }
.hero-shade {
  background: linear-gradient(90deg, rgba(5, 7, 17, .92), rgba(5, 7, 17, .36)) !important;
}
.guide-hero-image { opacity: .86; }

footer {
  color: #c3cbe1 !important;
  background: linear-gradient(180deg, #090d19, #05060c) !important;
  border-top: 1px solid rgba(103, 143, 216, .3) !important;
}
footer a { color: #91d7ff !important; }
footer .brand img {
  width: min(190px, 100%) !important;
  height: auto !important;
  max-height: 88px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.orbit-center img {
  width: clamp(118px, 13vw, 172px) !important;
  height: auto !important;
  max-height: 172px;
  object-fit: contain;
  mix-blend-mode: screen;
}
.orbit-center strong, .orbit-center > span { display: none !important; }

.external-acronic-community::after {
  content: "  ↗ ACRONIC";
  color: #d7ba7c;
  font-size: .68em;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.external-acronic-register::after {
  content: "  ↗ DISCORD";
  display: inline-block;
  margin-left: .42em;
  color: #d7ba7c;
  font-size: .68em;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.footer .social-link.social-wordmark {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: -.035em;
}

.acronic-status-page {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding-top: clamp(48px, 8vw, 108px);
  padding-bottom: clamp(56px, 9vw, 120px);
}
.acronic-status-card {
  width: min(900px, 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(112, 145, 219, .36);
  background: linear-gradient(140deg, rgba(18, 25, 49, .96), rgba(8, 11, 23, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .3);
}
.acronic-status-card::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -150px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 104, 239, .22), transparent 68%);
  pointer-events: none;
}
.acronic-status-card h1 { max-width: 680px; margin: .28em 0 .42em; font-size: clamp(38px, 6vw, 68px); line-height: 1.03; }
.acronic-status-card p { max-width: 690px; color: #c4cde3; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.8; }
.acronic-status-card .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid rgba(108, 166, 251, .4);
  background: rgba(46, 107, 189, .14);
  color: #b8e4ff;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.acronic-status-card .status-emblem {
  width: min(122px, 24vw);
  height: auto;
  margin-bottom: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(76, 131, 255, .28));
}
.acronic-status-card .status-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.acronic-status-card .status-note { color: #98a7c8; font-size: 13px; }

.home-hero-copy .hero-tagline { margin: .8rem 0 1.05rem; color: #dfc17f; font-size: clamp(19px, 2.3vw, 27px); line-height: 1.35; letter-spacing: .01em; }
.legal-page { padding-bottom: clamp(58px, 8vw, 100px); }
.legal-content { display: grid; gap: 18px; max-width: 920px; }
.legal-card { padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); background: rgba(13, 19, 37, .92); box-shadow: 0 18px 48px rgba(0, 0, 0, .2); }
.legal-card h2 { margin: 0 0 .6em; font-size: clamp(21px, 2.5vw, 30px); }
.legal-card p, .legal-intro { max-width: 760px; color: #c4cde3; line-height: 1.8; }
.legal-content .legal-card + .legal-card { margin-top: 2px; }

/* Sageras hero artwork: keep the supplied scene atmospheric while the page UI stays clear. */
.restored-hero .hero-art img {
  object-fit: cover;
  object-position: center 46%;
}
.restored-hero .hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 11, 22, .98) 0%, rgba(8, 11, 22, .93) 31%, rgba(8, 11, 22, .72) 49%, rgba(8, 11, 22, .35) 72%, rgba(8, 11, 22, .28) 100%),
    linear-gradient(0deg, rgba(8, 11, 22, .58) 0%, transparent 25%, transparent 78%, rgba(8, 11, 22, .28) 100%) !important;
}
.restored-hero .spell-scene::before {
  border-color: rgba(184, 151, 73, .28);
  background: radial-gradient(circle, rgba(8, 11, 22, .62) 0%, rgba(8, 11, 22, .38) 54%, transparent 78%);
}
@media (max-width: 640px) {
  .restored-hero .hero-art img { object-position: 92% center; }
  .restored-hero .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 11, 22, .22) 0%, rgba(8, 11, 22, .42) 42%, rgba(8, 11, 22, .76) 100%),
      linear-gradient(90deg, rgba(8, 11, 22, .64), rgba(8, 11, 22, .22)) !important;
  }
}

@media (max-width: 760px) {
  .header .brand img { width: 118px !important; max-height: 54px; }
  .header .nav-wrap { gap: 10px; }
  .header #navigation {
    background: #070b17 !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .5);
  }
  .home-hero-grid { gap: 12px; }
  .acronic-status-page { min-height: 52vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
