/* ==========================================================================
   The Lady Cosmo — tema "Cosmic Harmony"
   Warna: midnight plum + rose gold + blush. Font: Cormorant Garamond + Jost.
   ========================================================================== */

:root {
    --night:      #1C1729;
    --night-2:    #2A2240;
    --plum:       #4A3A63;
    --gold:       #C9A27E;
    --gold-deep:  #A9825E;
    --gold-soft:  #E7D3BF;
    --blush:      #F6EDE8;
    --cream:      #FCF9F6;
    --ink:        #2B2433;
    --muted:      #7A7186;
    --line:       #E9E0DA;
    --radius:     18px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Jost', system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Dasar ---------- */
body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; color: var(--ink); }
a { color: var(--gold-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--plum); }
em { font-style: italic; color: var(--gold-deep); }
img { max-width: 100%; }
::selection { background: var(--gold-soft); color: var(--night); }

.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.text-white-75 { color: rgba(255,255,255,.75); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .74rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
    color: var(--gold-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-soft); }
.text-center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-blush { background: var(--blush); }
.section-dark { background: radial-gradient(ellipse at 80% 0%, var(--plum) 0%, var(--night) 60%); color: #fff; overflow: hidden; }
.section-head { margin-bottom: 3rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-dark .section-title em, .cta-band .section-title em, .page-hero em, .hero em { color: var(--gold-soft); }
.section-lead { max-width: 640px; color: var(--muted); }
.lead-serif { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.5; color: var(--plum); }

/* ---------- Tombol ---------- */
.btn { border-radius: 999px; font-weight: 500; letter-spacing: .04em; padding: .7rem 1.6rem; transition: all .25s var(--ease); }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-sm { padding: .45rem 1.1rem; }
.btn-cosmo { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: #fff; border: 0; box-shadow: 0 8px 24px -10px rgba(169,130,94,.8); }
.btn-cosmo:hover, .btn-cosmo:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(169,130,94,.9); }
.btn-outline-cosmo { border: 1px solid var(--gold); color: var(--gold-deep); background: transparent; }
.btn-outline-cosmo:hover { background: var(--gold); color: #fff; }
.btn-ghost-light { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: #fff; color: var(--night); }

.link-arrow { font-size: .85rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i, .pillar-card:hover .link-arrow i, .product-card:hover .link-arrow i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(252,249,246,.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: all .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 30px -20px rgba(28,23,41,.4); }
.has-dark-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.has-dark-hero .site-header:not(.scrolled) .nav-link,
.has-dark-hero .site-header:not(.scrolled) .brand-text,
.has-dark-hero .site-header:not(.scrolled) .navbar-toggler { color: #fff; }
.has-dark-hero .site-header.scrolled { background: rgba(252,249,246,.95); }
.site-header .navbar { padding: 1rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .5rem; }
.brand-mark { color: var(--gold); font-size: 1.1rem; }

/* Logo gambar — atur tinggi di sini jika terlalu besar/kecil */
.site-logo { height: 66px; width: auto; display: block; transition: height .3s; }
.site-header.scrolled .site-logo { height: 54px; }
.site-logo-footer { height: 96px; }
.logo-on-dark { display: none; }
/* Di atas hero gelap (beranda, sebelum di-scroll) tampilkan versi untuk latar gelap */
.has-dark-hero .site-header:not(.scrolled) .logo-on-light { display: none; }
.has-dark-hero .site-header:not(.scrolled) .logo-on-dark { display: block; }
@media (max-width: 575.98px) { .site-logo, .site-header.scrolled .site-logo { height: 50px; } }
.brand-text { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--night); letter-spacing: .01em; }
.brand-text em { color: var(--gold); }
.nav-link { font-size: .88rem; font-weight: 500; color: var(--ink); padding: .5rem .85rem !important; position: relative; }
.nav-link::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active, .nav-link:hover { color: var(--gold-deep) !important; }
.navbar-toggler { border: 0; font-size: 1.8rem; color: var(--night); padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

.mobile-nav { background: var(--night); color: #fff; }
.mobile-nav .brand-text { color: #fff; }
.mobile-nav ul a { display: block; font-family: var(--font-display); font-size: 1.8rem; color: rgba(255,255,255,.85); padding: .35rem 0; }
.mobile-nav ul a.active, .mobile-nav ul a:hover { color: var(--gold-soft); }

/* ---------- Bintang & orbit ---------- */
.stars {
    position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image:
        radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 72% 12%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 42% 68%, var(--gold-soft) 50%, transparent 51%),
        radial-gradient(1px 1px at 88% 52%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 22% 82%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 58% 34%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 92% 88%, var(--gold-soft) 50%, transparent 51%),
        radial-gradient(1px 1px at 6% 50%, #fff 50%, transparent 51%);
    background-size: 340px 340px;
    animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .7; } }

/* ---------- Hero beranda ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    min-height: 100vh; display: flex; align-items: center;
    padding: 8rem 0 5rem;
    background: radial-gradient(ellipse at 75% 30%, var(--plum) 0%, var(--night-2) 35%, var(--night) 75%);
}
.orbit { position: absolute; border: 1px solid rgba(231,211,191,.14); border-radius: 50%; pointer-events: none; }
.orbit-1 { width: 900px; height: 900px; right: -300px; top: -200px; }
.orbit-2 { width: 600px; height: 600px; right: -150px; top: -50px; border-style: dashed; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-title { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 400; color: #fff; letter-spacing: -.01em; margin-bottom: 1.5rem; }
.hero-lead { font-size: 1.1rem; color: rgba(255,255,255,.78); max-width: 520px; font-weight: 300; }
.hero-pillars { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.hero-pillars li { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--gold-soft); display: flex; align-items: center; gap: .6rem; }
.hero-pillars li::before { content: '✦'; font-style: normal; font-size: .7rem; color: var(--gold); }
.hero-pillars-dark li { color: var(--plum); }

.hero-visual { position: relative; height: 560px; max-width: 520px; margin-left: auto; }
.arch { overflow: hidden; border-radius: 999px 999px 24px 24px; background: var(--night-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch:hover img { transform: scale(1.04); }
.hero-visual .arch-lg { position: absolute; right: 0; top: 0; width: 72%; height: 92%; border: 1px solid rgba(231,211,191,.3); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.hero-visual .arch-sm { position: absolute; left: 0; bottom: 0; width: 42%; height: 52%; border: 6px solid var(--night); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.hero-badge { position: absolute; left: 12%; top: 18%; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); padding: .6rem 1.1rem; border-radius: 999px; font-size: .82rem; color: #fff; }
.hero-badge i { color: var(--gold-soft); }

.arch-frame { aspect-ratio: 4 / 5; box-shadow: 0 30px 70px -40px rgba(28,23,41,.5); }
.arch-wide { aspect-ratio: 5 / 4; border-radius: 280px 280px 24px 24px; }

/* ---------- Page hero (halaman dalam) ---------- */
.page-hero, .article-hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 4.5rem 0 4rem;
    background: radial-gradient(ellipse at 85% 0%, var(--plum) 0%, var(--night) 70%);
}
.page-hero .display-title { font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; font-weight: 400; max-width: 820px; }
.page-hero-lead { color: rgba(255,255,255,.75); max-width: 640px; margin: 1rem 0 0; font-weight: 300; }
.breadcrumb { font-size: .8rem; letter-spacing: .06em; margin-bottom: 1.6rem; }
.page-hero .breadcrumb a, .article-hero .breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before,
.article-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.breadcrumb-dark a { color: var(--muted); }

/* ---------- Pilar ---------- */
.pillar-card { display: block; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--ink); transition: all .35s var(--ease); }
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -35px rgba(28,23,41,.45); color: var(--ink); }
.pillar-media { aspect-ratio: 4 / 3; overflow: hidden; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pillar-card:hover .pillar-media img { transform: scale(1.06); }
.pillar-body { padding: 1.8rem; }
.pillar-body h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.pillar-body p { color: var(--muted); font-size: .95rem; }
.pillar-num { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold); display: block; margin-bottom: .4rem; }

.step-card { background: #fff; padding: 2rem; border-radius: var(--radius); height: 100%; border: 1px solid var(--line); }
.step-card h3 { font-size: 1.6rem; }
.step-card p { color: var(--muted); margin: 0; }

/* ---------- Kartu produk ---------- */
.product-card { height: 100%; display: flex; flex-direction: column; }
.product-card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--blush); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.06); }
.serial { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(28,23,41,.7); backdrop-filter: blur(6px); color: #fff; font-size: .7rem; letter-spacing: .14em; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.product-card-body { padding: 1.1rem .25rem 0; display: flex; flex-direction: column; flex: 1; text-align: center; }
.product-crystal { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.product-name { font-size: 1.25rem; margin: .3rem 0 .6rem; flex: 1; }
.product-name a { color: var(--ink); }
.product-name a:hover { color: var(--gold-deep); }
.product-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: .7rem; }
.price { font-weight: 500; color: var(--plum); }

/* ---------- Manfaat ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.benefit { background: var(--night); padding: 2rem; transition: background .3s; }
.benefit:hover { background: var(--night-2); }
.benefit i { font-size: 1.6rem; color: var(--gold); }
.benefit h4 { color: #fff; font-size: 1.45rem; margin: .8rem 0 .4rem; }
.benefit p { color: rgba(255,255,255,.68); font-size: .92rem; margin: 0; }
.benefit-list { list-style: none; padding: 0; margin: 0; }
.benefit-list li { padding: 1.1rem 0 1.1rem 2.2rem; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); position: relative; }
.benefit-list li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }
.benefit-list strong { color: #fff; font-weight: 500; }

/* ---------- Elixir ---------- */
.elixir-mini { display: block; text-align: center; color: var(--ink); }
.elixir-mini-media { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: color-mix(in srgb, var(--accent) 22%, #fff); margin-bottom: 1rem; position: relative; }
.elixir-mini-media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--accent); }
.elixir-mini-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.elixir-mini:hover .elixir-mini-media img { transform: scale(1.05); }
.elixir-mini h3 { font-size: 1.5rem; margin: .2rem 0; }
.elixir-mini:hover { color: var(--ink); }
.elixir-crystal { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }

.elixir-nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-start; }
.elixir-nav a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; font-size: .9rem; }
.elixir-nav a:hover { border-color: var(--accent); }
.elixir-nav .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

.elixir-row { padding: 3.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.elixir-media { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: color-mix(in srgb, var(--accent) 25%, #fff); box-shadow: 0 30px 60px -35px color-mix(in srgb, var(--accent) 80%, #000); }
.elixir-media img { width: 100%; height: 100%; object-fit: cover; }
.elixir-name { font-size: clamp(2.4rem, 4vw, 3.4rem); margin: .3rem 0 .4rem; }
.elixir-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--plum); border-left: 2px solid var(--accent); padding-left: 1rem; }

.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 1.5rem 0; }
.spec-list > div { background: #fff; padding: .9rem 1rem; }
.spec-list dt { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.spec-list dd { margin: .2rem 0 0; font-weight: 500; font-size: .95rem; }
.spec-list-sm { margin-top: 0; }

/* ---------- Event / class ---------- */
.event-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.event-list li { display: flex; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.event-date { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 14px; background: var(--night); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.event-date span { font-family: var(--font-display); font-size: 1.6rem; }
.event-date small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-top: .2rem; }
.event-date-lg { width: 84px; height: 84px; }
.event-date-lg span { font-size: 2.2rem; }

.class-row { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; }
.class-row h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.class-row .meta { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .88rem; color: var(--muted); }
.class-row .meta i { color: var(--gold); margin-right: .25rem; }
.class-thumb { flex: 0 0 110px; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; }
.class-thumb img { width: 100%; height: 100%; object-fit: cover; }

.register-card { position: sticky; top: 110px; background: radial-gradient(ellipse at 100% 0%, var(--plum), var(--night) 70%); color: rgba(255,255,255,.78); padding: 2.4rem; border-radius: var(--radius); }
.register-card h3 { color: #fff; font-size: 2rem; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; }
.check-list li { padding: .45rem 0 .45rem 1.8rem; position: relative; }
.check-list li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }

.flyer-grid { columns: 3 220px; column-gap: 1rem; }
.flyer { display: block; break-inside: avoid; margin-bottom: 1rem; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -30px rgba(28,23,41,.5); }
.flyer img { width: 100%; display: block; transition: transform .8s var(--ease); }
.flyer:hover img { transform: scale(1.03); }

/* ---------- Testimoni ---------- */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; height: 100%; margin: 0; display: flex; flex-direction: column; }
.stars-rating { color: var(--gold); font-size: .85rem; margin-bottom: 1rem; letter-spacing: .15em; }
.testimonial blockquote { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--plum); flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.testimonial figcaption img, .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.avatar { background: var(--gold-soft); color: var(--night); display: inline-flex; align-items: center; justify-content: center; font-weight: 500; }
.testimonial small { display: block; color: var(--muted); font-size: .8rem; }

/* ---------- Blog ---------- */
.post-card { height: 100%; }
.post-card-media { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.1rem; background: var(--blush); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-tag { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--plum); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.post-tag-static { position: static; display: inline-block; background: var(--blush); margin-bottom: 1rem; }
.post-card time, .post-feature time { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-card h3 { font-size: 1.45rem; margin: .4rem 0 .5rem; }
.post-card h3 a, .post-feature h2 a { color: var(--ink); }
.post-card h3 a:hover, .post-feature h2 a:hover { color: var(--gold-deep); }
.post-card p { color: var(--muted); font-size: .93rem; }

.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.post-feature-media { aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; display: block; }
.post-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.post-feature p { color: var(--muted); }

.article-hero { padding-bottom: 9rem; }
.article-title { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 400; max-width: 900px; }
.article-meta { color: rgba(255,255,255,.6); font-size: .9rem; margin: 1rem 0 0; }
.article-cover { margin: -6rem auto 3rem; max-width: 1000px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(28,23,41,.6); position: relative; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.article-body { max-width: 720px; margin: 0 auto 5rem; font-size: 1.08rem; }
.article-body h2, .article-body h3 { margin: 2.2rem 0 .8rem; }
.article-body h3 { font-size: 1.8rem; }
.article-body img { border-radius: 14px; margin: 1.5rem 0; height: auto; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote { font-family: var(--font-display); font-size: 1.5rem; color: var(--plum); border-left: 2px solid var(--gold); padding-left: 1.4rem; margin: 2rem 0; }
.article-share { display: flex; align-items: center; gap: .6rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.article-share a, .article-share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--plum); }
.article-share a:hover, .article-share button:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ---------- Filter / chip ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.chips-scroll { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .88rem; white-space: nowrap; }
.chip small { color: var(--muted); margin-left: .2rem; }
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.active { background: var(--night); border-color: var(--night); color: #fff; }
.chip.active small { color: var(--gold-soft); }
.crystal-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1rem; }
.search-box { position: relative; flex: 0 1 280px; }
.search-box i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem .6rem 2.6rem; background: #fff; outline: none; }
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,126,.18); }
.result-count { font-size: .88rem; color: var(--muted); margin-bottom: 2rem; }

.cosmo-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-top: 3.5rem; }
.cosmo-pagination .page { min-width: 44px; height: 44px; padding: 0 .6rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .9rem; }
.cosmo-pagination a.page:hover { border-color: var(--gold); color: var(--gold-deep); }
.cosmo-pagination .current { background: var(--night); color: #fff; border-color: var(--night); }
.cosmo-pagination .disabled { opacity: .4; }

.empty-state { text-align: center; padding: 3.5rem 1.5rem; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state i { font-size: 2.4rem; color: var(--gold); }
.empty-state h3 { font-size: 1.7rem; margin: .8rem 0 .4rem; }
.empty-state p { color: var(--muted); margin: 0; }

/* ---------- Detail produk ---------- */
.product-detail { padding: 2.5rem 0 5rem; }
.detail-main { display: block; aspect-ratio: 1; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--blush); }
.detail-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: flex; gap: .6rem; margin-top: 1rem; }
.detail-thumbs .thumb { width: 76px; aspect-ratio: 1; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: none; }
.detail-thumbs .thumb.active { border-color: var(--gold); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { position: sticky; top: 110px; }
.detail-title { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.detail-price { font-family: var(--font-display); font-size: 1.9rem; color: var(--plum); margin: .5rem 0 0; }
.cosmo-accordion .accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.cosmo-accordion .accordion-button { background: transparent; font-family: var(--font-display); font-size: 1.35rem; padding: 1.1rem 0; color: var(--ink); box-shadow: none; }
.cosmo-accordion .accordion-button:not(.collapsed) { color: var(--gold-deep); }
.cosmo-accordion .accordion-body { padding: 0 0 1.2rem; color: var(--muted); }

/* ---------- Kontak ---------- */
.contact-cards { display: grid; gap: .8rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; color: var(--ink); transition: all .25s var(--ease); }
a.contact-card:hover { border-color: var(--gold); transform: translateX(4px); color: var(--ink); }
.contact-card i { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: var(--blush); color: var(--gold-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-card small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.8rem); }
.form-label { font-size: .85rem; font-weight: 500; }
.form-control, .form-select { border-radius: 12px; border-color: var(--line); padding: .75rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,126,.18); }
.alert-cosmo { background: var(--blush); border: 1px solid var(--gold-soft); color: var(--plum); border-radius: 12px; }
.map-embed { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA & Footer ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6.5rem) 0; background: radial-gradient(ellipse at 50% 120%, var(--plum) 0%, var(--night) 65%); }
.site-footer { background: #15111F; color: rgba(255,255,255,.6); padding: 5rem 0 2rem; font-size: .93rem; }
.site-footer .brand-text { color: #fff; }
.footer-lead { max-width: 340px; }
.footer-title { font-family: var(--font-body); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.2rem; }
.footer-links li, .footer-contact li { margin-bottom: .7rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.7); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; gap: .8rem; }
.footer-contact i { color: var(--gold); }
.social { display: flex; gap: .6rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 4rem; padding-top: 1.8rem; font-size: .82rem; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; font-size: 1.7rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease); }
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Animasi muncul ---------- */
/* Hanya disembunyikan jika JS aktif (class .js dipasang di <html>) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .stars, .orbit-2 { animation: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 991.98px) {
    .hero { min-height: auto; padding-top: 7rem; }
    .hero-visual { height: 420px; margin: 0 auto; }
    .post-feature { grid-template-columns: 1fr; gap: 1.5rem; }
    .register-card, .detail-info { position: static; }
}
@media (max-width: 575.98px) {
    .benefit-grid { grid-template-columns: 1fr; }
    .spec-list { grid-template-columns: 1fr; }
    .class-row { flex-direction: column; }
    .class-thumb { flex-basis: auto; width: 100%; aspect-ratio: 16/10; }
    .hero-visual { height: 360px; }
    .search-box { flex: 1 1 100%; }
    .product-name { font-size: 1.05rem; }
    .serial { font-size: .62rem; }
}

/* ==========================================================================
   Kuis Kristal & Kartu Energi
   ========================================================================== */
.quiz-section { --crystal: var(--gold); }
.quiz-shell { --crystal: var(--gold); max-width: 820px; margin: 0 auto; }
.quiz-panel { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.6rem, 5vw, 3.2rem); box-shadow: 0 40px 80px -60px rgba(28,23,41,.5); animation: quizIn .5s var(--ease); }
.quiz-panel[hidden] { display: none; }
@keyframes quizIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.quiz-intro, .quiz-loading { text-align: center; }
.quiz-intro h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.quiz-start-form { max-width: 380px; margin: 0 auto; text-align: left; }
.quiz-orb { width: 120px; height: 120px; margin: 0 auto 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 35% 30%, #fff 0%, var(--gold-soft) 35%, var(--gold) 70%, var(--plum) 100%);
    box-shadow: 0 0 0 10px var(--blush), 0 20px 50px -15px rgba(169,130,94,.8); }
.quiz-orb span { color: #fff; font-size: 2rem; }
.quiz-orb.spinning { animation: orbPulse 1.6s ease-in-out infinite; }
@keyframes orbPulse { 50% { transform: scale(1.08) rotate(180deg); box-shadow: 0 0 0 18px var(--blush), 0 30px 60px -10px rgba(169,130,94,.9); } }

.quiz-progress { height: 4px; background: var(--blush); border-radius: 99px; overflow: hidden; margin-bottom: 1.4rem; }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--plum)); transition: width .45s var(--ease); }
.quiz-count { font-size: .8rem; letter-spacing: .16em; color: var(--muted); }
.quiz-back { background: none; border: 0; padding: 0; color: var(--muted); font-size: .88rem; text-decoration: none; }
.quiz-back:hover { color: var(--gold-deep); }
.quiz-question { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 1.6rem; outline: none; }

