:root {
  color-scheme: only light;
  --bg: #05060a;
  --bg-2: #0b0f1c;
  --bg-3: #0e1528;
  --text: #f5f7ff;
  --muted: #c0c8e8;
  --accent: #70f3ff;
  --accent-2: #ff5ef7;
  --accent-3: #8cff6a;
  --card: rgba(12, 16, 32, 0.82);
  --stroke: rgba(255, 255, 255, 0.12);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  background: radial-gradient(circle at top, #0c1224 0%, var(--bg) 40%, #020307 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.aurora {
  position: absolute;
  inset: -20% 0 auto 0;
  height: 65vh;
  background: conic-gradient(from 180deg at 50% 50%, rgba(112, 243, 255, 0.0), rgba(112, 243, 255, 0.35), rgba(255, 94, 247, 0.35), rgba(112, 243, 255, 0.1));
  filter: blur(40px) saturate(130%);
  animation: drift 18s linear infinite;
  opacity: 0.85;
}

.aurora.two {
  inset: auto 0 -20% 0;
  height: 55vh;
  animation-duration: 22s;
  animation-direction: reverse;
  opacity: 0.55;
}

.grid-field {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 40% 30%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.halo {
  position: absolute;
  width: 640px;
  height: 640px;
  top: -220px;
  right: -200px;
  background: radial-gradient(circle, rgba(112, 243, 255, 0.18), rgba(112, 243, 255, 0));
  filter: blur(4px);
}

.page {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 8vw 18px;
  background: rgba(3, 6, 14, 0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 24px;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  gap: 24px;
  font-weight: 500;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  position: relative;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover::after {
  width: 100%;
}

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 20, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.lang-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
}

.lang-switch.is-en .lang-thumb {
  transform: translateX(100%);
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  min-width: 66px;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.lang-switch a::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-switch a.flag.pl::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'><rect width='18' height='6' fill='%23ffffff'/><rect y='6' width='18' height='6' fill='%23dc143c'/></svg>");
}

.lang-switch a.flag.en::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'><rect width='18' height='12' fill='%23012169'/><path d='M0 0 L18 12 M18 0 L0 12' stroke='%23ffffff' stroke-width='3'/><path d='M0 0 L18 12 M18 0 L0 12' stroke='%23c8102e' stroke-width='1.5'/><rect x='7' width='4' height='12' fill='%23ffffff'/><rect y='4' width='18' height='4' fill='%23ffffff'/><rect x='7.5' width='3' height='12' fill='%23c8102e'/><rect y='4.5' width='18' height='3' fill='%23c8102e'/></svg>");
}

.lang-switch a:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}

.lang-switch a.active {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  padding: 110px 8vw 90px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: rise 0.9s ease both;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  color: var(--muted);
}

.hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.8rem, 3.2vw + 2rem, 4.6rem);
  line-height: 1.02;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0a0f1d;
  box-shadow: 0 16px 40px rgba(112, 243, 255, 0.35);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(12, 16, 32, 0.65);
}

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

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

.ring {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(112, 243, 255, 0.4);
  box-shadow: 0 0 80px rgba(112, 243, 255, 0.2);
  position: absolute;
  animation: pulse 6s ease-in-out infinite;
}

.ring.two {
  width: 220px;
  height: 220px;
  border-color: rgba(255, 94, 247, 0.4);
  animation-duration: 8s;
}

.cube {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, rgba(112, 243, 255, 0.2), rgba(255, 94, 247, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  transform: rotateX(18deg) rotateY(24deg);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  animation: float 7s ease-in-out infinite;
}

.spark {
  position: absolute;
  width: 8px;
  height: 140px;
  background: linear-gradient(180deg, rgba(112, 243, 255, 0), rgba(112, 243, 255, 0.9));
  filter: blur(1px);
  top: 30px;
  right: 40px;
  animation: fall 4s ease-in-out infinite;
}

.spark.two {
  height: 110px;
  top: 220px;
  right: 90px;
  background: linear-gradient(180deg, rgba(255, 94, 247, 0), rgba(255, 94, 247, 0.8));
  animation-delay: 1.2s;
}

.section {
  padding: 90px 8vw;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-header h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.1rem, 2vw + 1.6rem, 3.2rem);
}

