/* =============================================================
   Birthday@PKPP — Premium Corporate Design System
   Palette : Corporate Green #0F6B3E / #178A4B / #2FAE66
             Gold accent #D4AF37 · Background #F8FAF8
   Fonts   : Poppins (display) · Inter (body)
   Style   : Glassmorphism · Soft UI · Minimal & festive
   ============================================================= */

:root {
    --green-950: #06301B;
    --green-900: #0A4A2B;
    --green-700: #0F6B3E;
    --green-600: #178A4B;
    --green-500: #2FAE66;
    --green-100: #DDF0E5;
    --green-50:  #EEF7F1;
    --gold:      #D4AF37;
    --gold-soft: #F3E5B8;
    --bg:        #F8FAF8;
    --ink:       #122B1D;
    --muted:     rgba(18, 43, 29, 0.62);
    --faint:     rgba(18, 43, 29, 0.42);
    --danger:    #B3261E;

    --glass:        rgba(255, 255, 255, 0.68);
    --glass-strong: rgba(255, 255, 255, 0.86);
    --line:         rgba(15, 107, 62, 0.12);
    --line-gold:    rgba(212, 175, 55, 0.38);

    --shadow-sm: 0 2px 10px rgba(10, 74, 43, 0.06);
    --shadow-md: 0 12px 32px rgba(10, 74, 43, 0.10);
    --shadow-lg: 0 24px 60px rgba(10, 74, 43, 0.14);
    --shadow-gold: 0 12px 34px rgba(212, 175, 55, 0.22);

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-xl: 34px;

    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --ease-smooth: cubic-bezier(.22, 1, .36, 1);
    --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

h1, h2, h3, h4, .font-display {
    font-family: var(--font-display);
    line-height: 1.18;
    margin: 0;
    color: var(--green-950);
    letter-spacing: -0.02em;
}

p { margin: 0 0 1rem; }
a { color: var(--green-600); }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.4rem;
}

/* ---------------------------------------------------------
   Ambient background — soft gradient, bokeh, floating shapes
   --------------------------------------------------------- */
.ambient {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1100px 600px at 88% -10%, rgba(47, 174, 102, 0.14), transparent 60%),
        radial-gradient(900px 560px at -12% 24%, rgba(212, 175, 55, 0.12), transparent 58%),
        radial-gradient(760px 520px at 50% 118%, rgba(23, 138, 75, 0.10), transparent 60%),
        linear-gradient(175deg, #FBFDFB 0%, var(--bg) 45%, #F2F8F3 100%);
}

.ambient::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 14% 32%, rgba(212, 175, 55, 0.10) 0 46px, transparent 47px),
        radial-gradient(circle at 82% 18%, rgba(47, 174, 102, 0.08) 0 64px, transparent 65px),
        radial-gradient(circle at 70% 78%, rgba(212, 175, 55, 0.07) 0 54px, transparent 55px),
        radial-gradient(circle at 28% 86%, rgba(23, 138, 75, 0.08) 0 40px, transparent 41px);
    filter: blur(2px);
}

/* Floating decorative emoji (balloons / gifts / sparkles) */
.decor-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.decor {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.16;
    filter: saturate(0.85);
    animation: floatY 9s ease-in-out infinite;
    will-change: transform;
}

.decor.rise {
    bottom: -8%;
    animation: balloonRise 26s linear infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-22px) rotate(3deg); }
}

@keyframes balloonRise {
    0%   { transform: translateY(0) translateX(0) rotate(-4deg); opacity: 0; }
    8%   { opacity: 0.18; }
    92%  { opacity: 0.16; }
    100% { transform: translateY(-118vh) translateX(36px) rotate(6deg); opacity: 0; }
}

/* ---------------------------------------------------------
   Glass surfaces
   --------------------------------------------------------- */
.glass {
    background: var(--glass);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--r-lg);
}

