/* main.css - Ohana Theme */
:root {
  --snitch-blue: #1e3a8a;
  --snitch-blue-dark: #1e40af;
  --snitch-blue-light: #3b82f6;
  --snitch-cyan: #06b6d4;
  --snitch-indigo: #4f46e5;
  --snitch-silver: #e5e7eb;
  --text-dark: #1f2937;
  --text-light: #4b5563;

  /* Legacy variables for compatibility */
  --brand-pink-dark: var(--snitch-blue);
  --brand-pink-light: var(--snitch-blue-light);
  --gray: var(--text-light);
  --text-color: var(--text-dark);
}


@font-face {
    font-family: 'Anjoman';
    src: url('https://cdn.anjamid.ir/global/persian-fonts/Anjoman-Regular.eot');
    src: url('https://cdn.anjamid.ir/global/persian-fonts/Anjoman-Regular.woff2') format('woff2'),
         url('https://cdn.anjamid.ir/global/persian-fonts/Anjoman-Regular.woff') format('woff'),
         url('https://cdn.anjamid.ir/global/persian-fonts/Anjoman-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   OHANA ANIMATIONS
======================================== */
@keyframes ohanaFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ohanaGlow {
  0%,
  100% {
    box-shadow: 0 0 5px var(--snitch-cyan);
  }
  50% {
    box-shadow: 0 0 20px var(--snitch-cyan), 0 0 30px var(--snitch-cyan);
  }
}

@keyframes ohanaPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes ohanaSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Added dropdown animation from head styles */
@keyframes ohanaDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Added heartbeat animation from head styles */
@keyframes ohanaHeartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Added rotate animation from head styles */
@keyframes ohanaRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes ohanaShimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* ========================================
   BASE STYLES
======================================== */
html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  direction: rtl;
  font-family: 'Anjoman';
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

body.mobile-menu-open {
  overflow: hidden;
}

/* ========================================
   LOGO & BRANDING
======================================== */
.logo-circle {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  animation: ohanaFloat 3s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.logo-circle:hover {
  animation: ohanaPulse 0.6s ease-in-out;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.8);
}

.brand-text {
  background: linear-gradient(135deg, var(--snitch-blue), var(--snitch-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Added ohana heart animation class from head styles */
.ohana-heart {
  animation: ohanaHeartbeat 2s ease-in-out infinite;
}

/* ========================================
   HEADER STYLES
======================================== */
.desktop-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--snitch-silver);
}

.nav-links {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--snitch-silver);
}

.header-icons .header-icon {
  position: relative;
  color: var(--text-dark);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.header-icons .header-icon:hover {
  color: var(--snitch-blue);
  background: rgba(30, 58, 138, 0.1);
  transform: translateY(-3px);
  animation: ohanaGlow 2s ease-in-out infinite;
}

.mobile-header-icons .header-icon {
  position: relative;
  color: var(--text-dark);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.mobile-header-icons .header-icon:hover {
  color: var(--snitch-blue);
  background: rgba(30, 58, 138, 0.1);
  transform: translateY(-3px);
}

.badge-notification {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-40%, -40%);
  background: linear-gradient(135deg, var(--snitch-cyan), var(--snitch-indigo));
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  pointer-events: none;
  animation: ohanaPulse 2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
}

/* ========================================
   NAVIGATION STYLES
======================================== */
.nav-link-custom {
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}

.nav-link-custom::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--snitch-cyan), var(--snitch-indigo));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link-custom:hover::before,
.nav-link-custom.active::before {
  width: 80%;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--snitch-blue);
  text-decoration: none;
  background: rgba(30, 58, 138, 0.05);
  transform: translateY(-2px);
}

/* ========================================
   CATEGORY DROPDOWN STYLES
======================================== */
/* Moved and enhanced category dropdown styles from head */
.category-dropdown-parent {
  position: relative;
}

.category-dropdown-parent:hover .bi-chevron-down,
.category-dropdown-parent:focus-within .bi-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: var(--snitch-cyan);
}

.category-dropdown-toggle {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.category-dropdown-toggle:hover {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(6, 182, 212, 0.1));
  transform: translateY(-2px);
}

