/* ELIVA Studio v0.3 */

:root {
  --bg: #050616;
  --bg-deep: #02030d;
  --panel: rgba(15, 20, 56, 0.64);
  --panel-strong: rgba(17, 22, 66, 0.84);
  --line: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --text: #d9e2ff;
  --muted: #aab3d4;
  --blue: #22c8ff;
  --purple: #8f55ff;
  --pink: #ff4fc7;
  --green: #99f13d;
  --orange: #ff7a2e;
  --gold: #ffc83d;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1200px;
  --radius-xl: 44px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.44);
  --card-surface: linear-gradient(105deg, rgba(8, 12, 42, 0.9) 0%, rgba(16, 12, 40, 0.84) 48%, rgba(38, 16, 28, 0.8) 100%);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-shadow: 0 24px 64px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: var(--font-body);
  background: transparent;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.92) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(34,200,255,.5) 0 1px, transparent 1.5px);
  background-size: 110px 110px, 180px 180px;
  background-position: 0 0, 44px 58px;
  opacity: .24;
}

body.loaded .loader { opacity: 0; visibility: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(143,85,255,.22), transparent 34%),
    #040513;
  transition: opacity .65s ease, visibility .65s ease;
}

.loader img {
  width: min(320px, 72vw);
  filter: drop-shadow(0 0 40px rgba(34,200,255,.3));
  animation: loaderLogo 1.35s ease-in-out infinite;
}

.loader span {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.08);
  border-top-color: var(--gold);
  border-right-color: var(--blue);
  animation: loaderRing 1.1s linear infinite;
}

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

.mouse-glow {
  position: fixed;
  width: 560px;
  height: 560px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,85,255,.15), transparent 64%);
}

.cosmos {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.nebula, .planet {
  position: absolute;
  border-radius: 999px;
}

.nebula {
  filter: blur(30px);
  opacity: .7;
  animation: nebula 10s ease-in-out infinite;
}

.nebula-a { width: 450px; height: 450px; left: -180px; top: 120px; background: rgba(143,85,255,.45); }
.nebula-b { width: 390px; height: 390px; right: -130px; top: 180px; background: rgba(34,200,255,.35); animation-delay: 1.5s; }
.nebula-c { width: 300px; height: 300px; left: 44%; bottom: -90px; background: rgba(255,200,61,.18); animation-delay: 2.4s; }

.planet {
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), transparent 18%),
    linear-gradient(135deg, rgba(34,200,255,.22), rgba(143,85,255,.22));
  box-shadow: 0 0 42px rgba(34,200,255,.16);
  opacity: .55;
}

.planet-a { width: 86px; height: 86px; right: 9%; top: 34%; animation: planetFloat 8s ease-in-out infinite; }
.planet-b { width: 50px; height: 50px; left: 8%; bottom: 18%; animation: planetFloat 9s ease-in-out infinite reverse; }

.spark {
  position: absolute;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255,200,61,.9);
  animation: twinkle 3s ease-in-out infinite;
}

.spark-1 { top: 118px; left: 12%; font-size: 30px; }
.spark-2 { top: 240px; right: 18%; font-size: 20px; animation-delay: .5s; }
.spark-3 { bottom: 220px; left: 18%; font-size: 18px; animation-delay: 1s; }
.spark-4 { bottom: 145px; right: 12%; font-size: 28px; animation-delay: 1.4s; }
.spark-5 { top: 54%; left: 50%; font-size: 17px; animation-delay: 2s; }

.shooting {
  position: absolute;
  width: 140px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  transform: rotate(-25deg);
  opacity: 0;
  animation: shooting 7s ease-in-out infinite;
}

.shooting-a { top: 160px; right: 14%; }
.shooting-b { top: 52%; left: 8%; animation-delay: 3.5s; }

.site-header {
  position: sticky;
  top: 18px;
  z-index: 50;
  width: min(var(--max), calc(100% - 32px));
  min-height: 82px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 235px 1fr 48px;
  align-items: center;
  gap: 20px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 8, 29, 0.72);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}

.site-header.scrolled {
  background: rgba(6, 8, 29, 0.88);
  box-shadow: 0 20px 70px rgba(0,0,0,.38), 0 0 38px rgba(143,85,255,.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
  position: relative;
  overflow: visible;
  background: transparent;
}
.brand img {
  width: 215px;
  display: block;
  background: transparent;
  filter: none;
  transition: transform .22s ease;
}
.brand:hover img {
  transform: scale(1.03);
  filter: none;
}

.nav { display: flex; justify-content: center; gap: 28px; }
.nav a {
  position: relative;
  text-decoration: none;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .25px;
  text-transform: uppercase;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--gold));
  transition: width .22s ease;
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: white;
  border-radius: 999px;
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 100px);
  margin: 0 auto;
  padding: 82px 0 46px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 38px;
}

