/* 2026-11-12: tema completa de Craciun (varianta A, Iarna albastra) peste "Alege-ti drumul".
   Se scoate stergand craciun.css si craciun.js din pagini. Fara backdrop-filter. */
:root { --zap: #f1f8ff; }
html[data-craciun="b"] { --blue: #d62839; --blue2: #ffd34d; --c-acc: #ffd34d; }
html[data-craciun="b"] .btn.prim { background: #d62839; box-shadow: 0 14px 40px rgba(214, 40, 57, .45); }
html[data-craciun="b"] .btn.prim:hover { background: #e23446; }
html[data-craciun="b"] .hero .eticheta { color: #ffd34d; }
html[data-craciun="c"] { --blue2: #ffc46b; }
html[data-craciun="c"] .btn.prim { background: #e0892b; box-shadow: 0 14px 40px rgba(224, 137, 43, .45); }
html[data-craciun="c"] .hero .eticheta { color: #ffd27a; }

/* ---------- ninsoarea ---------- */
#zapada { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 15; pointer-events: none; }

/* ---------- instalatia cu becuri, sub meniu ---------- */
.hero.acasa { padding-top: 168px; }
.instalatie { position: absolute; left: 0; right: 0; top: 84px; height: 60px; z-index: 19; pointer-events: none; overflow: visible; }
.instalatie svg { position: absolute; left: 0; top: 0; overflow: visible; }
.instalatie .bec { animation: sclipeste 1.8s ease-in-out infinite; }
.instalatie .bec:nth-child(3n) { animation-delay: .6s; }
.instalatie .bec:nth-child(3n+1) { animation-delay: 1.2s; }
.instalatie .bec:nth-child(4n) { animation-duration: 2.6s; }
@keyframes sclipeste { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- caciula pe logo ---------- */
.marca { position: relative; }
.caciula { position: absolute; left: 2px; top: -14px; width: 40px; height: 32px; pointer-events: none; transform: rotate(-10deg); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }

/* ---------- brazii din hero ---------- */
.hero.acasa { overflow: hidden; }
.brazi { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; z-index: 1; pointer-events: none; }
.brazi svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; display: block; }
.peisaj { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.peisaj svg { width: 100%; height: 100%; display: block; }
.hero.acasa .continut { z-index: 3; }
.drum { background-color: #0a0d14; }
html[data-craciun="c"] .drum { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, rgba(10, 14, 21, .88)), rgba(10, 13, 20, .92) 62%); }

/* ---------- zapada asezata pe carduri, bara, butoane, banner ---------- */
.drum::before, .bara::before, .final::before, .nota::before, .grila > div::before, .btn::before, footer::before {
  content: ""; position: absolute; left: -3px; right: -3px; top: -7px; height: 20px; z-index: 4; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='20'%3E%3Cpath fill='%23f1f8ff' d='M0 0H240V6C232 6 230 9 226 14C223 18 219 18 217 14C214 9 209 6 197 6C185 6 181 8 177 11C173 14 169 14 166 11C162 8 158 6 144 6C130 6 124 7 119 12C116 16 110 16 108 12C104 7 98 6 86 6C74 6 66 8 58 9C50 10 40 9 30 7C20 6 10 6 0 6Z'/%3E%3C/svg%3E") repeat-x left top;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .35));
}
.drum::before { top: -3px; left: 0; right: 0; }
.btn { position: relative; }
.btn::before { top: -6px; height: 12px; background-size: 140px 12px; }
.grila > div, .nota { position: relative; }
.final { overflow: visible; }
.final .poza, .final::after { border-radius: 6px; }
footer { position: relative; }

/* ---------- numaratoarea ---------- */
.numaratoare { order: 7; display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: var(--txt2); }
.numaratoare b { font: 400 24px/1 "Bebas Neue", Impact, sans-serif; color: #fff; letter-spacing: 1px; }
.numaratoare small { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-left: 2px; }
.numaratoare span { font-weight: 700; color: var(--blue2); margin-right: 4px; }

/* ---------- bradul mare din banner + cadouri (b) ---------- */
.final > div.brad-banner { position: absolute; right: 40px; bottom: -6px; width: 260px; height: 360px; z-index: 3; pointer-events: none; }
.brad-banner svg { width: 100%; height: 100%; display: block; overflow: visible; }
.brad-banner .glob { animation: sclipeste 2.2s ease-in-out infinite; }
.brad-banner .glob:nth-of-type(2n) { animation-delay: .9s; }
.bara > div.ghirlanda { padding: 0; border: 0; position: absolute; left: 0; right: 0; top: -4px; height: 34px; z-index: 5; pointer-events: none; }
.ghirlanda svg { width: 100%; height: 100%; display: block; overflow: visible; }

.hero.mic .brazi { height: 200px; }
@media (max-width: 860px) {
  .hero.mic .brazi { opacity: .45; }
  .instalatie { top: 70px; }
  .final > div.brad-banner { width: 150px; height: 210px; right: 10px; opacity: .6; }
}
@media (prefers-reduced-motion: reduce) {
  .instalatie .bec, .brad-banner .glob { animation: none; }
}

html[data-craciun="c"] .hero .ip, html[data-craciun="c"] .numaratoare { background: rgba(7, 11, 20, .72); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 8px 14px; }
