/* ============================================================
   QUASI PENGUIN — style.css
   Arctic vaporwave aesthetic: deep navy, ice cyan, vaporwave pink
   Fonts: VT323 (display) + Share Tech Mono (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:         #050c18;
  --bg2:        #080f20;
  --card:       rgba(0, 200, 255, 0.04);
  --border:     rgba(0, 200, 255, 0.18);
  --border-hot: rgba(255, 32, 112, 0.4);
  --text:       #c8e8ff;
  --text-dim:   #6a9ab8;
  --cyan:       #00ccff;
  --pink:       #ff2070;
  --purple:     #9933ff;
  --white:      #e8f4ff;
  --font-display: 'VT323', monospace;
  --font-body:    'Share Tech Mono', monospace;
  --glow-cyan:  0 0 18px rgba(0, 204, 255, 0.45);
  --glow-pink:  0 0 18px rgba(255, 32, 112, 0.45);
  --radius:     6px;
  --transition: 0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; transition: color var(--transition), text-shadow var(--transition); }
a:hover { color: var(--white); text-shadow: var(--glow-cyan); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  line-height: 1.15;
}

/* ── Canvas background ─────────────────────────────────────── */
#snow-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ── Layout wrapper ────────────────────────────────────────── */
.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 12, 24, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-shadow: var(--glow-cyan);
  transition: color var(--transition);
}
.nav-logo:hover { color: var(--white); text-shadow: none; }

.nav-logo img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-logo .logo-placeholder {
  font-size: 1.8rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cyan); text-shadow: var(--glow-cyan); }

/* ── Hamburger (mobile) ────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 7rem 1.5rem 5rem;
  text-align: center;
  position: relative;
}

.hero-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 24px var(--cyan));
}

.hero-logo-placeholder {
  font-size: 5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px var(--cyan));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 0.4rem;
  animation: reveal 0.8s ease both;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--pink);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: reveal 0.9s 0.1s ease both;
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  animation: reveal 1s 0.2s ease both;
}

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

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: reveal 1s 0.3s ease both;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.btn-primary:hover {
  background: transparent;
  color: var(--cyan);
  text-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  color: var(--cyan);
  text-shadow: none;
}

.btn-pink {
  background: transparent;
  color: var(--pink);
  border-color: rgba(255,32,112,0.35);
}
.btn-pink:hover {
  border-color: var(--pink);
  box-shadow: var(--glow-pink);
  color: var(--pink);
  text-shadow: none;
}

/* ── Section headings ──────────────────────────────────────── */
.section-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--pink);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 0.6rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  margin-bottom: 2.5rem;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}

/* ── Philosophy / Values ───────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  border-color: rgba(255,32,112,0.4);
  box-shadow: var(--glow-pink);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.value-card h3 {
  font-size: 1.3rem;
  color: var(--pink);
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Game cards ────────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start; /* FIXED: This stops the cards from stretching to match the video height */
}

.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.game-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}

.game-card.live {
  border-color: rgba(0,204,255,0.35);
}

.game-header {
  background: rgba(0,204,255,0.06);
  padding: 1.2rem 1.5rem 0.8rem;
  border-bottom: 1px solid var(--border);
}

.game-status {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}
.status-live { background: rgba(0,255,136,0.15); color: #00ff88; border: 1px solid rgba(0,255,136,0.3); }
.status-soon { background: rgba(153,51,255,0.15); color: var(--purple); border: 1px solid rgba(153,51,255,0.3); }

.game-title {
  font-size: 1.8rem;
  color: var(--white);
}

.game-body {
  padding: 1rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.game-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  flex: 1;
}

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

.tag {
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.game-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.game-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--cyan);
  transition: all var(--transition);
  letter-spacing: 0.05em;
}
.game-link:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  color: var(--cyan);
  text-shadow: none;
}

/* Platform coming-soon badges */
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
  align-items: center;
}
.platform-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.platform-badge.live {
  border-color: rgba(0,204,255,0.4);
  color: var(--cyan);
}
.platform-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
}
.platform-badge.live .badge-dot { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }

/* ── Links page ────────────────────────────────────────────── */
.links-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 580px;
  margin: 0 auto;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
}
.link-item:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  color: var(--white);
  text-shadow: none;
  transform: translateX(4px);
}
.link-item:hover .link-arrow { opacity: 1; transform: translateX(2px); }

.link-icon { font-size: 1.3rem; width: 28px; text-align: center; flex-shrink: 0; }
.link-text { flex: 1; }
.link-name { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em; display: block; }
.link-handle { font-size: 0.78rem; color: var(--text-dim); }
.link-arrow { opacity: 0.3; transition: opacity var(--transition), transform var(--transition); color: var(--cyan); }

.links-section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--pink);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 1.5rem 0 0.5rem;
  padding-left: 0.25rem;
}

/* ── Privacy policy ────────────────────────────────────────── */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.policy-content h1 {
  font-size: 2.8rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.policy-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.policy-content h2 {
  font-size: 1.5rem;
  color: var(--pink);
  margin: 2rem 0 0.5rem;
}

.policy-content p, .policy-content li {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.policy-content ul { padding-left: 1.5rem; }
.policy-content li { margin-bottom: 0.3rem; }

.policy-contact {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.9;
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: 4rem 1.5rem;
}

.section-alt {
  background: rgba(0, 204, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Trailer embed ─────────────────────────────────────────── */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg2);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgba(5, 12, 24, 0.92);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand .footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}

.footer-brand p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.footer-nav h4, .footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--pink);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.4rem; }
.footer-nav a { font-size: 0.83rem; color: var(--text-dim); }
.footer-nav a:hover { color: var(--cyan); text-shadow: none; }

.footer-contact p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,204,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p, .footer-bottom a {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.footer-bottom a:hover { color: var(--cyan); text-shadow: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 62px; left: 0; right: 0;
    background: rgba(5,12,24,0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
  }
  .nav-toggle { display: flex; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero { padding: 4rem 1.5rem 3rem; }
}

/* --- COMING SOON OVERLAY --- */
.game-card.redacted {
  position: relative;
  overflow: hidden; 
}

/* FIXED: Force the Title to sit ABOVE the dark overlay so people can read the game name */
.game-card.redacted .game-header {
  position: relative;
  z-index: 20;
  background: rgba(5, 12, 24, 0.95); /* Solidifies the background so blur doesn't bleed up */
}

/* Grays out and blurs the text behind the overlay */
.game-card.redacted .game-body {
  filter: blur(6px) grayscale(100%);
  opacity: 0.25; 
  pointer-events: none; 
  user-select: none;
}

/* The overlay container */
.redacted-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(10, 10, 15, 0.85); 
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay; 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* The red stamp itself */
.redacted-overlay .stamp {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #ff3333;
  border: 5px solid #ff3333;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  transform: rotate(-10deg);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.6); 
  box-shadow: 0 0 20px rgba(255, 51, 51, 0.2), inset 0 0 20px rgba(255, 51, 51, 0.2);
  text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}