/* =========================================================
   NEW YEAR 2026/2027 VIBE — masterstiralok-msk.ru
   No garland: Holiday Card (Tree + Ded Moroz + Snegurochka) + Crystal Snow
   ========================================================= */

/* 1. Holiday schedule badge in Hero */
.ny-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(56, 189, 248, 0.16));
  border: 1px solid rgba(56, 189, 248, 0.42);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.08);
}

.ny-hero-badge-icon {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

/* 2. Winter frost badge on brand icon */
.brand-icon {
  position: relative;
}

.brand-icon::after {
  content: "❄";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ffffff;
  color: #0284c7;
  font-size: 11px;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(15, 37, 68, 0.22);
  pointer-events: none;
}

/* 3. Holiday Greeting Banner with Christmas Tree, Ded Moroz & Snegurochka */
.ny-holiday-section {
  padding: 18px 0 8px;
  background: linear-gradient(180deg, #f4f8fe 0%, #ffffff 100%);
}

.ny-holiday-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #eef6ff 0%, #ffffff 55%, #fff8f1 100%);
  border: 1.5px solid #cfe3fb;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: 0 14px 36px rgba(15, 37, 68, 0.08);
  position: relative;
  overflow: hidden;
}

.ny-holiday-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 37, 68, 0.12);
  background: #dbeafe;
  aspect-ratio: 16 / 9;
}

.ny-holiday-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ny-holiday-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.ny-holiday-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: #fff4ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ny-holiday-title {
  margin: 0;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
}

.ny-holiday-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.52;
  color: var(--text);
}

.ny-holiday-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.ny-holiday-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-2);
}

.ny-holiday-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* 4. Fullscreen crystal snow canvas */
#nySnowCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 45;
}

@media (max-width: 960px) {
  .ny-holiday-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
}

@media (max-width: 540px) {
  .ny-holiday-section {
    padding: 10px 0 4px;
  }
  .ny-hero-badge {
    font-size: 12px;
    padding: 5px 11px;
  }
  .ny-holiday-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .brand-icon::after {
    width: 14px;
    height: 14px;
    font-size: 9px;
    line-height: 14px;
    top: -4px;
    right: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #nySnowCanvas {
    display: none !important;
  }
}