.quiz-options { display: grid; gap: .75rem; }
.quiz-options.grid-2 { grid-template-columns: repeat(2, 1fr); }
.quiz-options.grid-4 { grid-template-columns: repeat(4, 1fr); }
.quiz-option { display: flex; align-items: center; gap: .85rem; text-align: left; width: 100%; padding: 1rem 1.1rem; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); transition: all .2s var(--ease); }
.quiz-option:hover:not(:disabled) { border-color: var(--gold); background: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(28,23,41,.5); }
.quiz-option.selected { border-color: var(--gold); background: var(--blush); box-shadow: inset 0 0 0 1px var(--gold); }
.quiz-option:disabled { cursor: default; }
.quiz-option .opt-text { display: flex; flex-direction: column; line-height: 1.35; }
.quiz-option strong { font-weight: 500; font-size: .98rem; }
.quiz-option small { color: var(--muted); font-size: .78rem; }
.opt-icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--gold-deep); }
.opt-swatch { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.grid-4 .quiz-option { flex-direction: column; text-align: center; justify-content: center; padding: 1.1rem .6rem; }
.grid-4 .opt-text { align-items: center; }
.grid-4 .opt-swatch { width: 46px; height: 46px; }

/* Hasil */
.quiz-result { text-align: center; }
.result-orb { --crystal: var(--gold); width: 150px; height: 150px; margin: 0 auto 1.4rem; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff 0%, color-mix(in srgb, var(--crystal) 35%, #fff) 30%, var(--crystal) 68%, color-mix(in srgb, var(--crystal) 60%, #000) 100%);
    box-shadow: 0 0 0 12px color-mix(in srgb, var(--crystal) 14%, #fff), 0 30px 70px -20px var(--crystal);
    animation: orbGlow 3s ease-in-out infinite alternate; }
@keyframes orbGlow { to { box-shadow: 0 0 0 20px color-mix(in srgb, var(--crystal) 10%, #fff), 0 30px 90px -10px var(--crystal); } }
.result-greet { color: var(--muted); margin-bottom: .2rem; }
.result-name { font-size: clamp(2.6rem, 6vw, 4rem); margin: 0; color: color-mix(in srgb, var(--crystal) 70%, var(--ink)); outline: none; }
.result-title { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--plum); margin-bottom: 1rem; }
.result-traits { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.6rem; }
.result-traits span { padding: .35rem 1rem; border-radius: 99px; font-size: .82rem; background: color-mix(in srgb, var(--crystal) 14%, #fff); color: color-mix(in srgb, var(--crystal) 60%, var(--ink)); }
.result-desc { max-width: 600px; margin: 0 auto 1.6rem; font-size: 1.05rem; }
.result-affirmation { max-width: 560px; margin: 0 auto 1.2rem; padding: 1.4rem 1.6rem; border-radius: 18px; background: var(--blush); }
.result-affirmation small { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .4rem; }
.result-affirmation span { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.4; color: var(--plum); }
.result-second { color: var(--muted); font-size: .92rem; margin-bottom: 2.4rem; }
.result-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; text-align: left; border-top: 1px solid var(--line); padding-top: 2rem; margin-bottom: 1.2rem; }
.result-block-head h3 { font-size: 1.6rem; margin: 0; }
.quiz-result .product-name { font-size: 1rem; }
.result-empty { display: flex; gap: .8rem; align-items: center; text-align: left; border: 1px dashed var(--line); border-radius: 16px; padding: 1.1rem 1.3rem; color: var(--muted); font-size: .93rem; }
.result-empty i { color: var(--gold); font-size: 1.4rem; }
.result-elixir { display: flex; align-items: center; gap: 1rem; text-align: left; margin-top: 1.4rem; padding: .9rem; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--cream); }
.result-elixir:hover { border-color: var(--gold); color: var(--ink); }
.result-elixir img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.result-elixir span { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.result-elixir small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.result-elixir strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.result-elixir em { font-style: normal; color: var(--plum); font-size: .9rem; }
.result-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; align-items: center; margin-top: 2.2rem; }
.quiz-note { font-size: .78rem; color: var(--muted); margin: 1.4rem 0 0; }

/* Kartu energi harian */
.daily-cards { display: flex; justify-content: center; gap: clamp(.8rem, 3vw, 2rem); perspective: 1200px; }
.daily-card { width: clamp(150px, 26vw, 230px); aspect-ratio: 2 / 3; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .3s var(--ease), opacity .4s; }
.daily-card:hover:not(:disabled) { transform: translateY(-10px); }
.daily-card:disabled { cursor: default; }
.daily-card.dimmed { opacity: .3; transform: scale(.94); }
.daily-card-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.daily-card.flipped .daily-card-inner { transform: rotateY(180deg); }
.daily-card.no-anim .daily-card-inner { transition: none; }
.daily-face { position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.2rem; }
.daily-back { background: radial-gradient(circle at 50% 30%, var(--plum), var(--night-2) 70%); border: 1px solid rgba(231,211,191,.35); box-shadow: inset 0 0 0 8px var(--night-2), inset 0 0 0 9px rgba(231,211,191,.35), 0 30px 60px -30px #000; }
.daily-back-art { width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(231,211,191,.4); display: flex; align-items: center; justify-content: center; color: var(--gold-soft); font-size: 2rem; }
.daily-front { --crystal: var(--gold); transform: rotateY(180deg); background: var(--cream); color: var(--ink); text-align: center; box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--crystal) 70%, #000); border: 1px solid color-mix(in srgb, var(--crystal) 40%, #fff); }
.daily-card .daily-front { --crystal: inherit; }
.daily-gem { width: 54px; height: 54px; border-radius: 50%; margin-bottom: .8rem; background: radial-gradient(circle at 32% 28%, #fff 0%, var(--crystal) 65%, color-mix(in srgb, var(--crystal) 60%, #000) 100%); }
.daily-front small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.daily-front strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.1; margin: .2rem 0 .6rem; }
.daily-front em { font-family: var(--font-display); font-size: .98rem; line-height: 1.35; color: var(--plum); }

@media (max-width: 767.98px) {
    .quiz-options.grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
    .quiz-options.grid-2 { grid-template-columns: 1fr; }
    .quiz-options.grid-4 { grid-template-columns: repeat(2, 1fr); }
    .daily-cards { gap: .5rem; }
    .daily-front { padding: .7rem; }
    .daily-front strong { font-size: 1.1rem; }
    .daily-front em { font-size: .78rem; }
    .daily-gem { width: 38px; height: 38px; }
}
/* Menu lebih rapat di layar laptop kecil (8 item) */
@media (min-width: 992px) and (max-width: 1299.98px) {
    .nav-link { font-size: .8rem; padding: .5rem .55rem !important; }
    .nav-link::after { left: .55rem; right: .55rem; }
}

/* Teaser kuis di beranda */
.quiz-teaser { display: flex; align-items: center; gap: 1.8rem; padding: 1.8rem 2.2rem; border-radius: 28px; background: var(--blush); border: 1px solid var(--line); color: var(--ink); transition: all .3s var(--ease); }
.quiz-teaser:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(28,23,41,.5); }
.quiz-teaser .quiz-orb { width: 84px; height: 84px; flex: 0 0 84px; margin: 0; box-shadow: 0 0 0 8px #fff, 0 16px 40px -14px rgba(169,130,94,.8); }
.quiz-teaser-text { flex: 1; display: flex; flex-direction: column; }
.quiz-teaser strong { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; line-height: 1.2; }
.quiz-teaser small { color: var(--muted); }
@media (max-width: 767.98px) {
    .quiz-teaser { flex-direction: column; text-align: center; padding: 2rem 1.4rem; }
    .quiz-teaser .eyebrow::before { display: none; }
}