.glass-strong {
    background: var(--glass-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: var(--r-lg);
}

/* Gradient-border card (green → gold) */
.card-gradient {
    position: relative;
    background:
        linear-gradient(var(--glass-strong), var(--glass-strong)) padding-box,
        linear-gradient(135deg, rgba(47, 174, 102, 0.55), rgba(212, 175, 55, 0.55)) border-box;
    border: 1.5px solid transparent;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.lift {
    transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* ---------------------------------------------------------
   Navbar
   --------------------------------------------------------- */
.nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0.9rem 0;
    transition: padding 0.35s var(--ease-smooth);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.55rem 0.75rem 0.55rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.nav-wrap.is-scrolled .nav-shell {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

/* Centered logo-only topbar (board pages) — compact pill that hugs
   the mark instead of spanning the full container width. */
.nav-shell.nav-center {
    width: max-content;
    margin: 0 auto;
    justify-content: center;
    gap: 0;
    padding: 0.4rem;
    border-color: var(--line-gold);
}

/* Topbar left in normal flow. On the board sambutan page the mark
   links to the page it already sits on, so pinning it buys no
   navigation — it only hovers over the cards as the visitor scrolls.
   In the flow it greets them once, then scrolls away.
   .first-section's tall top padding exists purely to clear the fixed
   bar, so it drops back to a normal section rhythm here. */
.nav-wrap.nav-flow {
    position: static;
    padding: 1.6rem 0 0;
}

.nav-wrap.nav-flow ~ main .first-section {
    padding-top: 2.6rem;
}

/* Out of the fixed bar it is no longer competing with the content
   underneath, so the mark can carry more presence than the compact
   pinned version. */
.nav-wrap.nav-flow .brand-mark {
    width: 82px;
    height: 82px;
    box-shadow: var(--shadow-sm), 0 0 0 7px rgba(212, 175, 55, 0.10);
}

.nav-wrap.nav-flow .brand-mark img {
    width: 58px;
    height: 58px;
}

.nav-wrap.nav-flow .brand-mark:hover {
    box-shadow: var(--shadow-gold), 0 0 0 10px rgba(212, 175, 55, 0.15);
}

/* The shared mobile shrink targets bare .brand-mark, which this
   scoped rule outranks — so the smaller step is restated here. */
@media (max-width: 767.98px) {
    .nav-wrap.nav-flow .brand-mark { width: 66px; height: 66px; }
    .nav-wrap.nav-flow .brand-mark img { width: 46px; height: 46px; }
}

.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line-gold);
    box-shadow: var(--shadow-sm), 0 0 0 5px rgba(212, 175, 55, 0.09);
    text-decoration: none;
    transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s ease;
}

.brand-mark img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Slow gold sheen sweeping across the mark. */
.brand-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 38%, rgba(212, 175, 55, 0.32) 50%, transparent 62%);
    opacity: 0;
    animation: markSheen 6s var(--ease-smooth) infinite;
    pointer-events: none;
}

@keyframes markSheen {
    0%, 72% { opacity: 0; transform: translateX(-60%); }
    82% { opacity: 1; }
    100% { opacity: 0; transform: translateX(60%); }
}

.brand-mark:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold), 0 0 0 7px rgba(212, 175, 55, 0.14);
}

@media (prefers-reduced-motion: reduce) {
    .brand-mark::after { animation: none; }
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    overflow: hidden;
}

.brand-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--green-900);
    white-space: nowrap;
    line-height: 1.15;
}

.brand-name .gold { color: var(--gold); }

.brand-sub {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.72rem;
    color: var(--muted);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-links a {
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--muted);
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover {
    color: var(--green-700);
    background: var(--green-50);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.85);
    color: var(--green-700);
    cursor: pointer;
    text-decoration: none;
    flex: 0 0 42px;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.icon-btn svg { width: 19px; height: 19px; }

.icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--green-600);
}

.icon-btn[aria-pressed="true"] {
    background: linear-gradient(135deg, var(--green-600), var(--green-700));
    color: #fff;
    border-color: transparent;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease, background 0.3s ease;
}