.hero-kicker {
  margin: 0 0 20px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-weight: 1000;
}
.hero-kicker span:nth-child(1) { color: var(--blue); }
.hero-kicker span:nth-child(3) { color: var(--pink); }
.hero-kicker span:nth-child(5) { color: var(--green); }
.hero-kicker span:nth-child(7) { color: var(--gold); }
.hero-kicker i { width: 6px; height: 6px; background: rgba(255,255,255,.58); border-radius: 50%; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: .98; }
h1 {
  max-width: 680px;
  font-size: clamp(54px, 7.5vw, 94px);
  letter-spacing: -2.8px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--orange), var(--gold), var(--green), var(--blue));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 625px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.82;
  font-weight: 560;
}

.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-weight: 900;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.button:hover { transform: translateY(-4px); }
.button.primary {
  background: linear-gradient(135deg, #6b3cff, var(--pink) 42%, var(--orange), var(--gold));
  box-shadow: 0 20px 46px rgba(255,79,199,.26);
}
.button.primary span {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18);
}
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.06); }
.button.secondary:hover { border-color: rgba(255,200,61,.44); box-shadow: 0 0 34px rgba(255,200,61,.13); }

.hero-metrics {
  max-width: 625px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.hero-metrics article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.hero-metrics strong { display: block; font-family: var(--font-display); color: var(--gold); font-size: 32px; line-height: 1; }
.hero-metrics span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 850; }

.hero-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 42%, rgba(255,200,61,.16), transparent 22%),
    radial-gradient(circle at 48% 45%, rgba(143,85,255,.36), transparent 41%),
    radial-gradient(circle at 82% 18%, rgba(34,200,255,.18), transparent 24%),
    rgba(10, 13, 38, .48);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 35%, rgba(5,6,22,.32) 64%, rgba(5,6,22,.78)),
    linear-gradient(180deg, transparent, rgba(0,0,0,.18));
  pointer-events: none;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}

.portal-outer, .portal-inner, .portal-core { position: absolute; border-radius: 50%; }
.portal-outer {
  width: min(78%, 520px);
  aspect-ratio: 1;
  border: 11px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    conic-gradient(from 220deg, var(--gold), var(--orange), var(--pink), var(--purple), var(--blue), var(--green), var(--gold)) border-box;
  box-shadow:
    0 0 85px rgba(255,200,61,.28),
    0 0 150px rgba(143,85,255,.24),
    inset 0 0 90px rgba(34,200,255,.13);
  animation: portalPulse 4.2s ease-in-out infinite;
}
.portal-inner {
  width: min(58%, 385px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(circle, rgba(34,200,255,.1), transparent 62%);
  box-shadow: inset 0 0 64px rgba(143,85,255,.24);
}
.portal-core {
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(255,200,61,.35), rgba(143,85,255,.15), transparent 72%);
  filter: blur(2px);
  animation: corePulse 3.4s ease-in-out infinite;
}

.hero-art {
  position: relative;
  z-index: 4;
  width: min(94%, 650px);
  margin-top: 24px;
  filter:
    drop-shadow(0 30px 58px rgba(0,0,0,.5))
    drop-shadow(0 0 32px rgba(255,200,61,.22));
  animation: heroFloat 5.5s ease-in-out infinite;
}

.stage-card {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(16px);
  color: white;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
  animation: chipFloat 4.5s ease-in-out infinite;
}
.stage-card span { font-size: 18px; }
.stage-card-a { left: 42px; top: 150px; }
.stage-card-b { right: 50px; top: 96px; animation-delay: .7s; }
.stage-card-c { right: 60px; bottom: 126px; animation-delay: 1.3s; }

.section { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.feature-strip {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-strip article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
}
.feature-strip span { font-size: 30px; }
.feature-strip strong { display: block; margin-top: 12px; font-family: var(--font-display); font-size: 24px; line-height: 1; }
.feature-strip p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; font-weight: 600; }

.about {
  margin-top: 94px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 44px;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 22%, rgba(255,200,61,.12), transparent 24%),
    radial-gradient(circle at 90% 82%, rgba(34,200,255,.12), transparent 25%),
    var(--panel);
  box-shadow: var(--shadow);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .8px;
  text-transform: uppercase;
}

h2 { max-width: 790px; font-size: clamp(38px, 5vw, 62px); letter-spacing: -1.4px; }
.about p, .section-head > p, .vision-card p, .contact-card p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.82;
  font-weight: 550;
}

.games, .values, .vision, .contact { padding-top: 94px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 34px; }
.section-head > p { max-width: 430px; }

