/* ==========================================================================
   TIGER YACHT STM - "SUNRISE OF 2027" NEW YEAR HERO
   Light, warm, fresh-start celebration. Champagne cream + sunrise coral +
   gulf teal + metallic gold. One focal point (3D 2027), minimal text.
   No emojis: FontAwesome glyphs only.
   ========================================================================== */

:root {
    --ny-cream: #FFF8EC;
    --ny-peach: #FFE3CC;
    --ny-sky: #D9F1F2;
    --ny-coral: #FF6B57;
    --ny-rose: #F6A6A0;
    --ny-teal: #0E8A94;
    --ny-ink: #1B2A3A;
    --ny-muted: #5B6B7B;
    --ny-gold-1: #FFE9A8;
    --ny-gold-2: #E8B93C;
    --ny-gold-3: #B8821A;
}

/* ---------- Slim announcement bar ---------- */
.nye-announcement-bar {
    background: linear-gradient(90deg, #FF6B57 0%, #FF9A5A 50%, #FFC857 100%);
    padding: 8px 14px;
    position: relative;
    z-index: 1002;
    overflow: hidden;
}
.nye-announcement-bar::before {
    content: '';
    position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    animation: nyeSweep 5s infinite linear;
}
@keyframes nyeSweep { to { left: 160%; } }
.nye-bar-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center; gap: 14px;
    position: relative; z-index: 1;
}
.nye-bar-left { display: inline-flex; align-items: center; gap: 8px; }
.nye-badge-gold {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; color: var(--ny-coral);
    padding: 3px 10px; border-radius: 999px;
    font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.nye-bar-text { font-size: .82rem; color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.nye-bar-text strong { color: #fff; font-weight: 800; }
.nye-bar-cta {
    color: #fff; font-size: .78rem; font-weight: 800; text-decoration: underline;
    text-underline-offset: 3px; white-space: nowrap;
}
@media (max-width: 600px) {
    .nye-bar-text { display: none; }
    .nye-bar-inner { justify-content: space-between; }
}

/* ---------- Hero stage ---------- */
.hero-nye-slider-section {
    position: relative;
    overflow: hidden;
    color: var(--ny-ink);
    padding: 36px 0 28px;
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255,214,140,.75) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 15% 40%, rgba(246,166,160,.35) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 90% 55%, rgba(14,138,148,.18) 0%, transparent 70%),
        linear-gradient(180deg, var(--ny-cream) 0%, var(--ny-peach) 55%, var(--ny-sky) 100%);
}
/* soft sun rays */
.hero-nye-slider-section::before {
    content: '';
    position: absolute; top: -40%; left: 50%; width: 140%; height: 120%;
    transform: translateX(-50%);
    background: repeating-conic-gradient(from 0deg at 50% 38%, rgba(255,255,255,.35) 0deg 4deg, transparent 4deg 14deg);
    -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 62%);
            mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 62%);
    animation: nyeRays 60s linear infinite;
    pointer-events: none; z-index: 0;
}
@keyframes nyeRays { to { transform: translateX(-50%) rotate(360deg); } }

/* animated sea waves at the bottom */
.nye-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; z-index: 1; pointer-events: none; overflow: hidden; }
.nye-waves svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.nye-waves .w1 { animation: nyeWave 14s linear infinite; opacity: .55; }
.nye-waves .w2 { animation: nyeWave 22s linear infinite reverse; opacity: .35; }
@keyframes nyeWave { to { transform: translateX(-50%); } }

.nye-confetti-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

.nye-hero-inner { position: relative; z-index: 3; max-width: 1120px; margin: 0 auto; padding: 0 16px; text-align: center; }

/* ---------- Focal point: 3D metallic 2027 ---------- */
.nye-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .74rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
    color: var(--ny-teal);
}
.nye-kicker::before, .nye-kicker::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .5; }

