
/* ========== Reset & Base Styles ========== */

.top-logo {
  position: absolute;
  top: 40px;
  left: 20px;
  z-index: 1000;
}

.top-logo img {
  animation: glowPulseDrop1 2.5s infinite ease-in-out;
}

.top-logo img {
  width: 210px;
  height: auto;
  max-width: 100%;
  display: block;
}

/* Optional: adjust size on smaller screens */
@media (max-width: 600px) {
  .top-logo img {
    width: 140px;
  }
}


body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, #f0e6f6, #fff);
    color: #333;

  }

  body.home-page header {
    position: relative;
    height: 100vh;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 60px; /* good to avoid hiding content under fixed navbar */
    margin: 0;    
  }

  body.home-page header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  body.home-page header .header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 20vh;
    color: var(--text-color);
  }

  body {
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.5s, color 0.5s;
  }

  body.dark {
  --bg-color: #1a1a1a;
  --text-color: #f0e6f6;
  --accent-color: #ffd6f5;
  --nav-bg: rgba(0, 0, 0, 0.6);
  --card-bg: rgba(40, 40, 40, 0.85);
  /*--dropdown-bg: rgba(255, 255, 255, 0.98);*/ /* <– for dropdown */
  }

  /* DARK MODE STYLES */
  body.light {
  --bg-color: #1a1a1a;
  --text-color: #f0e6f6;
  --accent-color: #ffd6f5;
  --nav-bg: rgba(0, 0, 0, 0.6);
  --card-bg: rgba(40, 40, 40, 0.85);
  }

  .theme-toggle .icon {
  font-size: 1.6em;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.3s ease;
  display: inline-block;
  }

  .theme-toggle .icon.spin {
  transform: rotate(360deg);
  }

  html {
  scroll-behavior: smooth;
  }

  body {
  margin: 0;
  padding: 0;
  }

      body {
        margin: 0;
        font-family: 'Segoe UI', sans-serif;
        background: linear-gradient(to bottom, #f0e6f6, #fff);
        color: #333;
      }
  
      body.activities-page header {
        background-color: #8e44ad;
        color: white;
        padding: 0em;
        text-align: center;
      }
  
      main {
        
        margin: 2em auto;
        padding: 2em;
        background: var(--bg-color);
        border-radius: 12px;
      }
  
      body, html {
      margin: 0;
      padding: 0;
      overflow-x: hidden;
      box-sizing: border-box;
      }
  
      body.dark {
      --bg-color: #1a1a1a;
      --text-color: #f0e6f6;
      --accent-color: #ffd6f5;
      --nav-bg: rgba(0, 0, 0, 0.6);
      --card-bg: rgba(40, 40, 40, 0.85);
      /*--dropdown-bg: rgba(255, 255, 255, 0.98);*/ /* <– for dropdown */
      }
  
      /* DARK MODE STYLES */
      body.light {
      --bg-color: #1a1a1a;
      --text-color: #f0e6f6;
      --accent-color: #ffd6f5;
      --nav-bg: rgba(0, 0, 0, 0.6);
      --card-bg: rgba(40, 40, 40, 0.85);
      }
  
      .theme-toggle .icon {
      font-size: 1.6em;
      cursor: pointer;
      transition: transform 0.4s ease, opacity 0.3s ease;
      display: inline-block;
      }
  
      .theme-toggle .icon.spin {
      transform: rotate(360deg);
      }
      body {
      background: var(--bg-color);
      color: var(--text-color);
      transition: background 0.5s, color 0.5s;
      }
  
            body {
              margin: 0;
              font-family: 'Segoe UI', sans-serif;
              background: linear-gradient(to bottom, #f0e6f6, #fff);
              color: #333;
            }
        
            body.previews-page header {
              background-color: #8e44ad;
              color: white;
              padding: 0em;
              text-align: center;
            }
        
            main {
              
              margin: 2em auto;
              padding: 2em;
              background: var(--bg-color);
              border-radius: 12px;
            }
        
            body, html {
              margin: 0;
              padding: 0;
              overflow-x: hidden;
              box-sizing: border-box;
            }
        
            body.dark {
            --bg-color: #1a1a1a;
            --text-color: #f0e6f6;
            --accent-color: #ffd6f5;
            --nav-bg: rgba(0, 0, 0, 0.6);
            --card-bg: rgba(40, 40, 40, 0.85);
            /*--dropdown-bg: rgba(255, 255, 255, 0.98);*/ /* <– for dropdown */
            }
        
            /* DARK MODE STYLES */
            body.light {
            --bg-color: #1a1a1a;
            --text-color: #f0e6f6;
            --accent-color: #ffd6f5;
            --nav-bg: rgba(0, 0, 0, 0.6);
            --card-bg: rgba(40, 40, 40, 0.85);
            }
        
            .theme-toggle .icon {
            font-size: 1.6em;
            cursor: pointer;
            transition: transform 0.4s ease, opacity 0.3s ease;
            display: inline-block;
            }
        
            .theme-toggle .icon.spin {
            transform: rotate(360deg);
            }
            body {
            background: var(--bg-color);
            color: var(--text-color);
            transition: background 0.5s, color 0.5s;
            }
        
      body {
        margin: 0;
        font-family: 'Segoe UI', sans-serif;
        background: linear-gradient(to bottom, #f0e6f6, #fff);
        color: #333;
      }
  
      body.contact-page header {
        background-color: #8e44ad;
        color: white;
        padding: 0em;
        text-align: center;
      }
  
      main {
        
        margin: 2em auto;
        padding: 2em;
        background: var(--bg-color);
        border-radius: 12px;
      }
  
      body, html {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        box-sizing: border-box;
      }
  
      body.dark {
      --bg-color: #1a1a1a;
      --text-color: #f0e6f6;
      --accent-color: #ffd6f5;
      --nav-bg: rgba(0, 0, 0, 0.6);
      --card-bg: rgba(40, 40, 40, 0.85);
      /*--dropdown-bg: rgba(255, 255, 255, 0.98);*/ /* <– for dropdown */
      }
  
      /* DARK MODE STYLES */
      body.light {
      --bg-color: #1a1a1a;
      --text-color: #f0e6f6;
      --accent-color: #ffd6f5;
      --nav-bg: rgba(0, 0, 0, 0.6);
      --card-bg: rgba(40, 40, 40, 0.85);
      }
  
      .theme-toggle .icon {
      font-size: 1.6em;
      cursor: pointer;
      transition: transform 0.4s ease, opacity 0.3s ease;
      display: inline-block;
      }
  
      .theme-toggle .icon.spin {
      transform: rotate(360deg);
      }
      body {
      background: var(--bg-color);
      color: var(--text-color);
      transition: background 0.5s, color 0.5s;
      }
  
            body {
              margin: 0;
              font-family: 'Segoe UI', sans-serif;
              background: linear-gradient(to bottom, #f0e6f6, #fff);
              color: #333;
            }
        
            body.store-page header {
              background-color: #8e44ad;
              color: white;
              padding: 0em;
              text-align: center;
            }
        
            main {
              
              margin: 2em auto;
              padding: 2em;
              background: var(--bg-color);
              border-radius: 12px;
            }
        
            body, html {
              margin: 0;
              padding: 0;
              overflow-x: hidden;
              box-sizing: border-box;
            }
        
            body.dark {
            --bg-color: #1a1a1a;
            --text-color: #f0e6f6;
            --accent-color: #ffd6f5;
            --nav-bg: rgba(0, 0, 0, 0.6);
            --card-bg: rgba(40, 40, 40, 0.85);
            /*--dropdown-bg: rgba(255, 255, 255, 0.98);*/ /* <– for dropdown */
            }
        
            /* DARK MODE STYLES */
            body.light {
            --bg-color: #1a1a1a;
            --text-color: #f0e6f6;
            --accent-color: #ffd6f5;
            --nav-bg: rgba(0, 0, 0, 0.6);
            --card-bg: rgba(40, 40, 40, 0.85);
            }
        
            .theme-toggle .icon {
            font-size: 1.6em;
            cursor: pointer;
            transition: transform 0.4s ease, opacity 0.3s ease;
            display: inline-block;
            }
        
            .theme-toggle .icon.spin {
            transform: rotate(360deg);
            }
            body {
            background: var(--bg-color);
            color: var(--text-color);
            transition: background 0.5s, color 0.5s;
            }
        
              body, html {
                margin: 0;
                padding: 0;
                overflow-x: hidden;
                box-sizing: border-box;
                }
            
                body.dark {
                --bg-color: #1a1a1a;
                --text-color: #f0e6f6;
                --accent-color: #ffd6f5;
                --nav-bg: rgba(0, 0, 0, 0.6);
                --card-bg: rgba(40, 40, 40, 0.85);
                
                }
            
                
                body.light {
                --bg-color: #1a1a1a;
                --text-color: #f0e6f6;
                --accent-color: #ffd6f5;
                --nav-bg: rgba(0, 0, 0, 0.6);
                --card-bg: rgba(40, 40, 40, 0.85);
                }
            
                .theme-toggle .icon {
                font-size: 1.6em;
                cursor: pointer;
                transition: transform 0.4s ease, opacity 0.3s ease;
                display: inline-block;
                }
            
                .theme-toggle .icon.spin {
                transform: rotate(360deg);
                }
                body {
                background: var(--bg-color);
                color: var(--text-color);
                transition: background 0.5s, color 0.5s;
                }

/* ========== Theme Variables ========== */

.video-modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-modal.active {
  display: flex;
}

.video-modal video {
  max-width: 90%;
  max-height: 80%;
}


:root {
  --bg-color: #535252;
  --text-color: #333;
  --accent-color: #8e44ad;
  --nav-bg: rgba(24, 24, 24, 0.65);
  --card-bg: rgba(255, 255, 255, 0.85);

  --dropdown-bg: rgba(30, 30, 30, 0.95);
  }

      :root {
      --bg-color: #535252;
      --text-color: #333;
      --accent-color: #8e44ad;
      --nav-bg: rgba(24, 24, 24, 0.65);
      --card-bg: rgba(255, 255, 255, 0.85);
      
      --dropdown-bg: rgba(30, 30, 30, 0.95);
      }
  
            :root {
            --bg-color: #535252;
            --text-color: #333;
            --accent-color: #8e44ad;
            --nav-bg: rgba(24, 24, 24, 0.65);
            --card-bg: rgba(255, 255, 255, 0.85);
            
            --dropdown-bg: rgba(30, 30, 30, 0.95);
            }
        
      :root {
      --bg-color: #535252;
      --text-color: #333;
      --accent-color: #8e44ad;
      --nav-bg: rgba(24, 24, 24, 0.65);
      --card-bg: rgba(255, 255, 255, 0.85);
      
      --dropdown-bg: rgba(30, 30, 30, 0.95);
      }
  
            :root {
            --bg-color: #535252;
            --text-color: #333;
            --accent-color: #8e44ad;
            --nav-bg: rgba(24, 24, 24, 0.65);
            --card-bg: rgba(255, 255, 255, 0.85);
            
            --dropdown-bg: rgba(30, 30, 30, 0.95);
            }
        
                :root {
                --bg-color: #535252;
                --text-color: #333;
                --accent-color: #8e44ad;
                --nav-bg: rgba(24, 24, 24, 0.65);
                --card-bg: rgba(255, 255, 255, 0.85);
                
                --dropdown-bg: rgba(30, 30, 30, 0.95);
                }

/* ========== Navbar Styles ========== */
.nav-link.dropdown {
    position: relative;
  }

  .nav-link.dropdown:hover .dropdown-menu {
    display: block;
  }

  .fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  }
  .navbar {
  background: var(--nav-bg);
  transition: background 0.5s;
  }

  .theme-toggle {
  margin-left: 1em;
  }

  .toggle-label {
  cursor: pointer;
  font-size: 1.6em;
  user-select: none;
  transition: transform 0.3s;
  }

  .toggle-label:hover {
  transform: scale(1.2);
  }

  /* DARK MODE STYLES */
  .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 4px;
  }

  .social-icons {
  margin-top: 0.5em;
  }

  .social-icons a {
  color: var(--text-color);
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  }


  @keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
  100% {
      transform: scale(1);
  }
  }

  .social-icons a:hover {
  color: var(--accent-color);
  animation: pulse 0.6s ease-in-out;
  }

      .nav-link.dropdown {
        position: relative;
      }
  
      .nav-link.dropdown:hover .dropdown-menu {
        display: block;
      }
   
      .navbar {
      position: fixed;
      top: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(10px);
      z-index: 1000;
      }
  
      .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      padding: 0.5em 2em;
      margin: 0 auto;
      }
  
      .nav-logo {
      height: 50px; /* Adjust to match navbar height */
      width: auto;
      object-fit: contain;
      margin-right: 1em;
      }
  
      .nav-menu {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      gap: 1em;
      }
  
      .nav-menu li a {
      color: #8e44ad;
      color: rgba(252, 165, 230, 0.8);
      text-decoration: none;
      font-weight: 600;
      padding: 0.5em 1em;
      transition: background-color 0.3s, color 0.3s;
      border-radius: 8px;
      }
  
      .nav-menu li a:hover {
      background-color: rgba(255, 214, 245, 0.8);
      color: #6a0dad;
      }
  
      .nav-toggle,
      .nav-toggle-label {
      display: none;
      }
  
      /* Responsive: Show menu icon on small screens */
      .navbar {
      background: var(--nav-bg);
      transition: background 0.5s;
      }
  
      .theme-toggle {
      margin-left: 1em;
      }
  
      .toggle-label {
      cursor: pointer;
      font-size: 1.6em;
      user-select: none;
      transition: transform 0.3s;
      }
  
      .toggle-label:hover {
      transform: scale(1.2);
      }
  
      /* DARK MODE STYLES */
      .nav-link.active {
      text-decoration: underline;
      text-underline-offset: 4px;
      }
  

      /* *************************************** Previews Page ********************************************

             /* Dropdown styling */
             .nav-link.dropdown {
              position: relative;
            }
        
            .nav-link.dropdown:hover .dropdown-menu {
              display: block;
            }
        
            .navbar {
              position: fixed;
              top: 0;
              width: 100%;
              background: rgba(255, 255, 255, 0.5);
              backdrop-filter: blur(10px);
              z-index: 1000;
            }
        
            .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            padding: 0.5em 2em;
            margin: 0 auto;
            }
        
            .nav-logo {
            height: 50px; /* Adjust to match navbar height */
            width: auto;
            object-fit: contain;
            margin-right: 1em;
            }
        
            .nav-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 1em;
            }
        
            .nav-menu li a {
            color: #8e44ad;
            color: rgba(252, 165, 230, 0.8);
            text-decoration: none;
            font-weight: 600;
            padding: 0.5em 1em;
            transition: background-color 0.3s, color 0.3s;
            border-radius: 8px;
            }
        
            .nav-menu li a:hover {
            background-color: rgba(255, 214, 245, 0.8);
            color: #6a0dad;
            }
        
            .nav-toggle,
            .nav-toggle-label {
            display: none;
            }
        
            /* Responsive: Show menu icon on small screens */
            .navbar {
            background: var(--nav-bg);
            transition: background 0.5s;
            }
        
            .theme-toggle {
            margin-left: 1em;
            }
        
            .toggle-label {
            cursor: pointer;
            font-size: 1.6em;
            user-select: none;
            transition: transform 0.3s;
            }
        
            .toggle-label:hover {
            transform: scale(1.2);
            }
        
            /* DARK MODE STYLES */
            .nav-link.active {
            text-decoration: underline;
            text-underline-offset: 4px;
            }
        

            /* ************************************** Contact page *************************************************/

                  /* Dropdown styling */
      .nav-link.dropdown {
        position: relative;
      }
  
      .nav-link.dropdown:hover .dropdown-menu {
        display: block;
      }
  
      .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        z-index: 1000;
      }
  
      .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      padding: 0.5em 2em;
      margin: 0 auto;
      }
  
      .nav-logo {
      height: 50px; /* Adjust to match navbar height */
      width: auto;
      object-fit: contain;
      margin-right: 1em;
      }
  
      .nav-menu {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      gap: 1em;
      }
  
      .nav-menu li a {
      color: #8e44ad;
      color: rgba(252, 165, 230, 0.8);
      text-decoration: none;
      font-weight: 600;
      padding: 0.5em 1em;
      transition: background-color 0.3s, color 0.3s;
      border-radius: 8px;
      }
  
      .nav-menu li a:hover {
      background-color: rgba(255, 214, 245, 0.8);
      color: #6a0dad;
      }
  
      .nav-toggle,
      .nav-toggle-label {
      display: none;
      }
  
      /* Responsive: Show menu icon on small screens */
      .navbar {
      background: var(--nav-bg);
      transition: background 0.5s;
      }
  
      .theme-toggle {
      margin-left: 1em;
      }
  
      .toggle-label {
      cursor: pointer;
      font-size: 1.6em;
      user-select: none;
      transition: transform 0.3s;
      }
  
      .toggle-label:hover {
      transform: scale(1.2);
      }
  
      /* DARK MODE STYLES */
      .nav-link.active {
      text-decoration: underline;
      text-underline-offset: 4px;
      }
  

      /* *************************************** Store Page ***************************************************/

            /* Dropdown styling */
            .nav-link.dropdown {
              position: relative;
            }
        
            .nav-link.dropdown:hover .dropdown-menu {
              display: block;
            }
        
            .navbar {
              position: fixed;
              top: 0;
              width: 100%;
              background: rgba(255, 255, 255, 0.5);
              backdrop-filter: blur(10px);
              z-index: 1000;
            }
        
            .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            padding: 0.5em 2em;
            margin: 0 auto;
            }
        
            .nav-logo {
            height: 50px; /* Adjust to match navbar height */
            width: auto;
            object-fit: contain;
            margin-right: 1em;
            }
        
            .nav-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 1em;
            }
        
            .nav-menu li a {
            color: #8e44ad;
            color: rgba(252, 165, 230, 0.8);
            text-decoration: none;
            font-weight: 600;
            padding: 0.5em 1em;
            transition: background-color 0.3s, color 0.3s;
            border-radius: 8px;
            }
        
            .nav-menu li a:hover {
            background-color: rgba(255, 214, 245, 0.8);
            color: #6a0dad;
            }
        
            .nav-toggle,
            .nav-toggle-label {
            display: none;
            }
        
            /* Responsive: Show menu icon on small screens */
            .navbar {
            background: var(--nav-bg);
            transition: background 0.5s;
            }
        
            .theme-toggle {
            margin-left: 1em;
            }
        
            .toggle-label {
            cursor: pointer;
            font-size: 1.6em;
            user-select: none;
            transition: transform 0.3s;
            }
        
            .toggle-label:hover {
            transform: scale(1.2);
            }
        
            /* DARK MODE STYLES */
            .nav-link.active {
            text-decoration: underline;
            text-underline-offset: 4px;
            }
        
            .coming-soon img {
              width: 25%;
              height: auto;
              border-radius: 50%;
            }

            /* ********************************************** Video CSS Navbar ****************************************************************/

            .navbar {
              position: fixed;
              top: 0;
              width: 100%;
              background: var(--nav-bg);
              backdrop-filter: blur(10px);
              z-index: 1000;
              left: 0;
              transition: background 0.5s;
            }
            
            .nav-container {
              display: flex;
              align-items: center;
              justify-content: space-between;
              left: 0;
            }
            
            .nav-menu {
              display: flex;
              list-style: none;
              margin: 0;
              padding: 0;
              gap: 1em;
            }
            
            .nav-menu li a {
              color: rgba(252, 165, 230, 0.8);
              text-decoration: none;
              font-weight: 600;
              padding: 0.5em 1em;
              transition: background-color 0.3s, color 0.3s;
              border-radius: 8px;
            }
            
            .nav-menu li a:hover {
              background-color: rgba(255, 214, 245, 0.8);
              color: #6a0dad;
            }
            

            /*body {
              margin: 0;
              font-family: 'Segoe UI', sans-serif;
              background: linear-gradient(to bottom, #f0e6f6, #fff);
              color: #333;
            }
            
                .navbar {
                position: fixed;
                top: 0;
                width: 100%;
                background: rgba(255, 255, 255, 0.5);
                backdrop-filter: blur(10px);
                z-index: 1000;
                left: 0;
                }
            
                .nav-container {
                display: flex;
                align-items: center;
                justify-content: space-between;
                left: 0;
                }
            
                .nav-logo {
                height: 50px; 
                width: auto;
                object-fit: contain;
                margin-right: 1em;
                }
            
                .nav-menu {
                display: flex;
                list-style: none;
                margin: 0;
                padding: 0;
                gap: 1em;
                }
            
                .nav-menu li a {
                color: #8e44ad;
                color: rgba(252, 165, 230, 0.8);
                text-decoration: none;
                font-weight: 600;
                padding: 0.5em 1em;
                transition: background-color 0.3s, color 0.3s;
                border-radius: 8px;
                }
            
                .nav-menu li a:hover {
                background-color: rgba(255, 214, 245, 0.8);
                color: #6a0dad;
                }
            
                .nav-toggle,
                .nav-toggle-label {
                display: none;
                }
            
                
                .navbar {
                background: var(--nav-bg);
                transition: background 0.5s;
                }
            
                .theme-toggle {
                margin-left: 1em;
                }
            
                .toggle-label {
                cursor: pointer;
                font-size: 1.6em;
                user-select: none;
                transition: transform 0.3s;
                }
            
                .toggle-label:hover {
                transform: scale(1.2);
                }
            
                
                .nav-link.active {
                text-decoration: underline;
                text-underline-offset: 4px;
                }
            
            
                  .video-ratio {
                    position: relative;
                    width: 100%;
                    padding-top: 56.25%; 
                    overflow: hidden;
                    border-radius: 12px;
                  }
                  
                  .video-ratio video {
                    position: absolute;
                    top: 0; left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                  }
                  
            
                  .video-gallery {
                    width: 100%;
                    max-width: 1200px;
                    margin: 0 auto;
                    padding: 2em 1em;
                    display: flex;
                    flex-direction: column;
                    gap: 2em;
                    align-items: center;
                    box-sizing: border-box;
                  }
                  
                  .video-wrapper {
                    width: 100%;
                    max-width: 800px;
                    padding: 1em;
                    background: var(--card-bg, rgba(255, 255, 255, 0.05));
                    border-radius: 16px;
                    text-align: center;
                    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
                    box-sizing: border-box;
                  }
                  
                  .video-wrapper video {
                    width: 100%;
                    height: auto;
                    max-height: 450px;
                    border-radius: 12px;
                    object-fit: contain;
                  }

/* ========== Header Styles ========== */
header video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
  }

  header h1 {
    font-size: 2em;
    margin: 0.2em;
    z-index: 1;
  }

  header button {
    padding: 1em 2em;
    font-size: 1.2em;
    background-color: #ff6ec7;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    z-index: 1;
  }

  header .tagline {
  font-size: 1.3em;
  color: #ffdef0;
  font-style: italic;
  margin-top: 0.5em;
  z-index: 1;
  animation: fadeInTagline 3s ease-in-out;
  }

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

  header button {
  animation: glowPulse 2.5s ease-in-out infinite;
  }

  @keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 110, 199, 0.6), 0 0 20px rgba(255, 110, 199, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 110, 199, 1), 0 0 40px rgba(255, 110, 199, 0.7);
  }
  }

  @keyframes glowPulseDrop {
    0%, 100% {
      filter: drop-shadow(0 0 0.5px #ff5eea) drop-shadow(0 0 1px #ff5eea);
    }
    50% {
      filter: drop-shadow(0 0 2px #ff5eea) drop-shadow(0 0 3px #ff5eea);
    }
  }
    
  .character-peek {
  position: absolute;
  width: 140px;
  z-index: 2;
  animation: peekBounce 3s ease-in-out infinite;
  opacity: 0.95;
  }

  .hubba-peek {
  bottom: 0;
  left: 0;
  transform: translateY(10%);
  }

  .daco-peek {
  bottom: 0;
  right: 0;
  transform: translateY(10%);
  }

  @keyframes peekBounce {
  0%, 100% {
    transform: translateY(10%);
  }
  50% {
    transform: translateY(0%);
  }
  }

  /* ********************** Activities Styles ******************************/

      /* Dropdown styling */
            header {
              background-color: #8e44ad;
              color: white;
              padding: 0em;
              text-align: center;
            }
            
            main {
              
              margin: 2em auto;
              padding: 2em;
              background: var(--bg-color);
              border-radius: 12px;
            }
            
            .video-header {
                text-align: center;
                padding: 3em 1em 1em;
                color: var(--text-color);
              }
              
              .video-gallery {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
                gap: 2em;
                padding: 2em;
                max-width: 1200px;
                margin: auto;
              }
              
              .video-card {
                text-align: center;
                background-color: var(--card-bg, rgba(255,255,255,0.85));
                padding: 1em;
                border-radius: 12px;
                box-shadow: 0 4px 12px rgba(0,0,0,0.1);
                transition: transform 0.2s;
              }
              
              .video-card:hover {
                transform: scale(1.02);
              }
              
              .video-card video {
                width: 100%;
                border-radius: 8px;
              }
              
              .video-card h3 {
                margin-top: 0.5em;
                color: var(--text-color);
              }

/* ========== Section Styles ========== */
section {
    padding: 3em 2em;
    max-width: 1000px;
    margin: auto;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    margin-top: 2em;
  }

  .character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2em;
    text-align: center;
  }

  .character-grid img {
    width: 100px;
    height: auto;
    border-radius: 50%;
  }

  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    margin-top: 2em;
  }

  header .cta-buttons {
    margin-top: 20px;
    z-index: 2; /* make sure it appears above video */
    position: relative;
  }
  
  .cta-buttons a {
    padding: 0.75em 1.5em;
    background-color: #8e44ad;
    color: white;
    border-radius: 6px;
    text-decoration: none;
  }

  form {
    text-align: center;
  }

  form input[type="email"] {
    padding: 0.5em;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-right: 1em;
  }

  form button {
    padding: 0.5em 1em;
    background-color: #6a0dad;
    color: white;
    border: none;
    border-radius: 6px;
  }

  footer {
    background-color: #f8f0ff;
    text-align: center;
    padding: 2em;
    font-size: 0.9em;
  }

  .sparkle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: gold;
  clip-path: polygon(
      50% 0%, 61% 35%, 98% 35%, 
      68% 57%, 79% 91%, 50% 70%, 
      21% 91%, 32% 57%, 2% 35%, 
      39% 35%
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
  animation: sparkle-fade 1.2s ease-out forwards;
  box-shadow: 0 0 8px 4px rgba(255, 215, 0, 0.6);
  transform: scale(1);
  }

  @keyframes sparkle-fade {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.2) rotate(20deg); opacity: 0.8; }
  100% { transform: scale(0.5) rotate(45deg); opacity: 0; }
  }

  .elastic-in {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.5s ease-out;
  }

  .elastic-in.visible {
  opacity: 1;
  animation: elasticBounce 0.9s ease-out forwards;
  }

  @keyframes elasticBounce {
  0% {
      transform: translateY(60px) scale(0.95);
  }
  50% {
      transform: translateY(-10px) scale(1.02);
  }
  70% {
      transform: translateY(5px) scale(0.98);
  }
  100% {
      transform: translateY(0) scale(1);
  }
  }

  .watermark {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 120px;
  height: auto;
  opacity: 0.9;
  z-index: 10;
  animation: pulseGlow 3s ease-in-out infinite;
  }

  @keyframes pulseGlow {
  0% {
      transform: scale(1);
      opacity: 0.9;
      filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.3));
  }
  50% {
      transform: scale(1.05);
      opacity: 1;
      filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
  }
  100% {
      transform: scale(1);
      opacity: 0.9;
      filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.3));
  }
  }

  /* Character image hover */
  .character-grid img:hover {
  transform: scale(1.1) rotate(1deg);
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 182, 255, 0.6);
  }

  /* CTA button hover */
  .cta-buttons a:hover {
  transform: scale(1.05);
  background-color: #9b59b6;
  transition: all 0.3s ease;
  }

  /* Watermark hover */
  #watermark:hover {
  transform: rotate(5deg) scale(1.05);
  transition: transform 0.4s ease-in-out;
  }

  .section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, #d8b4fe, #fff, #d8b4fe);
  margin: 3em auto;
  width: 80%;
  border-radius: 1px;
  }

  .sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: gold;
  border-radius: 50%;
  opacity: 1;
  pointer-events: none;
  animation: sparkle-animation 0.8s ease-out forwards;
  }

  @keyframes sparkle-animation {
  100% {
      opacity: 0;
      transform: translate(var(--x), var(--y)) scale(0.5);
  }
  }


  .nav-logo {
  height: 50px; /* Adjust to match navbar height */
  width: auto;
  object-fit: contain;
  margin-right: 1em;
  }

  .nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1em;
  }

  .nav-menu li a {
  color: #8e44ad;
  color: rgba(252, 165, 230, 0.8);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5em 1em;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 8px;
  }

  .nav-menu li a:hover {
  background-color: rgba(255, 214, 245, 0.8);
  color: #6a0dad;
  }

  .nav-toggle,
  .nav-toggle-label {
  display: none;
  }

  /* Responsive: Show menu icon on small screens */
  section {
  background: var(--card-bg);
  }

      section {
        padding: 3em 2em;
        max-width: 1000px;
        margin: auto;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 12px;
        margin-top: 2em;
      }
  
      h1, h2 {
        text-align: center;
      }
  
      .crystal-ball {
        text-align: center;
      }
  
      .crystal-ball img {
        width: 140px;
        border-radius: 12px;
        margin-bottom: 1em;
      }
  
      #crystal-greeting {
        font-size: 1.5em;
        color: #8e44ad;
        font-weight: bold;
        text-shadow: 0 0 6px rgba(142, 68, 173, 0.5);
      }
  
      @media (max-width: 600px) {
        #crystal-greeting {
          font-size: 1.1em;
          padding: 0 1rem;
          text-align: center;
          line-height: 1.4;
        }
      }

      #crystal-ball h2,
      #learn-hubblish h2,
      #color-in h2,
      #melody-maker h2,
      #jigsaw-puzzle h2,
      #memory-match h2 {
        font-size: clamp(1.2rem, 4vw, 2rem);
      }

      .soundboard-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
        justify-content: center;
        margin-top: 1em;
      }
  
      .soundboard-grid button {
        background-color: #ffd6f5;
        border: 2px solid #ff6ec7;
        border-radius: 10px;
        padding: 1em;
        font-size: 1.1em;
        cursor: pointer;
        transition: background-color 0.3s;
      }
  
      .soundboard-grid button:hover {
        background-color: #ffb3e6;
      }

      /* Base button link style */
      .btn {
        display: inline-block;
        padding: 12px 20px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        border-radius: 8px;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
      }

      /* Secondary button (like the Patreon link) */
      .btn-secondary {
        background-color: #ffccff;
        color: #000;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
      }

      .btn-secondary:hover {
        background-color: #f0aee0;
      }

      .back-button {
        display: block;
        text-align: center;
        margin-top: 2em;
      }
  
      .back-button a {
        padding: 0.75em 1.5em;
        background-color: #8e44ad;
        color: white;
        border-radius: 6px;
        text-decoration: none;
      }
      .sparkle {
      position: absolute;
      width: 10px;
      height: 10px;
      background: radial-gradient(circle, gold, transparent);
      border-radius: 50%;
      opacity: 1;
      animation: sparkle-fade 1s ease-out forwards;
      pointer-events: none;
      }
  
      @keyframes sparkle-fade {
      0% {
          transform: scale(1);
          opacity: 1;
      }
      100% {
          transform: scale(2);
          opacity: 0;
      }
      }
  
      @keyframes floatIn {
      0% {
          opacity: 0;
          transform: translateY(20px) scale(0.95);
      }
      60% {
          opacity: 1;
          transform: translateY(-5px) scale(1.02);
      }
      100% {
          transform: translateY(0) scale(1);
      }
      }
  
      .crystal-animated {
      animation: floatIn 1s ease-out forwards;
      }
      section h2 {
      animation: pulseGlow 2s ease-in-out infinite alternate;
      }
  
      @keyframes pulseGlow {
      from {
          text-shadow: 0 0 6px rgba(255, 192, 255, 0.2);
      }
      to {
          text-shadow: 0 0 12px rgba(255, 192, 255, 0.6);
      }
      }
      #crystal-ball h2,
      #hubblish-board h2 {
      text-shadow: 0 0 8px rgba(255, 215, 255, 0.4);
      }
  
      .watermark {
      position: absolute;
      top: 20px;
      left: 20px;
      width: 120px;
      height: auto;
      opacity: 0.9;
      z-index: 10;
      animation: pulseGlow 3s ease-in-out infinite;
      }
  
      .color-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 1em;
      align-items: center;
      margin-top: 1em;
      font-size: 1em;
      }
  
      .color-controls label {
      display: flex;
      flex-direction: column;
      min-width: 100px;
      }
  
      .color-controls input[type="range"] {
      width: 100px;
      }
  
      .color-controls button {
      padding: 0.5em 1em;
      background-color: #8e44ad;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      }
  
      .color-controls-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 1em auto;
      width: 100%;
      }
  
      .color-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 1em;
      align-items: center;
      justify-content: center;
      background: var(--card-color);
      padding: 1em 1.5em;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      }
  
      .melody-buttons {
      display: flex;
      justify-content: center;
      gap: 1em;
      margin-top: 1em;
      }
  
      .melody-buttons button {
      font-size: 2em;
      background: #ffd6f5;
      border: 2px solid #ff6ec7;
      border-radius: 12px;
      padding: 0.5em 1em;
      cursor: pointer;
      transition: transform 0.2s ease;
      }
  
      .melody-buttons button:active {
      transform: scale(1.2);
      box-shadow: 0 0 8px gold;
      }
  
      #sequencer-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      min-height: 10vh;
  
      max-width: 100%;
    
      }
  
      #sequencer {
          display: grid;
          grid-template-columns: auto repeat(6, minmax(30px, 1fr));
          gap: 4px;
          margin-top: 1em;
          width: 100%;
          max-width: 500px; /* or whatever max you prefer */
      }
  
      .note-label {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 40px;
      font-weight: bold;
      background-color: var(--nav-bg);
      
      border-radius: 4px;
      padding: 0 10px;
      }
  
      .cell {
          aspect-ratio: 1 / 1;
      background-color: #535353;
      border: 2px solid #ccc;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.2s ease;
      }
  
      .cell.active {
      background-color: #ffb3ec;
      border-color: #ff6ec7;
      }
  
      /*.puzzle-grid {
      display: grid;
      grid-template-columns: repeat(3, 100px);
      grid-template-rows: repeat(3, 100px);
      gap: 2px;
      margin: 1em auto;
      width:min-content;
      touch-action: none;
      }*/
  
      /*.puzzle-grid {
        display: grid;
        grid-template-columns: repeat(var(--grid-size), 1fr);
        gap: 2px;
        margin: 1em auto;
        width: 90vw; 
        max-width: 400px; 
        touch-action: none;
        aspect-ratio: 1 / 1; 
      }
      
      .puzzle-grid > div {
        aspect-ratio: 1 / 1;
        width: 100%;
        height: auto;
      }
      
      .puzzle-piece {
      width: 100px;
      height: 100px;
      background-image: url('Images/Puzzle/puzzle.jpg');
      background-size: 300px 300px;
      border: 1px solid #ccc;
      cursor: grab;
      transition: transform 0.1s ease;
      }*/
  
      /*.content-wrapper {        *********************************** kind of working
      max-width: 100%;
      margin: 0 auto;
      padding: 0 1rem;
      }
      
      #puzzle-container {
        width: 90vw;
        max-width: 300px;
        aspect-ratio: 1 / 1;
        margin: auto;
      }
      
      .puzzle-grid {
        display: grid;
        grid-template-columns: repeat(var(--grid-size), 1fr);
        gap: 2px;
        width: 90vw;
        max-width: 400px;
        aspect-ratio: 1 / 1;
        margin: auto;
        position: relative;
      }
      
      .puzzle-grid > div {
        aspect-ratio: 1 / 1;
        width: 100%;
        height: auto;
      }
      
      .puzzle-piece {
        width: 100%;
        height: 100%;
        background-image: url('Images/Puzzle/puzzle.jpg');
        background-size: 100% 100%;
        border: 1px solid #ccc;
        cursor: grab;
        transition: transform 0.1s ease;
      }*/
      
      /*#puzzle-grid {
        display: grid;
        gap: 1px;
        margin: 0 auto;
        width: 90%;
        max-width: 90vw;
        aspect-ratio: 1 / 1;
        touch-action: none;
        box-sizing: border-box;
        padding: 0 1vw;
    }

    .puzzle-piece {
        width: 100%;
        height: 100%;
        border: 1px solid #ccc;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        cursor: grab;
        user-select: none;
        touch-action: none;
        box-sizing: border-box;
    }*/


    /* Outer container stays centered and constrained */
    #puzzle-container {
      display: grid;
      gap: 2px;
      margin: 0 auto;
      aspect-ratio: 1 / 1;
      width: 100%;
      max-width: 500px;
      touch-action: none;
    }

    .puzzle-grid {
      display: contents; /* Let container handle the layout */
    }
    
    .puzzle-piece {
      width: 100%;
      height: 100%;
      background-size: 100% 100%;
      border: 1px solid #ccc;
      cursor: grab;
      transition: transform 0.1s ease;
    }   
 
    @media (max-width: 600px) {
      #puzzle-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
        box-sizing: border-box;
        aspect-ratio: 1 / 1;
        place-items: center;
        justify-content: center;
        align-items: center;    
      }
    
      #puzzle-container > .puzzle-piece {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
      }
    
      .puzzle-grid {
        display: contents;
      }
    
      body {
        overflow-x: hidden;
      }
    }
                    
    #puzzle-container > .puzzle-piece {
      aspect-ratio: 1 / 1;
    }
    
    @media (max-width: 500px) {
      #puzzle-container {
        padding: 0 0.5rem;
      }
    }
    

    .center-wrapper {
        display: flex;
        justify-content: center;
        padding: 1em 0;
    }

    #jigsaw-puzzle1 {
      max-width: 100%;
      overflow-x: hidden;
      box-sizing: border-box;
      padding: 2em 1em;
    }    
      section {
      background: var(--card-bg);
      }
  
      .elastic-in {
      opacity: 0;
      transform: translateY(60px) scale(0.95);
      transition: opacity 0.5s ease-out;
      }
  
      .elastic-in.visible {
      opacity: 1;
      animation: elasticBounce 0.9s ease-out forwards;
      }
  
      @keyframes elasticBounce {
      0% {
          transform: translateY(60px) scale(0.95);
      }
      50% {
          transform: translateY(-10px) scale(1.02);
      }
      70% {
          transform: translateY(5px) scale(0.98);
      }
      100% {
          transform: translateY(0) scale(1);
      }
      }
  
            section {
              padding: 3em 2em;
              max-width: 1000px;
              margin: auto;
              background: rgba(255, 255, 255, 0.85);
              border-radius: 12px;
              margin-top: 2em;
            }
        
            h1, h2 {
              text-align: center;
            }
        
            h2 {
              font-size: clamp(1.5rem, 4vw, 2.5rem);
            }
        
            h2 {
              font-size: 0.5rem;
            }
        
            section {
            background: var(--card-bg);
            }
        
            .elastic-in {
            opacity: 0;
            transform: translateY(60px) scale(0.95);
            transition: opacity 0.5s ease-out;
            }
        
            .elastic-in.visible {
            opacity: 1;
            animation: elasticBounce 0.9s ease-out forwards;
            }
        
            @keyframes elasticBounce {
            0% {
                transform: translateY(60px) scale(0.95);
            }
            50% {
                transform: translateY(-10px) scale(1.02);
            }
            70% {
                transform: translateY(5px) scale(0.98);
            }
            100% {
                transform: translateY(0) scale(1);
            }
            }
        
      section {
        padding: 3em 2em;
        max-width: 1000px;
        margin: auto;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 12px;
        margin-top: 2em;
      }
  
      h1, h2 {
        text-align: center;
      }
  
  
      .content-wrapper {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
      }
  
      section {
      background: var(--card-bg);
      }
  
      .elastic-in {
      opacity: 0;
      transform: translateY(60px) scale(0.95);
      transition: opacity 0.5s ease-out;
      }
  
      .elastic-in.visible {
      opacity: 1;
      animation: elasticBounce 0.9s ease-out forwards;
      }
  
      @keyframes elasticBounce {
      0% {
          transform: translateY(60px) scale(0.95);
      }
      50% {
          transform: translateY(-10px) scale(1.02);
      }
      70% {
          transform: translateY(5px) scale(0.98);
      }
      100% {
          transform: translateY(0) scale(1);
      }
      }
  
            section {
              padding: 3em 2em;
              max-width: 1000px;
              margin: auto;
              background: rgba(255, 255, 255, 0.85);
              border-radius: 12px;
              margin-top: 2em;
            }
        
            h1, h2 {
              text-align: center;
            }
        
        
            .content-wrapper {
              max-width: 100%;
              margin: 0 auto;
              padding: 0 1rem;
            }
        
            section {
            background: var(--card-bg);
            }
        
            .elastic-in {
            opacity: 0;
            transform: translateY(60px) scale(0.95);
            transition: opacity 0.5s ease-out;
            }
        
            .elastic-in.visible {
            opacity: 1;
            animation: elasticBounce 0.9s ease-out forwards;
            }
        
            @keyframes elasticBounce {
            0% {
                transform: translateY(60px) scale(0.95);
            }
            50% {
                transform: translateY(-10px) scale(1.02);
            }
            70% {
                transform: translateY(5px) scale(0.98);
            }
            100% {
                transform: translateY(0) scale(1);
            }
            }
        
            section {
              padding: 3em 2em;
              max-width: 1000px;
              margin: auto;
              background: rgba(255, 255, 255, 0.85);
              border-radius: 12px;
              margin-top: 2em;
            }
            
            h1, h2 {
              text-align: center;
            }
            
            .crystal-ball {
              text-align: center;
            }
            
                section {
                background: var(--card-bg);
                }
            
                .elastic-in {
                opacity: 0;
                transform: translateY(60px) scale(0.95);
                transition: opacity 0.5s ease-out;
                }
            
                .elastic-in.visible {
                opacity: 1;
                animation: elasticBounce 0.9s ease-out forwards;
                }
            
                @keyframes elasticBounce {
                0% {
                    transform: translateY(60px) scale(0.95);
                }
                50% {
                    transform: translateY(-10px) scale(1.02);
                }
                70% {
                    transform: translateY(5px) scale(0.98);
                }
                100% {
                    transform: translateY(0) scale(1);
                }
                }

