:root {
  --bg: #120b22;
  --panel: rgba(24, 19, 42, 0.78);
  --text: #fff9f2;
  --muted: #cdbdda;
  --line: rgba(255,255,255,0.14);
  --yellow: #ffe66d;
  --pink: #ff5fa2;
  --cyan: #4fe8ff;
  --green: #65f0a8;
  --purple: #875cff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 4%, rgba(255,230,109,0.22), transparent 26%),
    radial-gradient(circle at 78% 8%, rgba(79,232,255,0.2), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255,95,162,0.2), transparent 34%),
    linear-gradient(180deg, #15102c 0%, #111827 56%, #120b22 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.036) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 20;
}

.bead-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bead-field span {
  position: absolute;
  width: 56px;
  height: 56px;
  border: 10px solid var(--cyan);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,0.18), 0 18px 44px rgba(0,0,0,0.28);
  animation: float 8s ease-in-out infinite;
}

.bead-field span:nth-child(1) { left: 7%; top: 19%; border-color: var(--pink); }
.bead-field span:nth-child(2) { left: 86%; top: 18%; border-color: var(--yellow); animation-delay: -1s; }
.bead-field span:nth-child(3) { left: 74%; top: 68%; border-color: var(--green); animation-delay: -2.4s; }
.bead-field span:nth-child(4) { left: 16%; top: 76%; border-color: var(--purple); animation-delay: -3.6s; }
.bead-field span:nth-child(5) { left: 47%; top: 10%; border-color: var(--cyan); animation-delay: -4.2s; }
.bead-field span:nth-child(6) { left: 94%; top: 48%; border-color: var(--pink); animation-delay: -5.2s; }

.product-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(18,11,34,0.62);
  backdrop-filter: blur(18px);
}

.brand-link,
.product-header a {
  color: var(--text);
  text-decoration: none;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 28px;
  font-weight: 850;
}

.brand-link img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(79,232,255,0.2));
}

.product-header nav {
  display: flex;
  gap: 32px;
}

.product-header nav a {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.lang-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
}

.lang-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.lang-toggle .active {
  color: #15102c;
  background: var(--yellow);
}

.hero {
  min-height: 96svh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  padding: 152px clamp(20px, 5vw, 72px) 84px;
}

.hero-copy {
  max-width: 850px;
}

.product-mark {
  width: 104px;
  height: 104px;
  margin-bottom: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 36px rgba(255,95,162,0.36));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 7.8vw, 108px);
  line-height: 0.9;
}

.lead {
  max-width: 760px;
  color: rgba(255,249,242,0.84);
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.46;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #15102c;
  background: linear-gradient(135deg, var(--yellow), var(--pink));
  box-shadow: 0 0 36px rgba(255,95,162,0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.hero-stage {
  position: relative;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255,230,109,0.2), transparent 30%),
    radial-gradient(circle at bottom right, rgba(79,232,255,0.18), transparent 30%),
    rgba(24,19,42,0.7);
  box-shadow: 0 36px 90px rgba(0,0,0,0.34);
  overflow: hidden;
  transform: rotate(1.2deg);
}

.hero-stage img {
  display: block;
  width: 100%;
  aspect-ratio: 1024 / 526;
  object-fit: cover;
}

.fun-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 clamp(20px, 5vw, 72px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  background: rgba(24,19,42,0.72);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.fun-strip div {
  min-height: 122px;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.fun-strip div:last-child {
  border-right: 0;
}

.fun-strip strong,
.fun-strip span {
  display: block;
}

.fun-strip strong {
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 22px;
}

.fun-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 100px clamp(20px, 5vw, 72px);
}

.section-title {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-title h2,
.real-card h2,
.download-card h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.8vw, 64px);
  line-height: 0.98;
}

.section-title p:not(.eyebrow),
.real-card p,
.download-card p {
  color: rgba(255,249,242,0.74);
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.real-card,
.download-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.026)),
    var(--panel);
}

.feature-grid article {
  min-height: 252px;
  padding: 22px;
  border-radius: 24px;
}

.feature-grid span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 48px 0 12px;
  font-size: 22px;
}

.feature-grid p {
  color: rgba(255,249,242,0.7);
  line-height: 1.62;
}

.poster-section {
  padding-top: 0;
}

.poster-grid,
.detail-gallery {
  display: grid;
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.poster-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1280px;
}

.poster-grid figure,
.detail-gallery figure {
  margin: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,0.22);
}

.poster-grid .wide {
  grid-column: auto;
}

.poster-grid img,
.detail-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.real-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.044));
}

.real-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 30px;
}

.detail-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  max-width: 920px;
}

.download-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 30px;
}

.download-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px 24px 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,249,242,0.54);
  text-align: center;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 36px;
  margin-bottom: 16px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: inherit;
  opacity: 0.78;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.footer-links .partner-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: 10px;
}

.footer-links .partner-link img {
  width: 60px;
  height: 18px;
  border-radius: 0;
  object-fit: contain;
}

.footer-links a:hover {
  opacity: 1;
}


.home-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255,230,109,0.42);
  border-radius: 999px;
  color: #15102c;
  background: var(--yellow);
  box-shadow: 0 0 34px rgba(255,230,109,0.18);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(12px, -24px, 0) rotate(14deg); }
}

@media (max-width: 1060px) {
  .product-header nav {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero,
  .fun-strip,
  .detail-gallery,
  .download-card {
    grid-template-columns: 1fr;
  }

  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fun-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .fun-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .product-header {
    padding: 14px 16px;
  }

  .brand-link img {
    width: 64px;
    height: 64px;
  }

  .brand-link {
    font-size: 22px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .fun-strip {
    margin-left: 16px;
    margin-right: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .poster-grid,
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .actions,
  .button {
    width: 100%;
  }
}
