/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--r-pill);
    border: none;
    transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s, filter 0.15s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--lemon); color: #4a3b0e; box-shadow: 0 6px 0 var(--yellow-dark); }
.btn-primary:hover { box-shadow: 0 8px 0 var(--yellow-dark); color: #4a3b0e; }
.btn-primary:active { box-shadow: 0 3px 0 var(--yellow-dark); }
.btn-secondary { background: var(--teal); color: var(--white); box-shadow: 0 6px 0 var(--teal-dark); }
.btn-secondary:active { box-shadow: 0 3px 0 var(--teal-dark); }
.btn-gold { background: var(--sunny); color: #4a2c00; box-shadow: 0 6px 0 var(--orange-dark); }
.btn-gold:active { box-shadow: 0 3px 0 var(--orange-dark); }
.btn-outline { background: var(--white); color: var(--orange-dark); border: 2.5px solid var(--sunny); box-shadow: none; }
.btn-outline:hover { background: #fff8e6; border-color: var(--orange-dark); color: var(--orange-dark); }
.btn-outline-dark { background: transparent; color: var(--white); border: 2.5px solid rgba(255,255,255,0.6); box-shadow: none; }
.btn-outline-dark:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ── Nav ── */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-bottom: 3px solid var(--lemon);
    transition: box-shadow 0.3s ease;
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--ocean); }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--navy); position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--bubblegum); transition: width 0.2s; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

@media (max-width: 940px) {
    .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform 0.3s ease; }
    .nav-links.open { transform: translateY(0); }
    .nav-toggle { display: flex; }
    .nav-cta .btn span.hide-mobile { display: none; }
}

/* ── Hero Slider ── */
.hero-slider { position: relative; height: 100vh; min-height: 650px; overflow: hidden; background: #feebc0; margin-top: var(--nav-h); }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
    width: 100%; height: 100%; object-fit: cover;
    mix-blend-mode: multiply; opacity: 0.9;
}
.hero-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(1, 39, 189, 0.5);
}
/* bg-kids.png is a flat illustration on a black backdrop, not a photo —
   multiply-blending it crushes the black to solid ink. Show it plainly, full-bleed like slide 1. */
.hero-slide--flat { background: #feebc0; }
.hero-slide--flat img { object-fit: cover; object-position: center bottom; mix-blend-mode: normal; opacity: 1; }
.hero-content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
    padding: 0 24px;
}
.hero-content h1 { color: var(--white); max-width: 820px; }
.hero-content p.lead {
    color: #2f4858; background: rgba(255,255,240,0.85);
    font-size: 1rem; font-weight: 600; max-width: 520px;
    padding: 10px 22px; border-radius: var(--r-pill); margin: 18px 0 28px;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--lemon); }
.hero-stats .stat span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

