/*
 * EmojisHive Standalone Stylesheet
 * Extracted from original emojis.php (non-standalone)
 * Author: Badz Khan
 * Version: 2.1
 * Site: https://EmojisHive.com/
 */

/* 🧩 Layout Basics */
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #333;
  margin: 0;
  padding: 0;
}

.ek-container { margin-top: 5px; }
.ek-main { padding-left: 30px; }

/* 🌈 HERO SECTION */
/* 🌈 HERO SECTION (Reduced Height, Content-Fit) */
.emoji-hero {
  width: 100%;
  background: linear-gradient(90deg, #f9fdfb 0%, #e8f7f0 100%);
  padding: 35px 10px 20px; /* reduced from 100/50 to 60/40 */
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.emoji-hero-alt {
  background: linear-gradient(120deg, #f3f8ff 0%, #e8f7f0 50%, #f9fdfb 100%);
 padding: 35px 10px 20px; /* ✅ Match homepage hero size exactly */
  position: relative;
  overflow: hidden;
}


.emoji-hero.visible { opacity: 1; transform: translateY(0); }

.emoji-hero-inner { max-width: 900px; margin: 0 auto; }
.emoji-hero-title {
  color: #0b8e62;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.emoji-hero-text {
  color: #333;
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 🎈 Animated icons inside hero */
.emoji-hero-icons span {
  display: inline-block;
  font-size: 2.7rem;
  margin: 0 8px;
  animation: floatUpDown 4.5s ease-in-out infinite;
}
@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.emoji-hero-icons span:nth-child(odd) { animation-delay: 1s; }
.emoji-hero-icons span:nth-child(even) { animation-delay: 2s; }

/* ✨ Background emoji drift layers */
.emoji-hero::before,
.emoji-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 160px 160px;
  opacity: 0.07;
  z-index: 1;
  animation: emojiDrift 45s linear infinite;
}
.emoji-hero::before {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><text y='50' font-size='50'>😄</text><text x='70' y='120' font-size='50'>❤️</text><text x='30' y='160' font-size='50'>🌈</text><text x='100' y='60' font-size='50'>✨</text></svg>");
}
.emoji-hero::after {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><text y='80' font-size='50'>🔥</text><text x='100' y='40' font-size='50'>🎉</text><text x='50' y='150' font-size='50'>🍕</text><text x='20' y='100' font-size='50'>🐶</text><text x='130' y='100' font-size='50'>💕</text><text x='70' y='180' font-size='50'>😍</text></svg>");
  transform: rotate(10deg);
  animation-direction: reverse;
  animation-duration: 60s;
}
@keyframes emojiDrift {
  0% { background-position: 0 0; }
  50% { background-position: 80px 60px; }
  100% { background-position: 0 0; }
}

/* 🩵 Bottom fade for hero */
.emoji-hero::after {
  height: 100px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
}


/* 📱 Hero responsiveness */
@media (max-width: 767.98px) {
  .emoji-hero { padding: 70px 15px 25px; }
  .emoji-hero-text { font-size: 1rem; }
  .emoji-hero-icons span { font-size: 2rem; }
}

/* ✅ Mobile dropdown visibility rules */
@media (max-width: 767.98px) {
  #emojiMobileSelect {
    display: block !important;
  }
}

@media (min-width: 768px) {
  #emojiMobileSelect {
    display: none !important;
  }
}


/* 🧱 Sidebar */
.ek-aside { position: sticky; top: 90px; align-self: flex-start; }
.ek-sidebox { background:#fff; border-right:1px solid #eee; padding:20px; }
.ek-side-title { font-size:18px; color:#0b8e62; margin-bottom:12px; }
.ek-cat-btn {
  display:block; width:100%; text-align:left; padding:8px 10px;
  border-radius:8px; border:0; background:transparent; color:#333;
  cursor:pointer; transition:background .15s ease, color .15s ease;
}
.ek-cat-btn:hover, .ek-cat-btn.active { background:#e8f7f0; color:#0b8e62; }

@media (max-width:767.98px) {
  .ek-aside { display:none!important; }
  .ek-main { padding-left:0; }
  .ek-mobile-select {
    display:block!important;
    width:100%; font-size:15px;
    border-radius:8px; border:1px solid #ccc;
    padding:8px 10px; margin-bottom:15px;
  }
}

/* 🌟 Emoji Grid */
.emoji-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:15px;
}
.emoji-card {
  border:1px solid #eee;
  border-radius:10px;
  text-align:center;
  padding:10px;
  background:#fff;
  box-shadow:0 2px 4px rgba(0,0,0,0.05);
  cursor:pointer;
  transition:transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.emoji-card:hover {
  transform:translateY(-6px) scale(1.06);
  box-shadow:0 8px 16px rgba(11,142,98,0.15);
  filter:brightness(1.03);
}
.emoji-char { font-size:26px; display:block; }
.emoji-name { font-size:13px; color:#555; margin-top:5px; }

/* ✅ Tooltip copy hint */
.emoji-card::after {
  content:"📋 Copy to clipboard";
  position:absolute;
  bottom:-24px; left:50%;
  transform:translateX(-50%);
  background:#0b8e62; color:#fff;
  font-size:12px; padding:3px 8px;
  border-radius:6px; opacity:0;
  transition:opacity 0.2s ease, transform 0.2s ease;
}
.emoji-card:hover::after {
  opacity:1; transform:translateX(-50%) translateY(-3px);
}
.emoji-card.copied::after {
  content:"✅ Copied!"; opacity:1; background:#0b8e62;
}

/* 🌍 Trending Emojis Sidebar */
.ek-divider {
  border:0; border-top:2px solid #c6f0d9;
  margin:18px 0; width:100%;
}
.ek-trending-box {
  background:#fff;
  border:1px solid #e2f2ea;
  border-radius:12px;
  padding:18px;
  box-shadow:0 3px 12px rgba(0,0,0,0.04);
}
.ek-trending-title {
  font-size:1.5rem;
  font-weight:700;
  color:#0b8e62;
  margin-bottom:12px;
}
.trending-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  justify-items:center;
}
.trending-grid .emoji-card {
  font-size:22px;
  border:1px solid #eee;
  border-radius:10px;
  padding:8px;
  box-shadow:0 2px 4px rgba(0,0,0,0.05);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.trending-grid .emoji-card:hover {
  transform:translateY(-5px) scale(1.05);
  box-shadow:0 6px 14px rgba(11,142,98,0.15);
}

/* 🌟 About Section */
.emoji-about {
  background:linear-gradient(180deg,#ffffff 0%,#f7fcf9 100%);
  border-radius:16px;
  padding:60px 40px;
  box-shadow:0 4px 16px rgba(0,0,0,0.04);
  text-align:center;
  width:100%;
  margin:0 auto 5px auto;
}
.emoji-about-title {
  color:#0b8e62;
  font-weight:700;
  font-size:2rem;
  margin-bottom:20px;
}
.emoji-features {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
}
.emoji-feature-card {
  flex:1 1 250px;
  background:#fff;
  border-radius:12px;
  padding:20px;
  box-shadow:0 2px 8px rgba(0,0,0,0.04);
}
.emoji-feature-icon { font-size:2rem; display:block; margin-bottom:10px; }

/* 💬 FAQ Section */
.emoji-faq {
  background:linear-gradient(180deg,#f7fcf9 0%,#ffffff 100%);
  border-radius:16px;
  padding:60px 30px;
  box-shadow:0 4px 12px rgba(0,0,0,0.03);
}
.emoji-faq-title {
  font-size:2rem;
  font-weight:700;
  color:#0b8e62;
  margin-bottom:35px;
}
.emoji-faq-item {
  border:1px solid #e2f2ea;
  border-radius:10px;
  background:#fff;
  margin-bottom:12px;
}
.emoji-faq-question {
  width:100%;
  background:none;
  border:none;
  padding:16px 20px;
  font-size:1.3rem;
  font-weight:600;
  text-align:left;
  color:#0b8e62;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
}
.emoji-faq-question:hover { background:#e8f7f0; }
.emoji-faq-answer {
  display:none;
  padding:0 20px 15px 20px;
  color:#444;
  font-size:1.1rem;
}
.emoji-faq-item.active .emoji-faq-answer { display:block; }

/* 📱 Responsive FAQ */
@media (max-width:767.98px) {
  .emoji-faq { padding:40px 20px; }
  .emoji-faq-title { font-size:1.6rem; }
  .emoji-faq-question { font-size:1rem; }
}

/* 🌈 View All Emojis Button */
.ek-viewall-btn {
  display:inline-block;
  background:linear-gradient(90deg,#10b981,#34d399,#a7f3d0);
  color:#fff;
  font-weight:700;
  letter-spacing:0.4px;
  padding:14px 36px;
  border-radius:50px;
  box-shadow:0 4px 12px rgba(16,185,129,0.3);
  text-decoration:none;
  transition:all 0.35s ease;
  position:relative;
  overflow:hidden;
}
.ek-viewall-btn:hover {
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 8px 22px rgba(16,185,129,0.45);
}
.ek-viewall-btn::before {
  content:"";
  position:absolute;
  top:0; left:-75%;
  width:50%; height:100%;
  background:linear-gradient(120deg,rgba(255,255,255,0.25),rgba(255,255,255,0));
  transform:skewX(-25deg);
  transition:all 0.5s ease;
}
.ek-viewall-btn:hover::before { left:125%; }

/* 🏠 Floating Buttons */
.back-home-btn,
.ek-viewall-float-btn {
  position:fixed;
  z-index:9999;
  border-radius:50px;
  text-align:center;
  color:#fff;
  background:#0b8e62;
  font-weight:700;
  text-decoration:none;
  transition:all 0.3s ease;
}
.back-home-btn {
  bottom:22px; right:22px;
  width:48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
}
.back-home-btn:hover { background:#099e6f; transform:scale(1.05); }
.ek-viewall-float-btn {
  bottom:20px; left:50%;
  transform:translateX(-50%) translateY(20px);
  padding:12px 28px;
  box-shadow:0 6px 20px rgba(16,185,129,0.3);
  opacity:0; pointer-events:none;
}
.ek-viewall-float-btn.visible {
  opacity:1;
  transform:translateX(-50%) translateY(0);
  pointer-events:auto;
}
@media (min-width:768px) {
  .ek-viewall-float-btn { display:none!important; }
}


/* 🔥 Trending Emojis & 🌍 Top Emojis Sidebar */
.ek-sidebox h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #0b8e62;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 8px;
  text-align: center;
}

.trending-grid .emoji-card {
  font-size: 22px;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trending-grid .emoji-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 14px rgba(11,142,98,0.15);
}

.emoji-country-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.emoji-country-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 15px;
}
.emoji-country-list .flag {
  font-size: 20px;
  margin-right: 6px;
}
.emoji-country-list .char {
  font-size: 20px;
  margin-left: 8px;
}
.emoji-country-list small {
  color: #888;
  margin-left: 4px;
  font-size: 12px;
}


/* 🧭 Sidebar (Non-sticky, scrolls with page) */
/* 🧭 Sidebar (scrolls normally) */
.ek-aside {
  display: block;
  position: relative;
  top: auto;
  height: auto;
}

/* Sidebar boxes layout */
.ek-sidebox {
  background: #fff;
  border: 1px solid #e2f2ea;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

/* Sidebar headings */
.ek-side-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b8e62;
  margin-bottom: 12px;
}

/* Divider */
.ek-divider {
  border: 0;
  border-top: 2px solid #c6f0d9;
  margin: 10px 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .ek-aside {
    margin-bottom: 20px;
  }
}







/* 🌍 Alternate Hero for All Emojis Page */
.emoji-hero-alt {
  background: linear-gradient(120deg, #f3f8ff 0%, #e8f7f0 50%, #f9fdfb 100%);
  position: relative;
  overflow: hidden;
}

/* Dim floating emoji overlay */
.emoji-hero-alt::before,
.emoji-hero-alt::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 160px 160px;
  opacity: 0.08;
  z-index: 1;
}

.emoji-hero-alt::before {
  background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'>\
      <text x='10' y='60' font-size='50'>😀</text>\
      <text x='80' y='110' font-size='50'>🔥</text>\
      <text x='40' y='150' font-size='50'>💬</text>\
      <text x='100' y='60' font-size='50'>🌍</text>\
      <text x='130' y='150' font-size='50'>❤️</text>\
    </svg>");
  animation: emojiDrift 50s linear infinite;
}

.emoji-hero-alt::after {
  background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'>\
      <text x='20' y='80' font-size='50'>🎉</text>\
      <text x='110' y='40' font-size='50'>🌈</text>\
      <text x='60' y='150' font-size='50'>😎</text>\
      <text x='10' y='130' font-size='50'>🐶</text>\
    </svg>");
  animation: emojiDriftReverse 65s linear infinite;
}

@keyframes emojiDriftReverse {
  0% { background-position: 0 0; }
  50% { background-position: -60px 40px; }
  100% { background-position: 0 0; }
}

/* 🖥️ Make hero span full width, above container */
.emoji-hero-alt {
  margin-top: -20px; /* optional, smooth transition under navbar */
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.emoji-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}





/* Optional: make hero slightly fade-up for a gentle motion */
.emoji-hero,
.emoji-hero-alt {
  transition: opacity 0.8s ease, transform 0.8s ease;
  opacity: 0;
  transform: translateY(12px);
}

.emoji-hero.visible,
.emoji-hero-alt.visible {
  opacity: 1;
  transform: translateY(0);
}



/* 🌿 Scroll-To-Top Button — Floating, Glowing & Green Tooltip */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(16,185,129,0.4);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: all;
  animation: floatPulse 3s ease-in-out infinite;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(16,185,129,0.6);
}

/* 🪄 Floating Glow Animation */
@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 12px rgba(16,185,129,0.4);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(16,185,129,0.65);
  }
}

/* 💚 Tooltip Bubble — Green Glow Fade-Up */
.tooltip-bubble {
  position: absolute;
  bottom: 65px;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #fff;
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(16,185,129,0.4);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.4s ease;
}

#scrollTopBtn:hover .tooltip-bubble {
  opacity: 1;
  transform: translateX(50%) translateY(-5px);
  box-shadow: 0 0 20px rgba(16,185,129,0.6);
}

/* Tooltip small arrow (green glow) */
.tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #34d399 transparent transparent transparent;
  filter: drop-shadow(0 0 2px rgba(16,185,129,0.6));
}

#scrollTopBtn:hover {
  transform: scale(1.1) rotate(-15deg);
  box-shadow: 0 0 20px rgba(16,185,129,0.6);
}


/* 📱 Responsive */
@media (max-width: 767.98px) {
  #scrollTopBtn {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .tooltip-bubble {
    bottom: 58px;
    font-size: 12px;
    padding: 6px 10px;
  }
}



/* 📱 Compact hero on mobile (tight vertical spacing) */
@media (max-width: 768px) {
  .emoji-hero,
  .emoji-hero-alt {
    padding-top: 20px !important;
    padding-bottom: 15px !important;
    min-height: auto !important;
  }

  /* also reduce text spacing inside hero */
  .emoji-hero-title,
  .emoji-hero-text {
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
  }

  /* make floating icons smaller and closer */
  .emoji-hero-icons span {
    font-size: 1.6rem !important;
    margin: 0 4px !important;
  }

  /* ensure inner container fits snugly */
  .emoji-hero-inner {
    padding: 0 !important;
    margin: 0 auto !important;
  }
}



/* ============================================================
   📱 Mobile Top-Slide Navigation (Full-Width Blur)
   ============================================================ */

/* Hide toggle by default (desktop) */
#mobileMenuBtn {
  display: none;
}

