/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --surface: #181822;
  --text: #f0f0f5;
  --text-dim: #a0a0b0;
  --accent: #d84976;
  --accent-2: #d84976;
  --accent-3: #6366f1;
  --steam: #1b2838;
  --steam-blue: #66c0f4;
  --radius: 16px;
  --max: 1140px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  border: none; transition: all .2s ease; text-decoration: none;
}
.btn-large { padding: 18px 36px; font-size: 1.1rem; border-radius: 14px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 4px 20px rgba(216,73,118,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(216,73,118,.45); }
.btn-steam {
  background: linear-gradient(135deg, #1b2838, #2a475e);
  color: var(--steam-blue); border: 1px solid rgba(102,192,244,.3);
}
.btn-steam:hover { background: linear-gradient(135deg, #2a475e, #316282); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.4); border-color: rgba(102,192,244,.5); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid rgba(255,255,255,.12); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ===== Sections (shared) ===== */
.section { padding: 120px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-label { color: var(--accent); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; margin-bottom: 12px; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(12px); background: rgba(10,10,15,.8);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { width: 100%; padding: 4px 32px; display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.logo-img { height: 80px; width: auto; display: block; }
.nav-links { flex: 1; display: flex; align-items: center; justify-content: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-dim); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-presskit { flex: 0 0 auto; padding: 10px 24px; font-size: .9rem; }
.nav-mobile-presskit { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative; display: flex; align-items: flex-start;
  justify-content: center; text-align: center; overflow: hidden;
  aspect-ratio: 5636 / 4618;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('photos/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-content { position: relative; z-index: 1; padding: 130px 24px 0; max-width: 800px; }
.hero-logo { height: 250px; width: auto; margin: 0 auto 20px; display: block; }
.hero-eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; margin-bottom: 16px; }
.hero-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 24px; }
.hero-sub { font-size: 1.25rem; color: #fff; margin-bottom: 20px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); font-size: 6rem; color: #fff; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ===== Game Spotlight ===== */
.trailer-wrap { max-width: 900px; margin: 0 auto 64px; }
.trailer-embed {
  position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.trailer-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.trailer-placeholder {
  position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; background: var(--surface); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center;
}
.trailer-img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.trailer-placeholder.no-img { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.trailer-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.trailer-play { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: #fff; transition: transform .3s, background .3s; }
.trailer-placeholder:hover .trailer-play { transform: scale(1.1); background: rgba(255,255,255,.25); }
.trailer-label { color: var(--text-dim); font-size: .9rem; font-weight: 500; }

/* Game details — single centered column */
.game-details { max-width: 700px; margin: 0 auto; }
.game-info { display: flex; flex-direction: column; gap: 24px; text-align: center; align-items: center; }
.game-description { font-size: 1.15rem; color: var(--text-dim); line-height: 1.7; }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.game-tags span { background: rgba(255,255,255,.06); padding: 6px 16px; border-radius: 20px; font-size: .85rem; color: var(--text-dim); }
.game-screenshots { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 48px auto 0; }
.screenshot { width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.06); display: block; }

/* ===== About ===== */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; max-width: 1000px; margin: 0 auto; }
.about-text { text-align: left; }
.about-text p { color: var(--text-dim); margin-bottom: 16px; font-size: 1.1rem; line-height: 1.7; }
.about-card { background: var(--surface); border-radius: var(--radius); padding: 40px; border: 1px solid rgba(255,255,255,.06); }
.about-quote { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; line-height: 1.5; margin-bottom: 16px; }
.about-author { color: var(--accent); font-weight: 600; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 640px; margin: 0 auto; }
.team-card { text-align: center; background: var(--surface); border-radius: var(--radius); padding: 32px 24px; border: 1px solid rgba(255,255,255,.06); transition: transform .3s, box-shadow .3s; text-decoration: none; color: inherit; display: block; position: relative; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.25); border-color: rgba(255,255,255,.12); }
.team-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.team-photo-wrap { position: relative; width: 120px; height: 120px; margin: 0 auto 18px; }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; border: 3px solid rgba(255,255,255,.08); box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .3s, border-color .3s; }
.team-card:hover .team-avatar { transform: scale(1.04); border-color: rgba(255,255,255,.18); }
.team-linkedin { position: absolute; bottom: 0; right: 0; width: 36px; height: 36px; border-radius: 50%; background: #0a66c2; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.3); opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .25s, transform .25s; pointer-events: none; }
.team-card:hover .team-linkedin { opacity: 1; transform: translateY(0) scale(1); }
.team-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; margin-bottom: 6px; }
.team-card p { color: var(--text-dim); font-size: .95rem; line-height: 1.4; }

/* ===== Community ===== */
.community { background: var(--bg-2); }
.community-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.community-card {
  text-align: center; background: var(--surface); border-radius: var(--radius); padding: 32px 20px;
  border: 1px solid rgba(255,255,255,.06); transition: transform .3s, box-shadow .3s, border-color .3s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.community-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.community-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.community-icon { display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 4px; }
.community-icon-img { width: 32px; height: 32px; object-fit: contain; display: block; }
.community-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; transition: color .3s; }
.community-card p { color: var(--text-dim); font-size: .9rem; line-height: 1.5; }
.community-card-discord:hover { border-color: #5865F2; }
.community-card-discord:hover h3 { color: #5865F2; }
.community-card-steam:hover { border-color: #66c0f4; }
.community-card-steam:hover h3 { color: #66c0f4; }
.community-card-x:hover { border-color: #fff; }
.community-card-x:hover h3 { color: #fff; }
.community-card-tiktok:hover { border-color: #ff0050; }
.community-card-tiktok:hover h3 { color: #ff0050; }
.community-card-instagram:hover { border-color: #e4405f; }
.community-card-instagram:hover h3 { color: #e4405f; }
.community-card-bluesky:hover { border-color: #0085ff; }
.community-card-bluesky:hover h3 { color: #0085ff; }
.community-card-youtube:hover { border-color: #ff0000; }
.community-card-youtube:hover h3 { color: #ff0000; }
.community-card-linkedin:hover { border-color: #0a66c2; }
.community-card-linkedin:hover h3 { color: #0a66c2; }

/* ===== Contact ===== */
.contact { text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-sub { color: var(--text-dim); font-size: 1.1rem; margin: 16px auto 32px; max-width: 500px; }

/* ===== Footer ===== */
.footer { background: var(--bg); border-top: 1px solid rgba(255,255,255,.06); padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; }
.footer-brand .logo-img { height: 80px; width: auto; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a { color: #fff; display: flex; align-items: center; }
.footer-social-img { width: 20px; height: 20px; object-fit: contain; display: block; }
.footer-copy { width: 100%; text-align: center; color: var(--text-dim); font-size: .85rem; margin-top: 16px; }

/* ===== Responsive (mobile only) ===== */
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }

  /* Nav — fix black bar overlap */
  .nav-inner { height: 64px; padding: 0 16px; }
  .logo-img { height: 56px; }
  .nav-presskit { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--bg);
    padding: 24px; gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transform: translateY(-200%);
    opacity: 0; visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s;
  }
  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1; visibility: visible;
  }
  /* Presskit link in mobile menu — pink */
  .nav-mobile-presskit {
    display: block;
    color: var(--accent) !important;
    font-weight: 600;
  }

  /* Hero — fill viewport so all text & buttons are visible */
  .hero { aspect-ratio: auto; min-height: 100vh; }
  .hero-logo { height: 120px; }
  .hero-scroll { font-size: 3rem; }

  .game-details { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand .logo-img { height: 56px; }
}
