.other-modes { margin-top: 3px; }
.other-modes > summary { display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 7px 10px 7px 15px; border: 1px solid transparent; border-radius: 5px; color: #c2ccda; font-size: .86rem; font-weight: 560; cursor: pointer; list-style: none; }
.other-modes > summary::-webkit-details-marker { display: none; }
.other-modes > summary:hover { background: #1b2838; color: white; }
.other-modes > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.other-modes > summary .icon { width: 18px; height: 18px; color: #aab8ca; }
.other-modes > summary .nav-badge { margin-left: auto; }
.other-modes-links { margin: 4px 0 5px 12px; padding-left: 7px; border-left: 1px solid #34495f; }
.other-modes-links a { font-size: .8rem; }
[data-stage="login"] .arcade-hero, [data-mode="login"] .mode-gallery { display: none; }
.auth-gate { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 22px; align-items: center; min-height: 560px; padding: clamp(24px, 5vw, 65px); border: 1px solid #40566e; border-radius: 10px; background: radial-gradient(ellipse at 10% 0%, #24446166, transparent 60%), #0f1a28; }
.auth-steam-icon { width: 54px; height: 54px; margin-bottom: 22px; color: var(--accent); }
.auth-gate-copy h1 { max-width: 580px; font: 900 clamp(3rem, 6vw, 5.3rem)/.92 var(--display); text-transform: uppercase; }
.auth-gate-copy > p { max-width: 550px; margin-top: 16px; color: #bac8d4; line-height: 1.55; }
.auth-safety { display: grid; gap: 10px; margin: 23px 0 0; padding: 0; list-style: none; }
.auth-safety li { display: flex; align-items: flex-start; gap: 8px; color: #b6c5d2; font-size: .8rem; line-height: 1.45; }
.auth-safety .icon { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; color: #8fe0b5; }
.auth-gate > .online-notice { width: 100%; margin: 0; padding: clamp(20px, 3vw, 32px); }
body[data-mode="home"] { --accent: #ffad66; }
[data-stage="home"] .arcade-hero, [data-mode="home"] .mode-gallery { display: none; }
.home-intro { position: relative; isolation: isolate; min-height: 330px; overflow: hidden; border: 1px solid #435369; border-radius: 10px; background: #101a27; }
.home-intro::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #0f1825 0%, #0f1825f2 32%, #0f182566 67%, transparent), url("assets/arena-night.webp") 70% 48% / cover; }
.home-intro::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--orange) 12%, #8fe0b5 12%, #8fe0b5 18%, transparent 70%); }
.home-intro-copy { width: 65%; padding: clamp(26px, 4vw, 52px); }
.home-intro h1 { max-width: 680px; font: 900 clamp(3rem, 6vw, 5.6rem)/.9 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.home-intro-copy > p { max-width: 560px; margin-top: 16px; color: #c1cdd8; font-size: 1rem; line-height: 1.55; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.home-actions .primary, .home-actions .secondary { min-height: 47px; }
.home-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 20px 0 0; padding: 0; list-style: none; }
.home-trust li { display: flex; align-items: center; gap: 5px; color: #aebdcc; font-size: .7rem; }
.home-trust .icon { width: 13px; height: 13px; color: #8fe0b5; }
.home-section { margin-top: 28px; }
.home-section.compact { margin-top: 23px; }
.home-section > h2, .home-group > h2 { margin: 6px 0 13px; font: 900 clamp(1.45rem, 2.4vw, 2rem)/1.1 var(--display); }
.home-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-game-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 190px; padding: 18px; overflow: hidden; border: 1px solid #354c63; border-radius: 6px; background: linear-gradient(135deg, #192b3f, #101b29); }
.home-game-card.featured { min-height: 205px; border-top: 3px solid var(--accent); }
.home-game-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.home-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.home-card-top > .icon { width: 24px; height: 24px; color: var(--accent); }
.home-level { padding: 3px 6px; border: 1px solid #415970; border-radius: 3px; color: #b6c5d2; font: 600 .6rem var(--mono); text-transform: uppercase; }
.home-game-card h3 { margin-top: 15px; font: 900 1.45rem/1.05 var(--display); }
.home-game-card p { margin-top: 8px; color: #aebdcc; font-size: .8rem; line-height: 1.45; }
.home-card-time { margin-top: auto; padding-top: 15px; color: #d5dee6; font: 600 .67rem var(--mono); }
.home-card-arrow { position: absolute; right: 15px; bottom: 15px; width: 20px; height: 20px; color: var(--accent); }
.home-mood-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.home-mood-grid .home-game-card { min-height: 155px; padding: 14px; }
.home-mood-grid .home-game-card h3 { font-size: 1.2rem; }
.home-mood-grid .home-game-card p { font-size: .73rem; }
.all-games { margin-top: 28px; border-top: 1px solid #344a60; padding-top: 18px; }
.all-games > summary { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border: 1px solid #425a71; border-radius: 4px; background: #142335; color: #dce5ec; cursor: pointer; font-weight: 650; }
.home-group { margin-top: 28px; }
.home-all-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.home-all-grid .home-game-card { min-height: 170px; }
@media (prefers-reduced-motion: no-preference) {
  .home-game-card { transition: transform .15s, border-color .15s; }
}
@media (max-width: 1050px) {
  .home-intro-copy { width: 76%; }
  .home-mood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 749px) {
  .home-featured-grid, .home-all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-intro-copy { width: 80%; padding: 28px; }
}
@media (max-width: 560px) {
  .auth-gate { grid-template-columns: 1fr; min-height: 0; padding: 23px 17px; }
  .auth-gate-copy h1 { font-size: 2.9rem; }
  .auth-steam-icon { width: 42px; height: 42px; margin-bottom: 15px; }
  .home-intro { min-height: 360px; }
  .home-intro::before { background: linear-gradient(90deg, #0f1825f5, #0f1825c9), url("assets/arena-night.webp") 62% 48% / cover; }
  .home-intro-copy { width: 100%; padding: 23px 19px; }
  .home-intro h1 { font-size: clamp(2.65rem, 13vw, 3.6rem); }
  .home-intro-copy > p { font-size: .87rem; }
  .home-actions { flex-direction: column; align-items: stretch; }
  .home-actions > * { justify-content: center; }
  .home-featured-grid, .home-all-grid { grid-template-columns: 1fr; }
  .home-game-card, .home-game-card.featured { min-height: 165px; }
  .home-mood-grid { gap: 7px; }
  .home-mood-grid .home-game-card { min-height: 150px; padding: 12px; }
  .home-mood-grid .home-card-time { font-size: .6rem; }
}
