:root {
  --bg: #06010f;
  --bg-soft: #13051f;
  --panel: rgba(17, 10, 31, 0.7);
  --panel-strong: rgba(26, 15, 44, 0.86);
  --line: rgba(255, 89, 196, 0.28);
  --line-strong: rgba(110, 227, 255, 0.34);
  --text: #fff4fd;
  --muted: #f2b6dc;
  --pink: #ff4fc6;
  --pink-soft: #ff84d9;
  --cyan: #61e9ff;
  --yellow: #ffd95c;
  --shadow-pink: 0 0 30px rgba(255, 79, 198, 0.38);
  --shadow-cyan: 0 0 32px rgba(97, 233, 255, 0.28);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 92, 198, 0.16), transparent 28%),
    radial-gradient(circle at 75% 18%, rgba(97, 233, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #080111 0%, #12051b 48%, #05010b 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.8px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.8px),
    radial-gradient(circle at 67% 60%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.8px);
  background-size: 280px 280px;
  opacity: 0.35;
}

body::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 50%, transparent 50%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 50%, transparent 50%);
  background-size: 100% 4px, 4px 100%;
  mix-blend-mode: soft-light;
  opacity: 0.18;
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 3, 18, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-pink);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 79, 198, 0.4));
}

.topnav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-switcher select {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  background: rgba(9, 4, 18, 0.72);
  box-shadow: var(--shadow-cyan);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 42px 0 52px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-banner h2,
.info-panel h3,
.game-card h3 {
  font-family: "Futura", "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.6rem, 9vw, 7.8rem);
  line-height: 0.92;
  text-shadow:
    0 0 16px rgba(255, 79, 198, 0.7),
    0 0 32px rgba(97, 233, 255, 0.18);
}

.hero-text {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.45;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(7, 3, 17, 0.58);
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-cyan);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
}

.button-primary {
  color: #13051f;
  background: linear-gradient(135deg, var(--yellow), var(--pink-soft));
  box-shadow: 0 10px 30px rgba(255, 79, 198, 0.3);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(9, 4, 18, 0.5);
  box-shadow: var(--shadow-cyan);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.sun {
  position: absolute;
  top: 48px;
  width: min(380px, 76%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(180deg, #ffe667 0%, #ffb95a 24%, #ff71b2 60%, #ff2bc5 100%);
  box-shadow:
    0 0 60px rgba(255, 99, 196, 0.5),
    0 0 110px rgba(255, 208, 88, 0.28);
  opacity: 0.92;
}

.sun::before {
  content: "";
  position: absolute;
  inset: 26% 0 auto;
  height: 2px;
  background: rgba(255, 245, 255, 0.45);
  box-shadow:
    0 36px 0 rgba(255, 245, 255, 0.35),
    0 72px 0 rgba(255, 245, 255, 0.25);
}

.grid {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background:
    linear-gradient(rgba(97, 233, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 233, 255, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(580px) rotateX(73deg);
  transform-origin: center bottom;
  box-shadow: inset 0 70px 90px rgba(6, 1, 15, 0.92);
}

.glow-card {
  position: relative;
  width: min(460px, 88%);
  padding: 24px;
  border: 1px solid rgba(255, 138, 218, 0.3);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(16, 8, 30, 0.88), rgba(16, 8, 30, 0.42));
  backdrop-filter: blur(12px);
  box-shadow:
    var(--shadow-pink),
    inset 0 0 24px rgba(255, 255, 255, 0.04);
}

.glow-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 79, 198, 0.26));
}

.panel,
.game-card,
.contact-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.intro-strip {
  padding: 20px 24px;
  color: var(--muted);
  font-size: 1.08rem;
  box-shadow: var(--shadow-pink);
}

.showcase-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  margin-top: 26px;
  box-shadow: var(--shadow-pink);
}

.showcase-kicker {
  margin: 0;
  min-width: 130px;
  color: var(--yellow);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.showcase-copy {
  margin: 0;
  flex: 1;
  color: var(--muted);
  line-height: 1.55;
}

.content-block {
  padding-top: 72px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.game-card {
  overflow: hidden;
  min-height: 100%;
}

.featured {
  grid-column: span 2;
}

.card-image {
  position: relative;
  min-height: 240px;
  background: linear-gradient(180deg, rgba(17, 10, 31, 0.3), rgba(5, 1, 11, 0.9));
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.code-art::before,
.code-art::after {
  content: "";
  position: absolute;
  inset: 0;
}

.code-art-sunrise::before {
  background:
    radial-gradient(circle at 50% 72%, rgba(255, 61, 191, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 216, 94, 0.16), transparent 26%),
    linear-gradient(0deg, rgba(6, 1, 15, 0.92), rgba(6, 1, 15, 0.22));
}

.code-art-sunrise::after {
  inset: 18% 18% 20%;
  border-radius: 50%;
  background:
    linear-gradient(180deg, #ffe567 0%, #ff7dbd 58%, #ff39c9 100%);
  box-shadow:
    0 0 40px rgba(255, 79, 198, 0.42),
    0 0 80px rgba(255, 217, 92, 0.16);
}

.code-art-grid::before {
  background:
    linear-gradient(rgba(97, 233, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 79, 198, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 50% 28%, rgba(255, 79, 198, 0.28), transparent 24%),
    linear-gradient(180deg, rgba(13, 5, 24, 0.2), rgba(5, 1, 11, 0.95));
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.card-copy {
  padding: 20px 22px 24px;
}

.card-tag {
  margin: 0 0 8px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.game-card h3,
.info-panel h3 {
  margin: 0;
  font-size: 1.55rem;
}

.game-card p,
.info-panel p,
.info-panel li {
  color: var(--muted);
  line-height: 1.5;
}

.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

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

.latest-grid {
  grid-template-columns: 1.6fr 1fr;
}

.info-panel {
  padding: 24px;
}

.info-panel ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.accent-panel {
  background:
    radial-gradient(circle at top right, rgba(97, 233, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(18, 10, 35, 0.88), rgba(14, 7, 25, 0.74));
  box-shadow: var(--shadow-cyan);
}

.contact-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
  margin-top: 4px;
  background:
    radial-gradient(circle at left center, rgba(255, 79, 198, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(16, 8, 30, 0.85), rgba(16, 8, 30, 0.62));
  box-shadow: var(--shadow-pink);
}

.contact-text {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 340px;
  width: min(100%, 420px);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(9, 4, 18, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(242, 182, 220, 0.72);
}

.form-status {
  min-height: 1.3em;
  margin: 0;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: var(--cyan);
}

.form-status[data-state="error"] {
  color: var(--pink-soft);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 980px) {
  .hero,
  .card-grid,
  .split-panels,
  .latest-grid {
    grid-template-columns: 1fr;
  }

  .featured {
    grid-column: span 1;
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .topbar,
  .contact-banner {
    border-radius: 28px;
  }

  .topbar,
  .contact-banner,
  .hero-actions,
  .showcase-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .contact-form {
    width: 100%;
    min-width: 0;
  }

  .hero {
    gap: 28px;
    padding-top: 24px;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 5.4rem);
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .card-image {
    min-height: 210px;
  }
}
