/*
Theme Name: Casino Juegalo
Theme URI: https://example.com/casino-juegalo
Author: Casino Juegalo
Description: Casino theme with sticky sidebar, Wheel of Fortune, sliders, winners ticker and mobile tab bar. No required plugins: native custom post types, Customizer, menus and Gutenberg.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casino-juegalo
Tags: dark, left-sidebar, custom-colors, custom-logo, custom-menu, featured-images
*/

:root{--bg:#1F7550;--bg-alt:#155236;--surface-1:#10432F;--surface-2:#2E8A5B;--accent:#F8C80E;--accent-hover:#FFD84A;--on-accent:#0E2B1D;--accent-2:#33C46B;--text:#FFFFFF;--muted:#C9E2D4;--font-display:'Rubik',sans-serif;--font-body:'Roboto',system-ui,sans-serif;--hero-overlay:.9;--band:color-mix(in oklab,var(--surface-1) 70%,#000);--sidebar-w:256px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-hover)}
button{font-family:inherit}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.jg-skip{position:absolute;left:-9999px;top:8px;z-index:300;padding:10px 14px;border-radius:8px;background:var(--accent);color:var(--on-accent)}
.jg-skip:focus{left:12px}
.jg-accent{color:var(--accent)}
body.jg-lock{overflow:hidden}

/* Layout */
.jg-app{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);min-height:100vh}
.jg-sidebar{position:sticky;top:0;align-self:start;height:100vh;display:flex;flex-direction:column;background:var(--bg-alt);border-right:1px solid rgba(255,255,255,.07)}
.jg-sidebar__logo{flex:none;height:72px;display:flex;align-items:center;padding:0 22px}
.jg-sidebar__nav{flex:1;min-height:0;overflow-y:auto;padding:6px 12px 16px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}
.jg-main{min-width:0;display:flex;flex-direction:column;container-type:inline-size}
.jg-content{flex:1}

/* Logo */
.jg-logo{display:flex;align-items:center;gap:8px;color:var(--text)}
.jg-logo:hover{color:var(--text)}
.jg-logo img{display:block;max-height:44px;width:auto}
.jg-logo__mark{flex:none;width:32px;height:32px;border-radius:50%;background:var(--accent);display:grid;place-items:center;color:var(--on-accent);font:italic 900 19px/1 var(--font-display)}
.jg-logo__text{font:italic 900 25px/1 var(--font-display);letter-spacing:-.01em;white-space:nowrap}
.jg-logo--sm .jg-logo__mark{width:26px;height:26px;font-size:15px}
.jg-logo--sm .jg-logo__text{font-size:20px}
.jg-logo--sm img{max-height:36px}