.btn svg { width: 18px; height: 18px; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
    background: linear-gradient(135deg, var(--green-500), var(--green-700));
    color: #fff;
    box-shadow: 0 14px 30px rgba(15, 107, 62, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 18px 38px rgba(15, 107, 62, 0.36);
    color: #fff;
}

.btn-gold {
    background: linear-gradient(135deg, #E5C558, var(--gold));
    color: #3D2E06;
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover { box-shadow: 0 16px 40px rgba(212, 175, 55, 0.32); color: #3D2E06; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    color: var(--green-700);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover { background: #fff; color: var(--green-600); box-shadow: var(--shadow-md); }

.btn-danger-soft {
    background: rgba(179, 38, 30, 0.08);
    border: 1px solid rgba(179, 38, 30, 0.16);
    color: var(--danger);
}

.btn-danger-soft:hover { background: rgba(179, 38, 30, 0.14); color: var(--danger); }

.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.84rem; }
.btn-block { width: 100%; }

/* JS ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    animation: ripple 0.65s ease-out forwards;
    pointer-events: none;
}

@keyframes ripple {
    to { transform: scale(3.4); opacity: 0; }
}

/* ---------------------------------------------------------
   Kicker / headings / badges / chips
   --------------------------------------------------------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--green-600);
}

.kicker::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--green-500));
}

.section-title {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 600;
    margin: 0.6rem 0 0.7rem;
}

.section-sub {
    max-width: 620px;
    color: var(--muted);
    font-size: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.4;
}

.badge-green { background: var(--green-100); color: var(--green-700); }
.badge-gold  { background: rgba(212, 175, 55, 0.16); color: #8C6D14; }
.badge-soft  { background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); color: var(--muted); }

.chip-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    font-size: 0.88rem;
    color: var(--muted);
}

.chip-stat strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--green-700);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 3rem) 0 4rem;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line-gold);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--green-800, var(--green-700));
}

.hero-title {
    margin: 1.4rem 0 1rem;
    font-size: clamp(2.5rem, 6.5vw, 4.4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hero-title .grad {
    background: linear-gradient(120deg, var(--green-600) 10%, var(--green-500) 42%, var(--gold) 90%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradShift 7s ease-in-out infinite;
}

@keyframes gradShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero-sub {
    max-width: 560px;
    margin: 0 auto 2rem;
    color: var(--muted);
    font-size: clamp(0.98rem, 2vw, 1.12rem);
}

.hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 2.6rem;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
    will-change: transform;
}

.hero-orb.o1 { width: 420px; height: 420px; top: -6%; right: -6%; background: rgba(47, 174, 102, 0.35); }
.hero-orb.o2 { width: 360px; height: 360px; bottom: -10%; left: -8%; background: rgba(212, 175, 55, 0.30); }
.hero-orb.o3 { width: 220px; height: 220px; top: 34%; left: 12%; background: rgba(23, 138, 75, 0.22); }

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--faint);
    animation: floatY 2.6s ease-in-out infinite;
}

.scroll-cue svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------
   Sections
   --------------------------------------------------------- */
.section { padding: 4.5rem 0; position: relative; }
.section-head { margin-bottom: 2.2rem; }

/* ---------------------------------------------------------
   Today celebration
   --------------------------------------------------------- */
.celebrate-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.6rem, 4vw, 3rem);
    border-radius: var(--r-xl);
}

.celebrate-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px 260px at 85% 0%, rgba(212, 175, 55, 0.16), transparent 60%),
        radial-gradient(480px 280px at 0% 100%, rgba(47, 174, 102, 0.14), transparent 60%);
    pointer-events: none;
}

.confetti-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.celebrate-inner { position: relative; z-index: 2; }

.celebrate-head {
    text-align: center;
    margin-bottom: 2rem;
}

.celebrate-title {
    font-size: clamp(1.9rem, 5vw, 3.1rem);
    font-weight: 600;
}

.celebrate-title .grad {
    background: linear-gradient(120deg, var(--green-600), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.1rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line-gold);
    box-shadow: var(--shadow-sm);
    font-size: 0.88rem;
    color: var(--muted);
}

.countdown strong {
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    color: var(--green-700);
    font-size: 1rem;
}

/* ---------------------------------------------------------
   Birthday profile cards
   --------------------------------------------------------- */
.bday-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.3rem;
    justify-items: center;
}

.bday-grid > * { width: 100%; max-width: 380px; }

.bday-card {
    position: relative;
    text-align: center;
    padding: 2.2rem 1.5rem 1.7rem;
    overflow: hidden;
}

.bday-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-500), var(--gold));
    opacity: 0.85;
}

.avatar-ring {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from 210deg, var(--green-500), var(--gold), var(--green-600), var(--green-500));
}

.avatar-ring.lg { width: 176px; height: 176px; }

.avatar-ring img,
.avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #fff;
    background: #fff;
}

.avatar-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, var(--green-500), var(--green-700));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2.6rem;
}

.avatar-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    background: #fff;
    border: 2px solid var(--gold-soft);
    box-shadow: var(--shadow-sm);
}

.bday-name {
    font-size: 1.28rem;
    font-weight: 600;
    color: var(--green-950);
    margin-bottom: 0.35rem;
}

.bday-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.bday-msg {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.bday-actions {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------
   Monthly carousel
   --------------------------------------------------------- */
.pk-carousel { position: relative; }

.pk-slides { position: relative; min-height: 320px; }

.pk-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.985);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth), visibility 0.7s;
}

.pk-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.spotlight {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: clamp(1.4rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.5rem, 4vw, 2.8rem);
}

.spotlight-photo-col { text-align: center; }

.spotlight-photo { position: relative; width: min(100%, 300px); margin: 0 auto; }

.spotlight-date {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.5rem;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    color: #fff;
    box-shadow: 0 16px 34px rgba(15, 107, 62, 0.30), 0 0 0 5px rgba(212, 175, 55, 0.18);
    font-family: var(--font-display);
    animation: floatY 5s ease-in-out infinite;
}

