/* Praznična čestitka (holiday-greet.js): greeting card on a gold thread in the first screen. Nothing moves the layout. */
.hd-greet { position: absolute; z-index: 2; top: 0; left: 40.5%; width: 214px; pointer-events: none;
  transform-origin: 50% 0; animation: hd-g-swing 6s ease-in-out infinite; }
.hd-g-thread { display: block; width: 2px; height: 236px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(201, 161, 76, 0), #d9b25d 30%, #c9a14c); }
.hd-g-card { position: relative; margin-top: -2px; padding: 44px 18px 16px; text-align: center; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 244, 248, .86));
  border: 1.5px solid #e6c77f; box-shadow: 0 14px 30px rgba(122, 43, 184, .16), inset 0 0 0 4px rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hd-g-card::before { content: ""; position: absolute; top: -5px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fbe7b0, #c9a14c 70%); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.hd-g-sprig { position: absolute; top: -52px; left: -44px; width: 214px; height: auto; pointer-events: none;
  filter: drop-shadow(0 5px 5px rgba(40, 50, 40, .3)); }
.hd-g-bauble { position: absolute; top: 22px; right: -23px; width: 46px; height: auto;
  filter: drop-shadow(0 6px 6px rgba(122, 43, 184, .3)); animation: hd-g-swing 4s ease-in-out infinite reverse; transform-origin: 50% 0; }
.hd-g-card::after { content: ""; position: absolute; top: 18px; right: -4px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fbe7b0, #c9a14c 70%); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.hd-g-small { display: block; font-family: "Libre Baskerville", Georgia, serif; font-style: italic; font-size: 1.15rem; color: #b07a2a; line-height: 1.2; }
.hd-g-big { display: block; margin: 2px 0 6px; font-family: var(--font-head); font-weight: 700; font-size: 1.85rem; line-height: 1.05;
  letter-spacing: -.01em; color: #6a2ec0; }
.hd-g-sub { display: block; font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: #c0567f; }
@keyframes hd-g-swing { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }

/* Narrow desktop: the heading needs the room, the card hangs closer to the photo and smaller */
@media (max-width: 1199px) { .hd-greet { left: 46%; width: 180px; } .hd-g-big { font-size: 1.5rem; } .hd-g-thread { height: 210px; } }
/* Tablet and phone: the card hangs on the photo, top left */
@media (max-width: 860px) {
  .hd-greet { left: 18px; width: 158px; }
  .hd-g-thread { height: 152px; }
  .hd-g-card { padding: 32px 12px 12px; border-radius: 18px; }
  .hd-g-card::after { top: 14px; right: -4px; width: 8px; height: 8px; }
  .hd-g-small { font-size: .95rem; } .hd-g-big { font-size: 1.3rem; } .hd-g-sub { font-size: .8rem; }
  .hd-g-sprig { width: 150px; left: -16px; top: -38px; }
  .hd-g-bauble { width: 34px; height: auto; right: -17px; top: 17px; }
}
@media (prefers-reduced-motion: reduce) { .hd-greet, .hd-g-bauble { animation: none; } }

/* "Poruči buket" shimmers while the holiday mode is on: the violet slowly flows and a soft light sweeps across.
   Same size and place as always (only background and an overlay change). */
.hero .btn-hero { position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #6a2ec0 0%, #8b45e0 25%, #b06ef0 45%, #7b2cbf 65%, #6a2ec0 100%) 0 0 / 300% 100%;
  animation: hd-btn-flow 6s ease-in-out infinite; }
.hero .btn-hero::after { content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent 0, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, .08) 70%, transparent 100%);
  transform: skewX(-20deg); animation: hd-btn-shine 3.2s ease-in-out infinite; pointer-events: none; }
.hero .btn-hero:hover::after { animation-duration: 1.4s; }
@keyframes hd-btn-flow { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
@keyframes hd-btn-shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .hero .btn-hero, .hero .btn-hero::after { animation: none; } .hero .btn-hero::after { display: none; } }
