:root {
  --sky: #25a9ff;
  --blue: #087bcb;
  --deep: #062b50;
  --ink: #061829;
  --gold: #ffb824;
  --orange: #ff7621;
  --red: #ef5a43;
  --white: #fff;
  --muted: #d5f1ff;
  --glass: rgba(255,255,255,.16);
  --line: rgba(255,255,255,.26);
  --shadow: 0 24px 64px rgba(2, 26, 54, .28);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,183,48,.38), transparent 25rem),
    radial-gradient(circle at 90% 15%, rgba(255,255,255,.42), transparent 18rem),
    linear-gradient(180deg, #1ca7ff 0%, #0878bf 38%, #073b67 70%, #061a32 100%);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.site-shell { min-height: 100vh; position: relative; isolation: isolate; }
.site-shell::before {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 46vh;
  z-index: -3;
  background: linear-gradient(180deg, transparent, rgba(0,92,139,.55) 36%, rgba(2,20,38,.92));
  pointer-events: none;
}
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.spark, .drop { position: absolute; display: block; }
.spark {
  width: 6px; height: 18px; border-radius: 99px;
  background: linear-gradient(180deg, #fff7c8, #ff8a1c);
  box-shadow: 0 0 18px rgba(255,160,34,.8);
  animation: sparkRise 8s linear infinite;
}
.s1 { left: 6%; bottom: -4%; animation-delay: -1s; }
.s2 { left: 43%; bottom: -8%; animation-delay: -4s; }
.s3 { left: 86%; bottom: -6%; animation-delay: -6s; }
.drop {
  width: 42px; height: 48px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(110,188,255,.95), rgba(18,96,179,.95));
  box-shadow: 0 12px 26px rgba(0,36,79,.24);
  animation: dropFloat 9s ease-in-out infinite;
}
.drop::before {
  content: ""; position: absolute; left: 50%; bottom: 38px;
  width: 86px; height: 42px; transform: translateX(-50%);
  border: 3px solid rgba(255,255,255,.78); border-bottom: 0; border-radius: 90px 90px 0 0;
}
.drop::after { content: ""; position: absolute; inset: 14px 10px; border-radius: 4px; background: rgba(255,255,255,.18); }
.d1 { left: 12%; top: 18%; animation-delay: -2s; }
.d2 { right: 10%; top: 25%; transform: scale(.72); animation-delay: -5s; }
.nav {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { padding-block: 10px; background: rgba(5,34,60,.78); box-shadow: 0 14px 36px rgba(0,13,27,.22); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0,27,55,.22)); }
.nav-links { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.nav-links a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; color: #ebf9ff; font-size: 14px; font-weight: 850; transition: background .2s ease, color .2s ease, transform .2s ease; }
.nav-links a:hover { color: var(--deep); background: var(--white); transform: translateY(-1px); }
.nav-controls { display: flex; align-items: center; gap: 10px; order: 3; }
.language-toggle {
  min-width: 58px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  color: white;
  background: rgba(255,255,255,.14);
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  backdrop-filter: blur(12px);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.language-toggle:hover {
  color: var(--deep);
  background: white;
  transform: translateY(-1px);
}
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); color: white; background: rgba(255,255,255,.14); }
.page-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .86fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding: 110px clamp(18px, 5vw, 72px) 52px;
}
.hero-copy { max-width: 740px; animation: slideIn .8s ease both; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.36); border-radius: 999px; background: rgba(255,255,255,.14);
  color: #e7f8ff; font-size: 13px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(10px);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(255,184,36,.18), 0 0 20px rgba(255,184,36,.9); }
