:root {
  --bg-dark: #0b0a1a;
  --bg-dark-2: #12112a;
  --bg-light: #f6f7fb;
  --ink: #0f0f1a;
  --ink-soft: #5b5a6e;
  --white: #ffffff;
  --blue: #2f56ff;
  --blue-2: #4f6bff;
  --accent: #7a3bff;
  --cyan: #4fd5ff;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(10, 12, 28, 0.12);
  --radius: 20px;
  --shadow: 0 18px 40px rgba(10, 10, 30, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell { width: min(1200px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 28, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  color: #fff;
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0a0a1a;
}

.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1.05rem; letter-spacing: 0.04em; }
.brand small {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.site-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section { padding: 70px 0; }

.hero {
  background:
    radial-gradient(600px 360px at 70% 15%, rgba(79, 107, 255, 0.35), transparent 65%),
    radial-gradient(520px 300px at 20% 70%, rgba(122, 59, 255, 0.35), transparent 60%),
    linear-gradient(120deg, #0b0a1a, #121231 60%, #17163a 100%);
  color: #fff;
  padding: 80px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.hero-text {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

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

.btn {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-2), var(--cyan));
  color: #0b0a1a;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 30px rgba(79, 107, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(8, 8, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  min-height: 320px;
  display: grid;
  align-items: end;
}

.hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }

.hero-visual .hero-characters {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 60%;
  max-width: 280px;
  animation: magicFloat 7.5s ease-in-out infinite;
}

.hero-visual .hero-orbit {
  position: absolute;
  inset: 12% 10% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.04);
  animation: orbitPulse 10s ease-in-out infinite;
}

.hero-visual .hero-orbit::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.hero-visual .hero-pills {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 8px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18% 12% auto auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 213, 255, 0.45), transparent 65%);
  filter: blur(6px);
  animation: magicFloatSlow 9s ease-in-out infinite;
}