/* ========== Page-specific Styles ========== */


/* ========== Component Styles ========== */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    color: #333;
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    list-style: none;
  }

  .dropdown-menu li {
    padding: 0;
  }

  .dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
  }

      .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        color: #333;
        padding: 0.5rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
        list-style: none;
      }
  
      .dropdown-menu li {
        padding: 0;
      }
  
      .dropdown-menu li a {
        display: block;
        padding: 0.5rem 1rem;
        color: #333;
        text-decoration: none;
      }
  
            .dropdown-menu {
              display: none;
              position: absolute;
              top: 100%;
              left: 0;
              background-color: #fff;
              color: #333;
              padding: 0.5rem 0;
              box-shadow: 0 4px 6px rgba(0,0,0,0.1);
              z-index: 1000;
              list-style: none;
            }
        
            .dropdown-menu li {
              padding: 0;
            }
        
            .dropdown-menu li a {
              display: block;
              padding: 0.5rem 1rem;
              color: #333;
              text-decoration: none;
            }
        
      .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        color: #333;
        padding: 0.5rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
        list-style: none;
      }
  
      .dropdown-menu li {
        padding: 0;
      }
  
      .dropdown-menu li a {
        display: block;
        padding: 0.5rem 1rem;
        color: #333;
        text-decoration: none;
      }
  
            .dropdown-menu {
              display: none;
              position: absolute;
              top: 100%;
              left: 0;
              background-color: #fff;
              color: #333;
              padding: 0.5rem 0;
              box-shadow: 0 4px 6px rgba(0,0,0,0.1);
              z-index: 1000;
              list-style: none;
            }
        
            .dropdown-menu li {
              padding: 0;
            }
        
            .dropdown-menu li a {
              display: block;
              padding: 0.5rem 1rem;
              color: #333;
              text-decoration: none;
            }