h1 { margin: 0; font-size: clamp(46px, 8vw, 108px); line-height: .9; letter-spacing: 0; text-transform: uppercase; text-shadow: 0 8px 0 rgba(0,31,61,.16), 0 24px 42px rgba(0,24,48,.34); }
.title-accent { display: block; color: var(--gold); -webkit-text-stroke: 2px rgba(85,42,0,.22); }
.hero-copy p, .section-head p, .glass p, .product-card p, .split-copy p, .download-panel p { color: var(--muted); line-height: 1.74; font-weight: 650; }
.hero-copy p { max-width: 640px; margin: 24px 0 0; font-size: clamp(16px, 2.1vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px;
  border: 0; border-radius: var(--radius); cursor: pointer; font-weight: 950; letter-spacing: .03em; text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover, .store-badge:hover { transform: translateY(-3px); filter: brightness(1.04); }
.btn-primary { color: white; background: linear-gradient(180deg, #ffc538, #ff8522 58%, #e65c0d); box-shadow: 0 10px 0 #a74708, 0 22px 38px rgba(167,71,8,.35); }
.btn-secondary { color: var(--deep); background: white; box-shadow: 0 10px 0 rgba(8,55,89,.38), 0 22px 38px rgba(0,29,61,.22); }
.hero-showcase { border: 1px solid rgba(255,255,255,.32); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.14); box-shadow: var(--shadow); backdrop-filter: blur(14px); animation: floatPanel 4.6s ease-in-out infinite; }
.hero-showcase img { width: 100%; height: min(62vh, 620px); object-fit: cover; }
.game-hero .hero-showcase img { object-position: center top; }
section { padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 72px); }
.section-band { background: linear-gradient(180deg, rgba(3,57,98,.22), rgba(2,20,40,.38)); }
.section-head { max-width: 860px; margin: 0 auto 34px; text-align: center; }
.section-head h2, .split-copy h2, .download-panel h2 { margin: 0; font-size: clamp(32px, 5vw, 62px); line-height: 1; text-transform: uppercase; text-shadow: 0 8px 22px rgba(0,25,48,.32); }
.section-head p { margin: 16px auto 0; max-width: 720px; font-size: 16px; }
.glass, .product-card, .download-panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.09));
  box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.glass { padding: clamp(22px, 4vw, 36px); }