.category-dropdown {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  min-width: 220px;
  z-index: 200;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(30, 58, 138, 0.15);
  padding: 1rem 0;
  direction: rtl;
  text-align: right;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  backdrop-filter: blur(20px);
  border: 2px solid var(--snitch-silver);
}

/* Desktop hover behavior with animations */
@media (min-width: 768px) {
  .category-dropdown-parent:hover .category-dropdown,
  .category-dropdown-parent:focus-within .category-dropdown {
    display: block;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    animation: ohanaDropdownSlide 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .category-dropdown-toggle {
    transition: all 0.3s ease;
  }

  .category-dropdown-parent:hover .category-dropdown-toggle,
  .category-dropdown-parent:focus-within .category-dropdown-toggle {
    color: var(--snitch-blue);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(6, 182, 212, 0.1));
  }
}

.dropdown-item {
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  display: block;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--snitch-cyan), var(--snitch-indigo));
  transition: width 0.3s ease;
  z-index: -1;
}

.dropdown-item:hover::before {
  width: 100%;
}

.dropdown-item:hover {
  color: white;
  transform: translateX(-5px);
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

/* Added magic glow effects from head styles */
.magic-glow {
  position: relative;
}

.magic-glow::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--snitch-cyan), var(--snitch-indigo), var(--snitch-blue));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.magic-glow:hover::after {
  opacity: 0.7;
  animation: ohanaRotate 2s linear infinite;
}

/* ========================================
   SEARCH STYLES
======================================== */
.search-box-container {
  border: 2px solid var(--snitch-silver);
  gap: 0.25rem;
  align-items: center;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.search-box-container:hover {
  border-color: var(--snitch-cyan);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.2);
}

.search-box-container .search-input {
  outline: none;
  font-size: 1rem;
  text-align: right;
  border: none;
  background: transparent;
}

.search-box-container .search-btn {
  background: linear-gradient(135deg, var(--snitch-blue), var(--snitch-indigo));
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  transition: all 0.3s ease;
  padding: 0;
  border-radius: 0.5rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.search-box-container .search-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.search-box-container .search-btn:hover::before {
  left: 100%;
}

.search-box-container .search-btn:hover,
.search-box-container .search-btn:focus {
  background: linear-gradient(135deg, var(--snitch-blue-light), var(--snitch-cyan));
  color: white;
  transform: scale(1.05);
}

.search-btn i {
  pointer-events: none;
}

.search-input {
  border-radius: 0.5rem 0 0 0.5rem;
  border: 2px solid var(--snitch-silver);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.search-input:focus {
  border-color: var(--snitch-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
  outline: none;
}

.search-btn {
  border-radius: 0 0.5rem 0.5rem 0;
  background: linear-gradient(135deg, var(--snitch-blue), var(--snitch-indigo));
  border: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.search-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.search-btn:hover::before {
  left: 100%;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--snitch-blue-light), var(--snitch-cyan));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

/* ========================================
   MOBILE MENU STYLES
======================================== */
.mobile-menu-toggle {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--snitch-silver);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
  border-color: var(--snitch-cyan);
  background: rgba(30, 58, 138, 0.1);
  transform: scale(1.05);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: linear-gradient(90deg, var(--snitch-blue), var(--snitch-cyan));
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--snitch-indigo);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
  background: var(--snitch-indigo);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(79, 70, 229, 0.6));
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -10px 0 30px rgba(30, 58, 138, 0.2);
  overflow-y: auto;
  border-left: 3px solid var(--snitch-cyan);
}

.mobile-sidebar.active {
  right: 0;
}

.mobile-sidebar-header {
  position: relative;
  padding: 2rem 1.5rem 1rem;
  border-bottom: 2px solid var(--snitch-silver);
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(6, 182, 212, 0.05));
}

.mobile-logo-container .logo-circle {
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--snitch-silver);
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mobile-menu-close:hover {
  background: var(--snitch-blue);
  color: white;
  border-color: var(--snitch-blue);
  transform: rotate(90deg);
}

.mobile-sidebar-content {
  padding: 1.5rem;
}

.mobile-search-section {
  margin-bottom: 2rem;
}