/* ========== Media Queries ========== */
@media (max-width: 768px) {
    .nav-toggle-label {
      display: block;
    }

    .nav-menu {
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      /*background-color: var(--text-color);*/
      background-color: var(--dropdown-bg);
      flex-direction: column;
      align-items: center;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }

    .nav-toggle:checked ~ .nav-menu {
      max-height: 500px;
      padding: 10px 0;
    }
  }

      @media (max-width: 768px) {
        .nav-toggle-label {
          display: block;
        }
  
        .nav-menu {
          position: absolute;
          top: 60px;
          left: 0;
          right: 0;
          /*background-color: var(--text-color);*/
          background-color: var(--dropdown-bg);
          flex-direction: column;
          align-items: center;
          max-height: 0;
          overflow: hidden;
          transition: max-height 0.3s ease;
        }
  
        .nav-toggle:checked ~ .nav-menu {
          max-height: 500px;
          padding: 10px 0;
        }
      }
            @media (min-width: 600px) {
              h2 {
                font-size: 2rem;
              }
            }
        
            @media (min-width: 1024px) {
              h2 {
                font-size: 2.5rem;
              }
            }
        
            .content-wrapper {
              max-width: 100%;
              margin: 0 auto;
              padding: 0 1rem;
            }
        
            @media (max-width: 768px) {
              .nav-toggle-label {
                display: block;
              }
        
              .nav-menu {
                position: absolute;
                top: 60px;
                left: 0;
                right: 0;
                /*background-color: var(--text-color);*/
                background-color: var(--dropdown-bg);
                flex-direction: column;
                align-items: center;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
              }
        
              .nav-toggle:checked ~ .nav-menu {
                max-height: 500px;
                padding: 10px 0;
              }
            }
      @media (max-width: 768px) {
        .nav-toggle-label {
          display: block;
        }
  
        .nav-menu {
          position: absolute;
          top: 60px;
          left: 0;
          right: 0;
          /*background-color: var(--text-color);*/
          background-color: var(--dropdown-bg);
          flex-direction: column;
          align-items: center;
          max-height: 0;
          overflow: hidden;
          transition: max-height 0.3s ease;
        }
  
        .nav-toggle:checked ~ .nav-menu {
          max-height: 500px;
          padding: 10px 0;
        }
      }
            @media (max-width: 768px) {
              .nav-toggle-label {
                display: block;
              }
        
              .nav-menu {
                position: absolute;
                top: 60px;
                left: 0;
                right: 0;
                /*background-color: var(--text-color);*/
                background-color: var(--dropdown-bg);
                flex-direction: column;
                align-items: center;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
              }
        
              .nav-toggle:checked ~ .nav-menu {
                max-height: 500px;
                padding: 10px 0;
              }
            }
                @media (max-width: 768px) {
                  .nav-toggle-label {
                    display: block;
                  }
            
                  .nav-menu {
                    position: absolute;
                    top: 60px;
                    left: 0;
                    right: 0;
                    
                    background-color: var(--dropdown-bg);
                    flex-direction: column;
                    align-items: center;
                    max-height: 0;
                    overflow: hidden;
                    transition: max-height 0.3s ease;
                  }
            
                  .nav-toggle:checked ~ .nav-menu {
                    max-height: 500px;
                    padding: 10px 0;
                  }
                }
                  @media screen and (min-width: 1600px) {
                    .video-wrapper {
                      max-width: 900px;
                    }
                  }*/

