/* Infuse VR — static site (migrated from Wix) */
:root {
  --bg: #0b0a14;
  --bg-elevated: #141222;
  --bg-section: #1a1630;
  --text: #f2f2f5;
  --muted: #b8b5c7;
  --accent-m: #e91e8c;
  --accent-g: #b6e83a;
  --accent-c: #2ee6d6;
  --line: rgba(255, 255, 255, 0.12);
  --max: 1120px;
  --font-display: "Orbitron", "Segoe UI", sans-serif;
  --font-body: "Rajdhani", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-c);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
}

.logo img {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
  color: var(--accent-c);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/hero.jpg") center / cover no-repeat;
  z-index: -1;
  transform: scale(1.02);
  filter: brightness(1.35) contrast(1.05) saturate(1.05);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

.hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 4.5rem;
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  width: 2.75rem;
}

.bars span {
  display: block;
  height: 4px;
  border-radius: 2px;
}

.bars span:nth-child(1) { background: var(--accent-m); width: 100%; }
.bars span:nth-child(2) { background: var(--accent-g); width: 78%; }
.bars span:nth-child(3) { background: var(--accent-c); width: 56%; }

.hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.2vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  max-width: 16ch;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 10px 28px rgba(0, 0, 0, 0.55);
  animation: rise 0.9s ease both;
}

.hero .lede {
  margin: 0 0 1.5rem;
  max-width: 34ch;
  color: #fff;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 8px 22px rgba(0, 0, 0, 0.5);
  animation: rise 0.9s ease 0.12s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  animation: rise 0.9s ease 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-c);
  color: #041416;
  font-weight: 700;
}

.btn-primary:hover {
  background: #7cf3ea;
}

.btn-steam {
  padding: 1.05rem 1.85rem;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  background: linear-gradient(180deg, #66c0f4 0%, #1b9aea 100%);
  color: #041018;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(27, 154, 234, 0.45),
    0 12px 32px rgba(27, 154, 234, 0.45),
    0 4px 0 rgba(0, 0, 0, 0.25);
}

.btn-steam:hover {
  background: linear-gradient(180deg, #8ed4f8 0%, #2aadf0 100%);
  box-shadow:
    0 0 0 1px rgba(27, 154, 234, 0.55),
    0 16px 40px rgba(27, 154, 234, 0.55),
    0 4px 0 rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

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

.section {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
}

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

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section .intro {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 62ch;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.tagline {
  background: var(--bg-section);
}

.tagline p {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 600;
  max-width: 70ch;
}

.video-section {
  background: var(--bg);
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.steam-banner {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(102, 192, 244, 0.35);
  background:
    linear-gradient(110deg, rgba(27, 154, 234, 0.18), rgba(255, 255, 255, 0.03) 55%);
  border-radius: 4px;
}

.steam-banner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.steam-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact {
  background:
    radial-gradient(ellipse at top right, rgba(46, 230, 214, 0.12), transparent 45%),
    var(--bg-elevated);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(46, 230, 214, 0.45);
  outline-offset: 1px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.check input {
  width: auto;
  margin-top: 0.3rem;
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  background: #07060d;
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner nav {
  display: flex;
  gap: 1.25rem;
}

.page-hero {
  padding: 7rem clamp(1rem, 4vw, 2.5rem) 2rem;
  background:
    linear-gradient(180deg, rgba(11, 10, 20, 0.2), var(--bg)),
    url("/assets/hero.jpg") center / cover no-repeat;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose ol,
.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin: 0.45rem 0;
}

.prose a {
  word-break: break-word;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 560px) {
  .nav {
    gap: 1rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .hero {
    min-height: 88vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
