:root {
  --bg: #050718;
  --panel: #10152f;
  --cyan: #43d8ff;
  --blue: #5978ff;
  --ink: #f7f8ff;
  --muted: #b7c0dd;
  --line: #273466;
  font-family: Inter, "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at 82% 0, #212866 0, transparent 34%),
    linear-gradient(rgba(5, 7, 24, .88), rgba(5, 7, 24, .94)),
    url("/media/at99/brand/background.jpg") center top / cover fixed;
}
a { color: inherit; }
.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 24, .9);
  border-bottom: 1px solid rgba(78, 204, 255, .25);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: .8rem max(1rem, calc((100vw - 1220px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { align-items: center; display: flex; gap: .6rem; text-decoration: none; }
.brand img { height: 48px; width: 48px; }
.brand b { font-size: 1.5rem; letter-spacing: .04em; }
.brand small { color: var(--cyan); display: block; font-size: .6rem; font-weight: 800; letter-spacing: .18em; }
.site-header nav { align-items: center; display: flex; flex-wrap: wrap; gap: .95rem; justify-content: flex-end; }
.site-header nav a { color: #dbe5ff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover { color: var(--cyan); }
.cta { background: linear-gradient(135deg, var(--cyan), var(--blue)); border-radius: 999px; color: #050718 !important; padding: .68rem 1rem; }
main { margin: auto; max-width: 1220px; padding: 1.4rem 1rem 4rem; }
.home-shell { align-items: start; display: grid; gap: 1rem; grid-template-columns: 210px minmax(0, 1fr); }
.home-main { min-width: 0; }
.side-panel { background: linear-gradient(180deg, rgba(16, 21, 47, .98), rgba(8, 13, 35, .98)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; position: sticky; top: 84px; }
.side-title { border-bottom: 1px solid var(--line); margin: 0; padding: 1rem; }
.side-title small { color: var(--cyan); display: block; font-size: .65rem; letter-spacing: .14em; margin-bottom: .25rem; }
.side-title strong { font-size: 1rem; }
.side-nav { display: grid; padding: .45rem; }
.side-nav a { align-items: center; border-radius: 10px; color: #dbe5ff; display: flex; font-size: .82rem; font-weight: 750; gap: .65rem; padding: .7rem .65rem; text-decoration: none; }
.side-nav a::before { background: linear-gradient(135deg, var(--cyan), var(--blue)); border-radius: 4px; content: ""; height: 8px; width: 8px; }
.side-nav a:hover { background: rgba(67, 216, 255, .1); color: var(--cyan); }
.side-links { border-top: 1px solid var(--line); display: grid; padding: .65rem 1rem 1rem; }
.side-links a { color: var(--muted); font-size: .76rem; line-height: 1.9; text-decoration: none; }
.hero { border: 1px solid rgba(82, 208, 255, .3); border-radius: 18px; min-height: 360px; overflow: hidden; position: relative; }
.hero > img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.hero::after { background: linear-gradient(90deg, rgba(4, 6, 22, .96), rgba(4, 6, 22, .78) 48%, rgba(4, 6, 22, .12)); content: ""; inset: 0; position: absolute; }
.hero-content { max-width: 570px; padding: clamp(1.5rem, 4vw, 3.25rem); position: relative; z-index: 1; }
.eyebrow { color: var(--cyan); font-size: .72rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.045em; line-height: 1.08; margin: .5rem 0 .85rem; }
.hero p, .lead { color: #d7dff4; line-height: 1.85; }
.promo-carousel { aspect-ratio: 893 / 283; border: 1px solid rgba(82, 208, 255, .3); border-radius: 18px; overflow: hidden; position: relative; }
.promo-track { height: 100%; position: relative; }
.promo-slide { height: 100%; inset: 0; opacity: 0; position: absolute; transition: opacity .55s ease; visibility: hidden; width: 100%; }
.promo-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.promo-slide img { display: block; height: 100%; object-fit: cover; width: 100%; }
.promo-control { background: rgba(5, 7, 24, .82); border: 1px solid rgba(255, 255, 255, .42); border-radius: 50%; color: #fff; cursor: pointer; font-size: 1.2rem; height: 38px; position: absolute; top: 50%; transform: translateY(-50%); width: 38px; z-index: 3; }
.promo-control:hover, .promo-control:focus-visible { border-color: var(--cyan); color: var(--cyan); }
.promo-prev { left: .75rem; }
.promo-next { right: .75rem; }
.promo-dots { bottom: .65rem; display: flex; gap: .45rem; left: 50%; position: absolute; transform: translateX(-50%); z-index: 3; }
.promo-dot { background: rgba(255, 255, 255, .6); border: 0; border-radius: 999px; cursor: pointer; height: 8px; padding: 0; width: 8px; }
.promo-dot.is-active { background: var(--cyan); width: 24px; }
.button { background: linear-gradient(135deg, var(--cyan), #7182ff); border-radius: 999px; color: #050718; display: inline-block; font-weight: 900; margin: .6rem .5rem 0 0; padding: .8rem 1.1rem; text-decoration: none; }
.button.secondary { background: transparent; border: 1px solid var(--cyan); color: #fff; }
.ticker { align-items: center; background: #0b102b; border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 1rem; margin: 1rem 0 3rem; padding: .8rem 1rem; }
.ticker b { color: var(--cyan); white-space: nowrap; }
.ticker span, .section-head p { color: var(--muted); font-size: .86rem; }
.section-head { align-items: end; display: flex; justify-content: space-between; margin: 0 0 1rem; }
.section-head h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); margin: .25rem 0; }
.module { background: rgba(8, 13, 35, .72); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 1rem; padding: 1rem; }
.module .article-grid, .module .banner-row { margin-bottom: 0; }
.quick-grid { display: grid; gap: .65rem; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.quick-card { background: linear-gradient(145deg, rgba(23, 29, 66, .97), rgba(8, 13, 35, .97)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: center; text-decoration: none; }
.quick-card img { height: 82px; object-fit: contain; padding: .55rem; width: 100%; }
.quick-card span { border-top: 1px solid var(--line); display: block; font-size: .72rem; font-weight: 800; padding: .6rem .25rem; }
.quick-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.provider-grid { display: grid; gap: .75rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.provider-card { align-items: center; background: linear-gradient(145deg, rgba(23, 29, 66, .97), rgba(8, 13, 35, .97)); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: .6rem; justify-content: center; min-height: 112px; padding: .85rem; text-align: center; text-decoration: none; }
.provider-card img { height: 38px; max-width: 112px; object-fit: contain; width: auto; }
.provider-card span { font-size: .76rem; font-weight: 800; }
.provider-card:hover { border-color: var(--cyan); }
.related-links { background: rgba(13, 19, 48, .86); border: 1px solid var(--line); border-radius: 12px; margin-top: 2rem; padding: 1rem; }
.related-links h2 { font-size: 1.1rem; margin: 0 0 .7rem; }
.related-links nav { display: flex; flex-wrap: wrap; gap: .55rem; }
.related-links a { border: 1px solid var(--line); border-radius: 999px; color: #dbe5ff; font-size: .78rem; padding: .45rem .7rem; text-decoration: none; }
.related-links a:hover { border-color: var(--cyan); color: var(--cyan); }
.game-grid, .article-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin-bottom: 4rem; }
.game-card, .article-card, .content-card { background: linear-gradient(145deg, rgba(23, 29, 66, .97), rgba(8, 13, 35, .97)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.game-card { text-decoration: none; }
.game-card img { background: radial-gradient(circle, #29356f, transparent 65%); height: 240px; object-fit: contain; padding: 1rem; width: 100%; }
.game-card div, .article-card, .content-card { padding: 1.25rem; }
.game-card h3, .article-card h2 { margin: .35rem 0; }
.game-card p, .article-card p, .content-card p, .content-card li { color: var(--muted); font-size: .92rem; line-height: 1.8; }
.article-card a { text-decoration: none; }
.article-card small, .meta { color: #8ea4d4; font-size: .8rem; }
.banner-row { display: grid; gap: 1rem; grid-template-columns: 2fr 1fr; margin: 0 0 4rem; }
.banner-row a { display: block; }
.banner-row img { border: 1px solid var(--line); border-radius: 16px; display: block; height: 100%; object-fit: cover; width: 100%; }
.page { max-width: 900px; }
.page h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.page h2 { font-size: 1.55rem; margin: 2.2rem 0 .6rem; }
.page p, .page li { color: #c5cde7; line-height: 1.9; }
.page figure { margin: 1.5rem 0; }
.page figure img, .cover { border: 1px solid var(--line); border-radius: 18px; max-height: 480px; object-fit: cover; width: 100%; }
.breadcrumbs { color: #91a4d4; font-size: .8rem; margin-bottom: 1.2rem; }
.breadcrumbs a { color: var(--cyan); }
.faq details { background: #0d1330; border: 1px solid var(--line); border-radius: 12px; margin: .65rem 0; padding: 1rem; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: .75rem 0 0; }
.notice { background: rgba(24, 34, 79, .85); border-left: 3px solid var(--cyan); border-radius: 10px; margin: 1.5rem 0; padding: 1rem; }
.site-footer { background: #06091c; border-top: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; padding: 2.8rem max(1rem, calc((100vw - 1220px) / 2)); }
.site-footer p, .site-footer a, .site-footer small { color: #9eacd0; font-size: .83rem; line-height: 1.7; }
.site-footer nav { display: grid; gap: .45rem; }
.mascot { bottom: 0; left: 0; max-height: 270px; max-width: 150px; pointer-events: none; position: fixed; z-index: 12; }
@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .site-header nav { gap: .6rem; }
  .site-header nav a { font-size: .74rem; }
  .game-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-row, .site-footer { grid-template-columns: 1fr; }
  .home-shell { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .side-nav { grid-template-columns: repeat(3, 1fr); }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .provider-grid { grid-template-columns: repeat(3, 1fr); }
  .mascot { max-height: 180px; max-width: 100px; }
}
@media (max-width: 520px) {
  .game-grid, .article-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 2rem 1.25rem; }
  .hero { min-height: 390px; }
  .side-nav, .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-control { height: 32px; width: 32px; }
  .site-header nav a:not(.cta) { display: none; }
}