.nye-year-stage { perspective: 900px; margin: 6px auto 4px; touch-action: pan-y; }
.nye-year {
    display: inline-block;
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-weight: 900;
    font-size: clamp(5.2rem, 24vw, 11rem);
    line-height: .95;
    letter-spacing: -.02em;
    background: linear-gradient(115deg, var(--ny-gold-3) 0%, var(--ny-gold-1) 22%, var(--ny-gold-2) 40%, #FFF6D0 55%, var(--ny-gold-2) 70%, var(--ny-gold-3) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0 rgba(120,80,10,.35)) drop-shadow(0 10px 18px rgba(184,130,26,.35));
    transform-style: preserve-3d;
    transition: transform .25s ease-out;
    animation: nyeShine 5s ease-in-out infinite;
}
@keyframes nyeShine { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.nye-headline {
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: clamp(1.25rem, 4.4vw, 2rem);
    font-weight: 700; color: var(--ny-ink); margin: 0 0 14px;
}
.nye-headline em { font-style: normal; color: var(--ny-coral); }

/* inline countdown: fixed height, never moves */
.nye-countdown-bar {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(232,185,60,.6);
    border-radius: 999px; padding: 7px 18px;
    box-shadow: 0 6px 20px rgba(184,130,26,.15);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    height: 40px;
}
.nye-countdown-tag { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ny-coral); display: flex; align-items: center; gap: 6px; }
.nye-countdown-units { display: flex; align-items: center; gap: 5px; }
.nye-time-unit { display: flex; align-items: baseline; gap: 1px; }
.nye-time-val { font-size: .95rem; font-weight: 800; color: var(--ny-ink); font-variant-numeric: tabular-nums; min-width: 1.3ch; text-align: right; }
.nye-time-lbl { font-size: .62rem; font-weight: 700; color: var(--ny-gold-3); text-transform: uppercase; }
.nye-time-sep { color: var(--ny-gold-2); font-weight: 700; }

/* ---------- Package cards (3 equal cards; swipe on mobile) ---------- */
.nye-cards {
    margin-top: 22px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 10% 14px;
    margin-left: -16px; margin-right: -16px;
    text-align: left;
}
.nye-cards::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
    .nye-cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: unset; overflow: visible; padding: 10px 0 14px; margin: 26px 0 0; }
}

.nye-card {
    scroll-snap-align: center;
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(27,42,58,.14), 0 2px 0 rgba(232,185,60,.5) inset;
    transition: transform .3s ease, box-shadow .3s ease;
}
.nye-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(27,42,58,.2); }
.nye-card.featured { box-shadow: 0 18px 42px rgba(255,107,87,.28), 0 0 0 2px var(--ny-coral); }

.nye-card-photo {
    position: relative; height: 150px;
    background-size: cover; background-position: center;
}
.nye-card-photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,200,120,.0) 40%, rgba(255,255,255,.95) 100%);
}
.nye-card-tag {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--ny-coral); color: #fff;
    font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px;
}
.nye-card-tag.teal { background: var(--ny-teal); }
.nye-card-tag.gold { background: linear-gradient(135deg, var(--ny-gold-2), var(--ny-gold-3)); }

.nye-card-body { padding: 0 18px 18px; display: flex; flex-direction: column; flex: 1; margin-top: -8px; position: relative; z-index: 2; }
.nye-card-name { font-family: var(--font-heading, "Playfair Display", Georgia, serif); font-size: 1.35rem; font-weight: 800; color: var(--ny-ink); margin: 0; line-height: 1.15; }
.nye-card-sub { font-size: .8rem; color: var(--ny-muted); margin: 3px 0 10px; }
.nye-card-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.nye-card-price b { font-size: 2.1rem; font-weight: 900; color: var(--ny-coral); letter-spacing: -.02em; line-height: 1; }
.nye-card-price span { font-size: .8rem; font-weight: 800; color: var(--ny-gold-3); }
.nye-card-price small { font-size: .72rem; color: var(--ny-muted); }

.nye-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; min-height: 28px; }
.nye-chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .72rem; font-weight: 700; color: var(--ny-ink);
    background: #FFF3DD; border: 1px solid rgba(232,185,60,.45);
    padding: 5px 10px; border-radius: 999px;
}
.nye-chip i { color: var(--ny-teal); font-size: .7rem; }