.game-layout {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 22px;
}
.game-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 28px 76px rgba(0,0,0,.28);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  transform-style: preserve-3d;
}
.game-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,200,61,.42);
  box-shadow: 0 34px 94px rgba(0,0,0,.38), 0 0 48px rgba(143,85,255,.16);
}
.game-cover {
  position: relative;
  min-height: 255px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.featured .game-cover { min-height: 320px; }
.game-cover::before {
  content: "";
  position: absolute;
  inset: -44%;
  background: conic-gradient(from 140deg, var(--purple), var(--blue), var(--green), var(--gold), var(--pink), var(--purple));
  opacity: .7;
  animation: spin 9s linear infinite;
}
.game-cover::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 28px 28px 0 0;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.16), transparent 28%), rgba(5,6,23,.72);
}
.game-icon { position: relative; z-index: 2; font-size: 86px; filter: drop-shadow(0 22px 30px rgba(0,0,0,.36)); }
.featured .game-icon { font-size: 108px; }
.game-cover small {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  color: white;
  font-weight: 900;
}
.game-info { padding: 24px; }
.game-info p { margin: 0 0 8px; color: var(--gold); font-size: 13px; font-weight: 950; }
h3 { font-size: 31px; }
.game-info span, .value-card p { color: var(--muted); line-height: 1.68; font-weight: 600; }

.centered { text-align: center; margin-inline: auto; }
.center-title { text-align: center; margin-inline: auto; }

.value-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.1), transparent 34%),
    var(--panel);
  box-shadow: 0 24px 64px rgba(0,0,0,.24);
  transition: transform .24s ease, border-color .24s ease;
}
.value-card:hover { transform: translateY(-8px); border-color: rgba(34,200,255,.38); }
.value-card > span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  font-size: 34px;
  box-shadow: inset 0 0 24px rgba(255,255,255,.04), 0 0 28px rgba(143,85,255,.22);
}

.vision-card, .contact-card {
  padding: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 16% 24%, rgba(153,241,61,.13), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(255,79,199,.13), transparent 22%),
    linear-gradient(135deg, rgba(16,21,58,.82), rgba(13,10,45,.86));
  box-shadow: var(--shadow);
}
.vision-card p { max-width: 850px; margin-top: 18px; }
.contact { padding-bottom: 62px; }
.contact-card { text-align: center; }
.contact-card p { max-width: 650px; margin: 0 auto; }
.contact-actions { justify-content: center; }

.footer {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-brand img,
.footer img {
  width: 168px;
  background: transparent;
  filter: none;
}

.footer p {
  margin: 0;
  color: rgba(170, 179, 212, 0.88);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .76s ease, transform .76s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes loaderLogo { 0%,100%{transform:scale(1)} 50%{transform:scale(1.04)} }
@keyframes loaderRing { to { transform: rotate(1turn); } }
@keyframes nebula { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-28px) scale(1.05)} }
@keyframes planetFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
@keyframes twinkle { 0%,100%{opacity:.42;transform:scale(.9)} 50%{opacity:1;transform:scale(1.28)} }
@keyframes shooting {
  0%,75% { opacity:0; transform:translate3d(0,0,0) rotate(-25deg); }
  80% { opacity:.9; }
  100% { opacity:0; transform:translate3d(-280px,120px,0) rotate(-25deg); }
}
@keyframes portalPulse { 0%,100%{transform:scale(1);opacity:.88} 50%{transform:scale(1.035);opacity:1} }
@keyframes corePulse { 0%,100%{transform:scale(.86); opacity:.55} 50%{transform:scale(1.14);opacity:1} }
@keyframes heroFloat { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-17px) rotate(1deg)} }
@keyframes chipFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes spin { to { transform: rotate(1turn); } }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 210px 1fr 48px; }
  .brand img { width: 195px; }
  .nav { gap: 18px; }
  .hero, .about { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-stage { min-height: 560px; }
  .section-head { display: block; }
  .section-head > p { margin-top: 18px; }
  .game-layout, .value-grid, .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .game-card.featured { grid-column: span 2; }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 24px);
    top: 10px;
    min-height: 74px;
    grid-template-columns: 1fr 48px;
    border-radius: 24px;
  }
  .brand img { width: 178px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(6,8,29,.94);
    backdrop-filter: blur(24px);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .hero, .section { width: calc(100% - 24px); }
  .hero { min-height: auto; padding-top: 56px; }
  h1 { font-size: 48px; letter-spacing: -1.7px; }
  h2 { font-size: 38px; }
  .hero-description, .about p, .section-head > p, .vision-card p, .contact-card p { font-size: 16.5px; }
  .hero-actions, .contact-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-metrics, .game-layout, .value-grid, .feature-strip { grid-template-columns: 1fr; }
  .game-card.featured { grid-column: auto; }
  .hero-stage { min-height: 430px; border-radius: 30px; }
  .portal-outer { width: 330px; }
  .stage-card { display: none; }
  .about, .vision-card, .contact-card { padding: 30px; }
  .featured .game-cover, .game-cover { min-height: 235px; }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    padding: 26px 0 30px;
    gap: 16px;
  }

  .footer p { text-align: center; }
}


/* v0.4 additions */

.starfield {
  position: absolute;
  inset: -10%;
  background-repeat: repeat;
  opacity: .55;
  transform: translateZ(0);
}

.starfield-a {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,200,61,.9) 0 1px, transparent 1.6px);
  background-size: 64px 64px, 118px 118px;
  animation: starDriftA 36s linear infinite;
}