/* ========== Other ========== */
/* Index Styles ********************************************************************************** */

          /* Modal base */
          .video-modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0; top: 0;
            width: 100%; height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            justify-content: center;
            align-items: center;
            animation-duration: 0.4s;
            animation-fill-mode: both;
            }
    
            /* Video container */
            .video-content {
            position: relative;
            max-width: 90%;
            max-height: 80%;
            animation-duration: 0.4s;
            animation-fill-mode: both;
            }
    
            /* Fade-in keyframe */
            @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
            }
    
            /* Fade-out keyframe */
            @keyframes fadeOut {
            from { opacity: 1; transform: scale(1); }
            to { opacity: 0; transform: scale(0.95); }
            }
    
            /* Optional close button */
            .close-btn {
            position: absolute;
            top: -10px;
            right: 5%;
            font-size: 2em;
            color: white;
            cursor: pointer;
            z-index: 2;
            }
    
            /* Wrapper so video keeps aspect ratio */
            .video-wrapper video {
            width: 100%;
            height: auto;
            max-height: 80vh;
            border-radius: 12px;
            }
    
            #form-message {
              max-width: 300px;
              margin-top: 1em;
              font-weight: bold;
              padding: 10px 15px;
              border-radius: 8px;
              text-align: center;
              opacity: 0;
              transform: translateY(20px);
              transition: all 0.4s ease;
              position: relative;
            }
    
            #form-message.show {
              opacity: 1;
              transform: translateY(0);
              animation: bounceIn 0.6s ease;
            }
    
            @keyframes bounceIn {
              0% {
                transform: translateY(40px);
                opacity: 0;
              }
              60% {
                transform: translateY(-10px);
                opacity: 1;
              }
              80% {
                transform: translateY(5px);
              }
              100% {
                transform: translateY(0);
              }
            }
    
            #form-message.success {
              color: #00ff88;
              background: rgba(0, 255, 136, 0.1);
              border: 1px solid #00ff88;
            }
    
            #form-message.warning {
              color: #ffaa00;
              background: rgba(255, 170, 0, 0.1);
              border: 1px solid #ffaa00;
            }
    
            #form-message.error {
              color: #ff4444;
              background: rgba(255, 0, 0, 0.1);
              border: 1px solid #ff4444;
            }
    
            .subscribe-btn {
              background-color: #8000ff;
              color: white;
              border: none;
              padding: 10px 20px;
              font-weight: bold;
              border-radius: 6px;
              transition: all 0.2s ease;
              box-shadow: 0 4px 10px rgba(128, 0, 255, 0.3);
              cursor: pointer;
            }
    
            .subscribe-btn:hover {
              transform: scale(1.05) rotate(-1deg);
              background-color: #a64dff;
              box-shadow: 0 6px 14px rgba(128, 0, 255, 0.5);
            }
    
            .subscribe-btn:active {
              transform: scale(0.95);
              box-shadow: 0 2px 6px rgba(128, 0, 255, 0.2);
            }
    
          /* Responsive video resizing for mobile */
          @media (max-width: 600px) {
            .video-gallery {
              display: flex;
              flex-direction: column;
              align-items: center;
              gap: 2rem;
            }

            .video-wrapper {
              width: 90%;
              max-width: 360px;
            }

            .video-wrapper video {
              width: 100%;
              height: auto;
              border-radius: 12px;
            }

            .video-wrapper h3 {
              font-size: 1rem;
              text-align: center;
              margin-top: 0.5rem;
            }
          }

          /* Fixes video modal close button alignment and responsiveness */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 1em;
}

