* {
  box-sizing: border-box;
}

:root {
  --bg: #050816;
  --bg-2: #07111f;
  --card: rgba(15, 23, 42, 0.78);
  --card-strong: rgba(17, 24, 39, 0.92);
  --line: rgba(148, 163, 184, 0.2);
  --line-strong: rgba(147, 197, 253, 0.28);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --gold: #fbbf24;
  --green: #22c55e;
  --red: #ef4444;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  padding-bottom: env(safe-area-inset-bottom);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.38), transparent 34rem),
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.18), transparent 30rem),
    radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.12), transparent 26rem),
    linear-gradient(180deg, #020617 0%, #07111f 52%, #020617 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 999;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.nav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: none;
  height: 100%;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  font-size: 22px;
  letter-spacing: 0.02em;
  border-radius: 18px;
  padding: 6px 10px 6px 6px;
  transition: transform .2s ease, background .2s ease;
}

.brand:hover {
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.58);
}

.brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
  transform: translateY(-1px);
}


.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 42px 0 82px;
}

.hero-text {
  max-width: 760px;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 950;
  font-size: clamp(13px, 1.8vw, 18px);
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 16px;
}

h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.subtitle,
.card p,
.info-card p,
.gallery-card p,
.showcase p,
.cta p,
.policy-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.subtitle {
  max-width: 680px;
  margin-top: 22px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 950;
  border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.34);
}

.secondary {
  background: rgba(15, 23, 42, 0.72);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 12%;
  background: rgba(37, 99, 235, 0.34);
  filter: blur(90px);
  border-radius: 999px;
}

.hero-art img {
  width: 100%;
  max-width: 520px;
  position: relative;
  display: block;
  filter: drop-shadow(0 32px 60px rgba(0, 0, 0, 0.58));
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: -36px 0 68px;
}

.info-card,
.card,
.showcase,
.cta,
.policy-card,
.gallery-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
  background: #0f172a;
  border: 1px solid var(--line);
  margin-bottom: 16px;
  transition: transform .3s ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-slider {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.gallery-slider img {
  width: 100%;
  display: block;
}


.gallery-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.72);
  color: white;
  cursor: pointer;
  z-index: 10;
}

.home-prev,
.game-prev,
.league-prev,
.duel-prev 
{
  left: 10px;
}


.home-next,
.game-next,
.league-next,
.duel-next 
{
  right: 10px;
}

.gallery-arrow:hover {
  background: rgba(0,0,0,.75);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: rgba(255,255,255,.25);

  transition: all .25s ease;
}

.dot.active {
  background: #fbbf24;
  transform: scale(1.15);
}

.info-card {
  padding: 26px;
  transition: transform .22s ease, border-color .22s ease;
}

.info-card:hover,
.card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.info-card span {
  display: block;
  font-size: 34px;
  margin-bottom: 12px;
}

.features {
  padding: 74px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.card {
  padding: 26px;
  transition: transform .22s ease, border-color .22s ease;
}

.card h3 {
  color: #ffffff;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: center;
  gap: 34px;
  padding: 38px;
  margin: 36px 0 74px;
}

.showcase img {
  width: 100%;
  max-width: 340px;
  justify-self: center;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.48));
}

.cta {
  text-align: center;
  padding: 58px 24px;
  margin: 44px 0 54px;
}

.cta h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

.cta p {
  max-width: 720px;
  margin: 0 auto 24px;
}

.store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 28px 0 30px;
}

.store-badges img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.35));
  transition: transform .25s ease, opacity .25s ease;
}

.store-badges img:hover {
  transform: translateY(-3px);
  opacity: 0.96;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-card {
  padding: 18px;
  transition: transform .22s ease, border-color .22s ease;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 22px;
  background: #0f172a;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.gallery-card h3 {
  color: #ffffff;
  margin-bottom: 8px;
}

.policy-page {
  max-width: 920px;
}

.policy-card {
  padding: 34px;
  margin: 30px 0 50px;
}

.policy-card h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-top: 0;
  letter-spacing: -0.04em;
}

.policy-card h2 {
  font-size: 24px;
  margin-top: 30px;
}

.policy-card a {
  color: #93c5fd;
  text-decoration: underline;
}

.policy-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}

.footer {
  padding: 32px 0 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer div {
  display: flex;
  gap: 18px;
  font-weight: 800;
  flex-wrap: wrap;
}

.footer a {
  transition: color .2s ease;
}

.footer a:hover {
  color: #ffffff;
}

#languageSwitcher {
  background: rgba(15, 23, 42, 0.92);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  outline: none;
  transition: all .2s ease;
}

#languageSwitcher:hover {
  border-color: rgba(37, 99, 235, .6);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .language-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .language-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 0 64px;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    max-width: 430px;
  }

  .quick-info,
  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .showcase img {
    max-width: 260px;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0 10px;
  }

  .brand {
    font-size: 13px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .nav-links {
    justify-content: center;
    gap: 6px;
    font-size: 13px;
  }

  .nav-links a {
    padding: 8px 10px;
    background: rgba(15, 23, 42, 0.48);
  }

  .hero {
    text-align: center;
    gap: 26px;
  }

  .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .buttons {
    justify-content: center;
  }

  .quick-info,
  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .quick-info {
    margin-top: -16px;
  }

  .features {
    padding: 50px 0;
  }

  .showcase {
    text-align: center;
    padding: 28px 22px;
    margin: 24px 0 48px;
  }

  .cta {
    padding: 44px 20px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer div {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  h2 {
    font-size: 30px;
  }

  .button {
    width: 100%;
  }

  .store-badges {
    gap: 12px;
  }

  .store-badges img {
    height: 48px;
  }

  .card,
  .info-card,
  .gallery-card {
    padding: 20px;
  }

  .policy-card {
    padding: 24px 20px;
  }
}
