/* ==========================================================================
   ChestsCounter: tampilan publik bersama (beranda, artikel, halaman legal)
   Tema: gelap, emas, bara api; nuansa game fantasi yang tetap elegan.
   Kelas chrome diberi awalan cc- supaya tidak bentrok dengan CSS halaman.
   ========================================================================== */
:root {
    --bg: #0c0a08;
    --bg-2: #120f0c;
    --surface: #16130f;
    --surface-2: #1c1813;
    --line: rgba(255, 236, 200, 0.08);
    --line-strong: rgba(255, 236, 200, 0.14);
    --gold: #e9b44c;
    --gold-soft: #f3d28e;
    --gold-deep: #b9831f;
    --gold-wash: rgba(233, 180, 76, 0.08);
    --ember: #ff7a3d;
    --text: #f4efe6;
    --text-2: #cfc6b8;
    --muted: #968c7e;
    --green: #5fcf94;
    --red: #f07a6b;
    --sky: #8fd3f4;
    --violet: #b79cf2;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --rune: 'Cinzel', 'Instrument Serif', Georgia, serif;
    --radius: 18px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --grad-gold: linear-gradient(100deg, var(--gold-soft) 0%, var(--gold) 45%, var(--gold-deep) 100%);
}

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
::selection { background: rgba(233, 180, 76, 0.35); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

html { scrollbar-width: thin; scrollbar-color: rgba(233, 180, 76, 0.35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(233, 180, 76, 0.28); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(233, 180, 76, 0.5); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #1a1409; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); font-weight: 400; }
.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.shimmer {
    background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 30%, #fff1cc 50%, var(--gold) 70%, var(--gold-deep) 100%);
    background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: ccShimmer 6s ease-in-out infinite;
}
@keyframes ccShimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--rune); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.01em; margin: 18px 0 18px; }
.h2 em { font-style: italic; }
.lead { color: var(--text-2); font-size: 18px; line-height: 1.7; }

/* Ornamen pemisah bergaya rune */
.rune-divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); opacity: .7; margin: 0 auto; }
.rune-divider::before, .rune-divider::after { content: ""; height: 1px; width: min(160px, 30vw); background: linear-gradient(90deg, transparent, rgba(233,180,76,.5)); }
.rune-divider::after { transform: scaleX(-1); }
.rune-divider i { font-size: 14px; transform: rotate(45deg); display: inline-block; }

/* ---------- buttons ---------- */
.btn {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s;
    cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn i { transition: transform .25s var(--ease); }
.btn:hover i.ri-arrow-right-line { transform: translateX(3px); }
.btn-gold {
    color: #1a1409;
    background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 55%, #d39b2f 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 30px -10px rgba(233, 180, 76, .55);
}
.btn-gold::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
    transform: translateX(-130%); animation: ccShine 5.5s 2s ease-in-out infinite;
}
@keyframes ccShine { 0%, 72% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 16px 40px -12px rgba(233, 180, 76, .7); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: rgba(233, 180, 76, .5); background: var(--gold-wash); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.reveal-scale { transform: scale(.96) translateY(14px); }
.reveal.reveal-left { transform: translateX(-26px); }
.reveal.reveal-right { transform: translateX(26px); }
.reveal.in { opacity: 1; transform: none; }

/* Kartu dengan cahaya mengikuti kursor (spotlight) */
.spot { position: relative; isolation: isolate; }
.spot::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .35s; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(233,180,76,.12), transparent 45%);
}
.spot:hover::before { opacity: 1; }