.video-content {
  position: relative;
  width: 100%;
  max-width: 640px;
  animation: fadeIn 0.4s forwards;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: 12px;
}

/* Close button placement */
.close-btn {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 2rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
}

/* Responsive mobile adjustment */
@media (max-width: 480px) {
  .video-content {
    max-width: 90vw;
  }

  .close-btn {
    top: -10px;
    right: -5px;
    font-size: 1.6rem;
  }
}

/* === Video Modal Styles (index.html only) === */
.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.video-modal.show {
  display: flex;
}

.video-modal video {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.video-modal .close-btn {
  position: absolute;
  top: -1rem;
  right: 2rem; /* ensures close button aligns top-right */
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* Optional: subtle fade-in */
.video-modal.show video {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}


    /* MEMORY MATCH SECTION */
#memory-match {
  text-align: center;
  padding: 40px 20px;
}

#memory-match h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

#memory-match p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.memory-game {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* MEMORY CARD */
.memory-card {
  width: 100%;
  aspect-ratio: 2 / 3;
  perspective: 1000px;
  cursor: pointer;
}

.memory-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.memory-card.flipped .memory-card-inner {
  transform: rotateY(180deg);
}

.memory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  backface-visibility: hidden;
}

.front-face {
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  left: 0;
}

.back-face {
  position: absolute;
  top: 0;
  left: 0;
}

