/*
Theme Name: Explore Yono Games
Theme URI: https://example.com/
Author: Explore Yono Games
Description: Mobile-first game directory theme with JSON app importer.
Version: 18.2.0
License: GPL-2.0-or-later
Text Domain: explore-yono-games
*/
:root{--blue:#2d66df;--blue2:#2460d8;--ink:#202b3d;--muted:#596579;--bg:#f7f8fb;--white:#fff;--line:#e7e9ee;--green:#188b6b}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}a{text-decoration:none;color:inherit}.container{width:min(1100px,94%);margin:auto}
.site-header{background:#fff;border-bottom:1px solid #ddd}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:15px;font-size:25px;font-weight:800;color:#202b3d}.brand-logo{width:54px;height:54px;border-radius:12px;object-fit:cover;background:#e9edf5}.brand-fallback{width:54px;height:54px;border-radius:12px;background:linear-gradient(135deg,#18a36b,#0a633f);display:grid;place-items:center;color:#fff;font-size:20px;font-weight:900}.menu-toggle{display:none;border:0;background:none;font-size:34px;color:#1772bf;padding:0}
.navbar{background:#fff;border-top:1px solid #e5e5e5}.nav-inner{display:flex;justify-content:center}.nav{display:flex;width:100%;justify-content:center}.nav ul{list-style:none;padding:0;margin:0;display:flex;width:100%;justify-content:center}.nav li{border-right:1px solid #e4e5e9}.nav li:first-child{border-left:1px solid #e4e5e9}.nav a{display:block;padding:10px 27px;font-size:15px;font-weight:700;color:#536071}.nav a:hover,.nav a:last-child{color:#2866d8}
.hero{background:linear-gradient(135deg,#f4f8ff,#edf3ff);border-bottom:1px solid #e9edf5;padding:48px 15px 42px;text-align:center}.hero h1{font-size:clamp(44px,7vw,64px);line-height:1.08;margin:0 0 22px;font-weight:800;letter-spacing:-1.8px}.hero h1 span{color:var(--blue)}.hero p{max-width:700px;margin:0 auto;color:#536072;font-size:21px;line-height:1.7}.hero-stats{display:flex;justify-content:center;gap:45px;margin:28px 0 25px}.hero-stat{min-width:120px}.hero-stat .ico{font-size:24px;margin-right:7px}.hero-stat b{font-size:22px;color:#2d66df;display:inline-block}.hero-stat span{display:block;color:#596579;font-size:14px}.hero-actions{display:flex;justify-content:center;gap:15px}.hero-btn{min-width:285px;padding:15px 22px;border-radius:16px;border:2px solid #2d66df;background:#fff;color:#2d66df;font-weight:800;font-size:20px}.hero-btn.primary{background:#2d66df;color:#fff;box-shadow:0 5px 10px rgba(45,102,223,.18)}
.section{padding:30px 0}.section-title{font-size:34px;margin:0 0 16px;letter-spacing:-1px}.section-sub{color:#657083;margin-top:-10px;margin-bottom:22px}.app-grid{display:grid;grid-template-columns:1fr;gap:12px}.app-card{background:#fff;border:1px solid #e6e7eb;border-radius:18px;padding:13px 15px;display:flex;align-items:center;gap:13px;box-shadow:0 2px 6px rgba(25,35,55,.04);min-height:108px}.app-logo{width:78px;height:78px;border-radius:17px;object-fit:cover;flex:0 0 78px;background:#e9edf4}.app-info{min-width:0;flex:1}.app-title{font-size:20px;font-weight:800;margin-bottom:3px;line-height:1.25}.app-meta{font-size:14px;color:#5d6878;margin-bottom:2px;white-space:nowrap}.app-bonus{font-size:14px;color:#168667;white-space:nowrap}.app-bonus b{font-weight:800}.download{background:#2d66df;color:#fff;padding:10px 16px;border-radius:12px;font-size:15px;font-weight:800;white-space:nowrap;min-width:118px;text-align:center}.download:hover{background:#2055c3}
.search-row{display:flex;justify-content:flex-end;margin:-55px 0 20px}.search{width:310px;height:45px;border:1px solid #dce0e7;border-radius:12px;background:#fff;padding:0 15px;font-size:15px;outline:0}.search:focus{border-color:#7c9ce9;box-shadow:0 0 0 3px #eaf0ff}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:35px}.info-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:22px}.info-card h3{margin:0 0 7px;font-size:18px}.info-card p{margin:0;color:#687384;font-size:14px}
.cta{background:#202a3b;color:#fff;border-radius:18px;padding:32px;margin:15px 0 45px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cta h2{margin:0;font-size:28px}.cta p{margin:5px 0 0;color:#c5cbd5}.cta a{background:#fff;color:#255ed1;border-radius:13px;padding:12px 20px;font-weight:800}
.site-footer{background:#151d2b;color:#c8ced9;padding:38px 0 18px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}.site-footer h3{color:#fff}.site-footer p,.site-footer a{color:#aab2c0;font-size:14px}.footer-bottom{border-top:1px solid #303846;margin-top:25px;padding-top:15px;font-size:12px;color:#8e97a7}
.empty{background:#fff;border:1px dashed #d9dde5;border-radius:18px;padding:30px;text-align:center;color:#697386}
@media(max-width:720px){
 .container{width:94%}.topbar{height:85px}.brand{font-size:24px}.brand-logo,.brand-fallback{width:54px;height:54px}.menu-toggle{display:block}.navbar{display:none}.navbar.open{display:block}.nav ul{flex-direction:column}.nav li,.nav li:first-child{border-left:0;border-right:0;border-bottom:1px solid #e5e5e5}.nav a{padding:12px 18px}
 .hero{padding:47px 18px 42px}.hero h1{font-size:46px;letter-spacing:-1.5px}.hero p{font-size:19px;line-height:1.65}.hero-stats{gap:20px}.hero-stat b{font-size:20px}.hero-actions{flex-direction:column}.hero-btn{width:100%;min-width:0}
 .section{padding:36px 0}.section-title{font-size:35px}.search-row{margin:0 0 18px}.search{width:100%}
 .app-card{padding:11px 12px;border-radius:18px;gap:10px;min-height:96px}.app-logo{width:68px;height:68px;flex-basis:68px;border-radius:15px}.app-title{font-size:18px}.app-meta,.app-bonus{font-size:13px}.download{padding:9px 13px;font-size:14px;border-radius:11px;min-width:108px;text-align:center}.info-grid,.footer-grid{grid-template-columns:1fr}.cta{flex-direction:column;align-items:flex-start}
}
@media(max-width:460px){.brand{font-size:20px}.brand-logo,.brand-fallback{width:50px;height:50px}.hero h1{font-size:42px}.hero-stats{gap:9px}.hero-stat{min-width:96px}.app-card{gap:10px}.app-logo{width:62px;height:62px;flex-basis:62px}.app-title{font-size:17px}.app-meta,.app-bonus{font-size:12px}.download{padding:8px 10px;font-size:13px;min-width:96px;border-radius:10px;text-align:center}}

@media(max-width:380px){
 .app-card{padding:10px;gap:8px;min-height:88px}
 .app-logo{width:58px;height:58px;flex-basis:58px;border-radius:14px}
 .app-title{font-size:16px}
 .app-meta,.app-bonus{font-size:11px}
 .download{min-width:88px;padding:8px 8px;font-size:12px;border-radius:9px}
}

/* V6: fixed app-card layout — logo | details | download */
.app-card{
 display:grid !important;
 grid-template-columns:78px minmax(0,1fr) auto !important;
 align-items:center !important;
 column-gap:13px !important;
 width:100% !important;
 overflow:hidden !important;
}
.app-info{min-width:0 !important;overflow:hidden !important}
.app-title,.app-meta,.app-bonus{overflow:hidden;text-overflow:ellipsis}
.download{
 display:inline-flex !important;
 align-items:center;
 justify-content:center;
 justify-self:end;
 width:112px;
 min-width:112px !important;
 box-sizing:border-box;
}
@media(max-width:720px){
 .app-card{
  grid-template-columns:68px minmax(0,1fr) 104px !important;
  column-gap:10px !important;
 }
 .app-logo{width:68px !important;height:68px !important;flex-basis:auto !important}
 .download{width:104px;min-width:104px !important}
}
@media(max-width:500px){
 .app-card{
  grid-template-columns:62px minmax(0,1fr) 96px !important;
  column-gap:9px !important;
  padding:10px !important;
 }
 .app-logo{width:62px !important;height:62px !important}
 .app-title{font-size:17px !important}
 .app-meta,.app-bonus{font-size:12px !important}
 .download{width:96px;min-width:96px !important;padding:9px 7px !important;font-size:13px !important}
}
@media(max-width:370px){
 .app-card{grid-template-columns:55px minmax(0,1fr) 86px !important;column-gap:7px !important}
 .app-logo{width:55px !important;height:55px !important}
 .app-title{font-size:15px !important}
 .app-meta,.app-bonus{font-size:10px !important}
 .download{width:86px;min-width:86px !important;font-size:12px !important;padding:8px 5px !important}
}

/* V7: compact hero, matching the reference mobile proportions */
@media(max-width:720px){
 .hero{
   padding:28px 14px 27px !important;
 }
 .hero h1{
   font-size:40px !important;
   line-height:1.08 !important;
   letter-spacing:-1.2px !important;
   margin:0 0 14px !important;
 }
 .hero p{
   font-size:17px !important;
   line-height:1.58 !important;
   max-width:520px !important;
 }
 .hero-stats{
   gap:12px !important;
   margin:19px 0 18px !important;
 }
 .hero-stat{
   min-width:88px !important;
 }
 .hero-stat .ico{
   font-size:20px !important;
 }
 .hero-stat b{
   font-size:18px !important;
 }
 .hero-stat span{
   font-size:12px !important;
   line-height:1.25 !important;
 }
 .hero-actions{
   flex-direction:row !important;
   gap:10px !important;
 }
 .hero-btn{
   min-width:0 !important;
   width:50% !important;
   padding:11px 8px !important;
   border-radius:13px !important;
   font-size:16px !important;
   line-height:1.2 !important;
 }
}
@media(max-width:430px){
 .hero{
   padding:25px 12px 24px !important;
 }
 .hero h1{
   font-size:36px !important;
   margin-bottom:12px !important;
 }
 .hero p{
   font-size:15px !important;
   line-height:1.5 !important;
 }
 .hero-stats{
   gap:5px !important;
   margin:16px 0 15px !important;
 }
 .hero-stat{
   min-width:82px !important;
 }
 .hero-stat b{
   font-size:17px !important;
 }
 .hero-stat span{
   font-size:11px !important;
 }
 .hero-btn{
   font-size:14px !important;
   padding:10px 6px !important;
 }
}
@media(max-width:370px){
 .hero h1{font-size:33px !important}
 .hero p{font-size:14px !important}
 .hero-stat b{font-size:16px !important}
 .hero-stat span{font-size:10px !important}
 .hero-btn{font-size:13px !important}
}

/* V8: closer header + above-list sections */
.brand-logo{border:1px solid #e6e8ee;box-shadow:0 2px 5px rgba(25,35,55,.08)}
.brand-fallback{box-shadow:0 2px 5px rgba(25,35,55,.12)}
@media(max-width:720px){
 .topbar{height:76px !important}
 .brand{gap:12px !important;font-size:21px !important}
 .brand-logo,.brand-fallback{width:50px !important;height:50px !important}
 .navbar{display:block !important}
 .nav-inner{width:100% !important}
 .nav ul{display:flex !important;flex-direction:row !important;overflow:hidden !important;justify-content:stretch !important}
 .nav li{flex:1 1 auto !important;min-width:0 !important}
 .nav a{padding:9px 7px !important;font-size:12px !important;text-align:center !important;white-space:nowrap !important}
 .hero{padding:27px 14px 25px !important}
 .hero h1{font-size:39px !important;margin-bottom:13px !important}
 .hero p{font-size:16px !important;line-height:1.55 !important}
 .hero-stats{margin:17px 0 16px !important}
 .hero-btn{font-size:15px !important;padding:11px 7px !important}
 .section{padding:29px 0 !important}
 .section-title{font-size:33px !important;margin-bottom:14px !important}
}
@media(max-width:430px){
 .topbar{height:70px !important}
 .brand{font-size:19px !important}
 .brand-logo,.brand-fallback{width:47px !important;height:47px !important}
 .nav a{font-size:10px !important;padding:8px 4px !important}
 .hero{padding:23px 11px 22px !important}
 .hero h1{font-size:35px !important}
 .hero p{font-size:14.5px !important}
 .hero-btn{font-size:14px !important}
 .section-title{font-size:30px !important}
}

/* V9: automatic app detail pages */
.detail-hero{background:linear-gradient(135deg,#f4f8ff,#edf3ff);padding:34px 0 28px;border-bottom:1px solid #e5e9f1}
.detail-card{background:#fff;border:1px solid #e4e7ed;border-radius:20px;padding:22px;display:flex;gap:20px;align-items:center}
.detail-logo{width:110px;height:110px;object-fit:cover;border-radius:22px;background:#edf0f5;flex:0 0 110px}
.detail-main h1{font-size:36px;margin:0 0 7px}.detail-main p{margin:0;color:#5b6677;max-width:760px}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.detail-download,.detail-back{padding:11px 18px;border-radius:11px;font-weight:800}.detail-download{background:#2d66df;color:#fff}.detail-back{border:1px solid #2d66df;color:#2d66df}
.detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.detail-stats>div{background:#fff;border:1px solid #e5e8ee;border-radius:13px;padding:13px;text-align:center}.detail-stats b{display:block;color:#2d66df;font-size:18px}.detail-stats span{color:#687384;font-size:12px}
.detail-content{padding:34px 0 60px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.detail-article{background:#fff;border:1px solid #e6e8ed;border-radius:17px;padding:25px}.detail-article h2{font-size:25px;margin:0 0 10px}.detail-article h2:not(:first-child){margin-top:28px}.detail-article h3{font-size:17px;margin:18px 0 5px}.detail-article p,.detail-article li{color:#5e6879;font-size:15px}.detail-article li{margin:6px 0}.legal-box{margin-top:28px;padding:16px;border-left:4px solid #2d66df;background:#f3f6fc;color:#596579;font-size:13px}
.side-card{background:#fff;border:1px solid #e6e8ed;border-radius:17px;padding:20px;position:sticky;top:20px}.side-card h3{margin:0;font-size:21px}.side-card p{color:#70798a;font-size:13px;margin-top:4px}.side-row{display:flex;justify-content:space-between;border-top:1px solid #edf0f4;padding:11px 0;font-size:13px}.side-row b{color:#168667}.side-download{display:block;text-align:center;background:#2d66df;color:#fff;padding:11px;border-radius:10px;font-weight:800;margin-top:10px}
@media(max-width:720px){
 .detail-hero{padding:22px 0 20px}.detail-card{padding:15px;border-radius:16px;gap:12px}.detail-logo{width:78px;height:78px;flex-basis:78px;border-radius:16px}.detail-main h1{font-size:25px}.detail-main p{font-size:13px}.detail-actions{margin-top:11px}.detail-download,.detail-back{padding:9px 12px;font-size:13px}
 .detail-stats{grid-template-columns:repeat(2,1fr);gap:8px}.detail-stats>div{padding:10px}.detail-stats b{font-size:16px}.detail-stats span{font-size:11px}
 .detail-layout{grid-template-columns:1fr}.detail-content{padding:24px 0 40px}.detail-article{padding:18px}.detail-article h2{font-size:22px}.side-card{position:static}
}

/* V10 detail page */
.detail-lead{font-size:18px !important;line-height:1.55}
.metric-box{background:#fff;border:1px solid #e5e8ef;border-radius:18px;padding:12px;display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:14px;box-shadow:0 4px 18px rgba(30,40,70,.05)}
.metric{display:flex;align-items:center;gap:8px;padding:9px 7px;min-width:0}.metric-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#eef3ff;font-size:18px;flex:0 0 36px}.metric b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric small{display:block;color:#6a7484;font-size:11px;margin-top:1px}
.detail-actions{display:flex;gap:10px;margin-top:14px}.detail-actions>a{flex:1;text-align:center}.detail-telegram{padding:12px 16px;border:2px solid #2d66df;color:#2d66df;border-radius:12px;font-weight:800;background:#fff}
@media(max-width:720px){
 .metric-box{grid-template-columns:repeat(3,1fr);gap:5px;padding:8px}.metric{padding:7px 4px;gap:6px}.metric-icon{width:31px;height:31px;flex-basis:31px;font-size:15px}.metric b{font-size:13px}.metric small{font-size:10px}
 .detail-lead{font-size:15px !important}
}
@media(max-width:430px){
 .metric-box{grid-template-columns:repeat(3,1fr)}.metric{display:block;text-align:center}.metric-icon{margin:0 auto 3px}.metric b{font-size:12px}.metric small{font-size:9px}
 .detail-actions{flex-direction:column}.detail-actions>a{width:100%}
}

/* V11 live metrics */
.metric b{font-variant-numeric:tabular-nums}

.brand-logo{object-fit:cover}

/* V14: detail page matched to supplied mobile reference */
.reference-app-page{background:#f5f8ff}
.ref-app-hero{background:linear-gradient(180deg,#f8fbff 0%,#edf4ff 100%);padding:36px 0 32px;border-bottom:1px solid #e4e9f1;text-align:center}
.ref-app-logo-wrap{display:flex;justify-content:center;margin-bottom:18px}
.ref-app-logo{width:230px;height:230px;object-fit:cover;border-radius:34px;box-shadow:0 8px 25px rgba(30,50,80,.12)}
.ref-app-logo-fallback{width:230px;height:230px;border-radius:34px;background:#158a60;color:#fff;display:grid;place-items:center;font-size:100px;font-weight:900}
.ref-app-title{font-size:48px;line-height:1.08;margin:0 0 14px;color:#172338;letter-spacing:-1.5px}
.ref-app-title span{color:#2d66df}
.ref-app-subtitle{font-size:25px;line-height:1.25;margin:0 auto 10px;color:#172338;max-width:800px}
.ref-app-description{font-size:19px;line-height:1.55;color:#5d6879;max-width:760px;margin:0 auto}
.ref-metrics{background:#fff;border:1px solid #e5e9ef;border-radius:20px;display:grid;grid-template-columns:repeat(6,1fr);gap:5px;padding:11px;margin:25px auto 16px;max-width:820px;box-shadow:0 5px 20px rgba(30,45,80,.06)}
.ref-metrics div{padding:8px 3px;min-width:0}.ref-metrics b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1d2738}.ref-metrics span{display:block;font-size:11px;color:#697485;margin-top:2px}
.ref-download,.ref-telegram{display:block;max-width:760px;margin:10px auto 0;padding:14px 18px;border-radius:13px;font-size:18px;font-weight:800;text-align:center;box-sizing:border-box}
.ref-download{background:#2d66df;color:#fff;box-shadow:0 7px 16px rgba(45,102,223,.18)}
.ref-telegram{border:2px solid #2d66df;color:#2d66df;background:#fff}
.ref-article-section{background:#f7f7f7;padding:36px 0 60px}
.ref-article{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:28px;max-width:900px;margin:auto}
.ref-article h2{font-size:30px;line-height:1.25;color:#172338;margin:0 0 12px}.ref-article h2:not(:first-child){margin-top:30px}
.ref-article h3{font-size:19px;margin:18px 0 5px}.ref-article p,.ref-article li{font-size:16px;line-height:1.65;color:#5f6979}.ref-article li{margin:5px 0}
.ref-disclaimer{margin-top:26px;padding:15px;background:#f2f5fa;border-left:4px solid #2d66df;color:#596579;font-size:13px;line-height:1.55}
@media(max-width:720px){
 .ref-app-hero{padding:30px 14px 25px}
 .ref-app-logo{width:190px;height:190px;border-radius:30px}
 .ref-app-logo-fallback{width:190px;height:190px;font-size:85px}
 .ref-app-title{font-size:42px;margin-bottom:12px}
 .ref-app-subtitle{font-size:21px}
 .ref-app-description{font-size:16px}
 .ref-metrics{grid-template-columns:repeat(3,1fr);gap:4px;margin-top:20px;border-radius:17px;padding:8px}
 .ref-metrics div{padding:7px 2px}
 .ref-metrics b{font-size:13px}
 .ref-metrics span{font-size:10px}
 .ref-download,.ref-telegram{font-size:16px;padding:13px 12px}
 .ref-article-section{padding:25px 12px 45px}
 .ref-article{padding:21px;border-radius:16px}
 .ref-article h2{font-size:25px}
}
@media(max-width:430px){
 .ref-app-hero{padding:24px 11px 22px}
 .ref-app-logo{width:155px;height:155px;border-radius:25px}
 .ref-app-logo-fallback{width:155px;height:155px;font-size:70px}
 .ref-app-title{font-size:37px}
 .ref-app-subtitle{font-size:18px}
 .ref-app-description{font-size:14px;line-height:1.5}
 .ref-metrics{margin-top:16px}
 .ref-metrics b{font-size:11px}
 .ref-metrics span{font-size:9px}
 .ref-download,.ref-telegram{font-size:15px}
 .ref-article h2{font-size:23px}
 .ref-article p,.ref-article li{font-size:14px}
}

/* V15: exact marked metrics row — four items on one line */
.ref-metrics{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  align-items:center !important;
  gap:0 !important;
  padding:8px 6px !important;
  border-radius:18px !important;
  max-width:760px !important;
}
.ref-metrics div{
  padding:5px 3px !important;
  min-width:0 !important;
  text-align:center !important;
}
.ref-metrics b{
  font-size:14px !important;
  line-height:1.25 !important;
}
.ref-metrics span{
  font-size:10px !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
}
@media(max-width:720px){
  .ref-metrics{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    margin:20px auto 15px !important;
    padding:8px 4px !important;
  }
  .ref-metrics div{
    display:block !important;
    padding:6px 2px !important;
  }
  .ref-metrics b{
    font-size:12px !important;
  }
  .ref-metrics span{
    font-size:9px !important;
  }
}
@media(max-width:430px){
  .ref-metrics{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    padding:7px 2px !important;
    border-radius:17px !important;
  }
  .ref-metrics div{
    padding:5px 1px !important;
  }
  .ref-metrics b{
    font-size:11px !important;
  }
  .ref-metrics span{
    font-size:8px !important;
  }
}

/* V16: only the four reference metrics */
.ref-metrics{grid-template-columns:repeat(4,minmax(0,1fr)) !important}

/* V17: full dynamic app article */
.ref-article h3{font-size:25px;line-height:1.3;color:#172338;margin:28px 0 10px}
.ref-article h4{font-size:18px;line-height:1.4;color:#172338;margin:20px 0 7px}
.ref-article ol,.ref-article ul{padding-left:22px}

.footer-telegram{text-align:center;padding:10px 0 20px}
.footer-telegram a{display:inline-block;padding:10px 18px;border:1px solid #2d66df;border-radius:10px;color:#2d66df;font-weight:700;text-decoration:none}
