/* ==========================================================================
   Steam Levels Up — gold brand override for shared-chrome pages.
   Loaded AFTER slu.css on pages that don't have their own full gold
   rebuild (guides, legal, contact, etc.) so the shared nav, promo
   ticker and primary buttons match the homepage/tf2crypto gold theme.
   Token override lives at :root (not scoped to a wrapper) so it reaches
   the <header class="nav"> and .promo-ticker, which are siblings of
   the page's <main>, not descendants of any single content wrapper.
   Kept intentionally small — this is NOT the full slu-gold.css (that
   file also carries many .g-* classes built for the homepage's unique
   layout, which don't apply to these pages' markup).
   ========================================================================== */
:root {
  --acc:        #F3D27A;
  --acc-deep:   #B98310;
  --acc-2:      #C97B3D;
  --gold:       #F6DA7C;
}

.aurora {
  background:
    radial-gradient(90vw 60vh at 50% -18%, rgba(246, 217, 116, .08), transparent 62%),
    linear-gradient(180deg, #0b0a06, var(--bg) 42%, #040304);
}
@keyframes navTf2cGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(246, 217, 116, 0); }
  50%      { box-shadow: 0 0 14px rgba(246, 217, 116, .55); }
}
.callout { background: rgba(246, 217, 116, .07); }
.promo-ticker {
  top: 0;
  background: linear-gradient(90deg, #0E0C07, #17130A, #0E0C07);
  border-bottom-color: rgba(243, 210, 122, .14);
}
.nav { top: var(--ticker-h); }
.dash-header + .promo-ticker { top: auto; }
/* slu.css's .nav.is-stuck hardcodes rgba(5, 7, 13, .72) - the old cyan-era
   near-black-blue - instead of using the warm gold palette, so once you
   scroll past 12px (JS adds .is-stuck, see slu.js) the nav strip visibly
   reverted to a cooler, bluer tint than the rest of the page. Same warm
   black as .promo-ticker's #0E0C07, same alpha/blur, just re-themed. */
.nav.is-stuck { background: rgba(14, 12, 7, .72); }
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, #B07A0E 0%, #F6DA7C 30%, #FFF3BE 45%, #E8B42E 65%, #B98310 100%);
  color: #1A1405;
  box-shadow: 0 10px 30px rgba(240, 190, 70, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: skewX(-20deg); animation: gold-shine 4.5s ease-in-out infinite; pointer-events: none;
}
/* slu.css's own .btn-primary:hover hardcodes the old signature cyan
   (#5aeeff) instead of using var(--acc) - that's the "icons/buttons turn
   cyan on hover" bug. Overriding it here with a brighter gold instead of
   letting that rule win on equal specificity. */
.btn-primary:hover {
  background: linear-gradient(115deg, #C98F18 0%, #FBE59A 30%, #FFFBE6 45%, #F0C33E 65%, #C8941A 100%);
  color: #1A1405; border-color: transparent;
  box-shadow: 0 10px 30px rgba(240, 190, 70, .4), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.prose .btn-primary, .prose .btn-primary:hover { color: #1A1405; }
@keyframes gold-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn-primary::after { animation: none; } }