.spotlight-date .cake { font-size: 1.25rem; }

.spotlight-date .d {
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
}

.spotlight-date .sep {
    width: 1.5px;
    height: 24px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.9), rgba(255, 255, 255, 0.35));
}

.spotlight-date .m {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.spotlight-photo .avatar-ring {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    animation: none;
}

.spotlight-photo::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1.5px dashed var(--line-gold);
    animation: spin 26s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.spotlight-info .bday-name { font-size: clamp(1.6rem, 4vw, 2.4rem); }

.spotlight-count {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.spotlight-quote {
    margin-top: 1.1rem;
    padding: 1rem 1.2rem;
    border-radius: var(--r-md);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--muted);
    font-size: 0.92rem;
}

.pk-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    color: var(--green-700);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease;
}

.pk-arrow:hover { transform: translateY(-50%) scale(1.08); box-shadow: var(--shadow-md); }
.pk-arrow.prev { left: -12px; }
.pk-arrow.next { right: -12px; }
.pk-arrow svg { width: 20px; height: 20px; }

.pk-thumbs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.pk-thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 2px;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
    opacity: 0.55;
    overflow: hidden;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--green-700);
    transition: opacity 0.3s ease, transform 0.3s var(--ease-smooth), border-color 0.3s ease;
}

.pk-thumb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pk-thumb:hover { opacity: 0.85; transform: translateY(-2px); }

.pk-thumb.is-active {
    opacity: 1;
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

/* ---------------------------------------------------------
   Birthday timeline (month view)
   --------------------------------------------------------- */
.timeline {
    position: relative;
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding: 1.4rem 0.3rem 0.9rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 107, 62, 0.25) transparent;
}

.timeline::before {
    content: "";
    position: absolute;
    top: calc(1.4rem + 21px);
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 174, 102, 0.3), rgba(212, 175, 55, 0.35), rgba(47, 174, 102, 0.3));
    min-width: 100%;
}

.tl-node {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 82px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: center;
    padding: 0;
    font-family: var(--font-body);
    color: var(--muted);
}

.tl-day {
    width: 42px;
    height: 42px;
    margin: 0 auto 0.45rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid var(--green-100);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--green-700);
    transition: transform 0.3s var(--ease-smooth), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.tl-node:hover .tl-day { transform: translateY(-3px); border-color: var(--green-500); box-shadow: var(--shadow-sm); }

.tl-node.is-active .tl-day {
    background: linear-gradient(135deg, var(--green-500), var(--green-700));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 107, 62, 0.3);
    transform: scale(1.08);
}

.tl-node.is-today .tl-day {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

.tl-name {
    display: block;
    font-size: 0.68rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------------------------------------------------------
   Wish wall
   --------------------------------------------------------- */
.wish-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
    gap: 1.6rem;
    align-items: start;
}

.wish-form-card {
    padding: clamp(1.4rem, 3vw, 2rem);
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.wish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.wish-card {
    position: relative;
    padding: 1.25rem 1.25rem 1rem;
    overflow: hidden;
}

.wish-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-500), var(--gold));
}

.wish-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.wish-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(150deg, var(--green-500), var(--green-700));
    box-shadow: var(--shadow-sm);
}

.wish-avatar.alt { background: linear-gradient(150deg, #E5C558, var(--gold)); color: #3D2E06; }

.wish-who { min-width: 0; }

.wish-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--green-950);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wish-time { font-size: 0.74rem; color: var(--faint); }

.wish-msg {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(18, 43, 29, 0.8);
    white-space: pre-line;
}

.wish-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--line);
    padding-top: 0.6rem;
}

.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--faint);
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease;
}

.like-btn:hover { background: rgba(212, 175, 55, 0.1); color: #8C6D14; }
.like-btn svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease-smooth); }

.like-btn.is-liked { color: #C21E4B; }
.like-btn.is-liked svg { fill: #C21E4B; stroke: #C21E4B; animation: heartPop 0.45s var(--ease-smooth); }

@keyframes heartPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.emoji-row { display: inline-flex; gap: 0.15rem; }

.emoji-btn {
    border: 0;
    background: transparent;
    font-size: 0.98rem;
    cursor: pointer;
    padding: 0.2rem 0.3rem;
    border-radius: 8px;
    filter: grayscale(0.7);
    opacity: 0.7;
    transition: transform 0.3s var(--ease-smooth), filter 0.25s ease, opacity 0.25s ease;
}

.emoji-btn:hover { transform: translateY(-3px) scale(1.2); filter: none; opacity: 1; }
.emoji-btn.is-on { filter: none; opacity: 1; }
.emoji-btn.pop { animation: heartPop 0.45s var(--ease-smooth); }

/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */
.field { margin-bottom: 1.15rem; }

.field label {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--green-900);
}

.input {
    width: 100%;
    padding: 0.85rem 1.05rem;
    border-radius: var(--r-md);
    border: 1.5px solid var(--line);
    background: rgba(255, 255, 255, 0.85);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.input::placeholder { color: var(--faint); }

.input:focus {
    border-color: var(--green-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 174, 102, 0.14);
}

.input.is-invalid { border-color: var(--danger); }
.input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.12); }

