:root { --theme: #100e1d; --panel: #201a31; --accent: #e4aaff; }

* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; }
body { margin: 0; background: var(--theme); color: #f9f6ff; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
header { position: relative; border-bottom: 1px solid #ffffff26; z-index: 2; background: var(--theme); }
.wrap { width: min(100% - 32px, 1180px); margin-inline: auto; }
.top { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 14px; }
.logo { flex: 0 1 auto; line-height: 0; }
.logo img { width: 148px; max-width: 100%; height: 42px; object-fit: contain; object-position: left center; }
.desktop-nav, .account { display: flex; align-items: center; gap: 16px; }
.desktop-nav a { font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 15px; border-radius: 9px; font-weight: 750; border: 1px solid #ffffff42; white-space: nowrap; }
.primary { background: var(--accent); color: #16101d; border-color: transparent; }
.mobile-menu { display: none; }
.breadcrumb { color: #d9cde3; font-size: 13px; margin: 16px 0 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.hero { min-height: 350px; isolation: isolate; display: flex; align-items: center; overflow: hidden; position: relative; padding: clamp(20px, 5vw, 56px); border-radius: 20px; background: var(--panel); }
.hero img { position: absolute; inset: 0 0 0 auto; width: 70%; height: 100%; object-fit: cover; object-position: center 44%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--theme) 10%, #14121cea 34%, #14121c22 90%); }
.hero-copy { max-width: 480px; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: .14em; font-weight: 800; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.9rem); line-height: 1.04; margin: 8px 0 14px; }
.tag { font-size: clamp(1.13rem, 3vw, 1.55rem); font-weight: 750; margin-bottom: 6px; }
.hero-copy > p:not(.tag, .eyebrow) { max-width: 38ch; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.note { color: #e8ddec; font-size: 13px; }
.rail { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 26px; }
.rail a { background: var(--panel); padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 650; }
section { margin-bottom: 28px; scroll-margin-top: 15px; }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 10px; }
.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.game { overflow: hidden; display: block; border-radius: 12px; background: var(--panel); }
.game img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.game strong, .game small { display: block; margin: 8px 12px; }
.game small { color: var(--accent); }
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.info section { background: var(--panel); border-radius: 14px; padding: 18px; margin-bottom: 0; }
.info p { margin-bottom: 12px; }
.inline { color: var(--accent); text-decoration: underline; }
footer { margin-top: 30px; border-top: 1px solid #ffffff26; padding: 20px 0 30px; }
footer p { max-width: 82ch; }
@media (max-width: 880px) {
  .desktop-nav, .header-register { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; list-style: none; min-height: 44px; display: grid; place-items: center; border: 1px solid #ffffff42; padding: 6px 10px; border-radius: 9px; font-size: 14px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .drawer { position: absolute; top: 100%; left: 0; right: 0; padding: 16px; display: grid; gap: 3px; background: var(--panel); box-shadow: 0 10px 22px #0006; }
  .drawer a { padding: 9px 12px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 24px); }
  .top { gap: 7px; min-height: 60px; }
  .logo img { width: 118px; }
  .account { gap: 7px; }
  .button { padding-inline: 11px; font-size: 14px; }
  .hero { min-height: 365px; align-items: end; padding: 16px; }
  .hero img { width: 100%; height: 68%; object-position: center top; }
  .hero::after { background: linear-gradient(180deg, #14121c1a 0%, #14121c82 32%, var(--theme) 77%); }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .game strong, .game small { margin: 6px 8px; }
  .info { grid-template-columns: 1fr; }
  .rail { gap: 6px; }
  .rail a { padding: 8px 10px; }
}
