/* =========================================
   PORNGEN CANONICAL STYLES (Final)
   ========================================= */

:root {
  /* Brand */
  --bg-main: #050505;
  --bg-dark: #0a0a0c;
  --bg-card: #121214;
  --text-main: #fff;
  --text-muted: #b0b0b0;
  --accent: #e6007a;
  --accent-hover: #ff1a8c;
  
  /* Layout */
  --container: 1240px;
  --radius: 12px;
  --border: rgba(255, 255, 255, 0.08);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

/* UTILS */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-dark { background: var(--bg-dark); }
.text-center { text-align: center; }
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  background: var(--accent); color: #fff; font-weight: 700;
  border-radius: 99px; text-transform: uppercase; cursor: pointer;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-primary { padding: 14px 28px; }
.btn-lg { padding: 18px 40px; font-size: 1.2rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* 1. HEADER */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; }
.main-nav a { margin: 0 15px; color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: #fff; }

/* 2. HERO (NO OVERLAY) */
.hero {
  padding: 100px 0;
  display: flex; align-items: center; min-height: 80vh;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-copy h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-sub { font-size: 1.25rem; color: #ddd; margin-bottom: 30px; }
.hero-media {
  position: relative; height: 500px; width: 100%; display: flex; justify-content: center;
}
.hero-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; transition: opacity 1s;
  border-radius: var(--radius);
}
.hero-img.is-active { opacity: 1; }

/* 3. TEXT BLOCKS (SEO) */
.text-block, .long-text { max-width: 900px; margin: 0 auto 40px; }
.text-block p, .long-text p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.1rem; }
.long-text h3 { margin-top: 40px; margin-bottom: 15px; font-size: 1.5rem; color: #fff; }

/* 4. GALLERIES */
.fantasy-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin-top: 40px;
}
.fantasy-gallery img {
  width: 100%; height: 260px; object-fit: cover; border-radius: 8px;
  cursor: pointer; transition: transform 0.3s; background: #111;
}
.fantasy-gallery img:hover { transform: scale(1.02); z-index: 2; }

/* 5. PIPELINE */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 40px 0;
}
.step-card {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 24px; border-radius: var(--radius); text-align: left;
}
.step-media { border-radius: 6px; margin-bottom: 20px; aspect-ratio: 3/4; object-fit: cover; background: #000; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; margin: 0; color: var(--text-muted); }

.explanation-box {
  max-width: 800px; margin: 40px auto; padding: 30px;
  background: #111; border-left: 3px solid var(--accent); text-align: left;
}
.explanation-box h4 { margin-bottom: 10px; }
.explanation-box p { margin: 0; color: #aaa; }

/* 6. STYLES */
.styles-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px;
}
.style-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.style-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: 0.3s; }
.style-card:hover img { transform: scale(1.1); }
.style-label {
  position: absolute; bottom: 0; width: 100%; padding: 10px;
  background: rgba(0,0,0,0.8); text-align: center; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
}
.style-tags { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.chip {
  background: #222; padding: 8px 16px; border-radius: 99px; font-size: 0.9rem; color: #ccc;
}

/* 7. VIDEO */
.video-preview-grid { display: flex; gap: 24px; justify-content: center; margin: 40px 0; }
.video-wrapper {
  flex: 1; max-width: 500px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
}

/* 8. AUDIENCE */
.audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
}
.audience-card {
  background: var(--bg-card); padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); text-align: center;
}

/* 9. FEATURES */
.features-box {
  max-width: 900px; margin: 0 auto; background: var(--bg-card);
  padding: 50px; border-radius: var(--radius); border: 1px solid var(--border);
}
.features-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; margin: 30px 0;
}
.features-list li { color: var(--text-muted); }
.features-list strong { color: #fff; }

/* 10. FAQ */
.faq-list { max-width: 800px; margin: 40px auto; text-align: left; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q { font-weight: 600; cursor: pointer; }
.faq-q:hover { color: var(--accent); }
.faq-a { display: none; padding-top: 15px; color: var(--text-muted); }
.faq-item.is-open .faq-a { display: block; }

/* 11. FOOTER */
.site-footer { padding: 60px 0; border-top: 1px solid var(--border); background: #000; margin-top: 60px; }
.footer-nav a { margin: 0 15px; color: #888; font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; }

/* LIGHTBOX */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.95); display: none; justify-content: center; align-items: center; z-index: 2000;
}
.lightbox.is-visible { display: flex; }
.lightbox-content img { max-width: 90vw; max-height: 90vh; border-radius: 4px; }
.lightbox-close { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 40px; cursor: pointer; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-media { height: 400px; margin-top: 40px; }
  .pipeline-steps, .audience-grid { grid-template-columns: 1fr 1fr; }
  .styles-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hero-copy h1 { font-size: 2.5rem; }
  .fantasy-gallery { grid-template-columns: 1fr 1fr; }
  .pipeline-steps, .audience-grid, .features-list, .styles-grid { grid-template-columns: 1fr; }
  .video-preview-grid { flex-direction: column; }
  .main-nav { display: none; } /* Simplified mobile nav */
}