/* Buttons */
.jg-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 24px;border:0;border-radius:8px;background:var(--accent);color:var(--on-accent);font:700 15px/1 var(--font-body);letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s}
.jg-btn:hover{background:var(--accent-hover);color:var(--on-accent)}
.jg-btn--outline{background:transparent;border:2px solid var(--accent);color:var(--accent);padding:0 22px}
.jg-btn--outline:hover{background:var(--accent);color:var(--on-accent)}
.jg-btn--ghost{height:40px;padding:0 14px;background:transparent;border:2px solid var(--text);color:var(--text);font:800 13px/1 var(--font-display);letter-spacing:.04em}
.jg-btn--ghost:hover{background:var(--text);color:var(--on-accent)}
.jg-btn--sm{height:36px;padding:0 22px;border-radius:6px}
.jg-btn--lg{height:60px;padding:0 40px;font:800 20px/1 var(--font-display);letter-spacing:.02em;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.jg-btn--block{width:100%}
.jg-btn[disabled]{opacity:.6;cursor:not-allowed}
.jg-btn[disabled]:hover{background:var(--accent)}
.jg-icon-btn{flex:none;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:10px;background:rgba(255,255,255,.08);color:var(--text);font-size:26px;line-height:1;cursor:pointer}
.jg-icon-btn:hover{background:rgba(255,255,255,.16)}
.jg-arrow{flex:none;width:40px;height:40px;display:grid;place-items:center;padding:0;border:2px solid var(--text);border-radius:50%;background:transparent;color:var(--text);cursor:pointer;transition:background .15s,color .15s,opacity .15s}
.jg-arrow:hover{background:var(--text);color:var(--on-accent)}
.jg-arrow::before{content:"";width:9px;height:9px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateX(2px) rotate(45deg)}
.jg-arrow--next::before{transform:translateX(-2px) rotate(-135deg)}
.jg-arrow[disabled]{opacity:.35;cursor:default}
.jg-arrow[disabled]:hover{background:transparent;color:var(--text)}
.no-overflow .jg-arrow{display:none}

/* Menu (sidebar + drawer) */
.jg-menu,.jg-menu__sub{list-style:none;margin:0;padding:0}
.jg-menu{display:flex;flex-direction:column;gap:2px}
.jg-menu__row{display:flex;align-items:center;gap:4px;border-radius:10px}
.jg-menu__link{flex:1;min-width:0;display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border-radius:10px;color:var(--text);font-size:15px;font-weight:500}
.jg-menu__link:hover{color:var(--accent)}
.jg-menu__icon{flex:none;display:block;width:20px;height:20px;object-fit:contain}
.jg-menu__toggle{flex:none;width:30px;height:30px;margin-right:7px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:rgba(255,255,255,.08);color:var(--text);font-size:20px;line-height:1;cursor:pointer;transition:transform .2s,background .2s}
.jg-menu__toggle:hover{background:rgba(255,255,255,.16)}
.jg-menu__item.is-open>.jg-menu__row>.jg-menu__toggle{transform:rotate(45deg)}
.jg-menu__item--d0.is-current>.jg-menu__row{background:rgba(255,255,255,.07)}
.jg-menu__item--d0.is-current>.jg-menu__row>.jg-menu__link{color:var(--accent)}
.jg-menu__sub{display:none;flex-direction:column;padding:2px 0 8px 32px}
.jg-menu__item.is-open>.jg-menu__sub{display:flex}
.jg-menu__sub .jg-menu__link{min-height:36px;color:var(--muted);font-size:14px;font-weight:400}
.jg-menu__sub .jg-menu__link:hover{color:var(--text);background:rgba(255,255,255,.05)}
.jg-menu__sub .is-current>.jg-menu__link{color:var(--accent)}

/* Wheel */
.jg-wheel{flex:none;border-top:1px solid rgba(255,255,255,.08);background:color-mix(in oklab,var(--bg-alt) 78%,#000)}
.jg-wheel--sidebar{display:flex;flex-direction:column;align-items:center;gap:14px;padding:16px 18px 18px}
.jg-wheel--sidebar .jg-wheel__info{display:contents}
.jg-wheel--sidebar .jg-wheel__title{order:-1}
.jg-wheel--sidebar .jg-wheel__sub{display:none}
.jg-wheel--sidebar .jg-wheel__spin{width:100%}
.jg-wheel--drawer{display:flex;align-items:center;gap:14px;padding:14px 16px calc(16px + env(safe-area-inset-bottom))}
.jg-wheel__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.jg-wheel__title{font:900 15px/1.1 var(--font-display);letter-spacing:.04em;text-transform:uppercase}
.jg-wheel__sub{font-size:13px;line-height:1.4;color:var(--muted)}
.jg-wheel__spin{font-family:var(--font-display);font-weight:800;font-size:14px}
.jg-wheel--drawer .jg-wheel__spin{font-size:13px;padding:0 10px}
.jg-wheel__stage{position:relative;flex:none;width:172px;height:172px;font-size:11px}
.jg-wheel--drawer .jg-wheel__stage{width:144px;height:144px;font-size:9.5px}
.jg-wheel__ring{position:absolute;inset:0;border-radius:50%;padding:6px;background:var(--accent);box-shadow:0 0 0 3px var(--surface-1),0 10px 28px rgba(0,0,0,.4)}
.jg-wheel--drawer .jg-wheel__ring{padding:5px}
.jg-wheel__disc{position:relative;width:100%;height:100%;border-radius:50%;overflow:hidden;transition:transform 5.2s cubic-bezier(.15,.8,.15,1)}
.jg-wheel__label{position:absolute;left:50%;top:50%;width:50%;height:16px;margin-top:-8px;padding:0 6% 0 17%;transform-origin:0 50%;text-align:right;white-space:nowrap;line-height:16px;font-family:var(--font-display);font-weight:800}
.jg-wheel__hub{position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:var(--bg-alt);border:3px solid var(--accent);box-shadow:0 2px 8px rgba(0,0,0,.45)}
.jg-wheel--drawer .jg-wheel__hub{width:28px;height:28px;margin:-14px 0 0 -14px}
.jg-wheel__pointer{position:absolute;left:50%;top:-8px;width:0;height:0;margin-left:-10px;border-left:10px solid transparent;border-right:10px solid transparent;border-top:20px solid var(--text);filter:drop-shadow(0 2px 2px rgba(0,0,0,.45))}

/* Top bar */
.jg-topbar{position:sticky;top:0;z-index:20;height:72px;display:flex;align-items:center;gap:12px;padding:0 clamp(16px,3cqw,36px);background:var(--bg-alt);border-bottom:1px solid rgba(255,255,255,.07)}
.admin-bar .jg-topbar{top:32px}
.admin-bar .jg-sidebar{top:32px;height:calc(100vh - 32px)}
.jg-topbar__spacer{flex:1}
.jg-burger,.jg-topbar__logo{display:none}
.jg-auth{flex:none;display:flex;align-items:center;gap:10px}

/* Booster */
.jg-booster{flex:0 1 480px;min-width:0;display:flex;align-items:center;gap:12px;padding:6px 18px 6px 6px;border-radius:999px;background:var(--surface-1);border:1px solid color-mix(in oklab,var(--accent) 40%,transparent);color:var(--text)}
.jg-booster:hover{border-color:var(--accent);color:var(--text)}
.jg-booster__icon{flex:none;width:36px;height:36px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center}
.jg-booster__icon img{display:block;width:20px;height:20px;object-fit:contain}
.jg-booster__icon svg{width:18px;height:18px}
.jg-booster__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.jg-booster__line{display:flex;align-items:baseline;gap:8px;font-size:13px;line-height:1.2}
.jg-booster__line strong{flex:none;color:var(--accent);font-family:var(--font-display);font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.jg-booster__text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
.jg-booster__pct{flex:none;font-weight:700}
.jg-booster__bar{position:relative;display:block;height:6px;border-radius:6px;background:rgba(255,255,255,.12);overflow:hidden}
.jg-booster__bar span{position:absolute;left:0;top:0;bottom:0;border-radius:6px;background:var(--accent)}
.jg-booster-strip{display:none;padding:10px 12px;background:var(--bg-alt)}
.jg-booster-strip .jg-booster{width:100%}

/* Hero */
.jg-hero{position:relative;display:flex;align-items:center;min-height:clamp(400px,44cqw,580px);overflow:hidden;background:var(--surface-1)}
.jg-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.jg-hero__shade{position:absolute;inset:0;opacity:var(--hero-overlay);background:linear-gradient(90deg,var(--bg-alt) 0%,color-mix(in oklab,var(--bg-alt) 55%,transparent) 50%,transparent 85%),linear-gradient(0deg,var(--bg) 0%,transparent 35%)}
.jg-hero__body{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:clamp(14px,2cqw,22px);max-width:840px;padding:clamp(36px,6cqw,80px) clamp(16px,5cqw,72px)}
.jg-kicker{color:var(--accent-2);font:800 clamp(13px,1.3cqw,16px)/1.2 var(--font-display);letter-spacing:.14em;text-transform:uppercase}
.jg-hero__title{margin:0;font:900 clamp(34px,5.6cqw,72px)/1 var(--font-display);text-transform:uppercase;text-wrap:balance}
.jg-hero__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.jg-hero__list li{display:flex;align-items:center;gap:14px;font:800 clamp(17px,2.2cqw,28px)/1.1 var(--font-display);text-transform:uppercase}
.jg-hero__list img{flex:none;display:block;width:clamp(20px,2.2cqw,28px);height:auto}
.jg-star{flex:none;display:inline-block;width:clamp(20px,2.2cqw,28px);aspect-ratio:1;background:var(--accent);clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.jg-hero .jg-btn--lg{margin-top:8px;height:clamp(54px,5cqw,64px);padding:0 clamp(32px,4cqw,52px);font-size:clamp(18px,2cqw,24px)}

/* Winners ticker */
.jg-ticker{padding:14px 0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.jg-ticker.is-static{overflow-x:auto;scrollbar-width:none}
.jg-ticker__track{display:flex;gap:14px;width:max-content;will-change:transform}
.jg-ticker__set{flex:none;display:flex;gap:14px}
.jg-win{flex:none;display:flex;align-items:center;gap:14px;min-width:236px;padding:14px 24px 14px 16px;border-radius:8px;background:var(--surface-2);color:var(--text)}
a.jg-win:hover{color:var(--text);filter:brightness(1.06)}
.jg-win__icon{flex:none;width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.16);display:grid;place-items:center;color:var(--accent);overflow:hidden}
.jg-win__icon img{display:block;width:28px;height:28px;object-fit:contain}
.jg-win__icon svg{width:22px;height:22px}
.jg-win__body{display:flex;flex-direction:column;gap:2px}
.jg-win__name,.jg-win__game{font-size:14px}
.jg-win__game{font-weight:700}
.jg-win__amount{font-weight:500;font-size:22px;line-height:1.1;color:var(--accent)}

/* Sections */
.jg-sections{display:flex;flex-direction:column;gap:clamp(44px,6cqw,76px);width:100%;max-width:1320px;margin:0 auto;padding:clamp(24px,3.5cqw,44px) clamp(14px,3cqw,36px) clamp(44px,6cqw,72px)}
.jg-h2{margin:0;font:900 clamp(22px,3.4cqw,44px)/1.05 var(--font-display);text-transform:uppercase}
.jg-h2--center{text-align:center;text-wrap:balance}
.jg-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 10px}
.jg-head .jg-h2{flex:1 1 auto;min-width:0}
.jg-head__tools{flex:none;display:flex;align-items:center;gap:8px}
.jg-more{font-size:17px;font-weight:500;text-transform:uppercase}
.jg-row{display:flex;flex-wrap:wrap;gap:20px;align-items:stretch}
.jg-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.jg-track::-webkit-scrollbar{display:none}
.jg-track>*{flex:none;scroll-snap-align:start}

/* Promo slider */
.jg-promo{flex:1.7 1 440px;min-width:0;position:relative;min-height:420px;border-radius:14px;overflow:hidden;background:var(--surface-1)}
.jg-promo__track{display:flex;height:100%;transition:transform .6s cubic-bezier(.4,0,.2,1)}
.jg-promo__slide{flex:0 0 100%;position:relative;min-height:420px;display:flex;flex-direction:column;justify-content:center;padding:clamp(22px,3.5cqw,46px) clamp(20px,3.5cqw,46px) 56px}
.jg-promo__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.jg-promo__shade{position:absolute;inset:0;background:linear-gradient(90deg,color-mix(in oklab,var(--surface-1) 92%,transparent) 0%,color-mix(in oklab,var(--surface-1) 40%,transparent) 70%,transparent 100%)}
.jg-promo__body{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.jg-promo__kicker{font-size:clamp(17px,1.8cqw,22px);font-weight:500}
.jg-promo__title{margin:0;font:900 clamp(42px,6cqw,84px)/.98 var(--font-display);letter-spacing:-.01em}
.jg-promo__terms{font:800 clamp(18px,2.3cqw,30px)/1.15 var(--font-display)}
.jg-promo .jg-btn{height:50px;padding:0 34px;margin-top:4px;font-size:17px;border-radius:6px}
.jg-code{width:100%;max-width:380px;display:flex;flex-direction:column;gap:8px;margin-top:6px}
.jg-code__label{display:flex;gap:10px;font-size:15px;font-weight:500;text-transform:uppercase}
.jg-code__done{color:var(--accent-2);font-weight:700}
.jg-code__field{display:flex;height:52px}
.jg-code__value{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;border:2px dotted var(--accent);border-right:0;background:rgba(0,0,0,.22);font-weight:700;font-size:20px;letter-spacing:.04em;user-select:all;overflow:hidden}
.jg-code__copy{flex:none;width:56px;display:grid;place-items:center;padding:0;border:0;background:var(--accent);color:var(--on-accent);cursor:pointer}
.jg-code__copy:hover{background:var(--accent-hover)}
.jg-code__copy svg{width:22px;height:22px}
.jg-dots{position:absolute;left:0;right:0;bottom:20px;display:flex;justify-content:center;gap:8px}
.jg-dot{width:10px;height:10px;padding:0;border:0;border-radius:10px;background:rgba(255,255,255,.45);cursor:pointer;transition:width .3s,background .3s}
.jg-dot.is-active{width:28px;background:var(--accent)}

/* Slot cards */
.jg-hot{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:14px}
.jg-hot__grid{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.jg-slot{display:flex;flex-direction:column;border-radius:10px;overflow:hidden;background:var(--surface-1);color:var(--text)}
.jg-slot:hover{color:var(--text)}
.jg-slot__media{position:relative;aspect-ratio:3/4;display:grid;place-items:center;padding:8px;overflow:hidden;text-align:center;background:color-mix(in oklab,var(--surface-1) 65%,var(--surface-2))}
.jg-hot .jg-slot__media{flex:1;min-height:160px;aspect-ratio:auto}
.jg-slot__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.jg-slot:hover .jg-slot__img{transform:scale(1.04)}
.jg-slot__name{font:800 14px/1.2 var(--font-display);text-transform:uppercase}
.jg-slot__foot{display:flex;justify-content:center;padding:14px 8px 16px}
.jg-slot:hover .jg-btn{background:var(--accent-hover)}
.jg-rec{display:flex;flex-direction:column;gap:20px}
.jg-rec .jg-slot{width:clamp(150px,16cqw,204px)}

/* Reviews */
.jg-reviews{display:flex;flex-direction:column;align-items:center;gap:clamp(22px,3cqw,36px)}
.jg-reviews__wrap{position:relative;width:100%}
.jg-reviews .jg-track{gap:18px;padding:2px}
.jg-review{width:clamp(250px,21.5cqw,300px);min-height:350px;display:flex;flex-direction:column;align-items:center;gap:14px;padding:30px 22px 26px;border-radius:12px;background:var(--surface-1);text-align:center}
.jg-stars{display:flex;gap:8px}
.jg-stars .jg-star{width:26px;background:var(--text)}
.jg-stars .jg-star.is-on{background:var(--accent)}
.jg-review__title{margin:0;font-size:22px;font-weight:500;line-height:1.2;text-wrap:balance}
.jg-review__text{flex:1;margin:0;font-size:16px;line-height:1.45;text-wrap:pretty}
.jg-review__more{padding:0;border:0;background:none;color:var(--accent);font-size:16px;font-weight:700;cursor:pointer}
.jg-review__author{display:flex;align-items:center;gap:10px;font-size:18px}
.jg-review__avatar{display:block;width:46px;height:46px;border-radius:50%;object-fit:cover}
.jg-reviews__wrap .jg-arrow{position:absolute;top:50%;z-index:2;margin-top:-20px;background:var(--bg)}
.jg-reviews__wrap .jg-arrow:hover{background:var(--text)}
.jg-reviews__wrap .jg-arrow--prev{left:-8px}
.jg-reviews__wrap .jg-arrow--next{right:-8px}

/* Features */
.jg-features{display:flex;flex-direction:column;align-items:center;gap:clamp(24px,3cqw,40px)}
.jg-features__grid{width:100%;max-width:1080px;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px 40px}
.jg-feature{display:flex;align-items:center;gap:16px;color:var(--text);font-size:18px;font-weight:500;line-height:1.25;text-transform:uppercase}
a.jg-feature:hover{color:var(--accent)}
.jg-feature__icon{flex:none;width:52px;height:52px;border-radius:50%;background:var(--surface-1);display:grid;place-items:center;overflow:hidden}
.jg-feature__icon img{display:block;width:30px;height:30px;object-fit:contain}
.jg-features .jg-btn{height:56px;padding:0 34px;font-size:18px}

/* Banner CTA */
.jg-banner{position:relative;border-radius:14px;overflow:hidden;background:var(--surface-1)}
.jg-banner__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.jg-banner__shade{position:absolute;inset:0;background:linear-gradient(90deg,color-mix(in oklab,var(--surface-1) 94%,transparent) 0%,color-mix(in oklab,var(--surface-1) 50%,transparent) 60%,color-mix(in oklab,var(--surface-1) 75%,transparent) 100%)}
.jg-banner__body{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:22px 36px;min-height:210px;padding:clamp(26px,4cqw,50px) clamp(20px,4cqw,56px)}
.jg-banner__text{flex:1 1 380px;display:flex;flex-direction:column;gap:10px}
.jg-banner__title{margin:0;font:900 clamp(28px,3.8cqw,50px)/1 var(--font-display);text-transform:uppercase;text-wrap:balance}
.jg-banner__desc{margin:0;max-width:560px;font-size:17px;line-height:1.5;color:var(--muted)}

/* FAQ */
.jg-faq{width:100%;max-width:920px;margin:0 auto;display:flex;flex-direction:column;gap:22px}
.jg-faq__list{display:flex;flex-direction:column;gap:10px}
.jg-faq__item{border-radius:10px;background:var(--surface-1);overflow:hidden}
.jg-faq__q{display:flex;align-items:center;gap:16px;padding:18px 20px;list-style:none;font-size:17px;font-weight:500;line-height:1.35;cursor:pointer}
.jg-faq__q::-webkit-details-marker{display:none}
.jg-faq__q>span:first-child{flex:1}
.jg-faq__icon{flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.08);font-size:22px;line-height:1;transition:transform .2s,background .2s}
.jg-faq__item[open] .jg-faq__icon{transform:rotate(45deg);background:var(--accent);color:var(--on-accent)}
.jg-faq__a{padding:0 20px 20px;color:var(--muted);font-size:15px;line-height:1.6}
.jg-faq__a>:first-child{margin-top:0}
.jg-faq__a>:last-child{margin-bottom:0}

/* Prose: SEO text, pages, posts */
.jg-prose{width:100%;max-width:920px;margin:0 auto;color:var(--muted);font-size:16px;line-height:1.7;text-wrap:pretty}
.jg-prose>:first-child{margin-top:0}
.jg-prose h1,.jg-prose h2{margin:32px 0 14px;color:var(--text);font:900 clamp(24px,2.8cqw,34px)/1.1 var(--font-display);text-transform:uppercase}
.jg-prose h3,.jg-prose h4,.jg-prose h5,.jg-prose h6{margin:24px 0 10px;color:var(--text);font-size:20px;font-weight:700;line-height:1.3}
.jg-prose p,.jg-prose ul,.jg-prose ol,.jg-prose table,.jg-prose figure{margin:0 0 16px}
.jg-prose ul,.jg-prose ol{padding-left:22px}
.jg-prose a{text-decoration:underline}
.jg-prose strong{color:var(--text)}
.jg-prose img{border-radius:10px}
.jg-prose table{width:100%;border-collapse:collapse}
.jg-prose th,.jg-prose td{padding:10px 12px;border:1px solid rgba(255,255,255,.12);text-align:left}
.jg-prose th{background:var(--surface-1);color:var(--text)}
.jg-prose blockquote{margin:0 0 16px;padding:14px 18px;border-radius:10px;background:var(--surface-1);color:var(--text)}
.jg-prose .aligncenter{margin-left:auto;margin-right:auto}
.jg-prose .alignleft{float:left;margin:0 16px 16px 0}
.jg-prose .alignright{float:right;margin:0 0 16px 16px}
.jg-page{width:100%;max-width:980px;margin:0 auto;padding:clamp(24px,4cqw,48px) clamp(14px,3cqw,36px) 64px}
.jg-page__title{margin:0 0 20px;color:var(--text);font:900 clamp(30px,4cqw,52px)/1.05 var(--font-display);text-transform:uppercase;text-wrap:balance}
.jg-posts{display:grid;gap:16px}
.jg-post-card{padding:22px;border-radius:12px;background:var(--surface-1)}
.jg-post-card h2{margin:0 0 8px;font:800 22px/1.2 var(--font-display)}
.jg-post-card h2 a{color:var(--text)}
.jg-post-card p{margin:0;color:var(--muted)}
.nav-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.page-numbers{display:grid;place-items:center;min-width:40px;height:40px;padding:0 12px;border-radius:8px;background:var(--surface-1);color:var(--text)}
.page-numbers.current{background:var(--accent);color:var(--on-accent)}

/* Footer */
.jg-footer{margin-top:auto}
.jg-pay{position:relative;background:var(--band);padding:22px clamp(58px,6cqw,80px)}
.jg-pay .jg-arrow{position:absolute;top:50%;margin-top:-20px}
.jg-pay .jg-arrow--prev{left:clamp(10px,2cqw,24px)}
.jg-pay .jg-arrow--next{right:clamp(10px,2cqw,24px)}
.jg-logo-tile{width:150px;height:60px;display:grid;place-items:center;padding:8px 14px;border-radius:8px;color:var(--muted);font-size:13px;font-weight:700;text-align:center}
.jg-logo-tile img{display:block;max-width:100%;max-height:40px;width:auto;object-fit:contain}
a.jg-logo-tile:hover{color:var(--text);background:rgba(255,255,255,.05)}
.jg-footer__inner{background:var(--bg-alt);padding:clamp(28px,4cqw,48px) clamp(14px,3cqw,36px) 28px}
.jg-footer__wrap{max-width:1320px;margin:0 auto;display:flex;flex-direction:column;gap:34px}
.jg-partners{display:flex;flex-direction:column;gap:14px}
.jg-partners .jg-arrow{width:36px;height:36px}
.jg-partners .jg-logo-tile{width:160px;height:64px;background:var(--surface-1)}
.jg-h4{flex:1;margin:0;font:800 16px/1.2 var(--font-display);letter-spacing:.06em;text-transform:uppercase}
.jg-footer__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:28px 40px}
.jg-footer__col{display:flex;flex-direction:column;gap:14px}
.jg-footer__about{margin:0;max-width:300px;font-size:14px;line-height:1.6;color:var(--muted)}
.jg-footer__links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.jg-footer__links a{font-size:15px;color:var(--muted)}
.jg-footer__links a:hover{color:var(--accent)}
.jg-legal{display:flex;flex-wrap:wrap;align-items:flex-start;gap:16px 22px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1)}
.jg-badge{flex:none;width:46px;height:46px;display:grid;place-items:center;border:2px solid var(--muted);border-radius:50%;font:800 15px/1 var(--font-display)}
.jg-legal p{flex:1 1 420px;margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
.jg-copy{font-size:13px;color:var(--muted)}

/* Mobile tab bar, drawer, modal */
.jg-tabbar{display:none}
.jg-tabbar__item{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;min-height:56px;padding:0;border:0;background:none;color:var(--accent);font:700 11px/1.1 var(--font-body);letter-spacing:.02em;text-align:center;cursor:pointer}
.jg-tabbar__item:hover{color:var(--accent-hover)}
.jg-tabbar__icon{width:26px;height:26px;display:grid;place-items:center}
.jg-tabbar__icon img,.jg-tabbar__icon svg{display:block;width:26px;height:26px;object-fit:contain}
.jg-tabbar__item--accent .jg-tabbar__icon{width:58px;height:58px;margin-top:-26px;border-radius:50%;background:var(--accent);color:var(--on-accent);border:4px solid var(--bg-alt);box-shadow:0 4px 14px rgba(0,0,0,.35)}
.jg-drawer{position:fixed;inset:0;z-index:50;visibility:hidden;transition:visibility 0s .3s}
.jg-drawer.is-open{visibility:visible;transition:none}
.jg-drawer__overlay{position:absolute;inset:0;background:rgba(0,0,0,.55);opacity:0;transition:opacity .25s}
.jg-drawer.is-open .jg-drawer__overlay{opacity:1}
.jg-drawer__panel{position:absolute;top:0;bottom:0;left:0;width:min(86%,340px);display:flex;flex-direction:column;background:var(--bg-alt);box-shadow:8px 0 32px rgba(0,0,0,.4);transform:translateX(-105%);transition:transform .3s cubic-bezier(.4,0,.2,1)}
.jg-drawer.is-open .jg-drawer__panel{transform:none}
.jg-drawer__head{flex:none;height:62px;display:flex;align-items:center;gap:10px;padding:0 12px 0 16px}
.jg-drawer__head .jg-logo{flex:1;min-width:0}
.jg-drawer__auth{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:4px 16px 12px}
.jg-drawer__auth .jg-btn{width:100%;padding:0 10px;font-size:14px}
.jg-drawer__nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 10px 16px}
.jg-drawer .jg-menu__link{min-height:46px}
.jg-drawer .jg-menu__toggle{width:36px;height:36px;margin-right:5px}
.jg-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}
.jg-modal__backdrop{position:absolute;inset:0;background:rgba(4,16,10,.72)}
.jg-modal__card{position:relative;width:100%;max-width:380px;display:flex;flex-direction:column;align-items:center;gap:12px;padding:34px 26px 26px;border:2px solid var(--accent);border-radius:16px;background:var(--surface-1);text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.5);animation:jg-pop .35s cubic-bezier(.2,.9,.3,1.2)}
.jg-modal__close{position:absolute;right:10px;top:10px;width:40px;height:40px;border-radius:50%;font-size:24px}
.jg-modal__title{margin:0;font:900 30px/1 var(--font-display);text-transform:uppercase}
.jg-modal__prize{font:900 46px/1 var(--font-display);color:var(--accent)}
.jg-modal__text{margin:0;font-size:16px;line-height:1.5;color:var(--muted)}
.jg-modal .jg-btn{height:52px;margin-top:6px;font-size:17px}
.jg-modal__note{font-size:12px;color:var(--muted)}
@keyframes jg-pop{from{transform:scale(.85);opacity:0}to{transform:none;opacity:1}}

@media (max-width:999px){
	.jg-app{grid-template-columns:minmax(0,1fr)}
	.jg-sidebar{display:none}
	.jg-topbar{height:62px;gap:10px;padding:0 12px}
	.jg-burger{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:rgba(255,255,255,.08);cursor:pointer}
	.jg-burger span{width:20px;height:2px;border-radius:2px;background:var(--text)}
	.jg-topbar__logo{display:block;min-width:0}
	.jg-topbar>.jg-booster{display:none}
	.jg-topbar .jg-auth{gap:8px}
	.jg-topbar .jg-btn{height:40px;padding:0 12px;font-size:13px}
	.jg-booster-strip{display:block}
	.jg-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(var(--tabs,5),minmax(0,1fr));align-items:end;padding:0 4px calc(8px + env(safe-area-inset-bottom));min-height:70px;background:var(--bg-alt);border-top:1px solid rgba(255,255,255,.1);box-shadow:0 -6px 20px rgba(0,0,0,.25)}
	body.has-tabbar{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
}
@media (min-width:1000px){.jg-drawer{display:none}}
@media (max-width:782px){.admin-bar .jg-topbar{top:46px}}
@media (max-width:600px){.admin-bar .jg-topbar{top:0}}
@media (max-width:370px){.jg-topbar .jg-logo__text{display:none}}
@media (prefers-reduced-motion:reduce){
	*,*::before,*::after{scroll-behavior:auto!important}
	.jg-promo__track,.jg-slot__img,.jg-drawer__panel{transition:none}
	.jg-wheel__disc{transition-duration:.3s}
	.jg-modal__card{animation:none}
}