.mobile-search-form .input-group {
  border: 2px solid var(--snitch-silver);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mobile-search-form .input-group:hover {
  border-color: var(--snitch-cyan);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.2);
}

.mobile-search-input {
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  text-align: right;
  direction: rtl;
  background: transparent;
}

.mobile-search-input:focus {
  box-shadow: none;
  outline: none;
}

.mobile-search-btn {
  background: linear-gradient(135deg, var(--snitch-blue), var(--snitch-indigo));
  border: none;
  color: white;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.mobile-search-btn:hover {
  background: linear-gradient(135deg, var(--snitch-blue-light), var(--snitch-cyan));
  color: white;
  transform: scale(1.05);
}

.mobile-cat-toggle {
  width: 100%;
  text-align: right;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--snitch-silver);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mobile-cat-toggle:focus,
.mobile-cat-toggle[aria-expanded="true"] {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(6, 182, 212, 0.1));
  border-color: var(--snitch-cyan);
  transform: translateY(-2px);
}

.mobile-cat-submenu {
  display: none;
  list-style: none;
  margin: 0.5rem 0 0 0;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  border-radius: 0.75rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid var(--snitch-silver);
}

.mobile-cat-submenu.show {
  display: block;
  animation: ohanaSlideIn 0.4s ease-out;
}

.mobile-nav-sub-link {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-light);
  border-radius: 0.5rem;
  background: transparent;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
}

.mobile-nav-sub-link:hover {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--snitch-blue);
  transform: translateX(-5px);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  margin-bottom: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--snitch-silver);
  backdrop-filter: blur(10px);
}

.mobile-nav-link:hover {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--snitch-blue);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
}

.mobile-nav-link i {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

/* ========================================
   BUTTON STYLES
======================================== */
.my-btn {
  background: linear-gradient(135deg, var(--snitch-blue), var(--snitch-indigo));
  color: #fff;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.my-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.my-btn:hover::before {
  left: 100%;
}

.my-btn:hover,
.my-btn:focus {
  background: linear-gradient(135deg, var(--snitch-blue-light), var(--snitch-cyan));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
  outline: none;
}

/* ========================================
   FOOTER STYLES
======================================== */
.site-footer {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  margin-top: auto;
  border-top: 3px solid var(--snitch-cyan);
}

.footer-main {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
  backdrop-filter: blur(10px);
}

.footer-section {
  text-align: right;
  direction: rtl;
  animation: ohanaSlideIn 0.6s ease-out;
}

.footer-title {
  color: var(--text-dark);
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--snitch-blue), var(--snitch-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-title i {
  font-size: 1.4rem;
  color: var(--snitch-cyan);
  animation: ohanaFloat 3s ease-in-out infinite;
}

.footer-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

.footer-links {
  margin: 0;
  padding: 0;
}

.footer-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.footer-link:hover {
  color: var(--snitch-blue);
  text-decoration: none;
  transform: translateX(-5px);
}

.footer-link i {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-link:hover i {
  opacity: 1;
  color: var(--snitch-cyan);
}

.trust-badges {
  gap: 1rem;
}

.trust-badge .badge-placeholder {
  width: 70px;
  height: 70px;
  border: 2px solid var(--snitch-silver);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.trust-badge .badge-placeholder:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
  border-color: var(--snitch-cyan);
}

.footer-bottom {
  background: rgba(255, 255, 255, 0.95);
  border-top: 2px solid var(--snitch-silver);
  backdrop-filter: blur(10px);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: right;
  direction: rtl;
}

.footer-socials {
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--snitch-silver);
  border-radius: 50%;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--snitch-blue), var(--snitch-cyan));
  color: white;
  border-color: transparent;
  transform: translateY(-3px) scale(1.1);
  animation: ohanaGlow 2s ease-in-out infinite;
}

.social-link i {
  font-size: 1.1rem;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: ohanaShimmer 1.5s infinite;
}