.section-header p {
  color: var(--muted);
  max-width: 680px;
}

.privacy {
  gap: 40px;
}

.privacy-hero {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(12, 16, 32, 0.92), rgba(10, 12, 22, 0.8));
  box-shadow: var(--shadow);
  align-items: center;
}

.privacy-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 2vw + 1.6rem, 3.2rem);
  margin: 10px 0 12px;
}

.privacy-meta {
  display: grid;
  gap: 16px;
  min-width: 220px;
}

.privacy-meta div {
  background: rgba(10, 14, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.privacy-meta span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.privacy-meta strong {
  font-size: 1rem;
}

.privacy-card {
  background: rgba(10, 14, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.privacy-card h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  margin-top: 12px;
}

.privacy-card p {
  color: var(--muted);
  line-height: 1.7;
}

.privacy-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-left: 0;
  padding-left: 0;
  color: var(--muted);
}

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

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  align-items: stretch;
}

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

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.stat-card {
  background: var(--card);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: rise 0.9s ease both;
}

.stat-card span {
  font-size: 0.9rem;
  color: var(--accent-3);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.stat-card h3 {
  margin: 12px 0;
}

.service-card {
  background: var(--card);
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}

.card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  color: var(--accent-3);
}

.service-card h3 {
  font-size: 1.35rem;
}

.service-card p {
  color: var(--muted);
}

.pricing-card {
  position: relative;
  background: rgba(9, 13, 26, 0.9);
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}

.pricing-card.featured {
  background: linear-gradient(160deg, rgba(18, 24, 46, 0.98), rgba(8, 12, 22, 0.9));
  border-color: rgba(112, 243, 255, 0.28);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #07101d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.8rem;
  line-height: 1.08;
  max-width: 12ch;
}

.pricing-subtitle {
  color: var(--accent-3);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.pricing-subprice {
  margin-top: -8px;
  color: var(--muted);
  font-size: 0.98rem;
}

.pricing-lead {
  color: var(--muted);
  font-size: 1.02rem;
}

.pricing-block {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-block h4 {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.pricing-block p {
  color: var(--muted);
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

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

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

.game-card {
  background: var(--card);
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  width: 100%;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(112, 243, 255, 0.18), rgba(112, 243, 255, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.game-card.featured {
  background: linear-gradient(135deg, rgba(16, 22, 44, 0.9), rgba(8, 10, 20, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.game-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(112, 243, 255, 0.25), rgba(255, 94, 247, 0.3));
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b0f1c;
}

.game-placeholder {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: 0.12em;
}

.game-info {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.game-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}

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

.game-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.game-card p {
  color: var(--muted);
}

.game-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.button.play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(120deg, #2de2ff, #00ff88);
  color: #03131c;
  box-shadow: 0 14px 32px rgba(45, 226, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button.play::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #03131c;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.button.play.is-disabled {
  opacity: 0.55;
  box-shadow: none;
  filter: grayscale(0.4);
  cursor: not-allowed;
  pointer-events: none;
}

.game-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 94, 247, 0.9);
  color: #0b0f1c;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.contact-card {
  background: var(--card);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 14px;
}

.contact-note {
  color: var(--muted);
  max-width: 32ch;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 10, 20, 0.82);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(112, 243, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(112, 243, 255, 0.14);
  background: rgba(10, 14, 26, 0.95);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.contact-form .button {
  border: 0;
  cursor: pointer;
}

.contact-form .button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  color: var(--muted);
  max-width: 44ch;
  min-height: 1.5em;
}

.form-status.is-success {
  color: var(--accent-3);
}

.form-status.is-error {
  color: #ff9ca8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-details a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.footer {
  padding: 40px 8vw 60px;
  color: var(--muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotateX(18deg) rotateY(24deg);
  }
  50% {
    transform: translateY(-16px) rotateX(18deg) rotateY(30deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes drift {
  from {
    transform: rotate(0deg) translateX(0);
  }
  to {
    transform: rotate(360deg) translateX(0);
  }
}

@keyframes fall {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(18px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 300px;
  }

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

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

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

  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  .privacy-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-meta {
    width: 100%;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 90px;
  }

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