/* Partikel bara api (canvas) */
.cc-embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.cc-topbar { position: relative; z-index: 101; background: #080706; color: var(--muted); font-size: 13px; overflow: hidden; }
.cc-topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(233,180,76,.45), rgba(255,122,61,.35), transparent); }
.cc-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 40px; }
.cc-status { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--text-2); }
.cc-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.cc-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--green); animation: ccPulse 2.2s ease-out infinite; }
@keyframes ccPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.cc-ticker { flex: 1; min-width: 0; position: relative; height: 40px; overflow: hidden; }
.cc-tick {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text-2); font-weight: 500;
    opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .5s var(--ease); pointer-events: none;
}
.cc-tick.on { opacity: 1; transform: none; pointer-events: auto; }
.cc-tick.out { opacity: 0; transform: translateY(-14px); }
.cc-tick em { flex: none; font-style: normal; font-family: var(--rune); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; color: #1a1409; background: var(--grad-gold); }
.cc-tick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-tick i { color: var(--gold); transition: transform .25s; }
.cc-tick:hover { color: #fff; }
.cc-tick:hover i { transform: translateX(3px); }
.cc-toplinks { display: flex; gap: 20px; white-space: nowrap; }
.cc-toplinks a { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); transition: color .2s; }
.cc-toplinks a:hover { color: #fff; }
.cc-toplinks i { color: var(--gold); font-size: 15px; }
.cc-intro .cc-topbar .container > * { animation: ccDown .7s var(--ease) both; }
.cc-intro .cc-topbar .container > :nth-child(2) { animation-delay: .08s; }
.cc-intro .cc-topbar .container > :nth-child(3) { animation-delay: .16s; }

/* ==========================================================================
   MAIN NAV
   ========================================================================== */
.cc-nav { position: sticky; top: 0; z-index: 100; background: rgba(12, 10, 8, .72); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.cc-nav.scrolled { background: rgba(12, 10, 8, .88); border-bottom-color: var(--line); box-shadow: 0 14px 40px -28px rgba(0,0,0,.9); }
.cc-nav > .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.cc-logo img { height: 44px; width: auto; transition: transform .35s var(--ease); }
.cc-nav.scrolled .cc-logo img { transform: scale(.92); }

.cc-links { position: relative; display: flex; align-items: center; gap: 2px; }
.cc-pill {
    position: absolute; left: 0; top: 50%; height: 40px; margin-top: -20px; border-radius: 999px; pointer-events: none; opacity: 0;
    background: linear-gradient(180deg, rgba(233,180,76,.12), rgba(233,180,76,.05)); border: 1px solid rgba(233,180,76,.22);
    box-shadow: 0 0 24px -8px rgba(233,180,76,.45) inset;
    transition: transform .45s cubic-bezier(.65,0,.25,1), width .45s cubic-bezier(.65,0,.25,1), opacity .3s;
}
.cc-item { position: relative; }
.cc-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 15px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--text-2); transition: color .25s; }
.cc-link:hover, .cc-link.active, .cc-item.open .cc-link { color: var(--gold-soft); }
.cc-link.active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.cc-link .chev { font-size: 15px; opacity: .6; transition: transform .3s; }
.cc-item.open .chev { transform: rotate(180deg); opacity: 1; }
.cc-link.demo { color: var(--sky); }
.cc-intro .cc-logo, .cc-intro .cc-item, .cc-intro .cc-cta { animation: ccDown .7s var(--ease) both; }
.cc-intro .cc-item { animation-delay: calc(.12s + var(--i) * .06s); }
.cc-intro .cc-cta { animation-delay: .5s; }
@keyframes ccDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.cc-cta { display: flex; align-items: center; gap: 14px; }
.cc-signin { font-size: 14px; font-weight: 600; color: var(--text-2); }
.cc-signin:hover { color: #fff; }
.cc-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: left; transform: scaleX(0); pointer-events: none; background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--ember)); box-shadow: 0 0 12px rgba(233,180,76,.6); }