/* Restart button */
#restart-memory {
  background-color: #a05bf5;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#restart-memory:hover {
  background-color: #8b4be0;
}

/* Mobile tweak */
/*@media (max-width: 600px) {
  .memory-game {
    grid-template-columns: repeat(2, 1fr);
  }
}*/

@media (max-width: 600px) {
  .memory-game {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
  }

  .memory-card {
    width: 100px;
    height: 160px;
  }

  .memory-card img {
    width: 90%;
    height: 90%;
    object-fit: cover;
  }
}

/* Magical matched effect */
.memory-card.matched .memory-card-inner {
  animation: sparkle-glow 0.8s ease-in-out infinite alternate;
}

@keyframes sparkle-glow {
  from {
    box-shadow: 0 0 0px rgba(255, 255, 255, 0);
  }
  to {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
  }
}

/* Final win sparkle message */
.victory-message {
  margin-top: 20px;
  color: #ffe36e;
  font-size: 1.6em;
  animation: twinkle 1s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.5; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}

/* Overlay styles */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.overlay-content {
  background: #2e2e2e;
  border: 2px solid #a05bf5;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 25px rgba(160, 91, 245, 0.6);
  animation: fadeInScale 0.6s ease;
}

.overlay-content h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.overlay-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.overlay-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.cancel-btn {
  background-color: #555;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cancel-btn:hover {
  background-color: #444;
}

