:root {
  --pcl-red: #e53935;
  --pcl-green: #2e7d32;
  --pcl-black: #000000;
  --pcl-white: #ffffff;
  --pcl-cream: #fff9f2;
  --pcl-gray: #71797E;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background: var(--pcl-cream);
  color: #222;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: .5rem 1rem;
  background: #000;
  color: #fff;
  z-index: 10000;
}

/* Navbar */
.navbar-brand {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  letter-spacing: .5px;
}

.badge-kid {
  font-size: .85rem;
  padding: .5rem .75rem;
  border-radius: 1rem;
}



.cta-buttons .btn {
  font-size: 1.05rem;
  padding: .85rem 1.25rem;
  border-radius: 1.25rem;
}

/* Section heading bar */
.section-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 auto 1rem auto;
  width: fit-content;
}

.section-head .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red {
  background: var(--pcl-red);
}

.dot.green {
  background: var(--pcl-green);
}

.dot.black {
  background: var(--pcl-black);
}

/* Episode cards */
.episode-card {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .07);
  transition: transform .15s ease, box-shadow .15s ease;
  background: #fff;
}

.episode-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
}

.card-title {
  font-weight: 700;
}

.card-footer {
  background: transparent;
  border-top: 0;
}

/* Big friendly buttons */
.btn-red {
  background: var(--pcl-red);
  color: var(--pcl-white);
}

.btn-red:hover,
.btn-red:focus {
  background: #c62828;
  color: #fff;
}

.btn-green {
  background: var(--pcl-green);
  color: var(--pcl-white);
}

.btn-green:hover,
.btn-green:focus {
  background: #1b5e20;
  color: #fff;
}

/* Responsive helpers */
.embed-responsive {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

#page-header .card {
    display: none;
}

#page-footer {
    display: none;
}

#Poster.slide{
  position: relative;
  width: 100%;
  height: clamp(220px, 60vw, 800px);   /* responsive height */
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  will-change: transform; /* plays nicely with any parallax script */
}

/* Make the video fill the frame neatly */
#Poster.slide > video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
  filter: saturate(1.05) contrast(1.05) brightness(.97);
}
/* Optional: small screens—trim height a bit more */
@media (max-width: 576px){
  #Poster.slide{ height: clamp(200px, 42vw, 340px); }
}


.quiz{
  background: var(--pcl-red);
  color: var(--pcl-white);
}

.instagram-btn {
    display: inline-block;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    margin: 10px 0;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s ease;
    /* position: absolute; */
    top: 20px;
    right: 20px;
    z-index: 100;
  }
  .instagram-btn:hover {
    opacity: 0.9;
    text-decoration: none;
    color: white;
  }

  .instagram-btn i {
    margin-right: 5px;
  }

  /* Default (mobile-first) */

main::after {
  content: "";
  position: absolute;
  width: 150px;   /* mobile size */
  height: 150px;
  background-size: contain;
  background-repeat: no-repeat;
  animation: float 4s ease-in-out infinite;
}



main::after {
  bottom: 0;
  right: 0;
  background-image: url("https://sea.pennacool.com/pennacool/images/nova_1.png");
  animation-delay: 2s;
}

/* Desktop size (screens ≥ 1024px) */
@media (min-width: 1024px) {
  main::after {
    width: 350px;  /* bigger size */
    height: 350px;
  }
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}