/* Mega menu */
.cc-mega {
    position: absolute; top: calc(100% + 18px); left: 50%; z-index: 5; border-radius: 22px;
    background: linear-gradient(180deg, #1a1611, #13100d); border: 1px solid var(--line-strong);
    box-shadow: 0 2px 4px rgba(0,0,0,.3), 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
    transition: opacity .25s ease, transform .35s var(--ease), visibility 0s .35s;
}
.cc-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.cc-mega::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: #1a1611; border-left: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); transform: rotate(45deg); border-radius: 3px 0 0 0; }
.cc-item.open .cc-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.cc-mlabel { display: block; font-family: var(--rune); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

.cc-mega-docs { width: 700px; display: grid; grid-template-columns: 1fr 230px; overflow: hidden; }
.cc-mmain { padding: 22px; }
.cc-mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.cc-mcard { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; transition: background .2s; }
.cc-mcard:hover { background: rgba(233,180,76,.06); }
.cc-mic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 19px; color: var(--gold); background: var(--gold-wash); border: 1px solid rgba(233,180,76,.2); transition: transform .3s var(--ease); }
.cc-mcard:hover .cc-mic { transform: translateY(-2px) rotate(-6deg); }
.cc-mcard b { display: block; color: var(--text); font-size: 14.5px; line-height: 1.3; }
.cc-mcard small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.cc-item.open .cc-mcard, .cc-item.open .cc-mart { animation: ccMIn .45s var(--ease) both; }
.cc-item.open .cc-mcard:nth-child(2), .cc-item.open .cc-mart:nth-child(2) { animation-delay: .04s; }
.cc-item.open .cc-mcard:nth-child(3), .cc-item.open .cc-mart:nth-child(3) { animation-delay: .08s; }
.cc-item.open .cc-mcard:nth-child(4) { animation-delay: .12s; }
.cc-item.open .cc-mcard:nth-child(5) { animation-delay: .16s; }
.cc-item.open .cc-mcard:nth-child(6) { animation-delay: .2s; }
@keyframes ccMIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cc-mside { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 22px; background: radial-gradient(ellipse at 100% 100%, rgba(233,180,76,.14), transparent 60%), #0e0c09; border-left: 1px solid var(--line); }
.cc-mside::after { content: ""; position: absolute; right: -70px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; border: 24px solid rgba(233,180,76,.08); pointer-events: none; animation: ccSpin 18s linear infinite; border-top-color: rgba(233,180,76,.2); }
@keyframes ccSpin { to { transform: rotate(360deg); } }
.cc-mbig { font-family: var(--serif); color: var(--text); font-size: 22px; line-height: 1.2; margin-bottom: 14px; position: relative; z-index: 1; }
.cc-mbig em { font-style: italic; }
.cc-mlist { display: grid; gap: 2px; margin-bottom: 16px; position: relative; z-index: 1; }
.cc-mlist a { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; font-weight: 500; font-size: 14px; color: var(--text-2); transition: background .2s, color .2s; }
.cc-mlist a:hover { background: rgba(255,255,255,.05); color: #fff; }
.cc-mlist span { font-size: 12px; font-weight: 700; color: var(--gold); }
.cc-mall { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; font-size: 14px; color: var(--gold-soft); position: relative; z-index: 1; }
.cc-mall i { transition: transform .25s; }
.cc-mall:hover i { transform: translateX(3px); }

.cc-mega-art { width: 470px; padding: 22px; }
.cc-marts { display: grid; gap: 4px; }
.cc-mart { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 14px; transition: background .2s; }
.cc-mart:hover { background: rgba(233,180,76,.06); }
.cc-mart small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.cc-mart b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text); font-size: 14px; line-height: 1.4; }
.cc-mfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.cc-rss { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #ffb27a; padding: 4px 10px; border-radius: 999px; background: rgba(255,122,61,.1); border: 1px solid rgba(255,122,61,.2); }
.cc-empty { color: var(--muted); font-size: 14px; padding: 6px 0 4px; }

/* Thumbnail artikel bergaya "kartu item" game (tanpa gambar) */
.cc-thumb { position: relative; overflow: hidden; width: 64px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c1, #e9b44c) 40%, transparent), transparent 65%), #0f0d0a; border: 1px solid color-mix(in srgb, var(--c1, #e9b44c) 30%, transparent); }
.cc-thumb i { font-size: 20px; color: var(--c1, var(--gold)); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c1, #e9b44c) 60%, transparent)); position: relative; z-index: 1; }
.cc-thumb::after { content: ""; position: absolute; width: 46px; height: 46px; right: -14px; bottom: -18px; border-radius: 50%; border: 7px solid color-mix(in srgb, var(--c1, #e9b44c) 25%, transparent); }
.cc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Burger + mobile */
.cc-burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.02); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.cc-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s cubic-bezier(.65,0,.25,1), opacity .2s; }
.cc-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cc-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.cc-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.cc-mobile { display: none; }

@media (max-width: 1080px) {
    .cc-toplinks a:first-child { display: none; }
    .cc-link { padding: 0 11px; }
    .cc-signin { display: none; }
}
@media (max-width: 920px) {
    .cc-topbar { display: none; }
    .cc-links, .cc-cta .btn { display: none; }
    .cc-burger { display: flex; }
    .cc-nav.is-open { background: #0c0a08; }
    .cc-mobile {
        display: block; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 76px); height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain;
        background: #0c0a08; padding: 12px 24px 32px; border-top: 1px solid var(--line);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s;
    }
    .cc-mobile.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .cc-mlinks { display: grid; }
    .cc-mlinks a { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 26px; color: var(--text); }
    .cc-mlinks a small { font-family: var(--rune); font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .06em; }
    .cc-mlinks a i { margin-left: auto; font-size: 18px; color: var(--muted); }
    .cc-mlinks a.active { color: var(--gold-soft); }
    .cc-mfoot2 { margin-top: 24px; display: grid; gap: 12px; }
    .cc-mfoot2 .btn { justify-content: center; }
    .cc-mobile.open .cc-mlinks a, .cc-mobile.open .cc-mfoot2 { animation: ccMm .5s var(--ease) both; animation-delay: calc(.05s + var(--i) * .05s); }
    @keyframes ccMm { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.cc-foot { position: relative; overflow: hidden; isolation: isolate; background: #090806; color: var(--muted); font-size: 14.5px; padding: 80px 0 0; margin-top: 120px; }
.cc-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(233,180,76,.55), rgba(255,122,61,.4), transparent); }
.cc-foot-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(600px 300px at 12% 0%, rgba(233,180,76,.12), transparent 70%), radial-gradient(640px 320px at 92% 35%, rgba(185,60,30,.10), transparent 70%); }
.cc-foot-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,236,200,.06) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask: linear-gradient(180deg, #000 0%, transparent 60%); mask: linear-gradient(180deg, #000 0%, transparent 60%); }
.cc-foot a { transition: color .2s; }
.cc-foot a:hover { color: #fff; }
.cc-foot h5 { font-family: var(--rune); color: var(--text); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.cc-foot h5::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--grad-gold); box-shadow: 0 0 10px rgba(233,180,76,.6); }

.cc-fcta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 38px 40px; border-radius: 26px; margin-bottom: 68px; overflow: hidden;
    background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(233,180,76,.16), transparent 60%), linear-gradient(135deg, #1a1510, #120f0c);
    border: 1px solid rgba(233,180,76,.25); box-shadow: inset 0 1px 0 rgba(255,236,200,.08), 0 30px 60px -40px rgba(0,0,0,.9); }
.cc-fcta::after { content: ""; position: absolute; right: -60px; top: -90px; width: 240px; height: 240px; border-radius: 50%; border: 30px solid rgba(233,180,76,.08); border-top-color: rgba(233,180,76,.2); pointer-events: none; animation: ccSpin 24s linear infinite; }
.cc-fcta > div:first-child { max-width: 600px; position: relative; z-index: 1; }
.cc-fcta h3 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin: 12px 0 8px; }
.cc-fcta h3 em { font-style: italic; }
.cc-fcta p { color: var(--text-2); font-size: 15.5px; }
.cc-fcta-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

.cc-fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1.35fr .8fr; gap: 44px; padding-bottom: 52px; }
.cc-fbrand img { height: 44px; width: auto; margin-bottom: 18px; }
.cc-fbrand > p { color: var(--muted); line-height: 1.7; max-width: 320px; margin-bottom: 22px; }
.cc-fstats { display: grid; gap: 12px; }
.cc-fstats li { display: flex; gap: 12px; align-items: center; }
.cc-fstats small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6d6458; font-weight: 700; line-height: 1.3; }
.cc-fstats b, .cc-fstats a { color: var(--text-2); font-weight: 600; }
.cc-fi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--gold); background: var(--gold-wash); border: 1px solid rgba(233,180,76,.18); font-size: 17px; }

