/* styles.css — Modern dark theme for Paranormal Perversions (2026) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

:root {
  --color-bg: #0d0d0f;
  --color-bg-elevated: #16161a;
  --color-bg-card: #1a1a20;
  --color-bg-glass: rgba(22, 22, 26, 0.7);
  --color-text: rgba(255, 255, 255, 0.9);
  --color-text-secondary: rgba(255, 255, 255, 0.6);
  --color-text-muted: rgba(255, 255, 255, 0.35);
  --color-accent-gold: #c4b581;
  --color-accent-gold-dim: rgba(196, 181, 129, 0.15);
  --color-accent-purple: #6b5b95;
  --color-accent-purple-glow: rgba(107, 91, 149, 0.25);
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);
  --color-link: #c4b581;
  --color-link-hover: #e8dfc0;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --section-gap: 2.5rem;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--color-link-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Age Gate Overlay ─────────────────────────────── */

#age-gate-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(13, 13, 15, 0.95), rgba(0, 0, 0, 0.98));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(20px);
}

.age-gate-modal {
  text-align: center;
  padding: 3rem 2.5rem;
  max-width: 440px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.age-gate-modal h2 {
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
  color: var(--color-accent-gold);
  font-size: 1.6rem;
  font-weight: 700;
}

.age-gate-modal p {
  margin-bottom: 2rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.age-gate-confirm,
.age-gate-deny {
  padding: 0.8rem 2rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.age-gate-confirm {
  background: linear-gradient(135deg, var(--color-accent-purple), #7d6ba8);
  color: #fff;
  margin-right: 0.75rem;
  box-shadow: 0 4px 20px var(--color-accent-purple-glow);
}

.age-gate-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--color-accent-purple-glow);
}

.age-gate-deny {
  background-color: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.age-gate-deny:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text-secondary);
}

/* ── Main Layout ──────────────────────────────────── */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

section {
  width: 100%;
}

/* ── Intro Section — Hero ─────────────────────────── */

.intro-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.intro-header {
  margin-bottom: 1rem;
}

.intro-section .logo {
  width: 280px;
  border-radius: var(--radius-sm);
}

.intro-section h1 {
  font-family: var(--font-display);
  color: var(--color-accent-gold);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.intro-section .description {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.intro-section .description:first-of-type {
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.intro-video {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.intro-video video {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

/* Checkerboard text+video rows */
.intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 0.5rem 0;
}

.intro-row--flipped {
  direction: rtl;
}

.intro-row--flipped > * {
  direction: ltr;
}

.intro-row-text .description {
  margin-bottom: 0.4rem;
}

/* ── Loop Video ───────────────────────────────────── */

.loop-video-section {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.loop-video-section video {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

/* ── Clip Stores ──────────────────────────────────── */

.clip-store-section h2,
.social-section h2,
.collaboration-section h2,
.video-feed-section h2 {
  font-family: var(--font-display);
  color: var(--color-accent-gold);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.clip-store-section .store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.clip-store-section .store-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, var(--color-accent-purple), #7d6ba8);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px var(--color-accent-purple-glow);
}

.clip-store-section .store-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--color-accent-purple-glow);
  color: #fff;
}

/* ── Social Section ───────────────────────────────── */

.social-section .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-section .social-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--color-bg-elevated);
  transition: all 0.3s ease;
}

.social-section .social-links a:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
  background: var(--color-accent-gold-dim);
}

/* ── Video Feed — Card Grid ───────────────────────── */

.video-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.video-post {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.video-post:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.video-post video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.video-post h3 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 1.25rem 0.25rem;
  line-height: 1.3;
}

.video-post .pub-date {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  padding: 0 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.video-post .performers {
  padding: 0.5rem 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.video-post .performers a {
  color: var(--color-accent-gold);
  font-weight: 500;
}

.video-post .post-description {
  padding: 0.5rem 1.25rem 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.video-post .full-video-link {
  padding: 0 1.25rem 1.25rem;
}

.video-post .full-video-link a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, var(--color-accent-purple), #7d6ba8);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px var(--color-accent-purple-glow);
}

.video-post .full-video-link a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--color-accent-purple-glow);
  color: #fff;
}

/* ── Collaboration Section ────────────────────────── */

.collaboration-section {
  padding: 3rem;
  background: linear-gradient(135deg, var(--color-bg-card), var(--color-bg-elevated));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.collaboration-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-accent-purple-glow), transparent 70%);
  pointer-events: none;
}

.collaboration-section p {
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
}

.collaboration-section .cta-link {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2.2rem;
  background: var(--color-accent-gold);
  color: var(--color-bg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(196, 181, 129, 0.2);
}

.collaboration-section .cta-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(196, 181, 129, 0.3);
  color: var(--color-bg);
}

/* ── Footer ───────────────────────────────────────── */

.site-footer {
  padding: 2.5rem 0 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-footer .footer-links a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
  color: var(--color-text-secondary);
}

.site-footer .legal-entity {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 768px) {
  :root {
    --section-gap: 2rem;
  }

  main {
    padding: 2rem 1.25rem;
  }

  .intro-section .logo {
    width: 200px;
  }

  .intro-section h1 {
    font-size: 1.6rem;
  }

  .intro-row {
    grid-template-columns: 1fr;
  }

  .intro-row--flipped {
    direction: ltr;
  }

  .video-feed {
    grid-template-columns: 1fr;
  }

  .collaboration-section {
    padding: 2rem 1.5rem;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .site-footer .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  main {
    padding: 1.5rem 1rem;
  }

  .intro-section h1 {
    font-size: 1.5rem;
  }

  .age-gate-confirm,
  .age-gate-deny {
    display: block;
    width: 100%;
    margin: 0 0 0.75rem 0;
  }

  .age-gate-confirm {
    margin-right: 0;
  }

  .clip-store-section .store-links {
    flex-direction: column;
  }

  .clip-store-section .store-links a {
    justify-content: center;
  }
}

/* ── No-content message ───────────────────────────── */

.no-content {
  text-align: center;
  color: var(--color-text-muted);
  padding: 3rem;
  font-style: italic;
  grid-column: 1 / -1;
}

/* ── Subtle ambient animation ─────────────────────── */

@keyframes subtle-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}
