/* Ventra Studio – indie space vibe */

:root {
  --bg: #000000;
  --bg-elevated: #0b061b;
  --bg-soft: #151028;
  --accent: #181818;
  --accent-strong: #111011;
  --accent-soft: rgba(5, 5, 5, 0.18);
  --text: #f7f2ff;
  --text-muted: #a99ad4;
  --border-subtle: rgba(68, 57, 66, 0.233);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 26px 80px rgba(0, 0, 0, 0.7);
}

/* Make base font-size scale a bit with viewport */
html {
  font-size: clamp(14px, 0.9vw + 10px, 18px);
}

/* Reset-ish */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #131118 0, #050611 55%, #020008 100%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

/* Layout */

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 5vw, 4.5rem) 0; /* responsive section padding */
}

.section h2 {
  font-size: clamp(1.9rem, 2.4vw, 2.4rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.75rem;
}

.section-lede {
  margin: 0;
  color: var(--text-muted);
  max-width: 32rem;
  font-size: clamp(0.94rem, 1vw, 1rem);
}

.inline-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.inline-link:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: linear-gradient(to bottom, rgba(8, 7, 15, 0.96), rgba(0, 0, 0, 0.86), transparent);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

/* logo scales with screen */
.brand-mark {
  width: clamp(40px, 4.2vw, 64px);
  height: auto;
}

.brand-text {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--text-muted);
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta {
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.3rem 0;
  flex-direction: column;
  gap: 0.22rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.7rem 1.3rem;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  text-decoration: none;
}

.btn-accent {
  background: radial-gradient(circle at top left, var(--accent-strong), var(--accent));
  color: #d8d8d8;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.btn-ghost {
  background: rgba(26, 26, 26, 0.02);
  border-color: var(--border-subtle);
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-small {
  padding-block: 0.55rem;
  padding-inline: 1.1rem;
  font-size: 0.84rem;
}

.btn-full {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(3.5rem, 6vh, 4.7rem) 0 clamp(3rem, 5vh, 4.2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  /* full-width / full-height background image */
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.7)),
    url('images/hero.png') center center / cover no-repeat;
}

/* container + grid inside hero */
.hero-inner {
  width: 100vw; /* full screen width */
  margin: 0;
  padding-left: clamp(2rem, 6vw, 6rem); /* space from left side */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* push text to LEFT side */
  text-align: left;
}


/* text block on the right */
.hero-copy {
  grid-column: 2;
  justify-self: end;
  max-width: 580px;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  letter-spacing: 0.02em;
}

.lede {
  font-size: clamp(0.98rem, 1.1vw, 1.05rem);
  max-width: 32rem;
  color: var(--text-muted);
  margin: 0 0 0.2rem;
  margin-left: auto; /* for right-align layout */
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
  justify-content: flex-start;
}

.hero-meta {
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  align-items: flex-start;
}

.hero-media {
  position: relative;
  grid-column: 1;
}

/* hero frame / image */
.hero-frame {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(14, 10, 10, 0.08);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top, #b08bff 0%, #2a1938 45%, #08020e 100%);
}

/* hero image scales responsively */
.hero-frame img {
  width: 100%;
  height: auto;
  max-height: clamp(220px, 40vw, 390px);
  display: block;
  filter: saturate(1.08);
}

.hero-caption {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: left;
}

.hero-caption code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.78em;
  background: rgba(3, 1, 10, 0.9);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Section: Games */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.game-grid {
  display: grid;
  grid-template-columns:1fr;
  gap: 1.7rem;
}

.game-grid > .game-card:nth-child(2),
.game-grid > .game-card:nth-child(3) {
  min-height: 0;
}

.game-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(7, 3, 22, 0.9));
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.4rem 1.3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr);
  gap: 1rem;
}

.game-card-featured {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.game-media-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
  object-fit: cover;
}

.game-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: #2a102f;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 0.8rem;
}

.game-media {
  position: relative;
}

.media-placeholder {
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px dashed rgba(29, 28, 28, 0.2);
  padding: 2.3rem 1rem;
  font-size: 0.8rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  background: radial-gradient(circle at top, rgba(229, 179, 255, 0.12), rgba(3, 2, 10, 0.9));
}

.media-placeholder.small {
  padding-block: 1.6rem;
}

.game-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.game-tagline {
  margin: 0 0 0.3rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.game-meta {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.game-desc {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 2, 14, 0.8);
  color: var(--text-muted);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Studio */

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr);
  gap: 2.3rem;
}

.studio-grid p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.studio-grid p + p {
  margin-top: 0.6rem;
}

.studio-asides {
  display: grid;
  gap: 1rem;
}

.studio-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(14, 14, 17, 0.18), rgba(2, 1, 9, 0.96));
  padding: 1.3rem 1.2rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65);
}

.studio-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.studio-card ul {
  padding-left: 1.1rem;
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.studio-card li + li {
  margin-top: 0.35rem;
}

/* Devlog */

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

.devlog-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(5, 4, 18, 0.96);
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.devlog-meta {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.devlog-card h3 {
  margin: 0;
  font-size: 0.98rem;
}

.devlog-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: 2.5rem;
}

.contact-note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-note a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(6, 3, 18, 0.96);
  padding: 1.5rem 1.4rem 1.3rem;
  display: grid;
  gap: 0.95rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 6, 25, 0.98);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font: inherit;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-footnote {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 2.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: radial-gradient(circle at bottom, #160f2c 0, #050310 40%, #020009 100%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.1rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive */

/* Tablet-ish */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .hero-copy {
    grid-column: 1;
    justify-self: flex-start;
    text-align: left;
    max-width: 520px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-meta {
    align-items: flex-start;
  }

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

  .game-card-featured {
    grid-row: auto;
    grid-template-columns: minmax(0, 1.1fr);
  }

  .studio-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

/* Mobile */
@media (max-width: 720px) {
  .container {
    width: min(100% - 2.2rem, 700px);
  }

  .nav-bar {
    padding-block: 0.7rem;
  }

  .main-nav {
    position: fixed;
    inset-inline: 1.2rem;
    top: 3.5rem;
    padding: 0.9rem 1rem 1rem;
    border-radius: 16px;
    background: rgba(8, 4, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 0.9rem;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .main-nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .nav-toggle.nav-open span:nth-child(1) {
    transform: translateY(2px) rotate(45deg);
  }
  .nav-toggle.nav-open span:nth-child(2) {
    transform: translateY(-2px) rotate(-45deg);
  }

  .section {
    padding-block: 3.5rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  /* hero on mobile: keep full-screen, center text */
  .hero {
    padding: 3.2rem 0 2.4rem;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-copy {
    max-width: 540px;
    text-align: center;
    justify-self: center;
  }

  .lede {
    margin-left: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    align-items: center;
  }

  .hero-frame img {
    max-height: clamp(200px, 55vw, 320px);
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .hero-inner {
    gap: 1.8rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8vw, 2.6rem);
  }

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

  .hero-meta {
    font-size: 0.8rem;
  }

  .brand-text {
    font-size: 0.7rem;
  }
}