textarea.input { resize: vertical; min-height: 130px; }

.field-error {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--danger);
}

.field-hint {
    font-size: 0.8rem;
    color: var(--faint);
    line-height: 1.6;
}

input[type="file"].input { padding: 0.65rem 0.85rem; cursor: pointer; }

input[type="file"].input::file-selector-button {
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    margin-right: 0.85rem;
    background: var(--green-100);
    color: var(--green-700);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.25s ease;
}

input[type="file"].input::file-selector-button:hover { background: var(--green-500); color: #fff; }

/* ---------------------------------------------------------
   Alerts
   --------------------------------------------------------- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.95rem 1.2rem;
    border-radius: var(--r-md);
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
    animation: fadeSlideUp 0.6s var(--ease-smooth);
}

.alert svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }

.alert-success {
    background: rgba(47, 174, 102, 0.12);
    border: 1px solid rgba(47, 174, 102, 0.28);
    color: var(--green-900);
}

.alert-danger {
    background: rgba(179, 38, 30, 0.08);
    border: 1px solid rgba(179, 38, 30, 0.2);
    color: var(--danger);
}

/* ---------------------------------------------------------
   Stats cards (admin)
   --------------------------------------------------------- */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--green-100);
    color: var(--green-700);
}

.stat-icon.gold { background: rgba(212, 175, 55, 0.16); color: #8C6D14; }
.stat-icon svg { width: 22px; height: 22px; }

.stat-value {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--green-950);
}

.stat-label { font-size: 0.8rem; color: var(--muted); }

/* ---------------------------------------------------------
   Table
   --------------------------------------------------------- */
.table-card { padding: 1.4rem; overflow: hidden; }

.pk-table {
    width: 100%;
    border-collapse: collapse;
}

.pk-table thead th {
    text-align: left;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-600);
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--line);
}

.pk-table tbody td {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid rgba(15, 107, 62, 0.07);
    vertical-align: middle;
    font-size: 0.92rem;
}

.pk-table tbody tr {
    transition: background 0.25s ease;
}

.pk-table tbody tr:hover { background: rgba(47, 174, 102, 0.05); }
.pk-table tbody tr:last-child td { border-bottom: 0; }

.user-cell { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }

.user-thumb, .user-thumb-fb {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.user-thumb-fb {
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, var(--green-500), var(--green-700));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
}

.user-cell .name {
    font-weight: 600;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 0.94rem;
}

.user-cell .sub {
    font-size: 0.78rem;
    color: var(--faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.row-actions { display: inline-flex; gap: 0.5rem; }

/* ---------------------------------------------------------
   Pagination (Laravel bootstrap-4 markup)
   --------------------------------------------------------- */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
}

.page-link {
    display: grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.85);
    color: var(--green-700);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-smooth), box-shadow 0.25s ease;
}

a.page-link:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--green-500), var(--green-700));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 107, 62, 0.26);
}

.page-item.disabled .page-link {
    opacity: 0.42;
    cursor: default;
}

/* ---------------------------------------------------------
   Empty state
   --------------------------------------------------------- */
.empty-state {
    text-align: center;
    padding: 2.6rem 1.6rem;
}

.empty-art {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    background: linear-gradient(150deg, var(--green-50), rgba(212, 175, 55, 0.12));
    border: 1px dashed var(--line-gold);
    animation: floatY 5s ease-in-out infinite;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.empty-state p { color: var(--muted); max-width: 420px; margin: 0 auto 1.1rem; font-size: 0.94rem; }

/* ---------------------------------------------------------
   Lightbox
   --------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(6, 48, 27, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox-inner {
    position: relative;
    width: 100%;
    max-width: min(88vw, 460px);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.35s var(--ease-smooth);
}

.lightbox.is-open .lightbox-inner { transform: scale(1); }

.lightbox-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox-name {
    margin-top: 1.2rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: #fff;
}

.lightbox-close {
    position: absolute;
    top: -0.6rem;
    right: -0.6rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); }

.zoomable { cursor: zoom-in; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer {
    margin-top: 3rem;
    padding: 2.4rem 0;
    position: relative;
}

.footer-shell {
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.footer-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

.footer-icons { display: flex; gap: 0.55rem; font-size: 1.15rem; opacity: 0.75; }

/* ---------------------------------------------------------
   Reveal-on-scroll
   --------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.in-view { opacity: 1; transform: none; }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

.anim-in { animation: fadeSlideUp 0.7s var(--ease-smooth) both; }

/* ---------------------------------------------------------
   Auth (PIN login)
   --------------------------------------------------------- */
.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2.6rem 2.2rem;
    text-align: center;
}

