/* ============================================================
   Negaxy Studio — sections.css
   Hero (gradient mesh + floating game tiles), stats, games,
   about, contact, footer. Direction v2 "Neon Arcade".
   Source of truth: design-system/negaxy-studio/MASTER.md
   ============================================================ */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  background: var(--gradient-mesh), linear-gradient(180deg, #0C0B24 0%, var(--color-bg) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding-block: var(--space-2xl);
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 7fr 5fr; }
}

.hero-content .label { display: inline-flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-lg); }

.hero h1 { margin-bottom: var(--space-lg); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-fg-muted);
  max-width: 48ch;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-2xl);
  list-style: none;
  padding: var(--space-lg) 0 0;
  border-top: 1px solid var(--color-border);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-fg);
}

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

/* Floating game-art collage */
.hero-collage {
  position: relative;
  height: 440px;
  display: none;
}

@media (min-width: 1024px) { .hero-collage { display: block; } }

.hero-collage img {
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  width: 46%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-collage img:nth-child(1) {
  top: 4%;
  left: 6%;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-lg), var(--glow-violet);
  animation: tile-float 8s ease-in-out infinite;
}

.hero-collage img:nth-child(2) {
  top: 26%;
  right: 2%;
  width: 52%;
  transform: rotate(6deg);
  box-shadow: var(--shadow-lg), var(--glow-pink);
  animation: tile-float 9.5s ease-in-out 0.8s infinite;
}

.hero-collage img:nth-child(3) {
  bottom: 0;
  left: 14%;
  width: 42%;
  transform: rotate(3deg);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
  animation: tile-float 7s ease-in-out 1.6s infinite;
}

@keyframes tile-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

/* Mobile: compact tile strip under the copy instead of the collage */
.hero-tiles-mobile {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 1024px) { .hero-tiles-mobile { display: none; } }

.hero-tiles-mobile img {
  width: calc((100% - 2 * var(--space-md)) / 3);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
}

.hero-tiles-mobile img:nth-child(1) { transform: rotate(-4deg); }
.hero-tiles-mobile img:nth-child(3) { transform: rotate(4deg); }

/* ---------- Section backdrops ---------- */

.section-games {
  background:
    radial-gradient(50% 40% at 85% 0%, rgba(34, 211, 238, 0.07), transparent 70%),
    radial-gradient(45% 40% at 10% 90%, rgba(139, 92, 246, 0.09), transparent 70%);
}

.section-about {
  background:
    radial-gradient(55% 45% at 15% 20%, rgba(255, 61, 138, 0.08), transparent 70%),
    radial-gradient(45% 40% at 90% 85%, rgba(139, 92, 246, 0.10), transparent 70%);
}

/* About: oversized editorial statement */
.about-statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
  line-height: 1.3;
  max-width: 30ch;
  margin-bottom: var(--space-2xl);
  text-wrap: balance;
}

.about-statement em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Footer (multi-column, company-grade) ---------- */

.footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-deep);
  padding-block: var(--space-3xl) var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2.2fr 1fr 1.5fr 1.7fr; } }

.footer-logo img { height: 36px; width: auto; }

.footer-brand p {
  color: var(--color-fg-muted);
  font-size: 0.95rem;
  max-width: 34ch;
  margin-top: var(--space-md);
}

.footer h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 2px; }

.footer-col a,
.footer-col span {
  display: inline-block;
  color: var(--color-fg-muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 5px 0; /* comfortable touch target without bloating rhythm */
  cursor: pointer;
  transition: color 200ms ease;
}

.footer-col span { cursor: default; }

.footer-col a:hover { color: var(--color-secondary); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-lg);
  font-size: 0.8rem;
  color: var(--color-fg-muted);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.footer-bottom a {
  color: var(--color-fg-muted);
  cursor: pointer;
}

.footer-bottom a:hover { color: var(--color-secondary); }
