/*
Theme Name: Jhandi Burja Nepal
Theme URI: https://example.com/
Author: Custom
Description: Responsive informational landing page for the traditional Nepali Jhandi Burja game.
Version: 1.4.0
Text Domain: jhandi-burja-nepal
*/
:root{--red:#b51e2b;--gold:#ffc857;--ink:#172032;--cream:#fff9ed}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--cream);line-height:1.65}a{color:inherit}.wrap{max-width:1120px;margin:auto;padding:0 24px}.top{background:#fff;border-bottom:1px solid #eee}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px}.brand{font-weight:900;font-size:1.35rem;text-decoration:none;color:var(--red)}.navlinks{display:flex;gap:22px;flex-wrap:wrap}.navlinks a{text-decoration:none;font-weight:650}.hero{background:radial-gradient(circle at 80% 15%,#e9474c 0,transparent 35%),linear-gradient(125deg,#861827,#bd2938);color:white;padding:90px 0}.hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:45px;align-items:center}.eyebrow{color:var(--gold);font-weight:800;letter-spacing:.09em;text-transform:uppercase}.hero h1{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.1;margin:15px 0}.hero p{font-size:1.15rem;max-width:580px}.btn{display:inline-block;padding:13px 25px;border-radius:12px;background:var(--gold);color:#241b14;text-decoration:none;font-weight:800;margin-top:18px}.dice{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;transform:rotate(-5deg)}.die{aspect-ratio:1;background:#fff;color:#a81f30;border:5px solid #f7d17d;border-radius:20px;display:grid;place-items:center;font-size:clamp(2.8rem,6vw,5.4rem);box-shadow:0 15px 25px #450b204d}.section{padding:75px 0}.section h2{font-size:clamp(1.9rem,3vw,2.7rem);margin:0 0 15px}.lead{max-width:750px;color:#526074}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}.card{background:white;border:1px solid #f0e5d4;border-radius:18px;padding:25px;box-shadow:0 8px 24px #321b0b0a}.symbol{font-size:2.5rem}.muted{background:#fff0dc}.steps{counter-reset:step}.step{padding:20px 0;border-bottom:1px solid #e5d3bc}.step:before{counter-increment:step;content:counter(step);display:inline-grid;place-items:center;background:var(--red);color:white;width:35px;height:35px;border-radius:50%;margin-right:12px;font-weight:bold}.faq details{background:white;border-radius:12px;padding:18px 22px;margin:12px 0;border:1px solid #eadcca}.faq summary{font-weight:750;cursor:pointer}.footer{background:#182032;color:white;padding:36px 0}.footer a{color:var(--gold)}@media(max-width:760px){.hero-grid{grid-template-columns:1fr}.hero{padding:55px 0}.cards{grid-template-columns:1fr}.nav{align-items:flex-start;flex-direction:column;padding:18px 0}.navlinks{gap:14px}.dice{max-width:480px}}

.die img{width:76%;height:76%;object-fit:contain}.symbol img{width:76px;height:76px;object-fit:contain;display:block}.die{overflow:hidden}

/* Demo game */
.demo-panel{background:#fff;border:1px solid #ecd9bb;border-radius:22px;padding:clamp(16px,4vw,36px);box-shadow:0 12px 40px #391c1714}.demo-symbols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.demo-choice{background:#fff9ed;border:3px solid transparent;border-radius:15px;padding:12px 6px;cursor:pointer;font:inherit;font-weight:750;display:grid;justify-items:center;gap:5px;color:#172032}.demo-choice img,.demo-die img{width:65px;height:65px;max-width:100%;object-fit:contain}.demo-choice[aria-pressed="true"]{border-color:#b51e2b;background:#fff0dc}.demo-dice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.demo-die{background:#fff9ed;border:3px solid #edcf8a;border-radius:15px;aspect-ratio:1;display:grid;place-items:center;transition:transform .2s}.demo-die.rolling{transform:rotate(12deg) scale(.94)}.demo-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.demo-actions button{border:0;cursor:pointer;font:inherit}.demo-result{font-weight:800;font-size:1.1rem}.demo-note{color:#526074;font-size:.9rem}.navlinks a:hover,.demo-choice:hover{color:#b51e2b}@media(max-width:480px){.demo-choice img,.demo-die img{width:46px;height:46px}.demo-choice{font-size:.78rem}.demo-panel{padding:14px}}

/* CTA Rotation Manager v2.3.1 compatibility */
.crm-cta.jb-rotating-cta{display:inline-block;padding:13px 25px;border-radius:12px;background:var(--gold);color:#241b14;text-decoration:none;font-weight:800;margin-top:18px;transition:filter .2s}
.crm-cta.jb-rotating-cta:hover{filter:brightness(.94)}
.jb-cta-section{margin-top:32px;padding:22px 0;text-align:center}
.jb-cta-section h2{margin-bottom:8px}

/* Modern demo board */
.jb-game-page{padding:52px 0 75px;background:#f4f5f0;color:#18392e}.jb-game-intro{text-align:center;margin:0 auto 28px;max-width:620px}.jb-game-kicker{font-size:11px;font-weight:800;letter-spacing:2px;color:#258566}.jb-game-intro h1{font-size:clamp(34px,5vw,55px);margin:8px 0}.jb-game-intro p{color:#61776e;margin:0}.jb-game-board{max-width:690px;margin:0 auto;padding:28px;background:radial-gradient(ellipse at 50% 25%,#218a62 0%,#116344 55%,#0b4535 100%);border-radius:26px;box-shadow:0 24px 55px #143e2a30,inset 0 1px 0 #ffffff44;color:#fff}.jb-board-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff2a;padding-bottom:20px}.jb-stat{display:grid;gap:4px}.jb-stat span,.jb-game-hint,.jb-dice-label{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#d0eadc}.jb-stat strong{font-size:clamp(27px,5vw,38px);letter-spacing:-1px;color:#fff}.jb-stat-right{text-align:right}.jb-stat-right strong{color:#ffe083}.jb-game-hint{display:flex;justify-content:space-between;gap:8px;margin:25px 0 14px}.jb-game-hint span{color:#ffdf82}.jb-symbol-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:490px;margin:0 auto}.jb-tile{border:2px solid transparent;min-width:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:15px 8px 11px;border-radius:15px;background:linear-gradient(160deg,#ffdf57,#ffc82d);box-shadow:0 5px 0 #b58a17,0 10px 20px #062f2530;transition:transform .15s,box-shadow .15s}.jb-tile:hover{transform:translateY(-3px)}.jb-tile[aria-pressed=true]{border-color:#fff;box-shadow:0 0 0 3px #b1f4c4,0 5px 0 #b58a17;transform:translateY(-2px)}.jb-tile img{width:clamp(48px,10vw,80px);height:clamp(48px,10vw,80px);object-fit:contain}.jb-tile span{font-weight:900;font-size:14px;color:#193a2c}.jb-tile small{font-size:10px;color:#6e4f12}.jb-dice-label{display:flex;justify-content:space-between;margin:32px 0 12px}.jb-dice-label span:last-child{letter-spacing:0;text-transform:none;color:#ffdf82}.jb-dice-tray{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;padding:16px;background:#062d286b;border:1px solid #ffffff26;border-radius:17px}.jb-die{aspect-ratio:1;background:#fff8e9;border-radius:11px;display:grid;place-items:center;box-shadow:0 4px 0 #092f2c;transition:transform .12s}.jb-die img{width:78%;height:78%;object-fit:contain}.jb-die.jb-matched{outline:3px solid #ffe078}.jb-die.jb-rolling{transform:rotate(9deg) scale(.94)}.jb-result-strip{text-align:center;min-height:48px;display:grid;place-items:center;color:#e3f3e9;font-weight:650;font-size:14px}.jb-game-actions{display:flex;gap:10px}.jb-roll-btn{flex:1;background:#ffda4d;border:0;border-radius:12px;padding:16px;color:#123c2c;font-weight:900;font-size:17px;cursor:pointer}.jb-roll-btn span{margin-left:9px}.jb-roll-btn:disabled{opacity:.5;cursor:not-allowed}.jb-reset-btn,.jb-sound-btn{background:#ffffff1b;color:#fff;border:1px solid #ffffff55;border-radius:12px;padding:13px 18px;font-weight:800;cursor:pointer}.jb-sound-btn{font-size:22px}.jb-game-foot{text-align:center;color:#b8d9ca;font-size:11px;margin-top:20px}.jb-after-game{text-align:center;max-width:620px;margin:46px auto 0}.jb-after-game h2{font-size:27px}.jb-after-game p{color:#61776e}@media(max-width:540px){.jb-game-page{padding:28px 0 55px}.jb-game-board{padding:17px 13px;border-radius:19px}.jb-symbol-grid{gap:9px}.jb-tile{padding:10px 4px 7px;border-radius:11px}.jb-tile img{width:52px;height:52px}.jb-tile span{font-size:12px}.jb-tile small{font-size:9px}.jb-dice-tray{gap:5px;padding:9px}.jb-die{border-radius:7px}.jb-game-hint,.jb-dice-label{font-size:9px}.jb-reset-btn,.jb-sound-btn{padding:11px}.jb-roll-btn{font-size:15px}}
