/*
Theme Name: JackpotPure Premium
Author: JackpotPure
Description: Original emerald and gold Android game directory. Editable homepage, Gutenberg content, category archives and game download/referral fields. No Appyn dependency.
Version: 2.2.0
Requires at least: 6.0
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: jackpotpure-premium
*/
:root{--green:#006b50;--gold:#cda547;--ink:#102132;--muted:#657586;--line:#e3e9ed}*{box-sizing:border-box}body{margin:0;background:#fafcfd;color:var(--ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #d6ab3c;outline-offset:4px}img{max-width:100%;height:auto}button,input{font:inherit}.wrap{width:min(1440px,94%);margin:auto}.site-header{background:white;border-bottom:1px solid #eadcb7}.header-inner{display:flex;justify-content:space-between;align-items:center;min-height:90px;gap:25px}.brand{display:flex;align-items:center;gap:12px;font-size:29px;font-weight:800;color:#003e2c;letter-spacing:-1px}.brand:hover{text-decoration:none}.gold{color:#bb8a25}.brand-icon{color:#c59a36;display:grid;text-align:center;font-size:33px;line-height:1}.brand-icon small{font-size:15px}.custom-logo-link img{max-height:65px;width:auto}.menu{display:flex;gap:27px;list-style:none;margin:0;padding:0}.menu a{color:var(--ink);font-weight:600}.menu li{position:relative}.menu .sub-menu{display:none;position:absolute;background:white;padding:15px;list-style:none;min-width:180px;z-index:9;box-shadow:0 8px 20px #1232}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.menu-toggle{display:none}.hero{margin:18px 0 24px;min-height:350px;border-radius:16px;background-size:cover;background-position:center;display:grid;place-items:center;overflow:hidden;border:1px solid #b9953c}.hero-content{width:min(850px,65%);text-align:center;color:white;padding:30px 0}.hero h1{font-size:clamp(27px,3vw,44px);line-height:1.15;margin:12px 0;color:#fff4c9;letter-spacing:-1px}.hero p{font-size:19px;margin:14px 0 22px}.crown-divider{display:flex;justify-content:center;align-items:center;gap:20px;color:#efc85d;font-size:35px;line-height:1}.crown-divider span{height:1px;width:145px;background:linear-gradient(90deg,transparent,#e7bf56)}.crown-divider span:last-child{transform:rotate(180deg)}.search-form{display:flex;border:1px solid var(--line);padding:5px;background:white;border-radius:40px;gap:5px;max-width:670px;margin:0 auto;box-shadow:0 5px 18px #002a2420}.search-form input{min-width:0;flex:1;border:0;background:transparent;padding:10px 18px;color:var(--ink);border-radius:35px}.search-form button,.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:var(--green);border:1px solid #b49a4e;color:white;border-radius:30px;padding:10px 25px;cursor:pointer;font-weight:600;line-height:1.5}.button:hover{filter:brightness(1.08);text-decoration:none}.small{font-size:14px;padding:8px 18px}.page-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(250px,1fr);gap:24px}.category-tabs{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.category-tabs a{flex:1;text-align:center;padding:12px 18px;background:#f4f7fa;border:1px solid var(--line);border-radius:10px;color:var(--ink);font-weight:600;white-space:nowrap}.category-tabs .active{background:var(--green);color:white}.section-title{font-size:28px;line-height:1.3;margin:0 0 20px}.section-title:after{content:'';display:block;width:45px;height:2px;background:var(--gold);margin-top:10px}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-card{display:flex;align-items:center;gap:15px;padding:18px 14px;border:1px solid #eedfbe;border-radius:14px;background:white;box-shadow:0 5px 16px #163d2610;min-width:0}.game-image{flex:0 0 90px;display:block}.game-image img,.icon-placeholder{width:90px;height:90px;object-fit:cover;border-radius:16px}.icon-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#005c42,#00281d);color:#e7c05b;font-size:44px}.game-info{min-width:0}.game-info h2{font-size:17px;line-height:1.35;margin:0 0 6px;overflow-wrap:anywhere}.game-info h2 a{color:var(--ink)}.muted{color:var(--muted);font-size:14px}.game-info p{margin:0 0 10px}.side-box{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:22px}.side-box h2{font-size:21px;margin:0 0 12px}.side-box ul{list-style:none;margin:0;padding:0}.side-box li+li{border-top:1px solid var(--line)}.side-box a{display:flex;justify-content:space-between;gap:12px;padding:13px 0;color:var(--ink)}.site-footer{background:white;border-top:1px solid #eadcb7;margin-top:45px;padding:26px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:25px}.footer-note{color:var(--muted);font-size:13px;margin-top:18px}.footer-note p{margin:4px 0}.age{color:#a97712;border:1px solid var(--gold);border-radius:50%;padding:7px;font-weight:700}.pagination,.nav-links{display:flex;justify-content:center;gap:10px;margin:24px 0;flex-wrap:wrap}.page-numbers{padding:6px 14px;border:1px solid var(--line);border-radius:25px;background:white}.page-numbers.current{background:var(--green);color:white}.archive-main{padding-top:30px}.archive-main>h1{font-size:34px}.post-panel{background:white;border:1px solid var(--line);border-radius:16px;padding:32px}.post-intro{display:flex;gap:22px;align-items:center}.post-intro h1{font-size:34px;line-height:1.2;margin:0}.post-icon{width:115px;height:115px;object-fit:cover;border-radius:18px}.details{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;background:#f5f8f7;padding:20px;border-radius:12px}.details dt{font-size:13px;color:var(--muted)}.details dd{margin:0;font-weight:600}.download-actions{display:flex;gap:15px;flex-wrap:wrap;margin:20px 0}.secondary{background:#fff;color:var(--green)}.disclosure{font-size:13px;color:var(--muted);background:#fffaf0;padding:12px;border-left:3px solid var(--gold)}.entry-content{overflow-wrap:anywhere}.entry-content h2{margin-top:32px;font-size:26px}.entry-content h3{font-size:21px}.entry-content a{text-decoration:underline}.entry-content table{border-collapse:collapse;width:100%}.entry-content td,.entry-content th{border:1px solid var(--line);padding:10px}.entry-content iframe{max-width:100%}.entry-content pre{overflow:auto}.readable{max-width:950px;margin:auto}.empty{grid-column:1/-1;background:white;padding:35px;border:1px dashed #ccd9d2;border-radius:14px;text-align:center}.breadcrumb{font-size:14px}.home-content{margin-top:30px}.screen-reader-text,.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.skip:focus{width:auto;height:auto;clip:auto;padding:12px;background:white;z-index:100}.comments-area{border-top:1px solid var(--line);margin-top:30px}.comments-area textarea,.comments-area input{max-width:100%}.wp-caption,.aligncenter{max-width:100%}.aligncenter{display:block;margin:auto}.alignleft{float:left;margin-right:20px}.alignright{float:right;margin-left:20px}
@media(max-width:1200px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-image{flex-basis:85px}.game-image img{width:85px;height:85px}}
@media(max-width:900px){.page-layout{grid-template-columns:1fr}.hero-content{width:80%}.hero{position:relative}.hero:before{content:'';position:absolute;inset:0;background:#003c2bbd}.hero-content{position:relative;z-index:1}.menu-toggle{display:block;background:white;border:1px solid var(--line);padding:9px 16px;border-radius:8px;color:var(--green)}#primary-nav{display:none;position:absolute;top:90px;left:3%;right:3%;background:white;border:1px solid var(--line);padding:20px;z-index:20;box-shadow:0 12px 20px #1232}#primary-nav.is-open{display:block}#primary-nav .menu{flex-direction:column;gap:15px}.menu .sub-menu{display:block;position:static;box-shadow:none}.footer-inner{flex-wrap:wrap}.footer-inner .menu{flex-wrap:wrap}.hero p{font-size:16px}}
@media(max-width:560px){.brand{font-size:24px}.hero{min-height:310px}.hero-content{width:92%;padding:25px 8px}.hero h1{font-size:29px}.hero p{font-size:15px}.crown-divider span{width:70px}.search-form input{padding:10px;max-width:100%}.search-form button{padding:10px 17px}.game-grid{gap:12px}.game-card{flex-direction:column;align-items:stretch;text-align:center;padding:14px 10px}.game-image{flex-basis:auto;margin:auto}.game-image img,.icon-placeholder{width:100px;height:100px}.game-info h2{font-size:16px}.small{padding:8px 10px;gap:8px}.category-tabs{gap:8px}.category-tabs a{padding:10px;font-size:14px}.post-panel{padding:20px}.post-intro{align-items:flex-start}.post-intro h1{font-size:26px}.post-icon{width:75px;height:75px}.details{padding:15px}.site-footer .brand{font-size:24px}}

/* Original style retained; only hero artwork updated. */
.hero{position:relative;isolation:isolate;background-color:#004b35}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.hero-content{position:relative;z-index:1}
@media(max-width:900px){.hero:before{z-index:0}.hero-art{object-position:center}}

.site-brand-logo{display:block;flex-shrink:0;line-height:0}.site-brand-logo img{display:block;width:285px;height:auto;max-height:90px;object-fit:contain}.header-inner{min-height:100px}@media(max-width:560px){.site-brand-logo img{width:205px;max-height:72px}.header-inner{min-height:85px}#primary-nav{top:85px}}

.site-footer .site-brand-logo img{width:250px;max-height:90px} @media(max-width:560px){.site-footer .site-brand-logo img{width:205px}}

/* Maintain readable hero copy over bright artwork at every screen width. */
.hero-content{width:min(760px,68%);padding:28px 24px;margin:22px auto;border-radius:20px;background:radial-gradient(ellipse at center,rgba(0,37,27,.60) 0%,rgba(0,43,31,.50) 64%,rgba(0,43,31,.25) 100%)}
.hero h1{max-width:100%;overflow-wrap:break-word;text-wrap:balance;font-size:clamp(27px,3vw,42px);line-height:1.2;color:#fff4c9;text-shadow:0 2px 5px rgba(0,0,0,.65)}
.hero p{color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.65)}
@media(max-width:900px){.hero-content{width:84%;padding:24px 20px}}
@media(max-width:560px){.hero-content{width:92%;padding:24px 14px;margin:16px auto}.hero h1{font-size:29px}}

.game-info h3{font-size:19px;line-height:1.3;margin:0 0 8px}.related-games{margin-top:32px;border-top:1px solid var(--line);padding-top:20px}.post-attribution{font-size:14px}@media(max-width:560px){.game-info h3{font-size:16px}}

/* Permit grid/flex children to shrink to the mobile viewport. */
.hero{min-width:0;grid-template-columns:minmax(0,1fr)}
.hero-content{min-width:0;max-width:calc(100% - 24px);justify-self:center}
.hero h1,.hero p{min-width:0;max-width:100%;overflow-wrap:anywhere}
.hero .search-form{width:100%;min-width:0;max-width:670px;box-sizing:border-box}
.hero .search-form input{width:0;min-width:0;flex:1 1 0}
.hero .search-form button{flex:0 0 auto;gap:0}
.page-layout>*,.header-inner>nav,.footer-inner>nav{min-width:0}
@media(max-width:560px){
 .hero-content{width:92%;max-width:calc(100% - 24px);margin:16px auto;padding:24px 12px;text-align:center}
 .hero h1{font-size:clamp(24px,7vw,29px);line-height:1.25}
 .hero p{font-size:15px}
 .hero .search-form input{padding:10px 8px;font-size:14px}
 .hero .search-form button{padding:10px 14px;font-size:14px}
 .crown-divider{gap:12px}.crown-divider span{width:min(70px,20vw)}
 .category-tabs a{min-width:0;white-space:normal}
 .header-inner{gap:12px}.site-brand-logo{max-width:calc(100% - 95px)}
 .site-brand-logo img{max-width:100%}
 .footer-inner{gap:16px}.footer-inner nav{max-width:100%}
}

/* Celebration artwork occupies a dedicated side area, clear of the copy. */
.hero-with-winner{min-height:390px}
.hero-winner{position:absolute;inset:0 auto 0 0;width:29%;z-index:0;overflow:hidden;pointer-events:none;mask-image:linear-gradient(to right,#000 82%,transparent);-webkit-mask-image:linear-gradient(to right,#000 82%,transparent)}
.hero-winner img{display:block;width:100%;height:100%;object-fit:cover;object-position:31% center}
.hero-with-winner .hero-content{width:60%;max-width:760px;margin:24px 10% 24px 30%;justify-self:start}
@media(max-width:900px){
 .hero-with-winner{display:flex;flex-direction:column;align-items:center;min-height:0}
 .hero-with-winner:before{display:none}
 .hero-winner{position:relative;inset:auto;width:100%;height:245px;flex:none;mask-image:linear-gradient(to bottom,#000 82%,transparent);-webkit-mask-image:linear-gradient(to bottom,#000 82%,transparent)}
 .hero-winner img{object-position:30% 23%}
 .hero-with-winner .hero-content{width:92%;max-width:calc(100% - 24px);margin:0 auto 18px;align-self:center}
}
@media(max-width:560px){.hero-winner{height:230px}.hero-winner img{object-position:30% 18%}.hero-with-winner .hero-content{padding:20px 12px}}

/* Center the full copy group in the hero rather than the remaining side space. */
.hero-with-winner .hero-content{width:54%;max-width:760px;margin:26px auto;justify-self:center;text-align:center;background:radial-gradient(ellipse at center,rgba(0,37,27,.60) 0%,rgba(0,43,31,.43) 64%,rgba(0,43,31,.12) 100%)}
.hero-with-winner .hero-winner{mask-image:linear-gradient(to right,#000 62%,rgba(0,0,0,.8) 78%,transparent 100%);-webkit-mask-image:linear-gradient(to right,#000 62%,rgba(0,0,0,.8) 78%,transparent 100%)}
.hero-with-winner h1{font-size:clamp(27px,2.6vw,40px);text-wrap:balance}
@media(max-width:900px){
 .hero-with-winner .hero-winner{mask-image:linear-gradient(to bottom,#000 75%,transparent);-webkit-mask-image:linear-gradient(to bottom,#000 75%,transparent)}
 .hero-with-winner .hero-content{width:92%;max-width:calc(100% - 24px);margin:0 auto 18px;align-self:center}
}
@media(max-width:560px){.hero-with-winner h1{font-size:clamp(24px,7vw,29px)}}

/* Tighten the desktop hero so the crown starts near the upper edge. */
@media(min-width:901px){
 .hero-with-winner{min-height:340px;align-items:start;padding:24px 0}
 .hero-with-winner .hero-content{align-self:start;margin:0 auto;padding:16px 24px 20px}
 .hero-with-winner .crown-divider{margin:0}
 .hero-with-winner h1{margin:14px 0 12px}
 .hero-with-winner p{margin:12px 0 20px}
}
