/* ==========================================================================
   NCR Property Deals - Year-End Real Estate Fest & NRI Showcase Theme
   Institutional Luxury, Champagne Gold & Deep Royal Navy (Winter Edition)
   ========================================================================== */

:root {
  --ye-navy-dark: #070e1e;
  --ye-navy-mid: #0c1a38;
  --ye-navy-light: #132752;
  --ye-gold-primary: #d4af37;
  --ye-gold-light: #fef3c7;
  --ye-gold-dark: #b89628;
  --ye-border-gold: rgba(212, 175, 55, 0.4);
}

/* 1. Auspicious Year-End Top Announcement Ribbon */
.year-end-ribbon {
  background: linear-gradient(90deg, #070e1e 0%, #0c1a38 35%, #132752 70%, #070e1e 100%);
  color: #fef3c7;
  border-bottom: 2px solid var(--ye-gold-primary);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  z-index: 1002;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.year-end-ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), transparent);
  transform: translate3d(-100%, 0, 0);
  animation: yeShimmerRibbon 5s infinite ease-in-out;
  will-change: transform;
}

@keyframes yeShimmerRibbon {
  0% { transform: translate3d(-100%, 0, 0); }
  50%, 100% { transform: translate3d(100%, 0, 0); }
}

.year-end-ribbon-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
  z-index: 2;
}

.year-end-badge {
  background: var(--ye-gold-primary);
  color: #070e1e;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.year-end-countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(7, 14, 30, 0.85);
  border: 1px solid var(--ye-gold-primary);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.74rem;
  color: #fef3c7;
  letter-spacing: 0.4px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.year-end-countdown-num {
  color: #070e1e;
  background: var(--ye-gold-primary);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 800;
  font-size: 0.76rem;
}

.year-end-ribbon-btn {
  background: var(--ye-gold-primary);
  color: #070e1e;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  border: 1px solid #fef3c7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.year-end-ribbon-btn:hover {
  background: #ffffff;
  color: #070e1e;
  transform: scale(1.04);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.8);
}

/* 2. NRI & HNW Winter Real Estate Showcase Banner */
.nri-showcase-container {
  margin-top: 25px;
  margin-bottom: 25px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid var(--ye-gold-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(212, 175, 55, 0.2);
  background: #070e1e;
}

.nri-banner-bg {
  position: relative;
  min-height: 440px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.nri-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(7, 14, 30, 0.90) 0%, rgba(12, 26, 56, 0.78) 50%, rgba(15, 23, 42, 0.86) 100%);
  backdrop-filter: blur(2px);
}

.nri-banner-content {
  position: relative;
  z-index: 5;
  padding: 40px 32px;
  color: #ffffff;
  max-width: 840px;
}

.nri-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--ye-gold-primary);
  color: #fef3c7;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.nri-banner-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

.nri-banner-heading span {
  color: var(--ye-gold-primary);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.nri-banner-subtext {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 760px;
}

.nri-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.nri-perk-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}
.nri-perk-card:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--ye-gold-primary);
  transform: translateY(-2px);
}

.nri-perk-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.nri-perk-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.nri-perk-desc {
  font-size: 0.74rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.3;
}

.nri-btn-gold {
  background: linear-gradient(135deg, #facc15 0%, #d4af37 50%, #b89628 100%);
  color: #070e1e;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #fef3c7;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.nri-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.7);
  color: #000000;
}

.nri-btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fef3c7;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ye-border-gold);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: all 0.25s ease;
}
.nri-btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: var(--ye-gold-primary);
}

/* 3. Floating Bottom-Left Year-End Investor Desk */
.investor-floating-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.investor-widget-pill {
  background: linear-gradient(135deg, #070e1e 0%, #0c1a38 100%);
  border: 1.5px solid var(--ye-gold-primary);
  color: #ffffff;
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.3);
  transition: all 0.25s ease;
  text-decoration: none;
}
.investor-widget-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.6);
  color: #fef3c7;
}