.starfield-b {
  background-image:
    radial-gradient(circle, rgba(34,200,255,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,.65) 0 1px, transparent 1.4px);
  background-size: 92px 92px, 150px 150px;
  opacity: .36;
  animation: starDriftB 58s linear infinite;
}

.starfield-c {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 1.3px);
  background-size: 38px 38px;
  opacity: .18;
  animation: starDriftC 24s linear infinite;
}

.spark-6 { top: 34%; left: 7%; font-size: 16px; animation-delay: .9s; }
.spark-7 { top: 68%; right: 23%; font-size: 19px; animation-delay: 1.8s; }
.spark-8 { top: 17%; left: 54%; font-size: 14px; animation-delay: 2.3s; }

.shooting-c {
  top: 72%;
  right: 8%;
  animation-delay: 5.2s;
}

.site-header {
  grid-template-columns: 235px 1fr auto;
}

.language-switch {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 32px rgba(0,0,0,.18);
}

.language-switch button {
  width: 42px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.74);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.language-switch button:hover {
  color: white;
  transform: translateY(-1px);
}

.language-switch button.active {
  color: #061021;
  background: linear-gradient(135deg, var(--gold), var(--green), var(--blue));
  box-shadow: 0 0 22px rgba(34,200,255,.22);
}

.language-switch span {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.16);
}

.hero {
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
}

.hero-stage {
  min-height: 690px;
  margin-right: -34px;
}

.hero-art {
  width: min(112%, 760px);
  max-width: none;
  transform-origin: center;
}

.portal-outer {
  width: min(86%, 620px);
}

.portal-inner {
  width: min(66%, 455px);
}

.portal-core {
  width: 160px;
  height: 160px;
}

.portal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 48px rgba(34,200,255,.12), inset 0 0 48px rgba(143,85,255,.14);
}

.ring-a {
  width: min(92%, 665px);
  aspect-ratio: 1;
  animation: ringRotate 18s linear infinite;
}

.ring-b {
  width: min(72%, 515px);
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(255,200,61,.22);
  animation: ringRotate 24s linear infinite reverse;
}

@keyframes starDriftA {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-120px,120px,0); }
}

@keyframes starDriftB {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(160px,-160px,0); }
}

@keyframes starDriftC {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-80px,-80px,0); }
}

@keyframes ringRotate {
  to { transform: rotate(1turn); }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 210px 1fr auto;
  }

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

  .hero-stage {
    margin-right: 0;
    min-height: 590px;
  }

  .hero-art {
    width: min(106%, 720px);
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto 48px;
    gap: 10px;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .nav {
    grid-column: 1 / -1;
  }

  .language-switch button {
    width: 36px;
    height: 30px;
  }

  .hero-stage {
    min-height: 470px;
    margin-right: 0;
  }

  .hero-art {
    width: min(116%, 560px);
  }

  .portal-outer {
    width: 390px;
  }

  .portal-inner {
    width: 292px;
  }

  .ring-a,
  .ring-b {
    display: none;
  }
}


/* v0.5 requested revisions */

/* Smaller menubar */
.site-header {
  min-height: 66px;
  padding: 8px 14px;
  grid-template-columns: 195px 1fr auto;
}

.brand img {
  width: 176px;
}

.nav {
  gap: 22px;
}

.nav a {
  font-size: 12px;
}

.language-switch {
  min-height: 38px;
  padding: 3px 7px;
}

.language-switch button {
  width: 38px;
  height: 29px;
  font-size: 11px;
}

/* Since hero CTA buttons were removed, tighten spacing */
.hero-description {
  margin-bottom: 0;
}

.hero-metrics {
  margin-top: 28px;
}

/* Contact section alignment and button fix */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
}

.contact-card p {
  text-align: center;
}

.contact-actions {
  width: 100%;
  justify-content: center;
  align-items: center;
}

.mail-button {
  min-width: 168px;
  padding-left: 28px;
  padding-right: 28px;
  white-space: nowrap;
}

.mail-button span {
  white-space: nowrap;
}

/* Better tablet layout */
@media (max-width: 1050px) {
  .site-header {
    min-height: 64px;
    grid-template-columns: 176px 1fr auto;
  }

  .brand img {
    width: 158px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 11px;
  }

  .language-switch button {
    width: 35px;
  }

  .hero-metrics {
    max-width: 100%;
  }

  .contact-card h2 {
    max-width: 680px;
  }
}

