/* Birthday.Gold dev8 — app theme. Mobile-first, layered on Bootstrap 5.3. */

/* Always show the vertical scrollbar to avoid layout shift between
   scrolling and non-scrolling pages. */
html { overflow-y: scroll; }

:root {
    --bg-gold: #E8B500;
    --bg-gold-soft: #FFF3CD;
    --bg-ink: #1A1523;
    --bg-ink-2: #2A2335;
    --bg-grad: linear-gradient(135deg, #6D28D9 0%, #9333EA 45%, #E8B500 120%);
    --bg-radius: 16px;
    --bg-shadow: 0 6px 24px rgba(26, 21, 35, 0.10);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #F7F6FB;
    color: var(--bg-ink);
    padding-bottom: 76px;            /* room for mobile bottom nav */
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* App column: comfortable on phones, widens into a real layout on desktop. */
.app-shell { width: 100%; max-width: 560px; margin: 0 auto; padding-left: .25rem; padding-right: .25rem; }
@media (min-width: 768px)  { .app-shell { max-width: 720px; } }
@media (min-width: 992px)  { .app-shell { max-width: 960px; } }

/* Forms read better narrow even when the shell is wide. */
.form-narrow { max-width: 480px; margin-left: auto; margin-right: auto; }

/* Missing-in-Bootstrap helper: lets flex children shrink so text-truncate works. */
.min-w-0 { min-width: 0 !important; }

a { color: #6D28D9; }

/* ---- Top bar ---- */
.bg-topbar {
    position: sticky; top: 0; z-index: 1020;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ECE9F3;
    height: 56px;
}
.bg-brand { font-weight: 800; letter-spacing: -0.02em; color: var(--bg-ink); text-decoration: none; }
.bg-brand .dot { color: var(--bg-gold); }

/* ---- Buttons ---- */
.btn-gold {
    background: var(--bg-gold); border: none; color: #2A2200; font-weight: 700;
}
.btn-gold:hover, .btn-gold:focus { background: #D4A600; color: #2A2200; }
.btn-ink { background: var(--bg-ink); border: none; color: #fff; font-weight: 600; }
.btn-ink:hover { background: #000; color: #fff; }

/* ---- Hero ---- */
.bg-hero {
    position: relative; overflow: hidden; text-align: center;
    background:
        radial-gradient(900px 380px at 50% -8%, #FBE9B8 0%, rgba(251,233,184,0) 62%),
        radial-gradient(700px 320px at 88% 0%, #EADCFB 0%, rgba(234,220,251,0) 55%),
        #FCFBFE;
    border-bottom: 1px solid #EFEAF6;
    padding: 2.4rem 1.25rem 1.4rem;
}
.bg-hero .hero-inner { max-width: 660px; margin: 0 auto; position: relative; z-index: 2; }
.bg-hero h1 {
    font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
    color: var(--bg-ink); font-size: 2rem;
}
/* highlighter swash on the key phrase */
.bg-hero h1 .hl {
    background: linear-gradient(transparent 58%, #FFD75E 58% 92%, transparent 92%);
    padding: 0 .1em; white-space: nowrap;
}
.bg-hero .lead { color: #5C5570; }
.bg-hero .eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    background: #fff; border: 1px solid #ECE6F5; color: #6D28D9;
    font-weight: 700; font-size: .8rem; border-radius: 999px;
    padding: .35rem .8rem; box-shadow: var(--bg-shadow);
}
.bg-hero .trust { color: #8A8398; font-size: .82rem; }
.bg-hero .trust .stars { color: #E8B500; letter-spacing: 1px; }
@media (min-width: 768px) {
    .bg-hero { padding: 3.6rem 1.5rem 1.8rem; }
    .bg-hero h1 { font-size: 3rem; }
}

/* confetti sprinkle (decorative, behind content) */
.confetti { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.confetti i {
    position: absolute; width: 9px; height: 9px; border-radius: 2px; opacity: .85;
    transform: rotate(var(--r, 20deg));
}
.confetti i:nth-child(1){left:8%;  top:24%; background:#E8B500; --r:18deg;}
.confetti i:nth-child(2){left:18%; top:62%; background:#9333EA; --r:-22deg; border-radius:50%;}
.confetti i:nth-child(3){left:30%; top:14%; background:#FF7AB2; --r:35deg;}
.confetti i:nth-child(4){left:72%; top:18%; background:#3BC9A6; --r:-12deg; border-radius:50%;}
.confetti i:nth-child(5){left:86%; top:52%; background:#E8B500; --r:28deg;}
.confetti i:nth-child(6){left:62%; top:70%; background:#9333EA; --r:-30deg;}
.confetti i:nth-child(7){left:48%; top:8%;  background:#FF7AB2; --r:14deg; border-radius:50%;}
.confetti i:nth-child(8){left:90%; top:30%; background:#3BC9A6; --r:-18deg;}

/* brand marquee (social proof) */
.brand-marquee { overflow: hidden; padding: .9rem 0 .2rem;
    -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.brand-marquee .track { display: flex; gap: .5rem; width: max-content; animation: bg-marquee 38s linear infinite; }
.brand-marquee:hover .track { animation-play-state: paused; }
.brand-chip {
    display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto;
    background: #fff; border: 1px solid #ECE6F5; border-radius: 999px;
    padding: .3rem .7rem .3rem .35rem; font-size: .82rem; font-weight: 600; color: #3A3348;
}
.brand-chip .ic { width: 24px; height: 24px; border-radius: 50%; background: #F1EEF8;
    color: #6D28D9; font-weight: 800; font-size: .66rem; display: flex; align-items: center; justify-content: center; }
@keyframes bg-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brand-marquee .track { animation: none; } }

/* ---- Cards ---- */
.bg-card {
    background: #fff; border: 1px solid #EFEDF5; border-radius: var(--bg-radius);
    box-shadow: var(--bg-shadow);
}
.brand-tile { border: 1px solid #EFEDF5; border-radius: 14px; background:#fff; transition: transform .08s ease, box-shadow .08s ease; }
.brand-tile:active { transform: scale(0.99); }
.brand-logo {
    width: 44px; height: 44px; border-radius: 10px; object-fit: contain;
    background: #F1EEF8; display:flex; align-items:center; justify-content:center;
    font-weight: 800; color:#6D28D9;
}

/* ---- Status pills ---- */
.pill { font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.pill-enrolled    { background:#D1F2E1; color:#0F7A4A; }
.pill-in_progress { background:#FFE9C7; color:#9A5B00; }
.pill-queued      { background:#E5E0F5; color:#5B33C8; }
.pill-pending     { background:#EDEBF2; color:#564F66; }
.pill-failed      { background:#FBD9D9; color:#B02525; }
.pill-supported   { background:#D1F2E1; color:#0F7A4A; }
.pill-experimental{ background:#FFF3CD; color:#856404; }
.pill-unsupported { background:#EDEBF2; color:#564F66; }

/* ---- Mobile bottom nav ---- */
.bg-bottomnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    background: #fff; border-top: 1px solid #ECE9F3;
    display: flex; justify-content: space-around; align-items: center;
    height: 64px; padding-bottom: env(safe-area-inset-bottom);
}
.bg-bottomnav a {
    flex: 1; text-align: center; color: #8A8398; text-decoration: none;
    font-size: .68rem; font-weight: 600; padding-top: .35rem;
}
.bg-bottomnav a i { display:block; font-size: 1.35rem; line-height: 1; margin-bottom: 2px; }
.bg-bottomnav a.active { color: #6D28D9; }

@media (min-width: 560px) {
    .bg-bottomnav { max-width: 460px; margin: 0 auto; border-radius: 18px 18px 0 0; box-shadow: 0 -4px 20px rgba(26,21,35,.08); }
}
/* Roomier tap targets / wrapping safety for brand rows */
.brand-tile .fw-semibold { line-height: 1.2; }
.brand-tile { padding: .6rem !important; }
