/* Shared Decay neon palette; loaded last without changing page layout. */
:root {
  --neon-purple: #9b4dff;
  --neon-pink: #ff4fbd;
  --neon-gradient: linear-gradient(110deg, var(--neon-purple), var(--neon-pink));
  --neon-glow: 0 0 20px rgba(155,77,255,.25), 0 0 26px rgba(255,79,189,.2);
}
.dogma-hero .nav,.guide-page .guide-header .nav {
  background: linear-gradient(110deg,rgba(21,11,35,.98),rgba(15,8,24,.98));
  border-bottom: 1px solid rgba(255,79,189,.25);
  box-shadow: 0 3px 22px rgba(155,77,255,.12);
}
.dogma-hero .nav-links > a:not(.panel-button) { color: #b9a9c9; }
.dogma-hero .nav-links > a:not(.panel-button).active,
.dogma-hero .nav-links > a:not(.panel-button):hover {
  color: #ff86d2;
  background-image: var(--neon-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.dogma-hero .nav-links > a.panel-button {
  background: var(--neon-gradient);
  color: #fff;
  box-shadow: var(--neon-glow);
}
.dogma-hero .nav-links > a.panel-button:hover {
  color: #fff;
  box-shadow: 0 0 25px #9b4dff66,0 0 30px #ff4fbd55;
}
.dogma-hero .menu-toggle span { background: var(--neon-gradient); }
.dogma-hero .menu-toggle { color: #ffb2e1; }
.dogma-hero .opening-kicker { color: #ff9bda; }
.dogma-hero h1 em,
.info-stats strong,.wiki-content h1,.guide-page .section-intro h1 em {
  background-image: var(--neon-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: #ec79ff;
  -webkit-text-fill-color: transparent;
}
.dogma-hero .hero-main-cta {
  background: var(--neon-gradient);
  border-color: #ed6bdb;
  color: #fff;
  box-shadow: var(--neon-glow);
}
.dogma-hero .hero-main-cta:hover { background: linear-gradient(110deg,#ac6aff,#ff72cb); }
.dogma-hero .hero-bottom a,.dogma-hero .hero-bottom a i { color: #ff9bda; }
.hero-social a { background: linear-gradient(135deg,#a966ff,#ff80ce);color:#fff;box-shadow:0 0 12px #9b4dff55; }
.info-stats article,.info-card,.farm-card {
  border-color: #bb5be54d;
  background: linear-gradient(135deg,#261337,#1a0d24);
}
.info-number,.farm-card>span,.farm-card h3,.info-link { color:#ed8ada; }
.info-link,.info-next { border-color:#bb5be54d; }
.info-link:hover { color:#ffb2e1; }
.download-page { background:#100a19; }
.download-banner {
  background-image:linear-gradient(#100a19e6,#100a19cc),url('../bg.png');
}
.download-banner h1 { text-shadow:0 0 22px #ff4fbd55; }
.step-card,.requirement-card,.important-section {
  background:linear-gradient(135deg,#221032a6,#180e23b3);
}
.step-number,.tutorial-steps li::before {
  background:var(--neon-gradient);
  color:#fff;
}
.download-page .step-btn {
  border-color:transparent;
  background:linear-gradient(#180e23,#180e23) padding-box,var(--neon-gradient) border-box;
  color:#ff91d3;
}
.download-page .step-btn:hover {
  background:var(--neon-gradient);
  color:#fff;
}
.download-dialog { background:#140b1e; }
.download-status,.important-card-full,.tutorial-steps li {
  background:linear-gradient(135deg,#2b133c80,#250c2980);
}
.driver-btn-large.intel,.driver-btn-large.nvidia,.driver-btn-large.directx,
.driver-btn-large.amd { color:#f2c9ff; }
.attention-notes p { color:#d5bbdf; }
.attention-notes strong { color:#ff86d2; }
.stars b {
  background:var(--neon-gradient);
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.class-modes button.active,.class-modes button:hover {
  background:var(--neon-gradient);
  border-color:#b468ea;
  color:#fff;
}
.hero-node.active { border-color:#bf5be8;box-shadow:0 0 18px #ff4fbd55; }
footer { border-top-color:#bb5be533; }
a:focus-visible,button:focus-visible,
.guide-page a:focus-visible,.guide-page button:focus-visible,
.download-page a:focus-visible,.download-page button:focus-visible,
.dogma-hero .nav-links a:focus-visible,.dogma-hero .menu-toggle:focus-visible {
  outline-color:#ff86d2;
}
@media(max-width:900px) {
  .dogma-hero .nav-links,.guide-header .nav-links {
    background:linear-gradient(135deg,#1a0d29,#160b20) !important;
    border-bottom-color:#ff4fbd44;
  }
}
@media(forced-colors:active) {
  .dogma-hero h1 em,.info-stats strong,.wiki-content h1,
  .guide-page .section-intro h1 em,.stars b,
  .dogma-hero .nav-links > a:not(.panel-button) {
    background:none;-webkit-text-fill-color:currentColor;
  }
}
/* Compact header and locally hosted brand icons. */
.dogma-hero .nav,.guide-page .guide-header .nav {
  height:68px;min-height:68px;padding-top:8px;padding-bottom:8px;gap:30px;
}
.dogma-hero .brand img,.guide-header .brand img { width:96px;height:50px; }
.dogma-hero .nav-links { gap:24px;font-size:.78rem; }
.dogma-hero .nav-links > a.panel-button { height:34px;min-height:34px;padding:7px 16px;font-size:.74rem; }
.guide-page .guide-header { height:68px;min-height:68px; }
.guide-page .class-explorer { height:calc(100svh - 68px); }
.hero-social a { width:34px;height:34px;transition:transform .2s,box-shadow .2s; }
.hero-social a img { display:block;width:20px;height:20px;object-fit:contain;filter:brightness(0) invert(1); }
.hero-social a:hover { transform:translateY(-2px);box-shadow:0 0 18px #ff4fbd77; }
.info-stats small { display:block;color:#c8bdcd;margin-top:8px;font-size:14px; }
.info-stats strong { font-size:clamp(24px,3vw,36px); }
.server-details { margin:0;padding-left:20px;color:#c8bdcd;line-height:1.85; }
.server-details li { padding-left:4px;margin-bottom:12px; }
.server-details li::marker { color:#ed8ada; }
.server-details strong { color:#f5d6ed;font-weight:600; }
.info-classes { grid-column:1 / -1; }
@media(max-width:1100px) {
  .dogma-hero .nav-links { gap:18px;font-size:.72rem; }
}
@media(max-width:900px) {
  .dogma-hero .nav-links,.guide-header .nav-links { top:68px;max-height:calc(100svh - 68px);gap:8px;font-size:.8rem; }
  .dogma-hero .nav-links > a.panel-button { height:38px;min-height:38px; }
  .info-classes { grid-column:auto; }
}
@media(max-width:700px) {
  .hero-social a { width:30px;height:30px; }
  .hero-social a img { width:18px;height:18px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-social a { transition:none; }
  .hero-social a:hover { transform:none; }
}