.auth-logo {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.3rem;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from 210deg, var(--green-500), var(--gold), var(--green-600), var(--green-500));
}

.auth-logo .inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
}

.auth-logo img { width: 46px; height: 46px; object-fit: contain; }

/* ---------------------------------------------------------
   Admin page shell
   --------------------------------------------------------- */
.page-shell {
    padding: calc(var(--nav-h) + 2.2rem) 0 3.5rem;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.page-head-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Search */
.search-form { position: relative; flex: 1 1 320px; max-width: 460px; }

.search-form .input { padding-left: 2.9rem; border-radius: 999px; }

.search-form .search-ico {
    position: absolute;
    left: 1.05rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--faint);
    pointer-events: none;
}

.search-form .search-ico svg { width: 18px; height: 18px; display: block; }

/* Upload / preview */
.upload-card { padding: 1.2rem; border-radius: var(--r-md); background: rgba(255,255,255,0.6); border: 1px solid var(--line); }

.photo-preview {
    margin-top: 1rem;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.photo-preview img { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; }

.photo-preview .cap {
    padding: 0.6rem 0.9rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.photo-empty {
    margin-top: 1rem;
    min-height: 210px;
    border-radius: var(--r-md);
    border: 1.5px dashed var(--line);
    display: grid;
    place-items: center;
    color: var(--faint);
    font-size: 0.88rem;
    text-align: center;
    padding: 1rem;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
    .nav-links { display: none; }
    .spotlight { grid-template-columns: 1fr; text-align: center; }
    .spotlight-info .bday-meta, .spotlight-info .bday-actions { justify-content: center; }
    .wish-layout { grid-template-columns: 1fr; }
    .wish-form-card { position: static; }
    .pk-arrow.prev { left: 4px; }
    .pk-arrow.next { right: 4px; }
}

@media (max-width: 767.98px) {
    :root { --nav-h: 66px; }

    .brand-mark { width: 48px; height: 48px; }
    .brand-mark img { width: 34px; height: 34px; }

    .board-hero-doa { padding: 1rem 1.15rem; line-height: 1.75; }
    .board-hero-rule { width: 112px; }

    .section { padding: 3rem 0; }
    .hero { min-height: 88vh; }
    .hero-stats { gap: 0.5rem; }
    .chip-stat { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
    .celebrate-card { border-radius: var(--r-lg); }

    .page-head { flex-direction: column; align-items: stretch; }
    .page-head-actions .btn { flex: 1 1 auto; }

    /* Stacked table cards */
    .pk-table thead { display: none; }
    .pk-table, .pk-table tbody, .pk-table tr, .pk-table td { display: block; width: 100%; }

    .pk-table tbody tr {
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid var(--line);
        border-radius: var(--r-md);
        padding: 1rem;
        margin-bottom: 0.85rem;
    }

    .pk-table tbody td { border: 0; padding: 0.35rem 0; }

    .pk-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-family: var(--font-display);
        font-size: 0.68rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: var(--gold);
        margin-bottom: 0.1rem;
    }

    .pk-table td.cell-end { text-align: left; }
    .row-actions { margin-top: 0.4rem; }
}

@media (max-width: 480px) {
    .hero-cta .btn { width: 100%; }
    .bday-actions .btn { width: 100%; }
    .footer-shell { justify-content: center; text-align: center; }
}

/* ---------------------------------------------------------
   Envelope cover screen
   --------------------------------------------------------- */
body.cover-locked { overflow: hidden; }

.cover-screen {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background:
        radial-gradient(900px 520px at 85% 8%, rgba(212, 175, 55, 0.20), transparent 60%),
        radial-gradient(760px 520px at 8% 92%, rgba(47, 174, 102, 0.28), transparent 62%),
        linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 45%, #0C5433 100%);
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

.cover-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cover-stage {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

.cover-hint {
    margin: 0;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
}

.envelope-wrap {
    width: min(92%, 440px);
    perspective: 1600px;
}

.envelope {
    position: relative;
    width: 100%;
    padding-top: 64%;
    cursor: pointer;
    animation: floatY 4.5s ease-in-out infinite;
}

.envelope-back {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #EAD489, var(--gold));
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.4);
    z-index: 1;
    overflow: hidden;
}

.envelope-back::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.envelope-stamp {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 46px;
    height: 56px;
    background: #fff;
    border-radius: 4px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    transform: rotate(7deg);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

.envelope-stamp::before {
    content: "";
    position: absolute;
    inset: -3px;
    border: 2px dotted rgba(15, 107, 62, 0.5);
    border-radius: 6px;
}

.letter {
    position: absolute;
    left: 6%;
    bottom: 5%;
    width: 88%;
    min-height: 64%;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 18px;
    padding: 1.6rem 1.3rem;
    text-align: center;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform-origin: bottom center;
    transition: transform 1s var(--ease-smooth), box-shadow 1s ease;
}

.cover-logo {
    width: 74px;
    height: 74px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    background: var(--green-50);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
}

.cover-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.cover-kicker {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
}

.cover-title {
    margin: 0.55rem 0 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    line-height: 1.15;
    color: var(--green-900);
}

.envelope-pocket {
    position: absolute;
    inset: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 38%, 50% 72%, 0 38%);
    background: linear-gradient(160deg, #BFE3CD, #E9F5EE);
    z-index: 3;
    pointer-events: none;
    border-radius: 0 0 18px 18px;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background: linear-gradient(160deg, var(--green-700), var(--green-500));
    transform-origin: top center;
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(.4, 0, .2, 1);
    z-index: 4;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.envelope-seal {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    padding: 8px;
    z-index: 5;
    transition: opacity 0.4s ease, transform 0.4s ease;
    animation: sealPulse 2.4s ease-in-out infinite;
}

.envelope-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes sealPulse {
    0%, 100% { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(212, 175, 55, 0.55); }
    50%      { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36), 0 0 0 9px rgba(212, 175, 55, 0.25); }
}

.envelope.is-open { animation: none; }

.envelope.is-open .envelope-flap {
    transform: rotateX(180deg);
    z-index: 1;
}

.envelope.is-open .letter {
    transform: translateY(-58%) scale(1.05);
    z-index: 6;
}

.envelope.is-open .envelope-seal {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
}

@media (max-width: 480px) {
    .envelope-wrap { width: 88%; }
    .cover-logo { width: 58px; height: 58px; }
    .cover-logo img { width: 36px; height: 36px; }
    .envelope-seal { width: 50px; height: 50px; }
    .envelope-stamp { width: 38px; height: 46px; font-size: 1.2rem; }
}

/* ---------------------------------------------------------
   Experience reveal (after envelope opens)
   --------------------------------------------------------- */
.experience {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.experience.is-visible {
    opacity: 1;
    visibility: visible;
}

.first-section {
    padding-top: calc(var(--nav-h) + 2.8rem);
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------
   Board of Directors page (Lembaga Pengarah)
   --------------------------------------------------------- */
.board-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.6rem;
}

.board-hero .kicker { justify-content: center; }

/* Staged entrance. Driven off .experience.is-visible rather than the
   .reveal observer, because the hero sits above the fold and the observer
   fires while the envelope cover is still up — spending the animation
   before anyone can see it. */
.board-hero-anim { opacity: 0; }

.experience.is-visible .board-hero-anim {
    animation: fadeSlideUp 0.85s var(--ease-smooth) var(--in-delay, 0s) both;
}

.board-hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.65rem, 4.4vw, 2.6rem);
    line-height: 1.24;
    letter-spacing: -0.02em;
    color: var(--green-950);
    margin: 0.85rem 0 0;
}

.board-hero-title .line { display: block; }

.board-hero-title .line.lead {
    font-size: 0.6em;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--muted);
}

.board-hero-title .line.tail {
    font-size: 0.7em;
    font-weight: 600;
    color: var(--green-900);
    margin-top: 0.3rem;
}

.board-hero-title .grad {
    background: linear-gradient(120deg, var(--green-600) 8%, var(--green-500) 42%, var(--gold) 90%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradShift 7s ease-in-out infinite;
}

/* Gold divider with a small diamond notched into the middle. */
.board-hero-rule {
    position: relative;
    width: 148px;
    height: 2px;
    margin: 1.5rem auto;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.board-hero-rule::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: var(--gold);
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 0 0 0 5px var(--bg);
}

.board-hero-doa {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.2rem 1.7rem;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.44));
    border: 1px solid var(--line-gold);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: clamp(0.98rem, 2vw, 1.1rem);
    line-height: 1.85;
    color: var(--ink);
    opacity: 0;
}

/* Entrance, then a slow gold breathing glow that keeps running. */
.experience.is-visible .board-hero-doa {
    animation:
        fadeSlideUp 0.85s var(--ease-smooth) var(--in-delay, 0s) both,
        doaGlow 6s ease-in-out 1.8s infinite;
}

@keyframes doaGlow {
    0%, 100% { box-shadow: var(--shadow-sm), 0 0 0 rgba(212, 175, 55, 0); }
    50%      { box-shadow: var(--shadow-sm), 0 0 28px rgba(212, 175, 55, 0.20); }
}

@media (prefers-reduced-motion: reduce) {
    .board-hero-anim,
    .board-hero-doa { opacity: 1; }

    .experience.is-visible .board-hero-anim,
    .experience.is-visible .board-hero-doa,
    .board-hero-title .grad { animation: none; }
}

.board-crest {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.1rem;
    padding: 14px;
    border-radius: 50%;
    background: var(--glass-strong);
    border: 1px solid var(--line-gold);
    box-shadow: var(--shadow-gold);
    display: grid;
    place-items: center;
}

.board-crest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.board-position {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9C7C1E;
    margin-bottom: 0.45rem;
}

.board-spot-list {
    display: grid;
    gap: 1.6rem;
}

.board-spot-list .spotlight + .spotlight {
    border-top: 1px solid var(--line-gold);
    padding-top: 1.8rem;
}

/* --- "Disambut pada" lead-in ---
   Reads into the floating date pill below it in the photo column of
   the Sambutan Lalu card, so the pill carries the date itself and
   nothing repeats it. Entrance is staged behind the card's own
   .reveal: the letters start wide and settle inward, which lands the
   eye on the pill a beat later rather than on both at once. */
.spot-when {
    display: block;
    margin: 1.4rem auto 0;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--faint);
    opacity: 0;
}

