:root {
  --bg: #000000;
  --surface: #0d0d0f;
  --surface-2: #141419;
  --ink: #f5f7f7;
  --muted: #a5abb3;
  --accent: #8c38ff;
  --accent-2: #16c75f;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(140, 56, 255, 0.26), transparent 34%),
    radial-gradient(circle at 15% 18%, rgba(22, 199, 95, 0.18), transparent 28%),
    radial-gradient(circle at 85% 28%, rgba(140, 56, 255, 0.14), transparent 22%),
    var(--bg);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a,
footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover,
footer a:hover {
  color: var(--accent-2);
}

.hero {
  padding: 4.5rem 0 3rem;
  animation: rise 0.5s ease-out;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.8rem;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 2.5rem 18% auto;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(140, 56, 255, 0.18), transparent 58%),
    radial-gradient(circle at 65% 35%, rgba(22, 199, 95, 0.12), transparent 42%);
  filter: blur(40px);
  z-index: -1;
}

.hero-logo {
  width: min(420px, 72vw);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 28px rgba(140, 56, 255, 0.5))
    drop-shadow(0 0 54px rgba(22, 199, 95, 0.3));
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(22, 199, 95, 0.8);
  border-radius: 999px;
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.1;
  max-width: 12ch;
  text-shadow: 0 0 24px rgba(140, 56, 255, 0.18);
}

h2 {
  margin-top: 0;
  font-size: clamp(1.2rem, 3.2vw, 1.8rem);
}

.hero p:not(.eyebrow) {
  max-width: 64ch;
  color: #d7dceb;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.15rem;
  border-radius: 0.7rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px rgba(140, 56, 255, 0.28),
    0 10px 24px rgba(22, 199, 95, 0.2);
  filter: saturate(1.1);
}

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

.card,
.section-block,
.legal-page {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(20, 20, 25, 0.96), rgba(13, 13, 15, 0.96));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before,
.section-block::before,
.legal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(140, 56, 255, 0.12), transparent 40%),
    linear-gradient(320deg, rgba(22, 199, 95, 0.08), transparent 34%);
  pointer-events: none;
}

.card:hover,
.section-block:hover {
  border-color: rgba(140, 56, 255, 0.35);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(22, 199, 95, 0.12) inset;
}

.section-block,
.legal-page {
  margin-top: 1rem;
}

.legal {
  margin-bottom: 3rem;
}

ul {
  padding-left: 1.1rem;
}

li::marker {
  color: var(--accent-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  background: rgba(5, 5, 7, 0.88);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
}

.footer-wrap div {
  display: flex;
  gap: 1rem;
}

.legal-page {
  margin: 2rem auto;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.legal-page h3 {
  margin: 1rem 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #c9b2ff;
}

.contact-form {
  display: grid;
  gap: 0.65rem;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(140, 56, 255, 0.8);
  box-shadow:
    0 0 0 3px rgba(140, 56, 255, 0.18),
    0 0 20px rgba(22, 199, 95, 0.08);
}

.hidden-field {
  display: none;
}

.form-message {
  margin-top: 0.75rem;
  color: var(--muted);
}

a {
  color: #c9b2ff;
}

a:hover {
  color: var(--accent-2);
}

.nowrap {
  white-space: nowrap;
}

/* ── Portfolio sections ── */
.portfolio-section {
  padding-top: 3rem;
}

.portfolio-label {
  margin-bottom: 1rem;
}

.portfolio-header {
  max-width: 72ch;
  margin-bottom: 1.5rem;
}

.portfolio-header p {
  color: #d7dceb;
  margin: 0.5rem 0 0;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.25rem;
}

.button-outline {
  background: transparent;
  border: 2px solid rgba(140, 56, 255, 0.7);
  color: #c9b2ff;
  box-shadow: none;
}

.button-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  transform: translateY(-2px);
  filter: none;
}

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

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: #cdd4e0;
  font-size: 0.95rem;
}

.pro-cta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.pro-cta p {
  margin: 0;
  color: #d7dceb;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-logo-link {
  display: flex;
  justify-content: center;
}

.product-logo {
  width: 100%;
  max-width: 340px;
  height: 160px;
  object-fit: contain;
  object-position: center;
  border-radius: 0.5rem;
  filter:
    drop-shadow(0 0 18px rgba(140, 56, 255, 0.4))
    drop-shadow(0 0 36px rgba(22, 199, 95, 0.2));
}

.product-logo-placeholder {
  width: 100%;
  height: 160px;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(140, 56, 255, 0.18), rgba(22, 199, 95, 0.12));
  border: 1px solid rgba(140, 56, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-name-text {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-card p {
  margin: 0;
  color: #cdd4e0;
  font-size: 0.95rem;
  flex: 1;
}

.product-details {
  margin: 0;
  padding-left: 1.1rem;
  color: #cdd4e0;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-details strong {
  color: var(--ink);
}

.product-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(140, 56, 255, 0.55);
  color: #c9b2ff;
  background: rgba(140, 56, 255, 0.1);
}

.tag-coming {
  border-color: rgba(22, 199, 95, 0.55);
  color: var(--accent-2);
  background: rgba(22, 199, 95, 0.1);
}

.product-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

::selection {
  background: rgba(140, 56, 255, 0.4);
  color: #ffffff;
}

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

@media (max-width: 900px) {
  .card-grid,
  .pro-grid,
  .play-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}
