/* Daily Name Days — Site CSS */
:root {
  --dnd-primary: #e8734a;
  --dnd-primary-dark: #c75e37;
  --dnd-gold: #f5a623;
  --dnd-bg: #faf9f7;
  --bs-primary: #e8734a;
  --bs-primary-rgb: 232,115,74;
}

body { background: var(--dnd-bg); font-family: 'Segoe UI', system-ui, sans-serif; }

/* Bootstrap primary override */
.btn-primary { background: var(--dnd-primary); border-color: var(--dnd-primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--dnd-primary-dark); border-color: var(--dnd-primary-dark); }
.btn-outline-primary { color: var(--dnd-primary); border-color: var(--dnd-primary); }
.btn-outline-primary:hover { background: var(--dnd-primary); border-color: var(--dnd-primary); }
.text-primary { color: var(--dnd-primary) !important; }
.bg-primary   { background: var(--dnd-primary) !important; }
.border-primary { border-color: var(--dnd-primary) !important; }
.form-control:focus, .form-select:focus { border-color: var(--dnd-primary); box-shadow: 0 0 0 .2rem rgba(232,115,74,.2); }

/* Navbar */
.dnd-navbar {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: .75rem 0;
}
.dnd-navbar .navbar-brand { color: var(--dnd-primary); font-size: 1.1rem; }
.dnd-navbar .nav-link { color: #555; font-weight: 500; padding: .4rem .75rem; border-radius: .375rem; }
.dnd-navbar .nav-link:hover { color: var(--dnd-primary); background: rgba(232,115,74,.08); }
.dnd-lang-switch { font-weight: 700; font-size: .8rem; color: #888 !important; }
.dnd-lang-switch:hover { color: var(--dnd-primary) !important; }

/* Hero */
.dnd-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #fff9f6 0%, #fff 60%, #f0f7ff 100%);
}
@media(max-width:768px) { .dnd-hero { padding: 3rem 0 2.5rem; } }

/* Today card */
.dnd-today-card {
  border-radius: 1.25rem;
  background: #fff;
  position: relative;
}
.dnd-date-badge {
  background: var(--dnd-primary);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  padding: .3rem .75rem;
  border-radius: 2rem;
}
.dnd-names-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.dnd-name-chip {
  background: #fff4ef;
  color: var(--dnd-primary);
  border-radius: 2rem;
  padding: .2rem .75rem;
  font-size: .85rem;
  font-weight: 500;
}

/* Search dropdown */
.dnd-search-dropdown {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: .5rem;
  margin-top: .25rem;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  position: relative;
  z-index: 10;
}
.dnd-search-item {
  padding: .6rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  font-size: .875rem;
}
.dnd-search-item:hover { background: #fff4ef; }
.dnd-search-item:last-child { border-bottom: none; }

/* Features */
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }
.dnd-feature-card { border-radius: 1rem; transition: transform .2s, box-shadow .2s; }
.dnd-feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.1) !important; }
.dnd-feature-icon { font-size: 2rem; }

/* Premium CTA */
.dnd-premium-cta { background: linear-gradient(135deg, #fff9f3 0%, #fef3ea 100%); }
.dnd-crown { font-size: 2.5rem; color: var(--dnd-gold); }
.dnd-premium-feature { background: #fff; padding: .4rem 1rem; border-radius: 2rem; font-size: .875rem; font-weight: 500; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.dnd-premium-active { background: linear-gradient(135deg, #fff9e6, #fffbf0); border: 2px solid var(--dnd-gold) !important; border-radius: 1rem; }
.dnd-premium-banner { background: linear-gradient(135deg, var(--dnd-primary), #c75e37); }

/* Premium promo banner */
.dnd-promo-banner {
  background: linear-gradient(135deg, #e8734a 0%, #c75e37 100%);
  position: relative;
  padding: 16px 20px 14px 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 4px 12px rgba(199,94,55,.15);
}
.dnd-promo-bg-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(255,255,255,.2) 0%, transparent 60%);
  pointer-events: none;
  animation: dndShimmer 6s infinite alternate ease-in-out;
}
@keyframes dndShimmer {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 1;  transform: scale(1.1) translateX(5%); }
}
.dnd-promo-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.text-amber { color: #ffbf00 !important; }
.fw-black { font-weight: 900 !important; }
.tracking-wider { font-size: .7rem; letter-spacing: .08em; }
.dnd-promo-title { font-size: 1.05rem; line-height: 1.25; letter-spacing: -.01em; }
.dnd-promo-subtitle { font-size: .85rem; color: rgba(255,255,255,.8) !important; line-height: 1.35; }
.dnd-promo-btn { font-size: .85rem; padding: 6px 14px; border-radius: 8px; border: none; box-shadow: 0 4px 8px rgba(0,0,0,.1); transition: transform .2s ease, box-shadow .2s ease; }
.dnd-promo-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(0,0,0,.15); }
.ms-1_5 { margin-left: .35rem !important; }
.gap-1_5 { gap: .375rem !important; }
.dnd-promo-slide {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.dnd-promo-slide.active { display: block; opacity: 1; transform: translateY(0); }
.dnd-promo-dots { margin-top: 14px; position: relative; z-index: 2; }
.dnd-promo-dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,.35);
  border: none; border-radius: 3px; padding: 0; cursor: pointer;
  transition: width .25s cubic-bezier(.4,0,.2,1), background-color .25s ease;
}
.dnd-promo-dot.active { width: 16px; background: #fff; }
/* Auth */
.dnd-auth-icon { font-size: 2.5rem; color: var(--dnd-primary); }
.dnd-form .form-control, .dnd-form .form-select { border-radius: .5rem; }

/* Wish card */
.dnd-wish-card { border-radius: .75rem; cursor: default; transition: box-shadow .15s; }
.dnd-wish-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1) !important; }

/* Footer */
.dnd-footer {
  background: #1e2433;
  color: #cdd3e0;
}
.dnd-footer a { color: #adb5c9 !important; text-decoration: none; }
.dnd-footer a:hover { color: var(--dnd-primary) !important; }
.dnd-footer .text-muted { color: #adb5c9 !important; }
.dnd-footer h6 { color: #e2e6f0; }

/* Cookie consent banner */
.dnd-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1e2433;
  color: #e2e6f0;
  padding: 1rem 1.5rem;
  z-index: 9999;
  border-top: 2px solid var(--dnd-primary);
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  animation: slideUp .3s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* AdSense ad unit container */
.dnd-ad-unit {
  text-align: center;
  margin: 1.5rem auto;
  overflow: hidden;
}
.dnd-ad-unit ins { display: block; }

/* Utilities */
.font-monospace { font-family: 'Courier New', monospace; }
.mb-6 { margin-bottom: 4rem; }
