/* BuffetScanner seasonal theme: Christmas & New Year (v0.10).
   Loaded only while storage/campaign.json switches the "festive" campaign on; removing it restores the normal theme.
   Colours: deep festive teal, Christmas red and burgundy, warm gold, evergreen. Lights and bokeh are CSS only (no images). */
.theme-festive { --fx-teal: #00313b; --fx-red: #b3122e; --fx-burgundy: #5e0d22; --fx-gold: #d6a63a; --fx-gold-soft: #f3d891; --fx-green: #1d5a3a; }

/* Header: a thin string of lights under the bar */
.theme-festive .sh { position: relative; }
.theme-festive .sh::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 4px; z-index: 5; pointer-events: none;
  background: radial-gradient(circle, var(--fx-gold-soft) 0 2px, transparent 2.6px) 0 50% / 22px 4px repeat-x,
              linear-gradient(90deg, var(--fx-red), var(--fx-gold), var(--fx-green), var(--fx-gold), var(--fx-red)); opacity: .9; }
.theme-festive .sh-link.sh-special { background: linear-gradient(135deg, var(--fx-red), var(--fx-burgundy)); box-shadow: 0 0 0 2px rgba(214, 166, 58, .55); }

/* Gold accent text */
.theme-festive .fx-gold { background: linear-gradient(100deg, #ffe7a3, var(--fx-gold) 45%, #ffd36b 70%, #c98d20); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* .com hero: deep teal with warm bokeh and an evergreen edge */
.theme-festive .ix2-hero {
  background:
    radial-gradient(circle at 7% 22%, rgba(243, 216, 145, .30), transparent 28px),
    radial-gradient(circle at 16% 78%, rgba(255, 214, 140, .22), transparent 40px),
    radial-gradient(circle at 41% 10%, rgba(255, 255, 255, .16), transparent 22px),
    radial-gradient(circle at 54% 92%, rgba(243, 216, 145, .24), transparent 34px),
    radial-gradient(circle at 97% 46%, rgba(255, 196, 120, .22), transparent 46px),
    radial-gradient(260px 260px at 92% 8%, rgba(214, 166, 58, .28), transparent 70%),
    radial-gradient(520px 340px at 100% 100%, rgba(179, 18, 46, .55), transparent 70%),
    radial-gradient(420px 300px at 0% 100%, rgba(29, 90, 58, .55), transparent 70%),
    linear-gradient(135deg, #00262e 0%, var(--fx-teal) 50%, #01434f 100%);
  border-bottom: 4px solid var(--fx-gold);
}
.theme-festive .ix2-hero h1 { letter-spacing: -.01em; }
.theme-festive .ix2-eyebrow { color: var(--fx-gold-soft); }
.theme-festive .ix2-search { box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 3px rgba(214, 166, 58, .45); }
.theme-festive .ix2-search .btn-primary { background: linear-gradient(135deg, var(--fx-red), var(--fx-burgundy)); border-color: transparent; }

/* Ribbon badge over the hero art */
.fx-ribbon { position: absolute; z-index: 4; left: 4%; top: -6px; display: grid; gap: 2px; max-width: 300px; padding: 14px 18px 12px; border-radius: 16px;
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(140deg, #8c1028, var(--fx-burgundy, #5e0d22));
  border: 2px solid var(--fx-gold, #d6a63a); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); transform: rotate(-3deg); color: #fff; }
.fx-ribbon-t { font-weight: 800; font-size: 1.08rem; line-height: 1.2; color: var(--fx-gold-soft, #f3d891); }
.fx-ribbon-s { font-size: .8rem; color: #fbe9e9; }

/* .lk hero */
.theme-festive .fx-hero .hero-shade { background: linear-gradient(90deg, rgba(0, 38, 46, .92) 0%, rgba(0, 49, 59, .72) 45%, rgba(94, 13, 34, .25) 100%); }
.fx-hero-badge { display: inline-block; margin: 0 0 12px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .85rem;
  background: linear-gradient(135deg, #8c1028, #5e0d22); color: #f3d891; border: 1.5px solid #d6a63a; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.theme-festive .fx-hero { border-bottom: 4px solid var(--fx-gold); }

/* Featured Special Buffets band: burgundy to red with soft bokeh */
.theme-festive .fx-special { color: #fff;
  background:
    radial-gradient(circle at 5% 18%, rgba(243, 216, 145, .30), transparent 30px),
    radial-gradient(circle at 28% 92%, rgba(255, 255, 255, .14), transparent 26px),
    radial-gradient(circle at 80% 10%, rgba(243, 216, 145, .26), transparent 38px),
    radial-gradient(circle at 96% 72%, rgba(255, 220, 160, .20), transparent 44px),
    radial-gradient(500px 260px at 0 0, rgba(29, 90, 58, .45), transparent 70%),
    linear-gradient(120deg, #4a0a1b 0%, #8c1028 45%, #b3122e 100%);
  border-top: 4px solid var(--fx-gold); border-bottom: 4px solid var(--fx-gold); }
.theme-festive .fx-special h2, .theme-festive .fx-special .fx-panel-h, .theme-festive .fx-special .fx-note { color: #fff; }
.theme-festive .fx-special .fx-more { color: var(--fx-gold-soft); }
.theme-festive .fx-special .fx-tabs { background: rgba(0, 0, 0, .25); border: 1px solid rgba(243, 216, 145, .5); }
.theme-festive .fx-special .fx-tab { color: #fff; }
.theme-festive .fx-special .fx-tab[aria-selected="true"] { background: linear-gradient(135deg, #ffe7a3, var(--fx-gold)); color: #4a0a1b; }
.theme-festive .fx-special .card { color: var(--teal); }
.theme-festive .fx-sample { border-color: var(--fx-gold); }
.theme-festive .fx-tab-christmas[aria-selected="true"] svg { color: var(--fx-green); }

/* Cards and tiles: gentle lift */
.theme-festive .fx-item .card, .theme-festive .ix2-dest, .theme-festive .ix2-occ-tile, .theme-festive .meal { transition: transform .25s ease, box-shadow .25s ease; }
.theme-festive .fx-item .card:hover, .theme-festive .ix2-occ-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .25); }
.theme-festive .ix2-dest:hover { box-shadow: 0 16px 34px rgba(0, 59, 73, .22), 0 0 0 2px var(--fx-gold); }
.theme-festive .ix2-occ-tile { box-shadow: inset 0 0 0 1px rgba(214, 166, 58, .35); }

/* Special Buffets pages */
.theme-festive .fx-page-head { margin-top: 10px; padding: 26px 24px; border-radius: 20px; color: #fff;
  background: radial-gradient(circle at 90% 20%, rgba(243, 216, 145, .30), transparent 40px), linear-gradient(120deg, var(--fx-teal), #01434f 60%, #5e0d22); }
.theme-festive .fx-page-head h1, .theme-festive .fx-page-head .lead { color: #fff; }
.theme-festive .fx-page-head .fx-eyebrow { color: var(--fx-gold-soft); }
.theme-festive .fx-page-head .fx-tab { background: rgba(255, 255, 255, .12); color: #fff; }

/* Footer: a festive light string above the existing teal footer */
.theme-festive .sf { position: relative; border-top: 4px solid var(--fx-gold); }
.theme-festive .sf::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 6px; pointer-events: none;
  background: radial-gradient(circle, #ffe7a3 0 2.5px, transparent 3px) 0 50% / 26px 6px repeat-x; animation: fx-twinkle 3.5s ease-in-out infinite alternate; }
@keyframes fx-twinkle { from { opacity: .55; } to { opacity: 1; } }

@media (max-width: 900px) { .fx-ribbon { position: relative; left: 0; top: 0; margin: 0 0 14px; transform: none; max-width: none; } }
@media (prefers-reduced-motion: reduce) {
  .theme-festive .sf::before { animation: none; }
  .theme-festive .fx-item .card, .theme-festive .ix2-dest, .theme-festive .ix2-occ-tile, .theme-festive .meal { transition: none; }
  .theme-festive .fx-item .card:hover, .theme-festive .ix2-occ-tile:hover { transform: none; }
}
