/* ============================================================
   ChatFurry Page Banner — Full-width 321chat.com style
   ============================================================ */

.cf-page-banner {
  width: 100%;
  margin-top: 84px; /* clears fixed navbar */
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.cf-banner-link {
  display: block;
  width: 100%;
  text-decoration: none;
  position: relative;
}

/* The main banner image — fills full width */
.cf-banner-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
  max-height: 620px;
  object-fit: cover;
  object-position: center top;
}

/* Per-page tint overlay for uniqueness */
.cf-banner-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.18;
  background: var(--banner-tint, transparent);
  transition: opacity 0.3s;
}

/* Page-specific badge — top right corner */
.cf-banner-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--banner-badge-bg, rgba(255,255,255,0.95));
  color: var(--banner-badge-color, #E87C3E);
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.25);
  white-space: nowrap;
  line-height: 1.4;
  border: 2px solid var(--banner-badge-color, #E87C3E);
  z-index: 3;
}

/* Bottom bar with page-specific CTA */
.cf-banner-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--banner-bar-bg, rgba(20,8,2,0.75));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 24px;
  line-height: 1.3;
  z-index: 3;
}

.cf-banner-bar-text {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
}

.cf-banner-bar-text span {
  color: var(--banner-accent, #F5A96B);
}

.cf-banner-bar-btn {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--banner-btn-text, #fff);
  background: var(--banner-btn, #E87C3E);
  padding: 7px 20px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.cf-banner-link:hover .cf-banner-bar-btn {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

/* Remove hero top padding since banner handles nav spacing */
.cf-page-banner ~ main .page-hero,
main > .cf-page-banner ~ .page-hero,
.page-hero { padding-top: 40px !important; }

/* Mobile */
@media (max-width: 640px) {
  .cf-page-banner { margin-top: 72px; }
  .cf-banner-img { min-height: 260px; max-height: 420px; object-position: 35% top; }
  .cf-banner-badge { font-size: 0.65rem; padding: 4px 11px; top: 10px; right: 10px; }
  .cf-banner-bar { padding: 8px 14px; gap: 12px; }
  .cf-banner-bar-text { font-size: 0.8rem; }
  .cf-banner-bar-btn { font-size: 0.75rem; padding: 6px 14px; }
}

@media (max-width: 420px) {
  .cf-banner-bar-text { display: none; }
  .cf-banner-bar { justify-content: center; }
  .cf-banner-bar-btn { font-size: 0.8rem; padding: 8px 22px; }
}

/* ============================================================
   Index page — 321chat-style welcome section
   ============================================================ */

.cf-welcome-section {
  background: #FFFBF5;
  padding: 0 0 8px;
  border-bottom: 2px solid rgba(232,124,62,0.12);
}

.cf-welcome-inner {
  padding: 36px 24px 28px;
  text-align: center;
}

.cf-welcome-heading {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  color: #3D2B1A;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cf-welcome-heading span {
  color: #E87C3E;
}

.cf-welcome-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 0.98rem;
  color: #7A4B2A;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 28px;
}

.cf-den-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.cf-den-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.cf-den-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(0,0,0,0.18);
}

.cf-den-btn--primary {
  background: #E87C3E;
  color: #fff;
}

.cf-den-btn--dark {
  background: #2A1A0E;
  color: #fff;
}

.cf-den-btn--red {
  background: #C0392B;
  color: #fff;
}

.cf-pick-heading {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  color: #3D2B1A;
  text-align: center;
  padding: 20px 24px 24px;
  background: #F5EAD8;
  border-top: 2px solid rgba(232,124,62,0.15);
  margin: 0;
}

@media (max-width: 400px) {
  .cf-den-btns { grid-template-columns: 1fr; max-width: 300px; }
  .cf-welcome-inner { padding: 24px 16px 20px; }
}