.container {
  position: relative;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ========================================
   MODAL ENHANCEMENTS
======================================== */
.modal.fade .modal-dialog {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal.show .modal-dialog {
  transform: none;
}

.modal-backdrop.show {
  opacity: 0.8;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
  .footer-section {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer-copyright {
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer-socials {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .mobile-sidebar {
    width: 280px;
  }

  .desktop-header .container .row {
    position: relative;
  }
}

@media (max-width: 480px) {
  .mobile-sidebar {
    width: 100%;
    right: -100%;
  }

  .mobile-sidebar.active {
    right: 0;
  }
}

/* Import auth modal styles */
@import url("auth-modal.css");


/* ========================================
   DASHBOARD SIDEBAR
======================================== */
.avatar-container {
  position: relative;
  display: inline-block;
}

.sparkle-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 16px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.sparkle-1 {
  top: 10%;
  right: 10%;
}
.sparkle-2 {
  bottom: 15%;
  left: 15%;
}
.sparkle-3 {
  top: 20%;
  left: 20%;
}

.sparkle-animate {
  opacity: 1;
  transform: scale(1) rotate(180deg);
  animation: sparkleFloat 1s ease-in-out;
}

@keyframes sparkleFloat {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(90deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(180deg);
    opacity: 0.8;
  }
}

/* Avatar Animations */
.avatar-bounce {
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.avatar-bounce:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.super-bounce {
  animation: superBounce 0.6s ease-in-out;
}

@keyframes superBounce {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.2) rotate(-10deg);
  }
  50% {
    transform: scale(1.3) rotate(10deg);
  }
  75% {
    transform: scale(1.1) rotate(-5deg);
  }
}

/* Wiggle Effect */
.wiggle-hover:hover {
  animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(3deg);
  }
}

/* Welcome Badge */
.welcome-badge {
  margin-top: 10px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--snitch-blue-light), var(--snitch-cyan));
  border-radius: 20px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  animation: pulse 2s infinite;
}

/* Section Headers with Icons */
.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--snitch-blue);
  margin-bottom: 16px;
}

.section-icon {
  font-size: 18px;
  animation: bounce 2s infinite;
}

/* Fun Navigation Links */
.fun-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.fun-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.fun-nav-link:hover::before {
  left: 100%;
}

.fun-nav-link:hover {
  background: linear-gradient(135deg, var(--snitch-blue-light), var(--snitch-cyan));
  color: white;
  transform: translateX(-5px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.nav-text {
  flex: 1;
  text-align: right;
  margin-right: 12px;
}

.fun-emoji {
  font-size: 18px;
  transition: all 0.3s ease;
}

.emoji-dance {
  animation: emojiDance 0.6s ease-in-out;
}

@keyframes emojiDance {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.2) rotate(-10deg);
  }
  50% {
    transform: scale(1.3) rotate(10deg);
  }
  75% {
    transform: scale(1.1) rotate(-5deg);
  }
}

/* Pulse Icons */
.pulse-icon {
  animation: iconPulse 3s infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Slide In Animation */
.slide-in {
  opacity: 0;
  transform: translateX(30px);
  animation: slideIn 0.6s ease-out forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Bounce In Animation */
.bounce-in {
  animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animated Card */
.animated-card {
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Sidebar Footer */
.sidebar-footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--snitch-silver);
  margin-top: 20px;
}

.fun-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.rotating-emoji {
  font-size: 16px;
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.message-text {
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    color: var(--text-light);
  }
  to {
    color: var(--snitch-blue);
  }
}

/* Tooltip Styles */
.fun-nav-link[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%) translateX(-100%);
  background: var(--snitch-blue);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  animation: tooltipFadeIn 0.3s ease-out forwards;
}

@keyframes tooltipFadeIn {
  to {
    opacity: 1;
  }
}

/* Active State Enhancements */
.fun-nav-link.active {
  background: linear-gradient(135deg, var(--snitch-blue), var(--snitch-blue-dark));
  color: white;
  transform: translateX(-8px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.fun-nav-link.active .fun-emoji {
  animation: activeEmoji 1s ease-in-out infinite alternate;
}

@keyframes activeEmoji {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
  .child-friendly-sidebar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }

@media (max-width: 768px) {
  .mobile-logo-container .logo-circle {
    background-color: #ffffff;
  }
}
  .fun-nav-link:hover {
    transform: translateX(-3px);
  }

  .sparkle {
    font-size: 14px;
  }

  .section-header {
    font-size: 13px;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}