/* Age and Cookies Popups Styles - Glassmorphism */
.age-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(232, 244, 253, 0.9) 100%);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.age-popup-container {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 48px;
  text-align: center;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 100px rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: floatGlow 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.age-popup-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s linear infinite;
  pointer-events: none;
}

@keyframes gradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes floatGlow {
  0%, 100% {
    transform: translateY(0px) scale(1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 100px rgba(52, 152, 219, 0.1);
  }
  25% {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15), 0 0 120px rgba(52, 152, 219, 0.15);
  }
  50% {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 110px rgba(52, 152, 219, 0.12);
  }
  75% {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18), 0 0 130px rgba(52, 152, 219, 0.18);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.age-popup-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #2C3E50;
  margin: 0 0 24px 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.age-popup-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #5A6C7D;
  margin: 0 0 40px 0;
  line-height: 1.6;
}

.age-popup-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.age-btn {
  padding: 18px 36px;
  border: none;
  border-radius: 50px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.age-btn-yes {
  background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  color: #FFFFFF;
}

.age-btn-yes:hover {
  background: linear-gradient(135deg, #2980B9 0%, #1F618D 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(52, 152, 219, 0.4);
}

.age-btn-no {
  background: linear-gradient(135deg, #95A5A6 0%, #7F8C8D 100%);
  color: #FFFFFF;
}

.age-btn-no:hover {
  background: linear-gradient(135deg, #7F8C8D 0%, #566061 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.age-popup-logos {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.logo-row {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
  align-items: flex-start;
  gap: 80px;
}

.logo-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-img {
  width: 120px;
  object-fit: contain;
}

.age-icon {
  display: flex;
  justify-content: center;
}

.age-plus-icon {
  width: 100px;
}

/* Cookies Popup Styles */
.cookies-info {
  margin: 25px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.cookies-category {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.cookies-category:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cookies-category h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #2C3E50;
  margin: 0 0 12px 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.cookies-category p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #5A6C7D;
  margin: 0;
  line-height: 1.5;
}

.cookies-links {
  margin: 20px 0;
  text-align: center;
}

.cookies-link {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #3498DB;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.cookies-link:hover {
  color: #2980B9;
  background: rgba(52, 152, 219, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 480px) {
  .age-popup-container {
    padding: 32px 24px;
    margin: 20px;
  }

  .age-popup-title {
    font-size: 28px;
  }

  .age-popup-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .age-btn {
    width: 100%;
    padding: 16px 32px;
  }

  .logo-row {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .cookies-info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cookies-category {
    padding: 12px;
  }

  .cookies-category h3 {
    font-size: 13px;
  }

  .cookies-category p {
    font-size: 11px;
  }
}
