/* Interface icons */
.nav > a { gap: 8px; isolation: isolate; }
.nav > a > i { width: 14px; font-size: 12px; text-align: center; color: #d2a672; transition: color .25s, transform .35s; }
.nav > a > span { position: relative; }
.nav > a:before { content: ""; position: absolute; inset: 22px -12px; z-index: -1; background: linear-gradient(180deg, #b0694315, #b02c4110); border-radius: 2px; opacity: 0; transform: scaleY(.7); transition: opacity .3s, transform .3s; }
.nav > a:is(:hover, :focus-visible):before, .nav > a.active:before { opacity: 1; transform: scaleY(1); }
.nav > a:is(:hover, :focus-visible) > i { color: #f1c997; transform: translateY(-3px); }
.nav > a.active > i { color: #e0bf96; }
.nav > a:after { background: #e54a31; box-shadow: 0 0 14px #ed4c3070; }
.nav-actions { gap: 18px; }
.discord-nav { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #bda07830; border-radius: 50%; background: #bda07806; transition: background .3s, border-color .3s, box-shadow .3s, transform .3s; }
.discord-nav > i { font-size: 18px; }
.discord-nav:hover { background: #c32d1833; border-color: #ecc78bbb; box-shadow: 0 0 23px #c4361e44; transform: translateY(-2px); }
.discord-nav:hover > i { animation: iconNod .65s ease; }
.button > i { flex-shrink: 0; font-size: 13px; transition: transform .3s; }
.button-small > i { font-size: 11px; }
.button:hover > .fa-arrow-right, .text-link:hover > .fa-arrow-right, .launch-discord:hover > .fa-arrow-right { transform: translateX(4px); }
.button:hover > .fa-download { animation: downloadNudge .65s ease; }
.button-primary { box-shadow: 0 7px 28px #c1321a35, inset 0 1px 0 #ffd3942b; }
.play-mini > i { margin-left: 2px; font-size: 9px; }
.text-link > i { font-size: 12px; transition: transform .3s; }
.text-link > .fa-youtube { color: #c86464; font-size: 16px; }
.launch-discord > .fa-discord { font-size: 30px; color: var(--gold); transition: transform .35s; }
.launch-discord:hover > .fa-discord { transform: scale(1.09) rotate(-5deg); }
.launch-discord > .arrow { font-size: 14px; color: var(--gold); transition: transform .3s; }
.game-icon > i { font-size: 21px; transition: transform .4s, color .4s; }
.game-card:hover .game-icon > i { transform: translateY(-3px); color: #f4d1a4; }
.archive-play > i { font-size: 13px; margin-left: 2px; color: #e5c9a2; transition: transform .3s; }
.archive-card:hover .archive-play > i { transform: scale(1.12); }
.archive-arrow > i { font-size: 14px; }
.archive-foot .fa-clock { font-size: 13px; }
.faq-list summary > .fa-chevron-down { width: 17px; margin-left: auto; color: #b69a75; font-size: 11px; text-align: center; transition: transform .3s; }
.faq-list details[open] summary > .fa-chevron-down { transform: rotate(180deg); }
.video-control > i { width: 14px; font-size: 12px; text-align: center; }
.back-top > i { font-size: 12px; transition: transform .3s; }
.back-top:hover > i { transform: translateY(-3px); }

/* Motion follows interaction; video remains the focal point. */
.status-dot { animation: statusGlow 3s ease-in-out infinite; }
.hero-eyebrow span { transform-origin: right; animation: lineReveal 1.3s .2s both; }
.hero-eyebrow span:last-child { animation: lineRevealReverse 1.3s .2s both; }
.legacy-art:after, .legacy-art:before { transition: width .5s, height .5s, border-color .5s; }
.legacy-art:hover:after, .legacy-art:hover:before { width: 38px; height: 38px; border-color: #dfb585aa; }
.legacy-art > img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.legacy-art:hover > img { transform: translateY(-5px); }
.game-card:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, #d43823, #f0cc8d); transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.game-card:hover:after { transform: scaleX(1); }
.game-icon { transition: border-color .35s, background .35s; }
.game-card:hover .game-icon { border-color: #c2a07880; background: #c2a0780d; }
.faq-list details[open] p { animation: answerReveal .3s ease both; }
.archive-card { transition: transform .35s, border-color .35s, box-shadow .35s; }
.archive-card:hover { box-shadow: 0 15px 32px #0003; }
.js-ready .archive-card.reveal:nth-child(3n + 2), .js-ready .game-card.reveal:nth-child(2) { transition-delay: .08s; }
.js-ready .archive-card.reveal:nth-child(3n), .js-ready .game-card.reveal:nth-child(3) { transition-delay: .16s; }
.js-ready .archive-card.is-visible, .js-ready .game-card.is-visible { transition-delay: 0s; }
.footer-links a { position: relative; padding-block: 4px; }
.footer-links a:after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.footer-links a:hover:after { transform: scaleX(1); }
@keyframes iconNod { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 65% { transform: rotate(7deg); } }
@keyframes downloadNudge { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(3px); } }
@keyframes statusGlow { 0%, 100% { box-shadow: 0 0 0 0 #d8aa6c00; } 50% { box-shadow: 0 0 0 5px #d8aa6c10; } }
@keyframes lineReveal { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes lineRevealReverse { from { opacity: 0; transform: rotate(180deg) scaleX(0); } to { opacity: 1; transform: rotate(180deg) scaleX(1); } }
@keyframes answerReveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

@media (max-width: 1280px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 15px 32px; background: #1a0d0bfc; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px #0006; }
  .nav.open { display: flex; flex-direction: column; gap: 0; animation: answerReveal .22s ease both; }
  .nav > a { gap: 13px; padding: 14px 12px; font-size: 11px; }
  .nav > a:before { inset: 3px 0; transform: none; }
  .nav > a:after { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 760px) {
  .discord-nav { display: grid; width: 33px; height: 33px; }
  .discord-nav > i { font-size: 15px; }
  .nav-actions { gap: 11px; }
  .button-small > .fa-arrow-right { display: none; }
  .launch-discord > .fa-discord { font-size: 25px; }
  .hero-buttons .button-primary > .fa-arrow-right { display: none; }
  .game-icon > i { font-size: 18px; }
}
@media (hover: none) {
  .button:hover, .archive-card:hover, .game-card:hover { transform: none; box-shadow: none; }
  .legacy-art:hover > img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