/* Show toggle only on mobile */
@media (max-width: 767.98px) {
  #mobileMenuBtn {
    display: inline-block;
  }
}

/* === Hamburger Animation === */
#mobileMenuBtn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  position: relative;
  z-index: 1100;
}
#mobileMenuBtn .bar {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto;
  background: #0b8e62;
  border-radius: 2px;
  transition: all 0.3s ease;
}
#mobileMenuBtn.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#mobileMenuBtn.active .bar:nth-child(2) {
  opacity: 0;
}
#mobileMenuBtn.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === Top Slide Drawer === */
.mobile-drawer {
  position: fixed;
  top: -100vh; /* hidden above view */
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  overflow-y: auto;
  z-index: 1050;
  transition: top 0.35s ease;
  padding: 70px 20px 20px; /* space for close btn */
  border: 1px solid rgba(255,255,255,0.4);
}
.mobile-drawer.active {
  top: 0; /* slides down */
}

/* Close button */
.drawer-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: rgba(11,142,98,0.15);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.8rem;
  color: #0b8e62;
  font-weight: 700;
  line-height: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close:hover {
  background: rgba(11,142,98,0.25);
  transform: scale(1.08);
}

/* === Menu links === */
.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.drawer-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.3);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.35s ease forwards;
}
.drawer-menu li:nth-child(1) { animation-delay: 0.05s; }
.drawer-menu li:nth-child(2) { animation-delay: 0.1s; }
.drawer-menu li:nth-child(3) { animation-delay: 0.15s; }
.drawer-menu li:nth-child(4) { animation-delay: 0.2s; }
.drawer-menu li:last-child { border-bottom: none; }