/* Better mobile layout */
@media (max-width: 760px) {
  .site-header {
    min-height: 62px;
    padding: 8px 10px;
    grid-template-columns: 1fr auto 42px;
  }

  .brand img {
    width: 148px;
  }

  .language-switch {
    min-height: 34px;
    padding: 3px 5px;
    gap: 4px;
  }

  .language-switch button {
    width: 32px;
    height: 26px;
    font-size: 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .nav {
    top: calc(100% + 8px);
  }

  .hero {
    padding-top: 42px;
  }

  .hero-metrics {
    margin-top: 24px;
  }

  .contact-card {
    padding: 30px 22px;
  }

  .contact-card h2 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.8px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-actions .button,
  .mail-button {
    width: 100%;
    min-width: 0;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Small phone refinements */
@media (max-width: 420px) {
  .brand img {
    width: 132px;
  }

  .site-header {
    width: calc(100% - 16px);
  }

  .language-switch button {
    width: 30px;
  }

  .contact-card h2 {
    font-size: 30px;
  }
}


/* v0.6 requested polish */

/* Menu bar: one more step smaller and more elegant */
.site-header {
  min-height: 58px !important;
  padding: 6px 14px !important;
  grid-template-columns: 180px 1fr auto !important;
}

.brand {
  padding-left: 4px;
}

.brand img {
  width: 158px !important;
}

.nav {
  gap: 18px !important;
}

.nav a {
  font-size: 11px !important;
  letter-spacing: .35px;
  font-weight: 850;
}

.language-switch {
  min-height: 34px !important;
  padding: 3px 6px !important;
}

.language-switch button {
  width: 34px !important;
  height: 26px !important;
  font-size: 10px !important;
}

/* Contact spacing and centering */
.contact-card {
  padding-top: 70px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card .section-kicker {
  margin-bottom: 30px !important;
}

.contact-card h2 {
  max-width: 780px;
  margin: 0 auto 24px !important;
  text-align: center;
  line-height: 1.08;
  text-wrap: balance;
}

.contact-card p {
  max-width: 760px;
  margin: 0 auto !important;
  text-align: center;
}

.contact-actions {
  margin-top: 34px;
}

/* Mail button: remove arrow spacing issue and center text perfectly */
.mail-button {
  min-width: 198px !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.mail-button span {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.mail-button b {
  display: none !important;
}

/* Tablet responsive polish */
@media (max-width: 1050px) {
  .site-header {
    min-height: 56px !important;
    grid-template-columns: 162px 1fr auto !important;
    padding: 6px 12px !important;
  }

  .brand img {
    width: 146px !important;
  }

  .nav {
    gap: 12px !important;
  }

  .nav a {
    font-size: 10px !important;
  }

  .language-switch button {
    width: 32px !important;
    height: 25px !important;
  }

  .contact-card {
    padding: 56px 34px;
  }

  .contact-card h2 {
    max-width: 680px;
  }
}

/* Mobile responsive polish */
@media (max-width: 760px) {
  .site-header {
    min-height: 58px !important;
    width: calc(100% - 20px) !important;
    padding: 7px 9px !important;
    grid-template-columns: 1fr auto 40px !important;
    gap: 8px !important;
  }

  .brand {
    padding-left: 0;
  }

  .brand img {
    width: 132px !important;
  }

  .language-switch {
    min-height: 31px !important;
    padding: 3px 4px !important;
    gap: 3px;
  }

  .language-switch button {
    width: 29px !important;
    height: 24px !important;
    font-size: 9px !important;
  }

  .menu-toggle {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px;
  }

  .contact-card {
    padding: 42px 20px;
  }

  .contact-card .section-kicker {
    margin-bottom: 22px !important;
  }

  .contact-card h2 {
    font-size: 32px;
    max-width: 100%;
    margin-bottom: 18px !important;
    line-height: 1.08;
  }

  .contact-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-actions .button,
  .mail-button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 120px !important;
  }

  .contact-card h2 {
    font-size: 29px;
  }
}


/* v0.7 BIG PREMIUM REVAMP */

/* Stronger cinematic space depth */
body {
  background:
    radial-gradient(circle at 12% 12%, rgba(143, 85, 255, 0.30), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(34, 200, 255, 0.22), transparent 28%),
    radial-gradient(circle at 46% 42%, rgba(255, 79, 199, 0.08), transparent 28%),
    radial-gradient(circle at 58% 95%, rgba(255, 122, 46, 0.16), transparent 34%),
    linear-gradient(180deg, #07081d 0%, #040514 48%, #02030d 100%) !important;
}

/* Premium navbar polish */
.site-header {
  min-height: 56px !important;
  padding: 6px 14px !important;
  border-color: rgba(255,255,255,.16) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.025)),
    rgba(5, 7, 25, 0.72) !important;
  box-shadow:
    0 18px 62px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.10),
    0 0 42px rgba(143,85,255,.06) !important;
}

.site-header.scrolled {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
    rgba(5, 7, 25, 0.88) !important;
}

.nav a {
  opacity: .9;
}

.nav a:hover {
  text-shadow: 0 0 18px rgba(255,200,61,.42);
}

/* Hero: closer to reference, more visual dominance */
.hero {
  grid-template-columns: .78fr 1.22fr !important;
  gap: 18px !important;
  padding-top: 72px !important;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero-kicker {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

h1 {
  text-shadow: 0 16px 46px rgba(0,0,0,.26);
}

.hero-description {
  max-width: 585px !important;
}

/* Bigger artwork and stage like the reference */
.hero-stage {
  min-height: 720px !important;
  margin-right: -70px !important;
  border-radius: 52px !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,200,61,.20), transparent 19%),
    radial-gradient(circle at 48% 45%, rgba(143,85,255,.42), transparent 41%),
    radial-gradient(circle at 80% 20%, rgba(34,200,255,.22), transparent 24%),
    radial-gradient(circle at 18% 80%, rgba(153,241,61,.08), transparent 22%),
    rgba(9, 12, 39, .50) !important;
  box-shadow:
    0 44px 130px rgba(0,0,0,.48),
    0 0 90px rgba(143,85,255,.16),
    inset 0 1px 0 rgba(255,255,255,.11) !important;
}

.hero-stage::after {
  inset: 16px !important;
  border-radius: 40px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), transparent 38%, rgba(34,200,255,.035));
  border-color: rgba(255,255,255,.09) !important;
}

.hero-art {
  width: min(124%, 860px) !important;
  max-width: none !important;
  margin-right: -22px;
  margin-top: 18px !important;
  filter:
    drop-shadow(0 40px 72px rgba(0,0,0,.56))
    drop-shadow(0 0 38px rgba(255,200,61,.25))
    drop-shadow(0 0 45px rgba(34,200,255,.14)) !important;
}

.portal-outer {
  width: min(94%, 705px) !important;
  border-width: 13px !important;
  box-shadow:
    0 0 110px rgba(255,200,61,.34),
    0 0 185px rgba(143,85,255,.30),
    0 0 120px rgba(34,200,255,.15),
    inset 0 0 110px rgba(34,200,255,.16) !important;
}

.portal-inner {
  width: min(72%, 520px) !important;
}

.ring-a {
  width: min(104%, 760px) !important;
}

.ring-b {
  width: min(82%, 610px) !important;
}

.portal-core {
  width: 190px !important;
  height: 190px !important;
}

/* Hero atmosphere details */
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(34,200,255,.75) 0 1px, transparent 1.5px);
  background-size: 62px 62px, 96px 96px;
  animation: heroStarsMove 30s linear infinite;
}

