*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand: #e07b39;
  --brand-dark: #c0622a;
  --brand-light: #fdf3ec;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --transition: 0.2s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.3px;
}

.tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

.halal-badge {
  margin-left: auto;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Hero Section ─────────────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #fdf3ec 0%, #fff8f3 50%, #fde8d8 100%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.hero-feature-icon {
  font-size: 1rem;
}

.btn-hero {
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(224, 123, 57, 0.3);
}

.btn-lg {
  font-size: 1rem;
  padding: 14px 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.hero-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero-testimonial {
  grid-column: 1 / -1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.hero-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.hero-quote {
  font-size: 0.88rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 4px;
}

.hero-quote-author {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero-testimonial {
    grid-column: auto;
  }
}

/* ── How It Works Section ─────────────────────────────────────────────────── */
.how-section {
  background: var(--white);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.how-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 40px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.how-step {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
}

.how-step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  margin-top: 4px;
}

.how-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.how-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .how-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Search Section */
.search-section {
  padding: 52px 0 40px;
}

.search-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: 0 auto;
}

.search-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.search-subtitle {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.5;
}

.ingredient-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.ingredient-input {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
  color: var(--text);
  background: var(--white);
}

.ingredient-input:focus {
  border-color: var(--brand);
}

.ingredient-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 24px;
}

.tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-light);
  color: var(--brand-dark);
  border: 1px solid #f3c5a0;
  border-radius: 99px;
  padding: 5px 12px 5px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  animation: fadeIn 0.18s ease;
}

.tag-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand);
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.tag-remove:hover {
  color: var(--brand-dark);
}

.search-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-search {
  background: var(--brand);
  color: var(--white);
  font-size: 1rem;
  padding: 13px 28px;
}

.btn-search:hover:not(:disabled) {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224, 123, 57, 0.35);
}

.btn-search:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg);
  color: var(--text);
  border-color: #d1d5db;
}

.btn-icon {
  font-size: 1.05rem;
}

/* Results Section */
.results-section {
  padding: 0 0 60px;
}

.results-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.results-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.results-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .recipe-grid {
    max-width: 1100px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .results-header {
    max-width: 1100px;
  }
}

/* Recipe Card */
.recipe-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.recipe-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.recipe-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.recipe-card-name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: auto;
}

.recipe-card-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge {
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid #f3c5a0;
}

.badge-larousse {
  background: #f0f4ff;
  color: #3a56c4;
  border-color: #beccf8;
}

.badge-view {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

/* Empty State */
.empty-state {
  padding: 80px 0;
}

.empty-inner {
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-inner h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.empty-inner p {
  color: var(--text-muted);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.22s ease;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 12px 12px 0 0;
  z-index: 10;
  transition: color var(--transition), background var(--transition);
}

.modal-close:hover {
  color: var(--text);
  background: var(--bg);
}

.modal-content {
  padding: 0 28px 32px;
}

.modal-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: block;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.modal-section-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.ingredients-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin-bottom: 28px;
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.9rem;
}

.ingredient-item img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.ingredient-item span {
  line-height: 1.3;
}

.instructions-text {
  line-height: 1.75;
  color: #374151;
  font-size: 0.97rem;
  white-space: pre-line;
}

.modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: opacity 0.15s;
}

.modal-link:hover { opacity: 0.82; }

.modal-link-yt {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

.modal-link-src {
  background: var(--brand-light);
  color: var(--brand-dark);
  border-color: #f3c5a0;
}

/* Skeleton */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .skeleton-grid {
    max-width: 1100px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.skeleton-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e5e7eb;
  animation: pulse 1.2s ease infinite;
}

.skeleton-text {
  height: 16px;
  background: #e5e7eb;
  border-radius: 4px;
  animation: pulse 1.2s ease infinite;
  margin: 14px 16px 6px;
}

.skeleton-text.short {
  width: 60%;
  margin-bottom: 16px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.2s ease;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ── Header Actions ──────────────────────────────────────────────────────── */
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.halal-badge {
  margin-left: 0;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.88rem;
}

.saved-count {
  background: var(--brand);
  color: #fff;
  border-radius: 99px;
  padding: 1px 7px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-right: 2px;
}

/* ── Save Button on Cards ────────────────────────────────────────────────── */
.save-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 4px 11px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  white-space: nowrap;
}

.save-btn:hover {
  border-color: #e07b39;
  color: #e07b39;
}

.save-btn.saved {
  background: #fdf3ec;
  border-color: #e07b39;
  color: #c0622a;
}

/* ── Saved Section ───────────────────────────────────────────────────────── */
.saved-section {
  padding: 40px 0 60px;
}

.saved-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.saved-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.saved-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cookbook {
  background: #1a1a1a;
  color: #fff;
}

.btn-cookbook:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-upgrade {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.btn-upgrade:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.35);
}