.glass h3, .product-card h3, .feature-row h3 { margin: 0 0 12px; font-size: 24px; }
.about-grid, .contact-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat { min-height: 108px; display: grid; align-content: center; gap: 6px; padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); }
.stat strong { color: var(--gold); font-size: 30px; line-height: 1; }
.stat span { color: #eaf8ff; font-size: 13px; font-weight: 850; }
.feature-list { display: grid; gap: 12px; }
.feature-row { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); }
.feature-row span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: var(--radius); color: #083457; background: linear-gradient(180deg, #fff, #bdeaff); font-weight: 1000; box-shadow: 0 8px 0 rgba(3,50,86,.24); }
.feature-row p { margin: 0; color: var(--muted); line-height: 1.65; font-weight: 650; }
.products { background: linear-gradient(180deg, rgba(3,57,98,.2), rgba(2,20,40,.4)); }
.product-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 18px; }
.product-card { position: relative; overflow: hidden; min-height: 240px; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 30px 70px rgba(2,30,58,.34); }
.product-feature { min-height: 520px; display: grid; align-items: end; color: white; }
.product-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .45s ease; }
.product-feature:hover img { transform: scale(1.04); }
.product-feature::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,20,42,.05), rgba(0,20,42,.88)); }
.product-content { position: relative; z-index: 2; padding: 28px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.16); color: #eaf8ff; font-size: 12px; font-weight: 900; }
.product-card h3 { font-size: clamp(28px, 4vw, 50px); line-height: .98; text-transform: uppercase; text-shadow: 0 8px 18px rgba(0,0,0,.22); }
.text-link { display: inline-block; margin-top: 18px; color: #fff2b9; font-weight: 950; }
.small-products { display: grid; gap: 18px; }
.compact { padding: 26px; display: grid; align-content: center; background: linear-gradient(135deg, rgba(31,173,255,.82), rgba(6,49,87,.9)); }
.compact.warm { background: linear-gradient(135deg, rgba(239,90,67,.82), rgba(6,49,87,.95)); }
.contact-list, .list-cards, .weapon-grid { display: grid; gap: 12px; margin-top: 20px; }
.contact-item, .list-cards article, .weapon-grid article {
  display: flex; justify-content: space-between; gap: 12px; padding: 14px; border-radius: var(--radius);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); color: #f4fbff; font-weight: 800;
}
.contact-item span, .list-cards span, .weapon-grid span { color: #c9ecff; font-size: 13px; font-weight: 700; }
.form { display: grid; gap: 12px; }
.form input, .form textarea { width: 100%; border: 1px solid rgba(255,255,255,.26); border-radius: var(--radius); padding: 15px 16px; color: white; background: rgba(255,255,255,.14); outline: none; }
.form textarea { min-height: 132px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #bfe4f8; }
.form input:focus, .form textarea:focus { border-color: rgba(255,190,64,.9); box-shadow: 0 0 0 4px rgba(255,178,28,.18); }
.toast { min-height: 30px; color: #fff2bc; font-size: 14px; font-weight: 800; }
.store-actions { gap: 16px; }
.store-badge {
  width: 220px;
  height: 64px;
  flex: 0 0 220px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: white;
  background: #243c66;
  box-shadow: 0 10px 0 rgba(7,42,76,.32), 0 18px 34px rgba(0,28,59,.24);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1.05;
  letter-spacing: 0;
}
.store-badge small {
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 800;
}
.store-badge strong {
  margin-top: 3px;
  color: white;
  font-size: 20px;
  font-weight: 950;
}
.store-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}
.apple-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: block;
}
.gameplay-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.split { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 24px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
.split-copy p { margin: 18px 0 0; }
.image-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; overflow: hidden; cursor: pointer; background: rgba(255,255,255,.14); box-shadow: var(--shadow); }
.image-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .45s ease; }
.image-card:hover img { transform: scale(1.04); }
.weapon-grid { grid-template-columns: 1fr 1fr; }
.weapon-grid article, .list-cards article { display: grid; }
.gallery { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.screenshot { position: relative; min-height: 290px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0; cursor: pointer; background: #08345a; box-shadow: var(--shadow); }
.screenshot img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.screenshot:hover img { transform: scale(1.05); filter: saturate(1.08) contrast(1.04); }
.screenshot span { position: absolute; left: 16px; bottom: 16px; padding: 9px 12px; border-radius: var(--radius); background: rgba(5,31,56,.78); color: white; font-size: 13px; font-weight: 900; backdrop-filter: blur(10px); }
.download-panel { max-width: 1120px; margin: 0 auto; padding: clamp(24px, 5vw, 42px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.download-panel p { margin: 12px 0 0; max-width: 640px; }
.download-panel .store-actions { flex: 0 0 auto; margin-top: 0; }
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255,255,255,.18);
  color: #c4e7f7;
  background: rgba(2,17,34,.45);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
footer .copyright { font-weight: 700; color: #c4e7f7; }
footer .beian-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
footer .icp,
footer .police-beian {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #9ec8db;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  transition: color .2s;
}
footer .police-beian img { display: block; width: 14px; height: 14px; object-fit: contain; }
footer .icp:hover,
footer .police-beian:hover { color: #fff; text-decoration: underline; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; background: rgba(1,12,25,.78); backdrop-filter: blur(12px); }
.modal.is-open { display: grid; }
.modal img { max-width: min(92vw, 1080px); max-height: 88vh; border-radius: var(--radius); box-shadow: 0 32px 90px rgba(0,0,0,.45); }
.modal-close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); color: white; background: rgba(255,255,255,.16); cursor: pointer; font-size: 24px; line-height: 1; }
@keyframes slideIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatPanel { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sparkRise { from { transform: translate3d(0,18vh,0) rotate(28deg); opacity: 0; } 14% { opacity: .9; } to { transform: translate3d(36px,-110vh,0) rotate(28deg); opacity: 0; } }
@keyframes dropFloat { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(18px) rotate(4deg); } }
@media (max-width: 980px) {
  .page-hero, .about-grid, .product-grid, .contact-grid, .split, .split.reverse { grid-template-columns: 1fr; }
  .page-hero { min-height: auto; padding-top: 105px; }
  .hero-showcase img { height: auto; aspect-ratio: 16 / 10; }
  .gameplay-grid, .gallery { grid-template-columns: 1fr; }
  .download-panel { display: grid; }
}
@media (max-width: 760px) {
  .nav { padding: 12px 16px; }
  .brand span { font-size: 14px; }
  .menu-button { display: inline-grid; place-items: center; }
  .language-toggle { height: 44px; min-width: 60px; border-radius: var(--radius); }
  .nav-links {
    position: fixed; top: 68px; left: 16px; right: 16px; display: grid; gap: 6px; padding: 10px; border-radius: var(--radius);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { justify-content: center; border-radius: var(--radius); }
  .page-hero { padding-inline: 16px; }
  .hero-actions, .store-actions { display: grid; }
  .btn, .store-badge { width: 100%; flex-basis: auto; }
  .stats, .weapon-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 44px 1fr; gap: 12px; }
  .feature-row span { width: 44px; height: 44px; }
  .contact-item { display: grid; }
  .product-feature { min-height: 430px; }
  .screenshot { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