.hero-particle {
  position: absolute;
  z-index: 6;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(255,200,61,.9);
  animation: particleFloat 5s ease-in-out infinite;
}

.hp-1 { left: 19%; top: 22%; background: var(--gold); }
.hp-2 { right: 18%; top: 26%; background: var(--blue); animation-delay: .8s; }
.hp-3 { left: 23%; bottom: 22%; background: var(--green); animation-delay: 1.4s; }
.hp-4 { right: 25%; bottom: 18%; background: var(--pink); animation-delay: 2s; }
.hp-5 { left: 50%; top: 14%; background: var(--purple); animation-delay: 2.6s; }

.stage-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.07)) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow:
    0 20px 50px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.12) !important;
}

/* Better glassmorphism across cards */
.feature-strip article,
.about,
.game-card,
.value-card,
.vision-card,
.contact-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035)),
    rgba(11, 15, 46, .62) !important;
  border-color: rgba(255,255,255,.16) !important;
  backdrop-filter: blur(22px);
  box-shadow:
    0 28px 86px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.09) !important;
}

/* Game cards: more professional, more app-store-like */
.game-layout {
  grid-template-columns: 1.25fr .92fr .92fr !important;
  gap: 24px !important;
}

.game-card {
  position: relative;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 35%, rgba(255,200,61,.07));
  opacity: .65;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34,200,255,.45), rgba(143,85,255,.30), rgba(255,200,61,.34));
  opacity: 0;
  transition: opacity .28s ease;
}

.game-card:hover::after {
  opacity: .7;
}

.game-cover {
  min-height: 292px !important;
}

.featured .game-cover {
  min-height: 380px !important;
}

.game-cover::before {
  filter: saturate(1.16);
  opacity: .78 !important;
}

.game-cover::after {
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.18), transparent 28%),
    radial-gradient(circle at 50% 70%, rgba(0,0,0,.30), transparent 42%),
    rgba(5,6,23,.68) !important;
}

.game-icon {
  font-size: 96px !important;
  transform: translateZ(40px);
}

.featured .game-icon {
  font-size: 132px !important;
}

.game-info {
  position: relative;
  z-index: 3;
  padding: 27px !important;
}

.game-info h3 {
  font-size: 34px !important;
}

.game-info p {
  color: #ffd85f !important;
  letter-spacing: .2px;
}

/* Contact polish and definitive centered mail button */
.contact-card {
  align-items: center !important;
  text-align: center !important;
  padding: 76px 60px !important;
}

.contact-card .section-kicker {
  display: block;
  width: fit-content;
  margin: 0 auto 30px !important;
  text-align: center !important;
}

.contact-card h2 {
  display: block;
  max-width: 780px !important;
  width: 100%;
  margin: 0 auto 24px !important;
  text-align: center !important;
}

.contact-card p {
  display: block;
  max-width: 760px !important;
  width: 100%;
  margin: 0 auto !important;
  text-align: center !important;
}