.cc-flinks { display: grid; gap: 11px; }
.cc-flinks a { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.cc-flinks a i { color: var(--gold); opacity: .7; font-size: 15px; }
.cc-farts { display: grid; gap: 14px; margin-bottom: 16px; }
.cc-farts a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.cc-farts b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text-2); font-weight: 600; font-size: 14px; line-height: 1.4; }
.cc-farts small { display: block; color: #6d6458; font-size: 12.5px; margin-top: 3px; }
.cc-farts a:hover b { color: #fff; }
.cc-more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-soft); font-weight: 700; font-size: 14px; }
.cc-more i { transition: transform .2s; }
.cc-more:hover i { transform: translateX(3px); }

.cc-fbottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 22px 0 26px; font-size: 13px; color: #6d6458; }
.cc-flegal { display: flex; gap: 18px; flex-wrap: wrap; }
.cc-flegal a { color: var(--muted); }
.cc-top { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); transition: .25s; cursor: pointer; font-size: 18px; }
.cc-top:hover { color: #1a1409; background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }

.cc-wordmark {
    position: absolute; left: 50%; bottom: -.22em; transform: translateX(-50%); z-index: -1; pointer-events: none; user-select: none;
    font-family: var(--rune); font-weight: 700; font-size: clamp(80px, 15vw, 230px); letter-spacing: .02em; line-height: 1; white-space: nowrap;
    color: transparent; -webkit-text-stroke: 1px rgba(233,180,76,.09);
    background: linear-gradient(180deg, rgba(233,180,76,.08), transparent 75%); -webkit-background-clip: text; background-clip: text;
}

@media (max-width: 1020px) { .cc-fgrid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) {
    .cc-foot { padding-top: 60px; margin-top: 84px; }
    .cc-fcta { padding: 28px 22px; margin-bottom: 48px; }
    .cc-fcta-actions, .cc-fcta-actions .btn { width: 100%; }
    .cc-fgrid { grid-template-columns: 1fr; gap: 36px; }
    .cc-fbottom { justify-content: center; text-align: center; }
}

/* ---------- pagination (Laravel bootstrap-5 markup) ---------- */
.pager-wrap { display: flex; justify-content: center; margin-top: 56px; }
.pager-wrap nav > div:first-child { display: none; }
.pager-wrap .pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pager-wrap .page-link { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--text-2); font-weight: 700; font-size: 14px; transition: .2s; }
.pager-wrap .page-link:hover { border-color: rgba(233,180,76,.5); color: var(--gold-soft); }
.pager-wrap .active .page-link { background: var(--gold); border-color: var(--gold); color: #1a1409; }
.pager-wrap .disabled .page-link { opacity: .35; pointer-events: none; }
.pager-wrap p.small { display: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .reveal { opacity: 1; transform: none; }
    .cc-embers { display: none; }
}
