/* ==============================================================
   POKER88 PREMIUM — GOLD & WHITE
   CSS modular, ringan, dan mudah diedit.
   ============================================================== */

/* 1. Variabel & reset */
:root {
    --gold: #bd871f;
    --gold-light: #f6d778;
    --gold-dark: #8c5c12;
    --ink: #221e1a;
    --muted: #68615a;
    --paper: #ffffff;
    --warm: #fffaf0;
    --line: #ecdfc9;
    --radius: 18px;
    --shadow: 0 12px 35px rgba(79, 52, 13, .09);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Arial, Helvetica, sans-serif; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid #bc871c; outline-offset: 4px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -100px; background: #fff; padding: 12px; z-index: 99; }
.skip-link:focus { top: 12px; }

/* 2. Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid #efe4ce; backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { flex: 0 0 auto; }
.brand img { width: 194px; height: auto; }
.desktop-nav { display: flex; gap: clamp(12px, 2.15vw, 30px); align-items: center; }
.desktop-nav a { font-weight: 700; font-size: .83rem; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--gold-dark); }
.header-actions { display: flex; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 11px; font-weight: 800; font-size: .92rem; line-height: 1.2; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 9px 16px; font-size: .82rem; }
.button-gold { background: linear-gradient(135deg, #fff3b8 0%, #ecc05c 42%, #b6790e 100%); color: #2a1c08; box-shadow: 0 6px 17px rgba(164,108,16,.18); }
.button-outline { border-color: #c99639; color: var(--gold-dark); background: #fff; }
.button-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.65); }
.button-light { background: #fff; color: #6e4610; }
.mobile-menu { display: none; }

/* 3. Hero */
.hero { position: relative; overflow: hidden; min-height: 565px; color: white; background: #27190f; isolation: isolate; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,18,10,.32), transparent 63%); z-index: -1; }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-inner { display: flex; align-items: center; min-height: 565px; padding-block: 65px; }
.hero-copy { max-width: 640px; }
.hero-eyebrow, .eyebrow { display: inline-block; font-weight: 850; letter-spacing: .15em; font-size: .75rem; color: var(--gold-dark); margin: 0 0 11px; }
.hero-eyebrow { color: #ffe6a1; }
.hero h1 { font-size: clamp(3.1rem, 7.4vw, 6.2rem); font-weight: 900; letter-spacing: -.065em; line-height: 1; margin: 0 0 23px; color: #fce6a5; text-shadow: 0 3px 16px rgba(0,0,0,.3); }
.hero h1 span { display: block; max-width: 590px; font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1.13; color: #fff; letter-spacing: -.035em; margin-top: 10px; }
.hero p { font-size: 1rem; max-width: 545px; margin: 0 0 25px; color: #faf1e5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .75rem; font-weight: 700; margin-top: 30px; color: #fff2cf; }

/* 4. Sections & cards */
.section { padding-block: 70px; }
.section-soft { background: linear-gradient(180deg,#fffaf1,#fffdf9); border-block: 1px solid #f4ead7; }
.section-heading { text-align: center; margin: 0 auto 32px; max-width: 760px; }
.section-heading h2 { font-size: clamp(1.6rem,3.2vw,2.45rem); letter-spacing: -.04em; line-height: 1.2; margin: 0 0 12px; }
.section-heading > p:last-child { color: var(--muted); margin: 0; }
.category-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.category-card { border: 1px solid var(--line); padding: 8px 8px 17px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 17px 40px rgba(79,52,13,.14); }
.category-card img { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: 12px; }
.category-card strong { display: block; margin: 12px 0 1px; font-size: 1.08rem; }
.category-card span { display: block; color: var(--muted); font-size: .77rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.stat-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 24px; }
.stat-icon { display: inline-grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 16px; font-size: 1.6rem; font-weight: 900; color: #fff; background: linear-gradient(140deg,#efc366,#a86b0b); }
.stat-card h3 { margin: 0; font-size: .91rem; }
.stat-card p { margin: 0; font-size: .82rem; color: var(--muted); }
.stat-card .stat-value { font-size: clamp(1.5rem,2.3vw,2rem); font-weight: 900; line-height: 1.3; color: var(--gold-dark); margin: 7px 0; }
.stat-card .stat-value-small { font-size: 1.26rem; }
.features-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.feature-card { text-align: center; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); padding: 25px 15px; }
.feature-card > span { display: inline-grid; place-items: center; color: #a76d0d; font-size: 2.5rem; height: 57px; }
.feature-card h3 { font-size: 1rem; margin: 6px 0; }
.feature-card p { font-size: .8rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* 5. Access notice */
.access-section { background: radial-gradient(circle at 90% 20%,#8d6227 0,#50321a 42%,#271b13 100%); color: #fff; padding-block: 44px; }
.access-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.access-inner > div { max-width: 795px; }
.access-inner h2 { margin: 0 0 9px; font-size: clamp(1.45rem,2.8vw,2rem); line-height: 1.2; }
.access-inner p:last-child { margin: 0; color: #f5e9d7; font-size: .9rem; }
.eyebrow-light { color: #f8d47f; }
.access-inner .button { white-space: nowrap; }

/* 6. Article + FAQ */
.article-section { background: #fffcf7; }
.article-layout { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(280px,.95fr); align-items: start; gap: 25px; }
.article-content { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px,3vw,42px); box-shadow: var(--shadow); }
.article-content h2 { font-size: clamp(1.65rem,2.7vw,2.1rem); line-height: 1.23; letter-spacing: -.035em; margin: 0 0 16px; }
.article-content h3 { font-size: 1.2rem; line-height: 1.4; margin: 29px 0 9px; color: #925e13; }
.article-content p { margin: 0 0 13px; font-size: .94rem; line-height: 1.86; color: #4c4740; }
.article-content .article-lead { font-size: 1.02rem; font-weight: 500; color: #342d23; }
.faq-panel { background: linear-gradient(155deg,#cc9731,#835315); padding: 21px; border-radius: 20px; color: #fff; position: sticky; top: 102px; box-shadow: var(--shadow); }
.faq-heading h2 { margin: 0 0 4px; line-height: 1.2; font-size: 1.55rem; }
.faq-heading p:last-child { font-size: .85rem; color: #fff2d2; margin: 0 0 18px; }
.faq-panel details { background: #fff; color: var(--ink); margin-top: 8px; padding: 0 14px; border-radius: 10px; }
.faq-panel summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 15px 0; gap: 12px; font-size: .87rem; font-weight: 750; }
.faq-panel summary::-webkit-details-marker { display: none; }
.faq-panel summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--gold-dark); }
.faq-panel details[open] summary::after { content: '−'; }
.faq-panel details p { border-top: 1px solid #f1e8da; padding: 12px 0 15px; margin: 0; font-size: .84rem; color: #524a42; }
.faq-note { margin-top: 18px; padding: 13px; border: 1px solid rgba(255,255,255,.35); font-size: .79rem; border-radius: 12px; color: #fff6e5; }

/* 7. Closing + Footer */
.closing-section { background: linear-gradient(100deg,#2f2117,#63431b); color: #fff; padding-block: 48px; }
.closing-inner { display: flex; gap: 25px; align-items: center; justify-content: space-between; }
.closing-inner h2 { font-size: clamp(1.5rem,2.5vw,2rem); line-height: 1.2; margin: 0 0 8px; }
.closing-inner p:last-child { margin: 0; color: #ebdcc5; }
.closing-inner .button { white-space: nowrap; }
.site-footer { background: #fff; border-top: 4px solid #d5a44b; padding-top: 30px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner img { width: 158px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .8rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: .83rem; font-weight: 700; }
.footer-inner nav a:hover { color: var(--gold-dark); }
.copyright { margin-top: 24px; padding-block: 16px; border-top: 1px solid var(--line); text-align: center; font-size: .81rem; color: var(--muted); }

/* 8. Tablet */
@media (max-width: 1050px) {
    .desktop-nav { gap: 11px; }
    .desktop-nav a { font-size: .75rem; }
    .brand img { width: 165px; }
    .header-actions .button { padding-inline: 11px; }
    .hero { min-height: 525px; }
    .hero-inner { min-height: 525px; }
    .hero-copy { max-width: 570px; }
    .category-grid, .features-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .stat-card { padding: 18px; gap: 12px; }
    .stat-icon { width: 46px; height: 46px; flex-basis: 46px; }
}

/* 9. Mobile */
@media (max-width: 760px) {
    html { scroll-padding-top: 75px; }
    .container { width: min(100% - 28px,580px); }
    .header-inner { min-height: 72px; gap: 10px; }
    .brand img { width: 144px; }
    .desktop-nav { display: none; }
    .header-actions { margin-left: auto; }
    .header-actions .button { padding: 8px 11px; min-height: 35px; font-size: .73rem; }
    .mobile-menu { display: block; position: relative; }
    .mobile-menu summary { cursor: pointer; list-style: none; display: flex; align-items: center; padding: 6px 8px; gap: 4px; border: 1px solid var(--line); border-radius: 8px; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu summary span { font-size: .68rem; }
    .mobile-menu nav { position: absolute; right: 0; top: 46px; width: 190px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); display: grid; gap: 2px; }
    .mobile-menu nav a { padding: 10px; font-size: .9rem; font-weight: 650; border-radius: 6px; }
    .mobile-menu nav a:hover { background: var(--warm); }
    .hero, .hero-inner { min-height: 600px; }
    .hero-image { object-position: 70% center; opacity: .54; }
    .hero::after { background: linear-gradient(90deg,rgba(24,14,7,.85),rgba(24,14,7,.54)); }
    .hero-inner { padding-block: 52px; align-items: flex-end; }
    .hero h1 { font-size: clamp(3rem,13vw,5rem); }
    .hero h1 span { font-size: clamp(1.5rem,6vw,2.1rem); }
    .hero p { font-size: .92rem; }
    .hero-benefits { gap: 7px 13px; }
    .section { padding-block: 50px; }
    .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
    .category-card strong { margin-top: 8px; }
    .category-card span { font-size: .72rem; }
    .stat-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .access-inner, .closing-inner { flex-direction: column; align-items: flex-start; }
    .article-layout { grid-template-columns: 1fr; }
    .faq-panel { position: static; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
    .brand img { width: 122px; }
    .header-actions .button { padding-inline: 7px; }
    .mobile-menu summary span { display: none; }
    .hero-actions .button { flex: 1 1 100%; }
    .category-grid { gap: 7px; }
    .features-grid { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