.contact-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

.mail-button {
  position: relative;
  width: 198px !important;
  min-width: 198px !important;
  max-width: 198px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 0 !important;
}

.mail-button span {
  display: block !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  transform: translateX(0) !important;
}

.mail-button b,
.mail-button::after {
  display: none !important;
  content: none !important;
}

/* Responsive premium rewrite */
@media (max-width: 1180px) {
  .hero {
    grid-template-columns: .86fr 1.14fr !important;
  }

  .hero-stage {
    margin-right: -38px !important;
  }

  .hero-art {
    width: min(120%, 790px) !important;
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

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

  .hero-stage {
    margin-right: 0 !important;
    min-height: 630px !important;
  }

  .hero-art {
    width: min(112%, 760px) !important;
    margin-right: 0;
  }

  .portal-outer {
    width: min(88%, 640px) !important;
  }

  .feature-strip,
  .game-layout,
  .value-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .game-card.featured {
    grid-column: span 2 !important;
  }

  .contact-card {
    padding: 60px 34px !important;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 42px !important;
  }

  .hero-kicker {
    font-size: 13px;
    gap: 7px;
  }

  h1 {
    font-size: 46px !important;
    letter-spacing: -1.6px !important;
  }

  .hero-description {
    font-size: 16.5px !important;
  }

  .hero-stage {
    min-height: 500px !important;
    margin-right: 0 !important;
    border-radius: 34px !important;
  }

  .hero-stage::after {
    inset: 10px !important;
    border-radius: 26px !important;
  }

  .hero-art {
    width: min(128%, 620px) !important;
    margin-top: 8px !important;
  }

  .portal-outer {
    width: 430px !important;
    border-width: 9px !important;
  }

  .portal-inner {
    width: 320px !important;
  }

  .portal-core {
    width: 130px !important;
    height: 130px !important;
  }

  .hero-particle {
    width: 6px;
    height: 6px;
  }

  .feature-strip,
  .game-layout,
  .value-grid {
    grid-template-columns: 1fr !important;
  }

  .game-card.featured {
    grid-column: auto !important;
  }

  .featured .game-cover,
  .game-cover {
    min-height: 245px !important;
  }

  .featured .game-icon,
  .game-icon {
    font-size: 90px !important;
  }

  .contact-card {
    padding: 46px 20px !important;
  }

  .contact-card .section-kicker {
    margin-bottom: 22px !important;
  }

  .contact-card h2 {
    font-size: 32px !important;
    line-height: 1.06 !important;
    margin-bottom: 18px !important;
  }

  .contact-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .contact-actions .button {
    width: 100% !important;
  }

  .mail-button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 41px !important;
  }

  .hero-stage {
    min-height: 455px !important;
  }

  .hero-art {
    width: min(136%, 560px) !important;
  }

  .portal-outer {
    width: 375px !important;
  }

  .portal-inner {
    width: 285px !important;
  }
}

@keyframes heroStarsMove {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-90px,90px,0); }
}

@keyframes particleFloat {
  0%,100% { transform: translate3d(0,0,0) scale(1); opacity: .55; }
  50% { transform: translate3d(12px,-18px,0) scale(1.35); opacity: 1; }
}


/* v0.8 focused fixes */

.starfield-a,
.starfield-b,
.starfield-c {
  opacity: .38 !important;
}

.nebula {
  opacity: .44 !important;
}

.mouse-glow {
  opacity: .62;
}

/* 2) Contact buttons: make Mail text visually centered like Instagram and YouTube */
.contact-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
}

.contact-actions .button {
  width: 168px !important;
  min-width: 168px !important;
  max-width: 168px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  line-height: 1 !important;
}

.contact-actions .button span,
.contact-actions .button {
  font-size: 18px !important;
  font-weight: 900 !important;
}

.mail-button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
  text-align: center !important;
}

.mail-button span {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  transform: none !important;
}

.mail-button::before,
.mail-button::after,
.mail-button b {
  display: none !important;
  content: none !important;
}

