/* Critical CSS for Above-the-Fold Content */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ea580c;
  text-decoration: none;
}

.btn-primary {
  background: #ea580c;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.hero {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  padding: 2rem 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  color: #ea580c;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* Font Loading Optimization */
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;500;600;700&display=swap');

/* Enhanced Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Performance Optimized Font Loading */
body {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff7ed;
  /* Prevent font flash */
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Optimize rendering */
  text-rendering: optimizeLegibility;
}

/* Critical Loading Styles */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Lazy Loading Image Styles */
.lazy-image {
  background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: loading-shimmer 1.4s ease infinite;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

@keyframes loading-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: -100% 50%;
  }
}

.lazy-image.loaded {
  animation: none;
  background: none;
}

.lazy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-image img.loaded {
  opacity: 1;
}

/* RTL Support Enhanced */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

/* Enhanced Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Performance optimization */
  will-change: transform;
  backface-visibility: hidden;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ea580c;
  text-decoration: none;
  /* Performance optimization */
  will-change: color;
  transition: color 0.2s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  /* Performance optimization */
  will-change: color;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ea580c;
}

.language-selector {
  background: #f3f4f6;
  border: none;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.language-selector:hover {
  background: #e5e7eb;
}

/* Main Content */
.main-content {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  padding: 4rem 2rem;
  text-align: center;
  /* Performance optimization */
  will-change: padding;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  color: #ea580c;
  margin-bottom: 1rem;
  font-weight: 700;
  /* Performance optimization */
  will-change: font-size, margin-bottom;
}

.hero p {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  background: #ea580c;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  /* Performance optimization */
  will-change: background-color;
}

.btn-primary:hover {
  background: #c2410c;
}

.btn-primary:active {
  transform: translateY(1px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Recipe Grid */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  /* Performance optimization */
  contain: layout style;
}

.recipe-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Performance optimization */
  will-change: transform;
  contain: layout style;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.recipe-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  /* Performance optimization */
  will-change: height;
}

.recipe-card-content {
  padding: 1.5rem;
}

.recipe-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.recipe-card p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.recipe-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.cuisine-tag {
  background: #fef3c7;
  color: #92400e;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.difficulty-tag {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.difficulty-easy {
  background: #dcfce7;
  color: #166534;
}

.difficulty-medium {
  background: #fef3c7;
  color: #92400e;
}

.difficulty-hard {
  background: #fee2e2;
  color: #991b1b;
}

/* Filters */
.filters {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

.filter-group select {
  width: 200px;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.filter-group select:focus {
  outline: none;
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* Recipe Detail Page */
.recipe-detail {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 2rem 0;
}

.recipe-detail img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.recipe-detail-content {
  padding: 2rem;
}

.recipe-detail h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.recipe-description {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.recipe-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-item {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.stat-item strong {
  display: block;
  color: #ea580c;
  font-size: 1.2rem;
}

.ingredients-section, .instructions-section, .tips-section {
  margin-bottom: 2rem;
}

.ingredients-section h3, .instructions-section h3, .tips-section h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.ingredients-list {
  list-style: none;
}

.ingredients-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.instructions-list {
  list-style: none;
  counter-reset: step-counter;
}

.instructions-list li {
  counter-increment: step-counter;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  padding-left: 3rem;
}

.instructions-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 1rem;
  background: #ea580c;
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* About Page */
.about-content {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 2rem 0;
}

.about-content h1 {
  color: #ea580c;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.about-content h2 {
  color: #1f2937;
  margin: 2rem 0 1rem 0;
  font-size: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #374151;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.category-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-3px);
}

.category-card h3 {
  color: #ea580c;
  margin-bottom: 1rem;
}

/* Structured Data Display */
.structured-data {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.structured-data h3 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.structured-data-content {
  background: white;
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  font-family: 'Courier New', monospace;
  overflow-x: auto;
}

.structured-data-content code {
  color: #059669;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Advertisement Units */
.ad-unit {
  margin: 2rem 0;
  text-align: center;
  /* Performance optimization */
  contain: layout style;
}

.ad-banner {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.ad-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: ad-shimmer 2s infinite;
}

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

/* Responsive Ad Units */
.ad-banner-small {
  width: 320px;
  height: 50px;
  margin: 0 auto;
}

.ad-banner-medium {
  width: 728px;
  height: 90px;
  margin: 0 auto;
}

.ad-banner-large {
  width: 970px;
  height: 250px;
  margin: 0 auto;
}

/* Mobile Ad Units */
.mobile-ad {
  display: none;
  width: 100%;
  max-width: 320px;
  height: 50px;
  margin: 1rem auto;
}

.tablet-ad {
  display: none;
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 1rem auto;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  .container {
    padding: 1rem;
  }
  
  .recipe-stats {
    grid-template-columns: 1fr;
  }
  
  .filter-group select {
    width: 100%;
  }
  
  .ad-banner-large,
  .ad-banner-medium {
    display: none;
  }
  
  .mobile-ad {
    display: block;
  }
  
  .recipe-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .recipe-card img {
    height: 150px;
  }
  
  .about-content {
    padding: 1.5rem;
  }
  
  .about-content h1 {
    font-size: 2rem;
  }
  
  .recipe-detail-content {
    padding: 1rem;
  }
  
  .recipe-detail h1 {
    font-size: 1.8rem;
  }
  
  .structured-data {
    padding: 1rem;
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .category-card {
    padding: 1.5rem;
  }
  
  .recipe-card-content {
    padding: 1rem;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .tablet-ad {
    display: block;
  }
  
  .ad-banner-large {
    display: none;
  }
  
  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .recipe-card img,
  .recipe-detail img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .header,
  .ad-unit,
  .filters {
    display: none;
  }
  
  .main-content {
    margin-top: 0;
  }
  
  .recipe-card {
    break-inside: avoid;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .loading {
    transition: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .ad-banner {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
  }
  
  .structured-data {
    background: #1e293b;
    border-color: #334155;
  }
  
  .structured-data h3 {
    color: #f1f5f9;
  }
  
  .structured-data-content {
    background: #0f172a;
    border-color: #334155;
  }
}

/* Performance Optimizations */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

.smooth-scroll {
  scroll-behavior: smooth;
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles */
button:focus,
input:focus,
select:focus,
a:focus {
  outline: 2px solid #ea580c;
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #ea580c;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .recipe-card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto 2rem;
  gap: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  text-align: right;
}

.footer-section h3,
.footer-section h4 {
  color: #ea580c;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ea580c;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Utility Classes */
.hidden {
  display: none;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Critical CSS for Performance */
.preload {
  font-display: swap;
  font-feature-settings: "liga" 1, "kern" 1;
}

/* Intersection Observer Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Container Queries Support */
@container (min-width: 320px) {
  .recipe-card {
    padding: 1rem;
  }
}

@container (min-width: 768px) {
  .recipe-card {
    padding: 1.5rem;
  }
}

/* ============================================================================
   GOOGLE ADSENSE STYLES - MOBILE FIRST INDEXING OPTIMIZED
   ============================================================================ */

/* AdSense Container Styles */
.ad-container {
  width: 100%;
  text-align: center;
  margin: 2rem 0;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  position: relative;
}

/* AdSense Instance Styles */
.adsbygoogle {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: none;
  margin: 0 auto;
  position: relative;
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
}

/* Placeholder Styles for Development */
.ad-placeholder {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin: 0 auto;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* Header Banner Ads */
.ad-banner {
  background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
}

/* Leaderboard Responsive Banner */
.ad-leaderboard {
  min-height: 90px;
  max-height: 250px;
}

/* Rectangle Ads */
.ad-rectangle {
  min-height: 250px;
  max-height: 600px;
  width: 100%;
  max-width: 336px;
}

/* Mobile Responsive Banner */
.ad-mobile {
  min-height: 50px;
  max-height: 200px;
  width: 100%;
  max-width: 320px;
}

/* Sidebar Ads */
.ad-sidebar {
  width: 160px;
  height: 600px;
  max-height: calc(100vh - 200px);
  position: relative;
}

/* Bottom Ads */
.ad-banner-bottom,
.ad-footer {
  min-height: 90px;
  background: #f9fafb;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

/* ============================================================================
   MOBILE FIRST RESPONSIVE STYLES
   ============================================================================ */

/* Mobile Styles (Default) */
@media (max-width: 768px) {
  .ad-container {
    margin: 1rem 0;
    padding: 0 0.5rem;
  }
  
  .ad-sidebar {
    display: none !important;
  }
  
  .ad-banner {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .ad-placeholder {
    min-height: 60px;
    max-width: 300px;
    font-size: 12px;
    padding: 10px;
  }
  
  .ad-mobile {
    display: block;
    max-width: 300px;
    min-height: 50px;
  }
  
  /* Hide desktop ads on mobile */
  .desktop-ad {
    display: none !important;
  }
  
  /* Show mobile-specific ads */
  .mobile-ad {
    display: block !important;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .ad-container {
    max-width: 750px;
  }
  
  .ad-sidebar {
    width: 120px;
    height: 500px;
  }
  
  .ad-placeholder {
    max-width: 600px;
    min-height: 80px;
  }
  
  .ad-banner {
    padding: 1.5rem;
  }
}

/* Desktop Styles */
@media (min-width: 1025px) {
  .ad-container {
    max-width: 1200px;
  }
  
  .ad-sidebar {
    width: 160px;
    height: 600px;
    display: block !important;
  }
  
  .ad-placeholder {
    max-width: 728px;
    min-height: 90px;
    font-size: 14px;
  }
  
  /* Show desktop ads */
  .desktop-ad {
    display: block !important;
  }
  
  /* Hide mobile ads on desktop */
  .mobile-ad {
    display: none !important;
  }
}

/* ============================================================================
   ADVANCED AD SIZING & OPTIMIZATION
   ============================================================================ */

/* AdSense Responsive Sizing */
[data-ad-format="auto"] {
  width: 100%;
  min-height: 100px;
}

[data-ad-format="rectangle"] {
  width: 100%;
  max-width: 336px;
  min-height: 250px;
}

/* Full Width Responsive */
[data-full-width-responsive="true"] {
  width: 100% !important;
  max-width: none !important;
}

/* AdSense Layout Types */
[data-ad-layout="in-article"] {
  margin: 2rem auto;
  clear: both;
}

/* AdSense Testing */
[data-ad-test="on"] {
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
}

/* ============================================================================
   PERFORMANCE OPTIMIZATION
   ============================================================================ */

/* Lazy Loading Support */
.adsbygoogle:not(.loaded) {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.adsbygoogle.loaded {
  opacity: 1;
}

/* Intersection Observer for Ad Loading */
.ad-container:not(.visible) {
  transform: translateY(20px);
  opacity: 0.7;
}

.ad-container.visible {
  transform: translateY(0);
  opacity: 1;
}

/* AdSense Auto Ads Page Level */
.adsbygoogle.page-level-auto {
  margin: 1rem auto;
  display: block;
}

/* ============================================================================
   MOBILE-FIRST INDEXING OPTIMIZATION
   ============================================================================ */

/* Critical Ad Styles for Mobile First */
@media only screen {
  .ad-placeholder {
    background: #f8f9fa;
    border: 2px dashed #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
  }
}

/* Print Styles - Hide Ads */
@media print {
  .ad-container,
  .adsbygoogle,
  .ad-placeholder {
    display: none !important;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .ad-placeholder {
    border-width: 1px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .ad-placeholder {
    background: #1a1a1a;
    border-color: #333;
    color: #ccc;
  }
  
  .ad-banner {
    background: linear-gradient(45deg, #2d3748, #4a5568);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .adsbygoogle,
  .ad-placeholder {
    transition: none;
  }
  
  .ad-container:not(.visible) {
    transform: none;
  }
}