.play-again-btn {
  background-color: #a05bf5;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.play-again-btn:hover {
  background-color: #8b4be0;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

    /* SPEAK HUBBLISH SECTION */
    #speak-hubblish {
      text-align: center;
      padding: 40px 20px;
    }

    .hubblish-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 20px;
      max-width: 800px;
      margin: 0 auto;
      padding: 20px 10px;
    }

    .hubblish-card {
      perspective: 1000px;
      cursor: pointer;
    }

    .card-inner {
      position: relative;
      width: 100%;
      aspect-ratio: 2 / 3;
      transition: transform 0.6s;
      transform-style: preserve-3d;
    }

    .hubblish-card.flipped .card-inner {
      transform: rotateY(180deg);
    }

    .card-front, .card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 12px;
      overflow: hidden;
    }

    .card-front img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .card-back {
      background: #fff0fe;
      color: #333;
      display: flex;
      align-items: center;
      justify-content: center;
      transform: rotateY(180deg);
      padding: 10px;
      font-size: 1rem;
      font-weight: bold;
      text-align: center;
      border: 2px solid #ffc8f9;
      border-radius: 12px;
    }

    .meaning-text {
      padding: 10px;
    }

    /* HUBBLISH GRID **********************************/
    
    .hubblish-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      justify-content: center;
      justify-items: center;
      margin: 2rem auto;
      max-width: 700px;
      padding: 0 1rem;
    }
    
    /* Make cards responsive */
    .hubblish-card {
      width: 160px;
      height: 240px;
      perspective: 1000px;
      position: relative;
    }

    .card-inner {
      width: 100%;
      height: 100%;
      transition: transform 0.8s;
      transform-style: preserve-3d;
      position: relative;
      border: none;
      box-shadow: none;
    }
    
    .hubblish-card.flipped .card-inner {
      transform: rotateY(180deg);
    }
    
    .card-front, .card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 12px;
      overflow: hidden;
      background-color: transparent;
      border: none;
      box-shadow: none;
    }
    
    .card-front img,
    .card-back img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border: none;
      margin: 0;
      padding: 0;
      background-color: transparent;
    }
    
    .card-back {
      transform: rotateY(180deg);
    }
    
    .card-front img,
    .card-back img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border: none;
      margin: 0;
      padding: 0;
      box-shadow: none;
    }

    .card-back {
      border: none;
      box-shadow: none;
    }
    
    .hubblish-card:focus {
      outline: none;
    }

    @media (max-width: 768px) {
      .hubblish-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 320px;
      }
    
      .hubblish-card {
        width: 120px;
        height: 180px;
      }
    }    

    @media (max-width: 480px) {
      .hubblish-card {
        width: 100px;
        height: 150px;
      }
    }

    /***************************************** Blog Page ********************************************/

    .blog-entry {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 1rem 1.5rem;
      margin: 1.5rem auto;
      max-width: 900px;
      color: #fff;
      box-shadow: 0 0 20px rgba(255, 102, 212, 0.1);
      transition: all 0.3s ease;
    }
    
    .blog-entry summary {
      font-size: 1.3rem;
      font-weight: 600;
      cursor: pointer;
      color: #ffb3ff;
      list-style: none;
      position: relative;
      padding-left: 1.2rem;
    }
    
    .blog-entry summary::before {
      content: '▶';
      position: absolute;
      left: 0;
      top: 0;
      transform: rotate(0deg);
      transition: transform 0.3s ease;
    }
    
    .blog-entry[open] summary::before {
      transform: rotate(90deg);
    }
    
    .blog-entry p,
    .blog-entry em {
      margin-top: 0.5rem;
      color: #ccc;
    }

    .blog-entry h3 {
      font-size: 1.5rem;
      color: #ffffff;
      margin-bottom: 0.5rem;
    }
    
    /*.blog-entry em {
      color: #cccccc;
      font-style: italic;
      display: block;
      margin-bottom: 0.5rem;
    }*/
    
    .blog-entry a {
      color: #ff66d4;
      text-decoration: underline;
    }

    /******************************************************** Space down the purple header after nav bar ******************************************/

    .header-content {
      padding-top: 100px; /* Pushes it down inside the header */
      padding-bottom: 2rem;
      background-color: #8e44ad;
      text-align: center;
      color: white;
    }
  
    /********************************************************************* Discord *****************************************************************/

    .discord-button {
      display: inline-block;
      margin-top: 10px;
      padding: 14px 24px;
      background-color: #7289da; /* Discord purple */
      color: white;
      border-radius: 8px;
      font-weight: bold;
      font-size: 1rem;
      text-align: center;
      text-decoration: none;
      transition: background 0.3s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    .discord-button:hover {
      background-color: #5b6eae;
    }
    
    .hubba-bubble {
      position: fixed;
      bottom: 20px;
      left: 20px;
      background-color: #ff6ec7;
      color: white;
      font-weight: bold;
      padding: 14px 18px;
      border-radius: 20px;
      font-size: 0.9rem;
      text-align: center;
      text-decoration: none;
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
      z-index: 999;
      animation: bounce 3s infinite;
      line-height: 1.2em;
    }
    .hubba-bubble:hover {
      background-color: #e455b2;
    }
    
    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50%      { transform: translateY(-6px); }
    }
    
    .discord-button, .watch-button {
      position: relative;
      z-index: 10;
      display: inline-block;
      color: white;
      background-color: #7289da;
      padding: 14px 24px;
      margin-top: 12px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
    }
    
    .hubba-bubba-container {
      position: relative;
      display: inline-block;
    }
    
    .hubba-image {
      width: 120px; /* or your current size */
    }
    
    .hubba-floating-bubble {
      position: absolute;
      bottom: 100%; /* directly above Hubba */
      left: 50%;
      transform: translateX(-50%);
      background-color: #ff6ec7;
      color: white;
      font-weight: bold;
      padding: 10px 14px;
      border-radius: 18px;
      font-size: 0.8rem;
      text-align: center;
      text-decoration: none;
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
      animation: bounce 3s infinite;
      line-height: 1.2em;
      z-index: 10;
    }
    .hubba-floating-bubble:hover {
      background-color: #e455b2;
    }
    
    @keyframes bounce {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(-6px); }
    }

    .corner-characters {
  position: relative;
  width: 100%;
  height: 0;
  z-index: 10;
}