/* remove visual imbalance caused by hover highlight on the gradient button */
.mail-button.primary {
  background:
    linear-gradient(135deg, #8f55ff 0%, #ff4fc7 48%, #ff8a2e 100%) !important;
}

.mail-button.primary::selection {
  background: transparent;
}

@media (max-width: 760px) {
  .contact-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .contact-actions .button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}


/* v0.9 scroll overshoot / white gap fix */

/*
  Fast trackpad scrolling can reveal the browser canvas during overscroll.
  html gets the fallback color; body stays transparent so fixed effect layers
  (z-index 0–3) stack above the base gradient and below page content.
*/
html {
  background: #010208;
  overscroll-behavior: none;
}

body {
  background: transparent;
  overscroll-behavior: none;
  min-height: 100svh;
}

/* Base gradient + dark overscroll extension — lowest visual layer */
body::after {
  content: "";
  position: fixed;
  inset: -120px 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(143, 85, 255, 0.18), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(34, 200, 255, 0.13), transparent 28%),
    radial-gradient(circle at 46% 42%, rgba(255, 79, 199, 0.045), transparent 28%),
    radial-gradient(circle at 58% 95%, rgba(255, 122, 46, 0.08), transparent 34%),
    linear-gradient(180deg, #030414 0%, #02030d 50%, #010208 100%),
    #010208;
}

.footer {
  margin-bottom: 0 !important;
}

main {
  position: relative;
  z-index: 4;
  background: transparent;
  min-height: 100svh;
}


/* v1.0 compact contact card */

.contact {
  padding-top: 72px;
  padding-bottom: 48px;
}

.contact-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 36px 48px;
  align-items: center !important;
  text-align: left !important;
  padding: 36px 44px !important;
  border-radius: 32px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(11, 15, 46, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(22px);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
}

.contact-copy {
  min-width: 0;
}

.contact-card .section-kicker {
  display: block !important;
  width: auto !important;
  margin: 0 0 14px !important;
  text-align: left !important;
}

.contact-card h2 {
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  text-align: left !important;
  font-size: clamp(28px, 3.2vw, 40px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.6px !important;
  text-wrap: balance;
}

.contact-lead,
.contact-card .contact-lead {
  max-width: 520px !important;
  width: auto !important;
  margin: 14px 0 0 !important;
  text-align: left !important;
  color: rgba(170, 179, 212, 0.88) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  font-weight: 550 !important;
}

.contact-actions {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 280px !important;
  margin: 0 0 0 auto !important;
  gap: 10px !important;
}

.contact-actions .button,
.contact-actions .mail-button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 46px !important;
  height: auto !important;
  padding: 12px 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  box-shadow: none !important;
  color: rgba(217, 226, 255, 0.92) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, text-shadow .2s ease;
}

.contact-actions .button:hover,
.contact-actions .mail-button:hover {
  transform: translateY(-2px);
  color: var(--gold) !important;
  border-color: rgba(255, 200, 61, 0.44) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 0 18px rgba(255, 200, 61, 0.14) !important;
  text-shadow: 0 0 18px rgba(255, 200, 61, 0.42);
}

.contact-actions .mail-button.primary,
.contact-actions .button.primary {
  background: rgba(255, 255, 255, 0.05) !important;
}

.contact-actions .mail-button span,
.contact-actions .button span {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 32px 28px !important;
  }

  .contact-actions {
    max-width: none !important;
    margin: 0 !important;
  }
}

@media (max-width: 760px) {
  .contact {
    padding-top: 56px;
    padding-bottom: 36px;
  }

  .contact-card {
    padding: 28px 22px !important;
    border-radius: 26px !important;
  }

  .contact-card h2 {
    font-size: 28px !important;
  }

  .contact-lead,
  .contact-card .contact-lead {
    font-size: 14.5px !important;
  }
}


/* Oyunla Öğrenme — gamepad icon slightly higher inside its box */
.value-card:nth-child(3) > span {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15px;
  line-height: 1;
}


/* Game cover art (MathMatch GO etc.) */
.game-cover.has-art,
.featured .game-cover.has-art {
  padding: 0;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

.game-cover.has-art::before,
.game-cover.has-art::after {
  display: none;
}

.game-cover-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* Mobile performance — conservative GPU soften (easy to remove) */

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .mouse-glow,
  .shooting,
  .spark,
  .hero-particle,
  .hero-noise,
  .starfield-b,
  .starfield-c {
    display: none !important;
  }

  .starfield-a {
    animation: none !important;
    opacity: 0.28 !important;
  }

  .nebula {
    filter: none !important;
    animation: none !important;
    opacity: 0.32 !important;
  }

  .planet {
    animation: none !important;
  }

  .portal-ring,
  .portal-outer,
  .portal-core {
    animation: none !important;
  }

  .game-cover::before {
    animation: none !important;
  }

  .site-header,
  .feature-strip article,
  .about,
  .game-card,
  .value-card,
  .vision-card,
  .contact-card,
  .language-switch,
  .hero-kicker,
  .stage-card,
  .nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header {
    background: rgba(5, 7, 25, 0.94) !important;
  }

  .feature-strip article,
  .about,
  .game-card,
  .value-card,
  .vision-card,
  .contact-card {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
      rgba(11, 15, 46, 0.92) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mouse-glow,
  .shooting,
  .spark,
  .hero-particle,
  .hero-noise,
  .starfield-b,
  .starfield-c {
    display: none !important;
  }

  .starfield-a,
  .nebula,
  .planet,
  .portal-ring,
  .portal-outer,
  .portal-core,
  .game-cover::before,
  .hero-art,
  .stage-card {
    animation: none !important;
  }

  .nebula {
    filter: none !important;
  }

  .site-header,
  .feature-strip article,
  .about,
  .game-card,
  .value-card,
  .vision-card,
  .contact-card,
  .language-switch,
  .hero-kicker,
  .stage-card,
  .nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
