@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #0b1423;
  --bg-2: #101e31;
  --panel: #15283f;
  --panel-light: #1b3553;
  --border: #2a4663;
  --text: #f2f7ff;
  --muted: #a5b8cd;
  --accent: #76baff;
  font-family: 'DM Sans', Arial, sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 50% 8%, #162b45 0, var(--bg) 36rem); color: var(--text); }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { max-width: 100%; }
section { scroll-margin-top: 7rem; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 10; padding: .7rem 1rem; background: white; color: #102038; border-radius: 6px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #9ed1ff; outline-offset: 3px; }

.site-header { background: #0a1526; border-bottom: 1px solid #25394f; }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; font: 700 1.65rem/1 'Outfit', Arial, sans-serif; letter-spacing: -.03em; white-space: nowrap; }
.brand strong, .footer-brand strong { color: var(--accent); }
.brand-mark { display: inline-grid; place-items: center; width: 35px; height: 35px; transform: rotate(45deg); border: 2px solid #6ab7f6; color: #88caff; border-radius: 9px; font-size: 1.15rem; line-height: 1; }
.brand-mark::first-letter { transform: rotate(-45deg); }
.header-status { color: var(--muted); font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; }
.storebar { background: linear-gradient(90deg, #1b3959, #152a45); border-bottom: 1px solid #31506c; }
.storebar-inner { display: flex; align-items: center; gap: 1.8rem; min-height: 53px; }
.main-nav { display: flex; flex: 1; align-items: stretch; gap: .15rem; min-width: 0; }
.nav-link { display: inline-flex; align-items: center; padding: .6rem 1rem; color: #d3e0ee; font-size: .87rem; font-weight: 700; white-space: nowrap; border-radius: 4px; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.current { background: #2773b2; color: #fff; }
.search { display: flex; width: min(260px, 100%); flex-shrink: 0; border: 1px solid #6085a9; background: #10233b; border-radius: 5px; overflow: hidden; }
.search:focus-within { outline: 2px solid #9ed1ff; outline-offset: 2px; }
.search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; padding: .55rem .75rem; font-size: .87rem; }
.search input::placeholder { color: #aabbd0; }
.search button { width: 42px; flex-shrink: 0; border: 0; color: white; background: #2773b2; display: grid; place-items: center; }
.search button:hover { background: #3396df; }
.search svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

main { padding-bottom: 2rem; }
.hero { position: relative; min-height: 378px; margin-top: 20px; border: 1px solid #34577a; border-radius: 8px; overflow: hidden; display: flex; align-items: center; background: #234b74 url('/assets/hero-landscape.png') center / cover no-repeat; box-shadow: 0 18px 45px #02091366; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #07172ced 0%, #0a2441c9 33%, #0b2b4a2b 73%), linear-gradient(0deg, #07152355, transparent 35%); }
.hero-content { position: relative; z-index: 1; width: min(620px, 85%); padding: 3.5rem 4rem; }
.eyebrow { display: inline-block; padding: .38rem .65rem; color: #dff3ff; border: 1px solid #87cbff; background: #20629b91; border-radius: 4px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
h1, h2, p { margin-top: 0; }
h1, h2, .footer-brand { font-family: 'Outfit', Arial, sans-serif; }
h1 { margin: 1rem 0 .75rem; font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.07; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 2px 16px #061327b3; }
.hero p { max-width: 38rem; font-size: 1.03rem; line-height: 1.55; color: #e0ecf8; text-shadow: 0 2px 8px #08192bcc; }
.hero-link { display: inline-flex; align-items: center; gap: .8rem; margin-top: .45rem; padding: .72rem 1.1rem; background: #d7eefe; color: #153858; border-radius: 4px; font-weight: 800; font-size: .88rem; }
.hero-link:hover { background: white; }
.hero-caption { position: absolute; z-index: 1; right: 1.4rem; bottom: 1.1rem; color: #e2ecf5; font-size: .72rem; text-shadow: 0 1px 5px #07111d; }

.section { margin-top: 2.9rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-kicker { color: #75afd9; text-transform: uppercase; font-weight: 800; letter-spacing: .15em; font-size: .66rem; }
h2 { margin: .18rem 0 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; }
.section-note { color: #8ca9c4; font-size: .78rem; }
.empty-news { display: flex; align-items: center; justify-content: center; gap: 1.4rem; min-height: 150px; padding: 2rem; border: 1px solid var(--border); border-radius: 6px; background: linear-gradient(115deg, #152942, #132238); text-align: left; }
.empty-icon { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid #4c7299; border-radius: 14px; font-size: 2rem; color: #8cc6f8; flex-shrink: 0; }
.empty-news strong { display: block; font: 600 1.3rem 'Outfit', Arial, sans-serif; }
.empty-news p { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }
.coming-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.coming-card { min-width: 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: #14273e; }
.coming-art { height: 150px; display: grid; place-items: center; position: relative; overflow: hidden; }
.coming-art::before, .coming-art::after { content: ''; position: absolute; inset: auto -10% -44% -10%; height: 100%; border-radius: 50% 50% 0 0; background: #101c31a8; transform: rotate(-8deg); }
.coming-art::after { inset: auto -10% -62% -10%; transform: rotate(10deg); background: #16283cb8; }
.coming-art span { z-index: 1; color: #a5d6ff88; font-size: 3rem; }
.art-one { background: linear-gradient(145deg, #315376, #163756 60%, #1e3049); }
.art-two { background: linear-gradient(145deg, #3c4c77, #23345b 60%, #1d334d); }
.art-three { background: linear-gradient(145deg, #23575f, #164454 60%, #193449); }
.art-four { background: linear-gradient(145deg, #46516b, #273d5f 60%, #182b45); }
.coming-label { display: block; padding: .65rem .8rem; color: #aed1ef; font-size: .77rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.category { min-height: 106px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: .8rem; border: 1px solid #416589; border-radius: 5px; color: var(--text); background: linear-gradient(145deg, #1c3e62, #172a44); font-weight: 700; }
.category:hover { border-color: #9acfff; background: linear-gradient(145deg, #2b5f91, #1c3b5d); transform: translateY(-2px); }
.category-symbol { font-size: 1.8rem; color: #88cbff; line-height: 1; }
.developer-panel { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 2rem; padding: 2rem; border: 1px solid #35577e; border-radius: 6px; background: radial-gradient(circle at 12% 50%, #29598a 0, #1b3352 22%, #14253d 70%); }
.developer-symbol { color: #b0dbff; font: 700 2.4rem 'Outfit', Arial, sans-serif; text-align: center; }
.developer-panel h2 { max-width: 30rem; }
.developer-panel p { max-width: 39rem; margin: .7rem 0 0; color: #c3d3e4; line-height: 1.5; font-size: .88rem; }
.panel-badge { align-self: start; padding: .4rem .6rem; border: 1px solid #628cb2; color: #c6e6ff; border-radius: 3px; font-size: .72rem; white-space: nowrap; }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid #28425e; }
.about p { max-width: 44rem; color: var(--muted); line-height: 1.65; font-size: .9rem; }
.site-footer { border-top: 1px solid #253d58; background: #091321; }
.footer-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 90px; color: #99afc5; font-size: .76rem; }
.footer-brand { color: #eaf4ff; font-size: 1.14rem; font-weight: 700; margin-right: auto; }
.footer-inner a:hover { color: white; text-decoration: underline; }

@media (max-width: 800px) {
  .storebar-inner { flex-wrap: wrap; padding-block: .5rem; gap: .5rem; }
  .main-nav { width: 100%; overflow-x: auto; }
  .search { width: 100%; }
  .hero { min-height: 340px; }
  .hero-content { width: min(620px, 100%); padding: 2.5rem; }
  .coming-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .developer-panel { grid-template-columns: 70px 1fr; gap: 1rem; }
  .developer-symbol { font-size: 1.5rem; }
  .panel-badge { grid-column: 2; justify-self: start; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 62px; }
  .brand { font-size: 1.35rem; }
  .brand-mark { width: 29px; height: 29px; }
  .header-status { display: none; }
  .nav-link { padding: .55rem .72rem; font-size: .78rem; }
  .hero { min-height: 355px; background-position: 59% center; }
  .hero-shade { background: linear-gradient(90deg, #07172cf5, #0a2441bf 75%), linear-gradient(0deg, #07152366, transparent 40%); }
  .hero-content { padding: 1.6rem; }
  .hero p { font-size: .91rem; }
  .hero-caption { display: none; }
  .section { margin-top: 2.25rem; }
  .section-heading { align-items: start; }
  .section-note { display: none; }
  .empty-news { align-items: start; flex-direction: column; min-height: 0; padding: 1.4rem; }
  .empty-news strong { font-size: 1.14rem; }
  .coming-grid { gap: 9px; }
  .coming-art { height: 105px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category { min-height: 94px; }
  .developer-panel { display: block; padding: 1.5rem; }
  .developer-symbol { text-align: left; margin-bottom: .8rem; }
  .panel-badge { display: inline-block; margin-top: 1.3rem; }
  .about { display: block; }
  .about p { margin-top: 1rem; }
  .footer-inner { flex-wrap: wrap; padding-block: 1.4rem; gap: .7rem 1.5rem; }
  .footer-brand { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .category { transition: none; }
}