.hubba-with-bubble {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hubba-bubble {
  background-color: #ff6ec7;
  color: white;
  font-weight: bold;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.8rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  animation: bubbleBounce 3s ease-in-out infinite;
  line-height: 1.2em;
  margin-bottom: -6px;
  z-index: 3;
}

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

.character-peek {
  position: absolute;
  width: 140px;
  z-index: 2;
  animation: peekBounce 3s ease-in-out infinite;
  opacity: 0.95;
}

.hubba-peek {
  bottom: 0;
  left: 0;
  transform: translateY(10%);
}

.daco-peek {
  bottom: 0;
  right: 0;
  transform: translateY(10%);
}

@keyframes peekBounce {
  0%, 100% { transform: translateY(10%); }
  50%      { transform: translateY(0%); }
}

.corner-characters {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.hubba-with-bubble {
  position: absolute;
  bottom: -10px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
  pointer-events: auto;
}

.daco-peek {
  position: absolute;
  bottom: -10px;
  right: 20px;
  width: 120px;
  transform: translateY(30px); /* same bounce start as Hubba */
  z-index: 5;
}

.hubba-peek {
  width: 120px;
  margin-top: 0;
}

.hubba-bubble {
  background-color: #ff6ec7;
  color: white;
  font-weight: bold;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.8rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  animation: bubbleBounce 3s ease-in-out infinite;
  line-height: 1.2em;
  margin-bottom: 80px;
  z-index: 6;
  pointer-events: auto;
  position: static; /* or no position specified at all */
}

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

@keyframes peekBounce {
  0%, 100% { transform: translateY(10%); }
  50% { transform: translateY(0%); }
}

.character-peek {
  animation: peekBounce 3s ease-in-out infinite;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .hubba-with-bubble {
    bottom: 70px; /* lifts them off buttons */
    left: 10px;
    align-items: flex-start;
  }

  .hubba-bubble {
    font-size: 0.7rem;
    padding: 8px 10px;
    margin-bottom: 100px; /* raise above Hubba */
    max-width: 140px;
    line-height: 1.2em;
    word-wrap: break-word;
    text-align: center;
  }

  .daco-peek {
    right: 10px;
    bottom: 70px;
    width: 100px;
  }

  .hubba-peek {
    width: 100px;
  }

  .corner-characters {
    display: none;
  }
}