/* 🪄 Touch / Swipe Feedback for Menu Items */
.drawer-menu a {
  display: block;
  padding: 16px 0;
  color: #111;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: background 0.3s ease, color 0.25s ease, transform 0.15s ease;
}

/* Hover / swipe-over effect */
.drawer-menu a:hover {
  background: rgba(11,142,98,0.08);
  color: #0b8e62;
  transform: scale(1.02);
}

/* Finger press feedback */
.drawer-menu a:active {
  background: rgba(11,142,98,0.22);
  transform: scale(0.97);
}

/* Ripple effect (on tap / swipe) */
/* === Adaptive Ripple Effect — Light/Dark Smart Color === */
.drawer-menu a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.45s ease-out, height 0.45s ease-out, opacity 0.5s ease-out;
  opacity: 0;
  pointer-events: none;

  /* 🌈 Dynamic adaptive color: */
  background: var(--ripple-color, rgba(11,142,98,0.25));
  mix-blend-mode: difference; /* allows color inversion depending on background */
}

/* When tapped — ripple expands */
.drawer-menu a:active::after {
  width: 250%;
  height: 250%;
  opacity: 0.4;
  transition: 0s;
}

/* 🌞 Light backgrounds — green ripple */
@media (prefers-color-scheme: light) {
  :root {
    --ripple-color: rgba(11,142,98,0.25);
  }
}

/* 🌙 Dark backgrounds — white ripple */
@media (prefers-color-scheme: dark) {
  :root {
    --ripple-color: rgba(255,255,255,0.25);
  }
}


/* When tapped — ripple expands */
.drawer-menu a:active::after {
  width: 250%;
  height: 250%;
  opacity: 0.3;
  transition: 0s;
}

.drawer-menu a:active {
  transform: scale(0.97) rotateX(3deg);
}


@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Overlay === */
#drawerOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  z-index: 1049;
  transition: opacity 0.3s ease;
  opacity: 0;
}
#drawerOverlay.active {
  display: block;
  opacity: 1;
}

/* Hide desktop nav on mobile */
@media (max-width: 767.98px) {
  #navbar-main { display: none !important; }
}

/* Prevent scroll when menu open */
body.drawer-open { overflow: hidden; }