.free-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.notice-upgrade-btn {
  background: none;
  border: none;
  color: #d97706;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  text-decoration: underline;
}

.saved-recipe-grid {
  max-width: 1100px;
}

.saved-empty {
  text-align: center;
  padding: 60px 20px;
  max-width: 360px;
  margin: 0 auto;
}

.saved-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.saved-empty h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.saved-empty p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ── Remove button on saved cards ────────────────────────────────────────── */
.unsave-btn {
  background: none;
  border: 1.5px solid #fecaca;
  border-radius: 99px;
  padding: 4px 11px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: #ef4444;
  transition: all var(--transition);
}

.unsave-btn:hover {
  background: #fef2f2;
}

/* ── Premium Modal ───────────────────────────────────────────────────────── */
.modal-box-sm {
  max-width: 440px;
}

.premium-modal-content {
  padding: 32px 32px 36px;
  text-align: center;
}

.premium-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.premium-modal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.premium-modal-content > p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.premium-features {
  list-style: none;
  text-align: left;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.9;
}

.premium-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 16px;
}

.premium-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 10px;
}

/* Modal save button inside detail */
.modal-save-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

/* Nutrition Facts */
.nutrition-box {
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 24px;
  font-family: 'Arial Narrow', Arial, sans-serif;
  max-width: 360px;
}
.nutrition-title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  border-bottom: 8px solid #1a1a1a;
  padding-bottom: 4px;
  margin-bottom: 4px;
}
.nutrition-note {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #555;
  margin-top: 2px;
}
.nutrition-calories {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 4px solid #1a1a1a;
  padding: 4px 0;
}
.nutrition-cal-label {
  font-size: 1rem;
  font-weight: 700;
}
.nutrition-cal-value {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}
.nutrition-divider {
  border-top: 1px solid #aaa;
  margin: 2px 0;
}
.nutrition-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 3px 0;
  border-bottom: 1px solid #ddd;
}
.nutrition-row.nutrition-sub {
  padding-left: 16px;
  color: #444;
  font-size: 0.82rem;
}
.nutrition-disclaimer {
  font-size: 0.72rem;
  color: #777;
  margin-top: 8px;
  line-height: 1.4;
}

/* Ad Slots */
.ad-label {
  font-size: 0.68rem;
  color: #aaa;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ad-banner-wrap {
  max-width: 900px;
  margin: 0 auto 8px;
  padding: 8px 20px;
  text-align: center;
}
.ad-slot-banner {
  display: block;
  min-height: 90px;
  background: #f5f5f5;
  border: 1px dashed #ddd;
  border-radius: 6px;
}
.ad-inline-wrap {
  grid-column: 1 / -1;
  padding: 8px 0;
  text-align: center;
}
.ad-slot-inline {
  display: inline-block;
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  background: #f5f5f5;
  border: 1px dashed #ddd;
  border-radius: 6px;
}

/* Announcement Banner */
.announcement-banner {
  background: #e07b39;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 0.9rem;
  position: relative;
}
.announcement-text {
  text-align: center;
  flex: 1;
}
.announcement-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.8;
  padding: 0 4px;
  flex-shrink: 0;
}
.announcement-close:hover { opacity: 1; }

/* Newsletter Section */
.newsletter-section {
  padding: 32px 0 24px;
}
.newsletter-box {
  background: linear-gradient(135deg, #fdf3ec 0%, #fde8d8 100%);
  border: 1px solid #f3c5a0;
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.newsletter-text { flex: 1; min-width: 200px; }
.newsletter-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.newsletter-subtitle {
  font-size: 0.88rem;
  color: #6b7280;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 260px;
}
.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
}
.newsletter-input:focus { border-color: #e07b39; box-shadow: 0 0 0 3px rgba(224,123,57,0.15); }
.newsletter-btn { white-space: nowrap; }
.newsletter-success {
  font-size: 0.9rem;
  color: #1a7a3e;
  font-weight: 500;
  margin-top: 10px;
  width: 100%;
}

.newsletter-trust {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

/* Ad Units */
.ad-unit {
  margin: 28px auto;
  text-align: center;
  max-width: 760px;
  padding: 4px 16px;
  min-height: 100px;
  background: #f9fafb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #e5e7eb;
  overflow: hidden;
}
.ad-unit ins { width: 100%; }
