/* Custom properties and base styles not handled by Tailwind */
:root {
  --primary-color: #2563eb; /* blue-600 */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* AdSense Reserve Spaces to prevent CLS */
.ad-slot-header {
  min-height: 90px;
  background-color: #f3f4f6; /* Gray-100 */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.875rem;
  border: 1px dashed #d1d5db;
}

.ad-slot-content {
  min-height: 250px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 1.5rem 0;
  border: 1px dashed #d1d5db;
}

.ad-slot-sidebar {
  min-height: 600px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.875rem;
  border: 1px dashed #d1d5db;
}

/* Cookie Consent Banner */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background-color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  z-index: 9999;
  display: none; /* Controlled by JS */
  padding: 1.25rem;
  animation: slide-up 0.4s ease-out;
}

@keyframes slide-up {
  from { transform: translate(-50%, 100%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

#cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

#cookie-banner button {
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

#cookie-banner button:hover {
  background-color: #1d4ed8;
}

#cookie-banner .secondary-link {
  color: #2563eb;
  font-size: 0.875rem;
  font-weight: 500;
  margin-left: 1rem;
  text-decoration: none;
}

#cookie-banner .secondary-link:hover {
  text-decoration: underline;
}

/* Share Button & Toast */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  background-color: #f9fafb;
  border-color: #d1d5db;
}

.share-btn:active {
  transform: translateY(0);
  scale: 0.95;
}

.share-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #ef4444; /* red-500 */
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: #1f2937; /* gray-800 */
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  z-index: 10000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  opacity: 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}