.nye-card-actions { margin-top: auto; display: flex; gap: 8px; align-items: center; }
.nye-btn-primary {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, #25D366, #12A150);
    color: #fff !important; font-weight: 800; font-size: .9rem;
    padding: 12px 14px; border-radius: 12px; text-decoration: none;
    box-shadow: 0 6px 16px rgba(37,211,102,.35);
    position: relative; overflow: hidden;
    transition: transform .2s ease;
}
.nye-btn-primary::after {
    content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
    animation: nyeSweep 3.6s infinite linear;
}
.nye-btn-primary:hover { transform: translateY(-2px); }
.nye-btn-icon {
    width: 46px; height: 46px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px; cursor: pointer;
    background: #fff; color: var(--ny-gold-3);
    border: 1.5px solid var(--ny-gold-2); font-size: 1rem;
    transition: all .2s ease;
}
.nye-btn-icon:hover { background: var(--ny-gold-2); color: #fff; }

/* dots */
.nye-dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.nye-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(27,42,58,.2); border: 0; padding: 0; cursor: pointer; transition: all .3s ease; }
.nye-dot.active { width: 26px; background: var(--ny-coral); }
@media (min-width: 900px) { .nye-dots { display: none; } }

/* compact trust strip */
.nye-trust {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
    margin-top: 16px; font-size: .8rem; font-weight: 700; color: var(--ny-muted);
}
.nye-trust i { color: var(--ny-gold-2); margin-right: 6px; }

/* ---------- Buffet menu sheet (light) ---------- */
.nye-modal-backdrop {
    position: fixed; inset: 0; background: rgba(27,42,58,.55);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    z-index: 99999; opacity: 0; visibility: hidden; transition: all .3s ease;
    display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 768px) { .nye-modal-backdrop { align-items: center; padding: 24px; } }
.nye-modal-backdrop.open { opacity: 1; visibility: visible; }
.nye-modal-sheet {
    background: var(--ny-cream); color: var(--ny-ink);
    border-radius: 24px 24px 0 0; width: 100%; max-width: 760px; max-height: 88vh; overflow-y: auto;
    padding: 26px 22px 28px; position: relative;
    transform: translateY(100%); transition: transform .35s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 -12px 40px rgba(0,0,0,.25);
}
@media (min-width: 768px) { .nye-modal-sheet { border-radius: 22px; transform: scale(.95); } .nye-modal-backdrop.open .nye-modal-sheet { transform: scale(1); } }
.nye-modal-backdrop.open .nye-modal-sheet { transform: translateY(0); }
.nye-sheet-handle { width: 46px; height: 4px; background: rgba(27,42,58,.25); border-radius: 2px; margin: -10px auto 14px; }
@media (min-width: 768px) { .nye-sheet-handle { display: none; } }
.nye-modal-close-btn {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
    background: #fff; border: 1px solid rgba(27,42,58,.15); color: var(--ny-ink); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.nye-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.nye-pill-gold { background: #FFF3DD; border: 1px solid var(--ny-gold-2); color: var(--ny-gold-3); }
.nye-menu-category { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed rgba(27,42,58,.15); }
.nye-menu-cat-title { font-size: .82rem; font-weight: 800; color: var(--ny-coral); text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.nye-menu-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; }
@media (max-width: 600px) { .nye-menu-list { grid-template-columns: 1fr; } }
.nye-menu-list li { font-size: .86rem; color: var(--ny-ink); display: flex; align-items: center; gap: 8px; }
.nye-menu-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ny-gold-2); }
.nye-modal-sheet .nye-btn-primary { flex: none; padding: 12px 22px; }
.nye-modal-sheet .nye-btn-secondary {
    display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 12px;
    background: #fff; border: 1.5px solid var(--ny-gold-2); color: var(--ny-gold-3); font-weight: 800; cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .nye-year, .hero-nye-slider-section::before, .nye-waves svg, .nye-btn-primary::after, .nye-announcement-bar::before { animation: none !important; }
    .nye-confetti-canvas { display: none; }
}

/* ---------- Mobile compaction: keep Reserve above the fold ---------- */
@media (max-width: 600px) {
  .hero-nye-slider-section { padding: 18px 0 22px; }
  .nye-year { font-size: clamp(4.4rem, 21vw, 6.2rem); }
  .nye-headline { font-size: 1.15rem; margin-bottom: 10px; }
  .nye-countdown-bar { height: 36px; padding: 5px 14px; }
  .nye-cards { margin-top: 14px; }
  .nye-card-photo { height: 96px; }
  .nye-card-name { font-size: 1.12rem; }
  .nye-card-sub { margin-bottom: 6px; font-size: .76rem; }
  .nye-card-price { margin-bottom: 8px; }
  .nye-card-price b { font-size: 1.8rem; }
  .nye-chips { margin-bottom: 10px; }
  .nye-chip { font-size: .68rem; padding: 4px 8px; }
}