.cd-box { background: var(--white); border-radius: var(--r-md); padding: 14px 22px; min-width: 92px; box-shadow: 0 14px 24px rgba(0,0,0,0.14); border: 2px solid #FFE0A3; text-align: center; }
.cd-box strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy); line-height: 1.1; }
.cd-box span { display: block; font-size: 0.76rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
@media (max-width: 640px) { .cd-box { padding: 10px 14px; min-width: 68px; } }

.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.7); background: transparent; padding: 0; }
.hero-dots button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.hero-dots button.active { background: var(--white); }
.hero-scroll-cue { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; color: #7c6b3f; font-size: 1.4rem; animation: bounce 1.5s infinite; }
@keyframes bounce { 0%, 100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ── Cards ── */
.card {
    background: var(--white);
    color: var(--text);
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: #fffbf0; }
.card-icon {
    width: 54px; height: 54px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--orange-dark);
    background: #ffe5b4;
    margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }

/* ── Confessions carousel ── */
.confess-wrap { position: relative; }
.confess-track { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.confess-track::-webkit-scrollbar { display: none; }
.confess-nav { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
.confess-nav button {
    width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border);
    background: var(--white); color: var(--navy); font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
}
.confess-nav button:hover { border-color: var(--sunny); color: var(--orange-dark); }
.confess-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: var(--grad-navy);
    color: var(--white);
    border-radius: var(--r-lg);
    padding: 32px;
    min-height: 200px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
}
.confess-card:nth-child(4n+2) { background: linear-gradient(135deg, var(--ocean) 0%, #4d7896 100%); }
.confess-card:nth-child(4n+3) { background: linear-gradient(135deg, var(--bubblegum) 0%, #e5636d 100%); }
.confess-card:nth-child(4n+4) { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.confess-card::before { content: '\201C'; font-family: var(--font-display); font-size: 3.5rem; color: var(--yellow); position: absolute; top: 8px; left: 20px; opacity: 0.7; }
.confess-card p { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.5; position: relative; z-index: 1; }

/* ── Video library cards ── */
.vcard { background: var(--white); color: var(--text); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.vcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.vcard-thumb { position: relative; aspect-ratio: 16/9; background: var(--ocean); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vcard-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard-thumb .placeholder-icon { font-size: 2rem; color: rgba(255,255,255,0.85); }
.vbadge { position: absolute; top: 10px; left: 10px; border-radius: var(--r-pill); padding: 4px 12px; font-size: 0.68rem; font-weight: 700; }
.vbadge-free { background: #ddf1dd; color: var(--success); }
.vbadge-premium { background: #FFD966; color: #784F1A; }
.vbadge-owned { background: #d7eef5; color: var(--teal-dark); }
.vbadge-pending { background: #ffe6cf; color: var(--orange-dark); }
.dur-tag { position: absolute; bottom: 10px; right: 10px; background: rgba(20,25,30,0.72); border-radius: var(--r-pill); padding: 3px 10px; font-size: 0.68rem; color: #fff; }
.vcard-body { padding: 16px 16px 4px; }
.vcard-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; color: var(--orange-dark); text-transform: uppercase; }
.vcard-title { font-weight: 700; font-size: 1rem; margin: 5px 0 2px; color: var(--navy); }
.vcard-meta { font-size: 0.78rem; color: var(--muted); }
.vcard-footer { padding: 12px 16px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 2px dotted var(--border); margin-top: 12px; }
.price-tag { font-weight: 700; font-size: 1.1rem; color: var(--orange-dark); }

/* ── Audio cards ── */
.audio-card { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 20px; display: flex; gap: 16px; align-items: center; }
.audio-card .cover { width: 64px; height: 64px; border-radius: 14px; background: var(--grad-gold); flex-shrink: 0; display:flex; align-items:center; justify-content:center; color:var(--white); font-size:1.4rem; overflow: hidden; }
.audio-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.audio-card .meta { flex: 1; min-width: 0; }
.audio-card .meta h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 2px; }
.audio-card .meta p { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.audio-card audio { width: 100%; height: 36px; }

/* ── Testimonial cards ── */
.testi-card { background: var(--cream); color: var(--navy); border-radius: var(--r-md); padding: 28px; }
.testi-card .stars { color: var(--yellow); margin-bottom: 12px; }
.testi-card p.quote { font-size: 1.02rem; margin-bottom: 18px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-sunset); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-display); font-weight: 600; }
.testi-who strong { display: block; font-size: 0.95rem; }
.testi-who span { font-size: 0.82rem; color: var(--muted); }

/* ── Forms ── */
.form-group { margin-bottom: 18px; text-align: left; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--white);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18,184,206,0.15); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.alert { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 700; font-size: 0.92rem; margin-bottom: 18px; }
.alert-success { background: rgba(47,162,106,0.12); color: var(--success); }
.alert-error { background: rgba(229,72,77,0.12); color: var(--danger); }

/* ── Modal ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(11,31,58,0.55); backdrop-filter: blur(6px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: var(--r-lg); padding: 36px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); position: relative; }
.modal-close { position: absolute; top: 18px; right: 18px; background: var(--cream); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; color: var(--navy); }
.modal-box h3 { margin-bottom: 6px; }
.modal-box .modal-sub { color: var(--muted); margin-bottom: 24px; font-size: 0.92rem; }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: var(--r-pill); }
.badge-free { background: #ddf1dd; color: var(--success); }
.badge-premium { background: #fff3c4; color: #8a6d1a; }
.badge-owned { background: #d7eef5; color: var(--teal-dark); }
.badge-pending { background: #ffe6cf; color: var(--orange-dark); }

/* ── Footer ── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.75); padding: 64px 0 28px; }
.site-footer h4 { color: #ffe9c7; font-family: var(--font-display); margin-bottom: 16px; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--lemon); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 40px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; text-align: center; font-size: 0.85rem; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--bubblegum); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ── Admin layout (zone-admin + super-admin share this) ── */
.admin-shell { display: flex; min-height: 100vh; background: var(--cream); }
.admin-sidebar { width: 260px; background: var(--navy); color: var(--white); padding: 28px 20px; flex-shrink: 0; }
.admin-sidebar .brand { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 32px; display: flex; align-items: center; gap: 10px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); color: rgba(255,255,255,0.75); font-weight: 700; font-size: 0.92rem; margin-bottom: 4px; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.admin-main { flex: 1; padding: 36px 40px; min-width: 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-card { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 24px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-box { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 22px; }
.stat-box strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--teal-dark); }
.stat-box span { font-size: 0.85rem; color: var(--muted); }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); padding: 12px 14px; border-bottom: 2px solid var(--border); }
.admin-table td { padding: 14px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.admin-table tr:hover td { background: var(--cream); }
.table-wrap { overflow-x: auto; }

@media (max-width: 900px) {
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
    .admin-sidebar nav { display: flex; gap: 6px; overflow-x: auto; }
    .admin-sidebar nav a { white-space: nowrap; margin-bottom: 0; }
    .admin-main { padding: 24px 18px; }
}

.link-copy-box { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 2px dashed var(--border); border-radius: var(--r-sm); padding: 12px 16px; font-weight: 700; color: var(--teal-dark); font-size: 0.9rem; }
.link-copy-box button { margin-left: auto; flex-shrink: 0; }

.row-repeat { display: grid; grid-template-columns: 2fr 1fr 2fr auto; gap: 10px; margin-bottom: 10px; align-items: center; }
@media (max-width: 700px) { .row-repeat { grid-template-columns: 1fr; } }