.reveal.in-view .spot-when {
    animation: spotWhenIn 0.8s var(--ease-smooth) 0.3s both;
}

/* Standing alone the pill floats on the shared floatY (-22px, ±3deg)
   and sets a 1.5rem top margin. Under the label that travel rides
   straight over the text, so it gets a gentler rotation-free float of
   its own plus clearance wider than the float — the two then read as
   one unit without ever touching. */
.spot-when + .spotlight-date {
    margin-top: 0.9rem;
    animation: spotWhenFloat 5s ease-in-out infinite;
}

@keyframes spotWhenFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

@keyframes spotWhenIn {
    from { opacity: 0; transform: translateY(8px); letter-spacing: 0.36em; }
    to   { opacity: 1; transform: none; letter-spacing: 0.2em; }
}

@media (prefers-reduced-motion: reduce) {
    .spot-when { opacity: 1; }

    .reveal.in-view .spot-when,
    .spot-when + .spotlight-date { animation: none; }
}

/* --- Gallery grid --- */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.board-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--glass-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth), border-color 0.45s;
}

.board-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-gold);
}

.board-card.is-month {
    border-color: var(--line-gold);
    box-shadow: var(--shadow-gold);
}

.board-card.is-today {
    border-color: var(--gold);
    box-shadow: 0 18px 44px rgba(212, 175, 55, 0.32);
}