/* 4. Property Card Button (Pre-Revision Price Lock) */
.btn-lock-price {
  background: rgba(212, 175, 55, 0.1) !important;
  border: 1.5px solid var(--ye-gold-primary) !important;
  color: var(--ye-gold-primary) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  text-decoration: none !important;
}
.btn-lock-price:hover {
  background: linear-gradient(135deg, #b89628 0%, #d4af37 100%) !important;
  color: #070e1e !important;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
}

/* 5. Luxury Investor Welcome Modal */
.investor-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 10, 22, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.investor-modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.investor-modal-card {
  width: 100%;
  max-width: 520px;
  background: radial-gradient(circle at 50% 0%, #0c1a38 0%, #070e1e 100%);
  border: 2px solid var(--ye-gold-primary);
  border-radius: 22px;
  padding: 32px 28px;
  color: #ffffff;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.35);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.investor-modal-backdrop.show .investor-modal-card {
  transform: scale(1);
}

.investor-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--ye-border-gold);
  color: #fef3c7;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s;
  z-index: 10;
}
.investor-modal-close:hover {
  background: var(--ye-gold-primary);
  color: #070e1e;
  transform: rotate(90deg);
}

.investor-modal-badge {
  background: var(--ye-gold-primary);
  color: #070e1e;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid #ffffff;
  display: inline-block;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .nri-banner-content {
    padding: 24px 18px;
  }
  .nri-banner-heading {
    font-size: 1.6rem;
  }
  .nri-perks-grid {
    grid-template-columns: 1fr;
  }
  .investor-floating-widget {
    bottom: 80px;
    left: 14px;
  }
}

/* ==========================================================================
   Visitor Counter & Traffic Insights Badges
   ========================================================================== */
.site-visitor-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.visitor-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 26, 56, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.visitor-counter-pill:hover {
  border-color: var(--ye-gold-primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.15);
}

.visitor-counter-pill strong {
  color: #fef08a;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.visitor-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Portal & Dashboard Insights Box */
.portal-insights-box {
  background: rgba(12, 26, 56, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 18px;
  text-align: left;
}

.portal-insights-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ye-gold-primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.portal-insight-stat {
  background: rgba(7, 14, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.portal-insight-stat .stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.portal-insight-stat .stat-label {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 3px;
}

/* ==========================================================================
   Ultra-Executive Winter Ambiance & Institutional Luxury Trust Badges
   (National & International NRI High-Net-Worth Conclave)
   ========================================================================== */
#winter-snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 998;
  opacity: 0.75;
  transition: opacity 0.4s ease;
}

/* Institutional Trust Badges (National & International NRI Focus) */
.badge-trust-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-trust-nri {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-trust-yield {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(212, 175, 55, 0.12);
  color: #b45309;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.winter-snow-toggle {
  position: fixed;
  bottom: 22px;
  right: 88px;
  background: rgba(7, 14, 30, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #fef3c7;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  z-index: 1001;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.winter-snow-toggle:hover {
  background: rgba(12, 26, 56, 0.95);
  border-color: var(--ye-gold-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.2);
}

.winter-snow-toggle.snow-off {
  opacity: 0.6;
  border-color: rgba(255, 255, 255, 0.2);
  color: #94a3b8;
}

/* Razor-sharp champagne gold border on top announcement ribbon */
.year-end-ribbon {
  border-bottom: 1.5px solid var(--ye-gold-primary);
}

/* Subtle luxury card hover */
.nri-perk-card:hover {
  border-color: var(--ye-gold-primary);
  box-shadow: 0 10px 25px rgba(7, 14, 30, 0.45), 0 0 15px rgba(212, 175, 55, 0.15);
}

@media (max-width: 768px) {
  .winter-snow-toggle {
    bottom: 82px;
    right: 14px;
    font-size: 0.68rem;
    padding: 3px 8px;
  }
}
}


