/* Custom Fonts and Theme Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* Modern sleek Dark Theme Color Palette */
  --bg-main: #0B0F19;
  --bg-surface: rgba(17, 24, 39, 0.7);
  --bg-surface-hover: rgba(31, 41, 55, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  
  --color-primary: #6366F1; /* Indigo */
  --color-primary-glow: rgba(99, 102, 241, 0.15);
  --color-secondary: #EC4899; /* Pink */
  --color-secondary-glow: rgba(236, 72, 153, 0.15);
  --color-accent: #14B8A6; /* Teal */
  --color-accent-glow: rgba(20, 184, 166, 0.15);
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dark: #4B5563;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(20, 184, 166, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Glassmorphism Panel styles */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

.glass-panel-interactive:hover {
  transform: translateY(-2px);
  background: var(--bg-surface-hover);
}

/* Glowing text and items */
.glow-text-indigo {
  text-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.glow-text-teal {
  text-shadow: 0 0 15px rgba(20, 184, 166, 0.4);
}

.glow-indigo:hover {
  box-shadow: 0 0 20px 2px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

.glow-teal:hover {
  box-shadow: 0 0 20px 2px rgba(20, 184, 166, 0.2);
  border-color: rgba(20, 184, 166, 0.4);
}

/* Button & Active States Transition */
.btn-transition {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation utilities */
@keyframes spin-once {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(180deg); }
}

.animate-spin-once {
  animation: spin-once 0.4s ease-out;
}

/* Scrollbar customizations */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0B0F19;
}

::-webkit-scrollbar-thumb {
  background: #1F2937;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

/* Google AdSense Premium Placeholders */
.adsense-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(30, 41, 59, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  color: var(--text-muted);
  margin: 1.5rem auto;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.adsense-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: ad-shimmer 6s infinite linear;
}

@keyframes ad-shimmer {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.adsense-label {
  background: rgba(15, 23, 42, 0.6);
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.65rem;
  border: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
}

/* Desktop Ad Sizes (Prevents CLS) */
.ad-desktop-header {
  width: 728px;
  height: 90px;
}

.ad-desktop-sidebar {
  width: 300px;
  height: 600px;
}

.ad-desktop-middle {
  width: 336px;
  height: 280px;
}

.ad-desktop-footer {
  width: 728px;
  height: 90px;
}

/* Mobile Ad Sizes */
.ad-mobile-header {
  width: 320px;
  height: 50px;
}

.ad-mobile-middle {
  width: 300px;
  height: 250px;
}

.ad-mobile-bottom {
  width: 320px;
  height: 100px;
}

/* Custom Tooltip Animation */
.copy-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 50;
}

.copy-tooltip.show {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