.board-card.is-today::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 2px solid rgba(212, 175, 55, 0.55);
    animation: board-glow 2.4s ease-in-out infinite;
}

@keyframes board-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.35); }
    50% { box-shadow: 0 0 0 9px rgba(212, 175, 55, 0); }
}

.board-ribbon {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--green-950);
    background: linear-gradient(120deg, var(--gold-soft), #EFD98A);
    border: 1px solid var(--line-gold);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    box-shadow: var(--shadow-sm);
}

.board-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(212, 175, 55, 0.14), transparent 55%),
        linear-gradient(165deg, var(--green-50), var(--green-100));
}

.board-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    cursor: zoom-in;
    transition: transform 0.6s var(--ease-smooth);
}

.board-card:hover .board-photo img { transform: scale(1.05); }

.board-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(6, 48, 27, 0.28));
}

.board-initial {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--green-600);
}

.board-plate {
    position: relative;
    text-align: center;
    padding: 1.05rem 1rem 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
}

.board-plate::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.board-name {
    font-size: 1.02rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.board-plate .board-position { margin-bottom: 0.55rem; }

.board-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green-700);
    background: var(--green-50);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.28rem 0.8rem;
}

@media (max-width: 575.98px) {
    .board-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
    .board-photo { aspect-ratio: 1 / 1.15; }
    .board-name { font-size: 0.92rem; }
}
