/* ============================
   GAMAYIO – CINEMATIC PAGE
   Scoped so global CSS won't override
   ============================ */

/* ============================
   BASE STYLES
   ============================ */

   body.gamayio-page {
    margin: 0;
    background: #000 !important;
    color: #fff;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  }
  
  /* ============================
     CUSTOM NAVBAR
     ============================ */
  
  body.gamayio-page .site-header {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0)
    );
    border-bottom: none;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
  }
  
  body.gamayio-page .header-inner {
    justify-content: center;
  }
  
  /* Hide logo on this page */
  body.gamayio-page .site-header .logo {
    display: none;
  }
  
  /* Navigation layout */
  body.gamayio-page .gamayio-nav ul {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  body.gamayio-page .gamayio-nav a {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
  }
  
  body.gamayio-page .gamayio-nav a:hover {
    color: #ff584f;
  }
  
  /* ============================
     HERO SECTION
     ============================ */
  
  body.gamayio-page .gamayio-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
  }
  
  body.gamayio-page .gamayio-hero-inner {
    text-align: center;
    opacity: 0;
    animation: gamayio-fade-up 1.2s ease-out forwards;
  }
  
  body.gamayio-page .gamayio-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 10vw, 8rem);
    letter-spacing: 0.1em;
    margin: 0;
  }
  
  body.gamayio-page .gamayio-tagline {
    margin-top: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    color: #a3a3a3;
  }
  
  /* ============================
     VIDEO HERO VARIANT
     ============================ */
  
  .hero.hero-video {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: block;
    overflow: hidden;
  }
  
  .hero-video .hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  .hero-video .hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 3rem 0;
  }
  
  .hero-video .hero-text-bottom {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.2),
      transparent
    );
    padding: 1.5rem 1.25rem 0.5rem;
    border-radius: 24px 24px 0 0;
  }
  
  .hero-video .hero-text-bottom h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
  }
  
  /* ============================
     CONTENT SECTIONS
     ============================ */
  
  body.gamayio-page .gamayio-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    background: #000;
  }
  
  body.gamayio-page .gamayio-section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    margin: 0 0 2rem;
  }

  /* VIDEO HERO BASE */
.hero.hero-video {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: block;
    overflow: hidden;
  }
  
  /* Video background (desktop by default) */
  .hero-video .hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  /* Mobile image background – hidden by default (desktop) */
  .hero-video .hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  /* Default visibility: desktop = video on, image off */
  .desktop-video {
    display: block;
  }
  
  .mobile-image {
    display: none;
  }
  
  
  /* ============================
     MEDIA GRIDS
     ============================ */
  
  body.gamayio-page .gamayio-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
  }
  
  /* Media items */
  body.gamayio-page #videoList > *,
  body.gamayio-page #podcastList > * {
    position: relative;
    cursor: pointer;
  }
  
  /* Thumbnails */
  body.gamayio-page #videoList img,
  body.gamayio-page #podcastList img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
  
  body.gamayio-page #videoList > *:hover img,
  body.gamayio-page #podcastList > *:hover img {
    transform: scale(1.04);
    opacity: 0.9;
  }
  
  /* Titles and metadata */
  body.gamayio-page #videoList h3,
  body.gamayio-page #podcastList h3 {
    margin: 0.9rem 0 0.2rem;
    font-size: 1rem;
    font-weight: 500;
  }
  
  body.gamayio-page #videoList p,
  body.gamayio-page #podcastList p {
    margin: 0.15rem 0;
    font-size: 0.85rem;
    color: #a3a3a3;
  }
  
  /* ============================
     FOOTER
     ============================ */
  
  body.gamayio-page .gamayio-footer {
    padding: 3rem 1rem 3.5rem;
    text-align: center;
    color: #777;
    background: #000;
    font-size: 0.85rem;
  }
  
  /* ============================
     ANIMATIONS
     ============================ */
  
  @keyframes gamayio-fade-up {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ============================
     RESPONSIVE: DESKTOP
     ============================ */
  
  @media (min-width: 769px) {
    body.gamayio-page .nav-toggle {
      display: none;
    }
  }
  
  /* ============================
     RESPONSIVE: MOBILE
     ============================ */
  
  @media (max-width: 768px) {

    /* Header */
    body.gamayio-page .site-header {
      height: 60px;
      padding: 0;
      display: flex;
      align-items: center;
    }
  
    body.gamayio-page .header-inner {
      justify-content: space-between !important;
      padding: 0 1rem !important;
      height: 60px;
    }
  
    /* Mobile navigation */
    body.gamayio-page .gamayio-nav.open ul {
      flex-direction: column;
      gap: 1rem;
      padding: 1.5rem;
    }
  
    /* Video hero mobile optimization */
    .hero.hero-video {
      min-height: 100vh;
      height: 100vh;
    }
  
    .hero-video .hero-bg-video {
      width: 100vw;
      height: 100vh;
    }
  
    /* Reduce grid gap on mobile */
    body.gamayio-page .gamayio-media-grid {
      gap: 2rem;
      grid-template-columns: 1fr;
    }
  
    /* Adjust section padding */
    body.gamayio-page .gamayio-section {
      padding: 3rem 1rem;
    }
  }
  
  /* Extra small screens */
  @media (max-width: 480px) {
    body.gamayio-page .gamayio-nav ul {
      gap: 2rem;
    }
  
    body.gamayio-page .gamayio-media-grid {
      gap: 1.5rem;
    }
  }

/* Mobile Image visible on mobile */
  .mobile-image {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  /* Desktop video visible by default */
  .desktop-video {
    display: block;
  }
  
   
  /* ============================================
   MOBILE: USE IMAGE INSTEAD OF VIDEO
   ============================================ */
@media (max-width: 768px) {
    body.gamayio-page .desktop-video {
      display: none !important;
    }
  
    body.gamayio-page .mobile-image {
      display: block !important;
    }
  }
  