.hero-visual .hero-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.light-section {
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.split-media {
  border-radius: 22px;
  overflow: hidden;
  
  background: #fff;
}

.split-media img { width: 100%; height: 100%; object-fit: cover; }

.card {
  border-radius: 22px;
  border: 1px solid var(--line-dark);
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card.dark {
  background: #141433;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.card.dark p { color: rgba(255, 255, 255, 0.7); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 12px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.list li {
  padding-left: 18px;
  position: relative;
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 0.55em;
}

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

.feature-item {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.feature-item {
  animation: magicFloat 8.5s ease-in-out infinite;
}
.feature-item:nth-child(2) { animation-delay: 0.6s; }
.feature-item:nth-child(3) { animation-delay: 1.1s; }
.feature-item:nth-child(4) { animation-delay: 1.6s; }
.feature-item:nth-child(5) { animation-delay: 2.1s; }
.feature-item:nth-child(6) { animation-delay: 2.6s; }

.media-card img {
  animation: magicFloat 7.8s ease-in-out infinite;
}
.feature-row:nth-child(even) .media-card img {
  animation-delay: 1.2s;
}

.game-wall img {
  animation: magicFloat 9s ease-in-out infinite;
}
.game-wall img:nth-child(2) { animation-delay: 0.8s; }
.game-wall img:nth-child(3) { animation-delay: 1.4s; }
.game-wall img:nth-child(4) { animation-delay: 2s; }
.game-wall img:nth-child(5) { animation-delay: 2.6s; }
.game-wall img:nth-child(6) { animation-delay: 3.2s; }

.logo-strip img {
  animation: magicFloatSlow 10s ease-in-out infinite;
}
.logo-strip img:nth-child(2) { animation-delay: 1s; }
.logo-strip img:nth-child(3) { animation-delay: 1.8s; }
.logo-strip img:nth-child(4) { animation-delay: 2.6s; }
.logo-strip img:nth-child(5) { animation-delay: 3.4s; }
.logo-strip img:nth-child(6) { animation-delay: 4.2s; }
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.feature-item strong { display: block; margin-bottom: 6px; }

.dark-band {
  background: linear-gradient(120deg, #0d0c22, #191738 60%, #221e46 100%);
  color: #fff;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  opacity: 0.8;
}

.logo-strip img { width: 100%; height: 42px; object-fit: contain; filter: grayscale(1); }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.feature-row:nth-child(even) { direction: rtl; }
.feature-row:nth-child(even) > * { direction: ltr; }

.media-card {
  border-radius: 22px;
  border: 1px solid var(--line-dark);
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow);
}

.media-card img { border-radius: 16px; margin: 0 auto; }

.game-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.game-wall img {
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: #fff;
  height: 72px;
  object-fit: cover;
}

.partner-band {
  background: linear-gradient(120deg, #1d4dff, #2f56ff);
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.partner-band .shell {
  display: grid;
  gap: 12px;
  align-items: center;
}

.partner-band .section-title {
  color: #fff;
  margin: 0;
}

.review-stage {
  border-radius: 22px;
  padding: 22px;
  background: #131333;
  color: #fff;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.review-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, #4f6bff, #7a3bff);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.review-card { display: none; }
.review-card.is-active { display: block; animation: fadeUp 0.4s ease; }
.review-meta { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); }
.review-nav { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }

.marquee {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.marquee-track {
  display: flex;
  gap: 10px;
  animation: scrollX 16s linear infinite;
}

.mini-card {
  padding: 10px 12px;
  background: rgba(47, 86, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(47, 86, 255, 0.2);
  white-space: nowrap;
  font-size: 0.85rem;
}

.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  font-weight: 600;
  cursor: pointer;
}
.faq-item .answer { display: none; padding: 0 16px 14px; color: var(--ink-soft); }
.faq-item.open .answer { display: block; animation: fadeUp 0.25s ease; }

.footer {
  background: #0b0a1a;
  color: #fff;
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 16px;
}

.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.88rem; }
.footer-note { margin-top: 18px; font-size: 0.82rem; color: rgba(255,255,255,0.7); }

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 25, 0.7);
  z-index: 120;
}

.overlay.show { display: flex; }

.overlay-card {
  width: min(520px, 92vw);
  border-radius: 20px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-dark);
  text-align: center;
}

.overlay-card .btn-ghost {
  color: #0b0a1a;
  border-color: rgba(10, 12, 28, 0.35);
  background: #ffffff;
}

.cookie-box {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  border-radius: 0;
  border: 1px solid rgba(10, 12, 28, 0.2);
  border-left: 0;
  border-right: 0;
  background: #fff;
  padding: 16px 18px;
  box-shadow: 0 -18px 40px rgba(10, 10, 30, 0.18);
  display: none;
  z-index: 110;
}

.cookie-box.show { display: block; animation: fadeUp 0.3s ease; }

.cookie-box .btn-ghost {
  color: #0b0a1a;
  border-color: rgba(10, 12, 28, 0.35);
  background: #ffffff;
}

.form-grid { display: grid; gap: 8px; }
input, textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.catalog-card {
  border-radius: 18px;
  border: 1px solid var(--line-dark);
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow);
}

.catalog-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 220px;
}

.catalog-media img { width: 100%; height: 100%; object-fit: cover; }

.catalog-tags {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}

.catalog-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.catalog-modal {
  position: fixed;
  inset: 0;
  display: none;
  padding: 18px;
  background: rgba(10, 10, 25, 0.75);
  z-index: 130;
}

.catalog-modal.open { display: block; animation: fadeUp 0.2s ease; }

.catalog-modal-card {
  width: min(1200px, 96vw);
  height: min(88vh, 860px);
  margin: 0 auto;
  border-radius: 18px;
  background: #101028;
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.catalog-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.catalog-frame-wrap { position: relative; background: #0b0b16; }
#catalogFrame { width: 100%; height: 100%; border: 0; display: block; }
.catalog-frame-status {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(10, 8, 16, 0.82);
}
.catalog-frame-status.visible { display: flex; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollX {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes magicFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-8px) translateX(3px); }
}

@keyframes magicFloatSlow {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.7; }
  50% { transform: translateY(-12px) translateX(-4px); opacity: 1; }
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}

@media (max-width: 1100px) {
  .hero-grid, .split, .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) { direction: ltr; }
}

@media (max-width: 1000px) {
  .header-row { grid-template-columns: auto auto; }
  .site-nav { display: none; position: absolute; top: calc(100% + 8px); left: 4vw; right: 4vw; background: #0b0a1a; border-radius: 16px; padding: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.show { display: grid; }
  .menu-toggle { display: block; justify-self: end; }
  .header-chip { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .game-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
