@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',sans-serif;background:#f5f7fa;color:#333;font-size:14.5px;line-height:1.6;}

.soft-card,
.trending-item,
.cat-card {
  text-decoration: none;
  color: inherit;
}

.soft-card:hover,
.trending-item:hover,
.cat-card:hover {
  text-decoration: none;
}


.search-label span{font-size:16px;color:#888;}

.search-bar input{border:none;background:none;outline:none;font-size:13px;flex:1;padding:0 14px;height:100%;color:#1a1a2e;}
.search-bar input::placeholder{color:#aaa;}

.search-dropdown:hover{background:#f4f6fb;}
.search-dropdown-arrow{font-size:10px;color:#aaa;margin-left:2px;}
.search-dd-menu{display:none;position:absolute;top:calc(100% + 6px);right:0;background:#fff;border:1.5px solid #e0e4ef;border-radius:12px;min-width:160px;box-shadow:0 8px 28px rgba(0,0,0,0.13);z-index:999;overflow:hidden;}
.search-dd-menu.open{display:block;}
.search-dd-item{padding:10px 16px;font-size:13px;font-weight:500;color:#444;cursor:pointer;display:flex;align-items:center;gap:8px;transition:background 0.15s;}
.search-dd-item:hover{background:#f4f6fb;}
.search-dd-item.active{background:#edfbf3;color:#27ae60;font-weight:600;}




/* ===== WRAPPER ===== */
.wrapper{max-width:1380px;margin:0 auto;padding:24px 20px;}

/* ===== HERO BOX ===== */
.hero-box{background:#fff;border-radius:16px;box-shadow:0 2px 16px rgba(0,0,0,0.07);padding:0;display:grid;grid-template-columns:200px 1fr;margin-bottom:24px;overflow:visible;gap:0;}
.hero-left{background:#f9fbff;border-right:1px solid #f0f2f7;padding:20px 0;}
.hero-left-title{padding:10px 20px 16px;font-size:15px;font-weight:700;color:#1a1a2e;display:flex;justify-content:space-between;align-items:center;}
.hero-left-list{list-style:none;}
.hero-left-list li{padding:13px 20px;font-size:15px;color:#444;cursor:pointer;border-left:3px solid transparent;transition:all 0.15s;border-bottom:1px solid rgba(39, 174, 96, 0.45);
}
.hero-left-list li.active,.hero-left-list li:last-child{border-bottom:none;}
    .hero-left-list li:hover{background:#edfbf3;color:#27ae60;border-left:3px solid #27ae60;font-weight:600;}
.hero-center{padding:20px 0 20px 14px;display:flex;flex-direction:row;align-items:flex-start;gap:0;border:none;position:relative;overflow:visible;background:#ffffff}
.hero-badge{background:#27ae60;color:#fff;font-size:11px;font-weight:700;padding:4px 12px;border-radius:20px;width:fit-content;text-transform:uppercase;}
.hero-title{font-size:25px;font-weight:700;color:#1a1a2e;}
.hero-desc{font-size:15px;color:#555;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-height:calc(1.55em * 3);}
.hero-stars{font-size:35px;color:#f5a623;letter-spacing:2px;margin-right:auto;margin-left:60px;}
.hero-btns{display:flex;gap:12px;margin-top:6px;margin-right:30px;}
.btn-download{background:#1a5c34;color:#fff;border:none;padding:10px 30px 36px 30px;font-size:15px;font-weight:700;cursor:pointer;clip-path:polygon(0 0,100% 0,100% 50%,50% 100%,0 50%);transition:background .15s;letter-spacing:.3px;position:relative;z-index:4;}
.btn-moreinfo{background:#fff;color:#444;border:1.5px solid #dde1ea;padding:10px 22px;border-radius:22px;font-size:14px;cursor:pointer;}
.hero-preview{width:100%;height:220px;background:linear-gradient(135deg,#e8edf5,#dfe5ef);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:13px;border:1px solid #dde1ea;}


    .hero-box{
  position: relative;
  display: block;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: visible;
  min-height: 290px;
  margin-top: 25px;
  margin-bottom: 45px;
}
    .hero-left{
  position: absolute;
  top: -23px;
  left: 45px;
  width: 270px;
  min-width: 290px;
  background: #f4f7f4;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  z-index: 5;
  overflow: hidden;
}
.hero-left::before,
.hero-left::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #1a7a45, #27ae60, #2ecc71);
  z-index: 0;
}

.hero-left::before{
  top: 0;
  height: 16px;
}

.hero-left::after{
  bottom: 0;
  height: 16px;
}

.hero-left-title,
.hero-left-list{
  position: relative;
  z-index: 1;
}
    
    .hero-center{
  position: relative;
  width: 100%;
  min-height: 290px;
  padding: 30px 0 20px 360px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: visible;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 196, 120, 0.34) 0, rgba(255, 196, 120, 0.18) 18%, rgba(255, 196, 120, 0) 42%),
    radial-gradient(circle at 18% 78%, rgba(255, 230, 160, 0.14) 0, rgba(255, 230, 160, 0.06) 16%, rgba(255, 230, 160, 0) 34%),
    linear-gradient(135deg, #145a32 0%, #1f8b4c 36%, #27ae60 68%, #43c97a 100%);
}

.hero-center::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.045) 0px,
      rgba(255,255,255,0.045) 2px,
      transparent 2px,
      transparent 14px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 12px
    );
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.hero-center::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.045), transparent 0%),
    radial-gradient(circle at 88% 78%, rgba(255,255,255,0.025), transparent 0%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
    .hero-badge{display:inline-block;background:#E08500;color:#fff;font-size:10.5px;font-weight:700;padding:2px 10px;border-radius:20px;letter-spacing:.8px;width:fit-content;margin-bottom:2px;}
    .hero-title{font-size:28px;font-weight:700;color:#FFFFFF;margin-bottom:2px;}
    .hero-desc{font-size:15px;color:#E0EDD3;line-height:1.6;margin-bottom:4px;}
    .hero-meta-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:4px;}
    .hero-stars{font-size:35px;color:#f5a623;letter-spacing:2px;margin-right:auto;margin-left:360px;}
    .hero-version{font-size:12px;color:#666;background:#f0f4f0;border-radius:6px;padding:2px 8px;font-weight:600;}
    .hero-size{font-size:12px;color:#666;background:#f0f4f0;border-radius:6px;padding:2px 8px;font-weight:600;}
    .hero-btns{display:flex;gap:10px;margin-top:8px;flex-wrap:nowrap;margin-right:30px;}
    .btn-download{background:#0EB500;color:#fff;border:none;padding:10px 30px 36px 30px;font-size:15px;font-weight:700;cursor:pointer;clip-path:polygon(0 0,100% 0,100% 50%,50% 100%,0 50%);transition:background .15s;letter-spacing:.3px;position:relative;z-index:4;}
    .btn-download:hover{background:#0f3d22;}
    .btn-buynow{background:#e74c3c;color:#fff;border:none;padding:10px 30px 36px 30px;font-size:15px;font-weight:700;cursor:pointer;clip-path:polygon(0 0,100% 0,100% 50%,50% 100%,0 50%);transition:background .15s;letter-spacing:.3px;position:relative;z-index:4;}
    .btn-buynow:hover{background:#c0392b;}
    
    .hero-screenshot{width:100%;height:210px;border-radius:10px;object-fit:cover;background:transparent;display:flex;align-items:center;justify-content:center;overflow:hidden;}
    .hero-screenshot img{width:100%;height:100%;object-fit:cover;border-radius:10px;}
    .hero-screenshot-placeholder{width:100%;height:210px;border-radius:12px;background:transparent;border:none;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#27ae60;font-size:13px;font-weight:600;gap:6px;}
    .hero-dots{display:flex;gap:6px;margin-top:10px;}
    
    .dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.6);cursor:pointer;transition:background .15s;}
    .dot.active{background:#fff;width:10px;height:10px;}

  
.hero-center-info{display:flex;flex-direction:column;gap:10px;width:calc(100% - 380px);position:relative;z-index:2;padding:0 20px 0 14px;}
.hero-center-shot{position:absolute;right:0;top:0;bottom:0;width:360px;display:flex;align-items:center;justify-content:center;overflow:hidden;z-index:1;}
.hero-center-shot .hero-shot-bg{display:none;}
.hero-center-shot .hero-shot-fade{display:none;}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col{display:grid;grid-template-columns:1fr 360px;gap:24px;}
.left-col{display:flex;flex-direction:column;gap:24px;}
.right-col{display:flex;flex-direction:column;gap:24px;}

/* ===== SECTION BOX ===== */
.box{border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,0.06);padding:24px;overflow:hidden;}
.box-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;}
.box-title{font-size:17px;font-weight:700;color:#1a1a2e;}
.box-link{background:#edfbf3;color:#27ae60;font-size:12px;font-weight:600;padding:6px 14px;border-radius:3px;text-decoration:none;}

/* ===== FEATURED SOFTWARE CARDS (2-col grid) ===== */
.soft-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.soft-card{background:#f9fbff;border:1.5px solid #eaecf5;border-radius:14px;padding:15px 14px;display:flex;flex-direction:row;align-items:center;gap:14px;transition:all 0.2s;}
.soft-card:hover{box-shadow:0 6px 20px rgba(46,204,113,0.12);border-color:#b8ead0;}
.soft-card-top{display:flex;align-items:center;gap:14px;flex:1;}
.soft-icon{width:52px;height:52px;border-radius:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center;}
.soft-icon.ps{background:linear-gradient(135deg,#003180,#1473e6);}
.soft-icon.vlc{background:linear-gradient(135deg,#f55800,#ff8c00);}
.soft-icon.winrar{background:linear-gradient(135deg,#8e44ad,#c0392b);}
.soft-icon.bit{background:linear-gradient(135deg,#e74c3c,#c0392b);}
.soft-icon.ff{background:linear-gradient(135deg,#e65c00,#f9d423);}
.soft-icon.obs{background:linear-gradient(135deg,#2c3e50,#4ca1af);}
.soft-icon.vbox{background:linear-gradient(135deg,#1a3a8a,#2980b9);}
.soft-icon.malware{background:linear-gradient(135deg,#1abc9c,#16a085);}
.soft-icon.zip{background:linear-gradient(135deg,#f39c12,#e67e22);}
.soft-icon.anydesk{background:linear-gradient(135deg,#e74c3c,#e91e63);}
.soft-icon.winamp{background:linear-gradient(135deg,#27ae60,#1e8449);}
.soft-icon.filezilla{background:linear-gradient(135deg,#d32f2f,#b71c1c);}
.soft-icon.tv{background:linear-gradient(135deg,#0d47a1,#1565c0);}
.soft-icon.pot{background:linear-gradient(135deg,#f9a825,#f57f17);}
.soft-icon.notepad{background:linear-gradient(135deg,#37474f,#546e7a);}
.soft-info{flex:1;}
.soft-name{font-size:16px;font-weight:700;color:#1a5c34;}
.soft-desc{font-size:12px;color:#7dba9a;}
.soft-arrow{font-size:18px;color:#ccc;}


/* ===== LATEST DOWNLOADS (2-col grid) ===== */
.latest-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.latest-card{background:#f9fbff;border:1.5px solid #eaecf5;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px;}
.latest-top{display:flex;align-items:center;gap:12px;}
.latest-meta{font-size:11px;color:#999;}

/* ===== POPULAR SOFTWARE ===== */
.popular-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.popular-card{background:#f9fbff;border:1.5px solid #eaecf5;border-radius:14px;padding:15px 14px;display:flex;flex-direction:column;gap:0;}
.popular-top{display:flex;align-items:center;gap:12px;}
.popular-stars{color:#f5a623;font-size:13px;}
.popular-count{font-size:11px;color:#999;margin-left:4px;}

/* ===== TRENDING ===== */
.trending-list{display:flex;flex-direction:column;gap:18px;}
.trending-item{display:flex;align-items:center;gap:14px;padding:14px;background:#f9fbff;border-radius:14px;border:1px solid #eaecf5;position:relative;overflow:hidden;}
.trend-icon{width:44px;height:44px;border-radius:12px;flex-shrink:0;}
.trend-info{flex:1;}
.trend-name{font-size:14px;font-weight:600;color:#1a5c34;}
.trend-desc{font-size:11px;color:#7dba9a;}
.trend-right{text-align:right;}
.trend-stars{color:#f5a623;font-size:13px;}
.trend-count{font-size:11px;color:#7dba9a;}
.trend-icon.cc{background:linear-gradient(135deg,#2980b9,#3498db);}
.trend-icon.andrc{background:linear-gradient(135deg,#27ae60,#2ecc71);}
.trend-icon.wr{background:linear-gradient(135deg,#8e44ad,#c0392b);}
.trend-icon.ut{background:linear-gradient(135deg,#1abc9c,#27ae60);}
.trend-icon.tel{background:linear-gradient(135deg,#0088cc,#229ED9);}

/* ===== CATEGORIES ===== */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.cat-card{background:#f9fbff;border:1.5px solid #eaecf5;border-radius:14px;padding:16px 10px;text-align:center;cursor:pointer;transition:all 0.2s;}
.cat-card:hover{background:#edfbf3;border-color:#b8ead0;}
.cat-icon-wrap{width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,#2ecc71,#27ae60);display:flex;align-items:center;justify-content:center;margin:0 auto 10px;font-size:24px;}
.cat-name{font-size:12px;font-weight:600;color:#444;}

/* ===== FOOTER ===== */
.footer-main{background:#fff;border-top:1px solid #eee;padding:32px 32px;margin-top:40px;display:flex;align-items:flex-start;justify-content:center;flex-wrap:wrap;}
.footer-logo{font-size:18px;font-weight:700;color:#1a1a2e;display:flex;align-items:center;gap:8px;}
.footer-col h5{font-size:13px;font-weight:700;color:#1a1a2e;margin-bottom:12px;}
.footer-col a{display:block;font-size:12px;color:#888;text-decoration:none;margin-bottom:6px;}
.footer-col a:hover{color:#27ae60;}
.footer-brand{display:flex;align-items:center;gap:6px;font-weight:700;color:#e74c3c;}
.footer-bottom{background:#f9fbff;border-top:1px solid #eee;padding:14px 32px;font-size:12px;color:#aaa;display:flex;align-items:center;justify-content:space-between;}

/* ===== SEARCH STRIP ===== */
.search-strip-bar{background:#fff;border-bottom:2px solid #eaecf5;padding:14px 24px;display:flex;align-items:center;justify-content:center;gap:14px;}
.search-label-outer{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;color:#27ae60;flex-shrink:0;}
.search-label-icon{font-size:32px;display:flex;align-items:center;}
.search-label-text{white-space:nowrap;font-family:'Poppins',sans-serif;color:#27ae60;}
.search-bar-main{display:flex;align-items:center;background:#f4f6fb;border:1.5px solid #e0e4ef;border-radius:10px;overflow:visible;height:46px;width:100%;position:relative;}
.search-bar-main input{border:none;background:none;outline:none;font-size:14px;flex:1;padding:0 18px;height:100%;color:#1a1a2e;border-radius:10px 0 0 10px;}
.search-bar-main input::placeholder{color:#bbb;}
.search-cat-dropdown{display:flex;align-items:center;gap:7px;padding:0 18px;border-left:1.5px solid #e0e4ef;height:100%;cursor:pointer;font-size:13px;font-weight:700;color:#fff;background:linear-gradient(135deg,#27ae60,#2ecc71);white-space:nowrap;position:relative;user-select:none;flex-shrink:0;border-radius:0 10px 10px 0;overflow:visible;}
.search-cat-dropdown:hover{background:linear-gradient(135deg,#219a52,#27ae60);}
.search-dd-arrow{font-size:10px;color:rgba(255,255,255,0.7);margin-left:2px;}
.search-dd-menu{display:none;position:absolute;top:calc(100% + 6px);right:0;background:#fff;border:1.5px solid #e0e4ef;border-radius:12px;min-width:150px;box-shadow:0 8px 28px rgba(0,0,0,0.12);z-index:999;overflow:hidden;}
.search-dd-menu.open{display:block;}
.search-dd-item{padding:10px 16px;font-size:13px;font-weight:500;color:#444;cursor:pointer;display:flex;align-items:center;gap:8px;transition:background 0.15s;}
.search-dd-item:hover{background:#f4f6fb;}
.search-dd-item.active{background:#edfbf3;color:#27ae60;font-weight:700;}




/* ===== POPPINS for headings/titles ===== */
h1,h2,h3,h4,.logo-top,.section-title,.hero-title,.software-name,.stat-num,.page-title{font-family:'Poppins',sans-serif;}


/* ===== STATS STRIP ===== */
.stats-strip{background:#f0faf5;border-bottom:1px solid #b8ead0;padding:8px 28px;display:flex;justify-content:center;overflow-x:auto;}
.stats-inner{display:flex;align-items:center;gap:0;}
.stat{display:flex;align-items:center;gap:8px;padding:0 20px;}
.stat-divider{width:1px;height:22px;background:#b8ead0;flex-shrink:0;}
.stat-icon{font-size:15px;flex-shrink:0;}
.stat-inline{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;}
.stat-num{font-size:14px;font-weight:400;color:#1a5c34;font-family:'Poppins',sans-serif;white-space:nowrap;}
.stat-label{font-size:14px;color:#4a8c62;font-weight:500;white-space:nowrap;}
.stat-updated{font-size:13px;color:#27ae60;font-weight:500;white-space:nowrap;background:#edfbf3;padding:2px 8px;border-radius:20px;margin-right:6px;}



    .hero-center-info{display:flex;flex-direction:column;gap:10px;width:calc(100% - 380px);position:relative;z-index:2;padding:0 20px 0 14px;}
    .hero-right{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;gap:10px;background:none;position:relative;overflow:hidden;}
    .hero-right-bg{position:absolute;inset:0;background:linear-gradient(135deg,#1a6b3a 0%,#27ae60 50%,#1e8449 100%);z-index:0;}
    .hero-right-overlay{position:absolute;inset:0;background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 55%, rgba(255,255,255,0.7) 75%, rgba(255,255,255,1) 0%);z-index:1;}
    .hero-right-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:8px;}
    #heroScreenshotImg{position:relative;z-index:2;width:170px;height:170px;object-fit:cover;border-radius:10px;box-shadow:0 4px 18px rgba(0,0,0,0.22);border:2px solid rgba(255,255,255,0.85);}

  
    .hero-info{flex:1;padding:20px 4px;display:flex;flex-direction:column;gap:10px;}
    .hero-shot{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;border:none;outline:none;padding:12px 48px 12px 48px;margin-left:0;background:#ffffff;}
    .hero-shot-bg{display:none;}
    .hero-shot-fade{display:none;}
    .hero-shot-img{
  position: relative;
  z-index: 3;
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.82);
  box-shadow: 0 10px 28px rgba(0,0,0,0.24);
  transform: translateY(10px);
  margin-top:-80px
}

    .hero-shot-dots,
.hero-dots{
  display: none !important;
}

  
.hero-center-info{display:flex;flex-direction:column;gap:10px;width:calc(100% - 380px);position:relative;z-index:2;padding:0 20px 0 14px;}
.hero-center-shot{
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.hero-center-shot::after{
  content: "";
  position: absolute;
  left: 30px;
  right: 22px;
  bottom: 18px;
  height: 100px;
  border-radius: 40px 40px 0 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 193, 94, 0.22), transparent 18%),
    linear-gradient(135deg, #1a6b3a 0%, #27ae60 55%, #1a6b3a 100%);
  box-shadow: 0 -12px 30px rgba(20, 90, 50, 0.22);
  z-index: 2;
  pointer-events: none;
}

.hero-center-shot .hero-shot-bg{display:none;}
.hero-center-shot .hero-shot-fade{display:none;}

.hero-center-bar{position:absolute;bottom:0;left:0;right:0;height:60px;background:linear-gradient(135deg, #145a32 0%, #1a7a45 30%, #27ae60 68%, #1a7a45 100%);z-index:3;display:flex;align-items:center;justify-content:center;padding:0 14px;gap:20px;overflow:visible;}
.hero-stars{font-size:35px;color:#f5a623;letter-spacing:2px;margin-right:auto;margin-left:60px;}
.btn-download{background:#1a5c34;color:#fff;border:none;padding:10px 30px 36px 30px;font-size:15px;font-weight:700;cursor:pointer;clip-path:polygon(0 0,100% 0,100% 50%,50% 100%,0 50%);transition:background .15s;letter-spacing:.3px;position:relative;z-index:4;}
.btn-download:hover{background:#0f3d22;}
.btn-buynow{background:#e74c3c;color:#fff;border:none;padding:10px 30px 36px 30px;font-size:15px;font-weight:700;cursor:pointer;clip-path:polygon(0 0,100% 0,100% 50%,50% 100%,0 50%);transition:background .15s;letter-spacing:.3px;position:relative;z-index:4;}
.btn-buynow:hover{background:#c0392b;}

.soft-cat{display:inline-flex;align-items:center;gap:2px;font-size:11px;font-weight:400;padding:0;background:transparent;color:#27ae60;width:fit-content;}
.soft-cat.cat-windows{color:#27ae60;}
.soft-cat.cat-mac{color:#27ae60;}
.soft-cat.cat-android{color:#27ae60;}
.soft-cat.cat-games{color:#27ae60;}
.soft-card-right{display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex-shrink:0;}
.soft-size{display:inline-flex;align-items:center;gap:2px;font-size:11px;font-weight:400;color:#7dba9a;}.soft-dlcount{font-size:10.5px;font-weight:400;color:#aaa;display:flex;align-items:center;margin-top:2px;}

/* Essentials box */
.hero-box{
  position: relative;
  display: block;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: visible;
  min-height: 290px;
  margin-top: 25px;
  margin-bottom: 45px;
}
    .hero-left{
  position: absolute;
  top: -23px;
  left: 45px;
  width: 270px;
  min-width: 290px;
  background: #f4f7f4;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  z-index: 5;
  overflow: hidden;
}
.hero-left::before,
.hero-left::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #1a7a45, #27ae60, #2ecc71);
  z-index: 0;
}

.hero-left::before{
  top: 0;
  height: 16px;
}

.hero-left::after{
  bottom: 0;
  height: 16px;
}

.hero-left-title,
.hero-left-list{
  position: relative;
  z-index: 1;
}
    
    .hero-center{
  position: relative;
  width: 100%;
  min-height: 290px;
  padding: 30px 0 20px 360px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: visible;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 196, 120, 0.34) 0, rgba(255, 196, 120, 0.18) 18%, rgba(255, 196, 120, 0) 42%),
    radial-gradient(circle at 18% 78%, rgba(255, 230, 160, 0.14) 0, rgba(255, 230, 160, 0.06) 16%, rgba(255, 230, 160, 0) 34%),
    linear-gradient(135deg, #145a32 0%, #1f8b4c 36%, #27ae60 68%, #43c97a 100%);
}

.hero-center::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.045) 0px,
      rgba(255,255,255,0.045) 2px,
      transparent 2px,
      transparent 14px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 12px
    );
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.hero-center::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.045), transparent 0%),
    radial-gradient(circle at 88% 78%, rgba(255,255,255,0.025), transparent 0%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
    .hero-badge{display:inline-block;background:#E08500;color:#fff;font-size:10.5px;font-weight:700;padding:2px 10px;border-radius:20px;letter-spacing:.8px;width:fit-content;margin-bottom:2px;}
    .hero-title{font-size:28px;font-weight:700;color:#FFFFFF;margin-bottom:2px;}
    .hero-desc{font-size:15px;color:#E0EDD3;line-height:1.6;margin-bottom:4px;}
    .hero-meta-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:4px;}
    .hero-stars{font-size:35px;color:#f5a623;letter-spacing:2px;margin-right:auto;margin-left:360px;}
    .hero-version{font-size:12px;color:#666;background:#f0f4f0;border-radius:6px;padding:2px 8px;font-weight:600;}
    .hero-size{font-size:12px;color:#666;background:#f0f4f0;border-radius:6px;padding:2px 8px;font-weight:600;}
    .hero-btns{display:flex;gap:10px;margin-top:8px;flex-wrap:nowrap;margin-right:30px;}
    .btn-download{background:#0EB500;color:#fff;border:none;padding:10px 30px 36px 30px;font-size:15px;font-weight:700;cursor:pointer;clip-path:polygon(0 0,100% 0,100% 50%,50% 100%,0 50%);transition:background .15s;letter-spacing:.3px;position:relative;z-index:4;}
    .btn-download:hover{background:#0f3d22;}
    .btn-buynow{background:#e74c3c;color:#fff;border:none;padding:10px 30px 36px 30px;font-size:15px;font-weight:700;cursor:pointer;clip-path:polygon(0 0,100% 0,100% 50%,50% 100%,0 50%);transition:background .15s;letter-spacing:.3px;position:relative;z-index:4;}
    .btn-buynow:hover{background:#c0392b;}
    
    .hero-screenshot{width:100%;height:210px;border-radius:10px;object-fit:cover;background:transparent;display:flex;align-items:center;justify-content:center;overflow:hidden;}
    .hero-screenshot img{width:100%;height:100%;object-fit:cover;border-radius:10px;}
    .hero-screenshot-placeholder{width:100%;height:210px;border-radius:12px;background:transparent;border:none;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#27ae60;font-size:13px;font-weight:600;gap:6px;}
    .hero-dots{display:flex;gap:6px;margin-top:10px;}
    
    .dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.6);cursor:pointer;transition:background .15s;}
    .dot.active{background:#fff;width:10px;height:10px;}

  
.hero-center-info{display:flex;flex-direction:column;gap:10px;width:calc(100% - 380px);position:relative;z-index:2;padding:0 20px 0 14px;}
.hero-center-shot{position:absolute;right:0;top:0;bottom:0;width:360px;display:flex;align-items:center;justify-content:center;overflow:hidden;z-index:1;}
.hero-center-shot .hero-shot-bg{display:none;}
.hero-center-shot .hero-shot-fade{display:none;}


/* Checkerboard card colors */
.soft-grid .soft-card:nth-child(4n+1),
.soft-grid .soft-card:nth-child(4n+4),
.latest-grid .soft-card:nth-child(4n+1),
.latest-grid .soft-card:nth-child(4n+4),
.popular-grid .soft-card:nth-child(4n+1),
.popular-grid .soft-card:nth-child(4n+4){background:#f9fbff;}

.soft-grid .soft-card:nth-child(4n+2),
.soft-grid .soft-card:nth-child(4n+3),
.latest-grid .soft-card:nth-child(4n+2),
.latest-grid .soft-card:nth-child(4n+3),
.popular-grid .soft-card:nth-child(4n+2),
.popular-grid .soft-card:nth-child(4n+3){background:#f0faf5;}

#box-featured,
.box-featured{
  background: #fff !important;
  background-image: none !important;
}
#box-latest,
.box-latest{
  background: #fff !important;
  background-image: none !important;
}
#box-popular,
.box-popular{
  background: #fff !important;
  background-image: none !important;
}

.trend-badge{position:absolute;top:6px;left:-18px;background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff;font-size:8px;font-weight:700;padding:3px 24px;transform:rotate(-35deg);letter-spacing:.5px;text-transform:uppercase;box-shadow:0 2px 4px rgba(39,174,96,0.3);}

.trending-box{
  background: #fff !important;
  background-image: none !important;
  border-left: none !important;
}

.trending-heading{display:flex;align-items:center;gap:8px;padding:14px 16px 10px;}
.trending-heading-icon{font-size:20px;animation:flame 1.2s infinite alternate;}
@keyframes flame{0%{transform:scale(1) rotate(-3deg);}100%{transform:scale(1.15) rotate(3deg);}}
.trending-heading-text{font-size:15px;font-weight:800;background:linear-gradient(90deg,#1a7a3c,#27ae60,#f5a623);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:.3px;}
.trending-heading-underline{height:3px;width:60px;background:linear-gradient(90deg,#27ae60,#f5a623);border-radius:4px;margin-top:2px;}


.box-featured,.box-latest,.box-popular{border-left:4px solid #27ae60;}
.box-unique-heading{display:flex;align-items:center;gap:8px;margin-bottom:20px;}
.box-unique-icon{font-size:19px;}
.box-unique-text{font-size:17px;font-weight:800;background:linear-gradient(90deg,#1a7a3c,#27ae60,#2ecc71);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:.2px;}
.box-unique-underline{height:3px;width:50px;background:linear-gradient(90deg,#27ae60,#2ecc71);border-radius:4px;margin-top:2px;}


#box-featured .soft-card,
#box-latest .soft-card,
#box-popular .soft-card{
  position:relative;
  overflow:visible;
}

.hero-left-list li {
  user-select: none;
}

.hero-left-list li:active {
  transform: scale(0.98);
}

/* ── ODD cards: LEFT center → bottom-left corner (rounded) → bottom center ── */
#box-featured .soft-card:nth-child(odd)::before,
#box-latest .soft-card:nth-child(odd)::before,
#box-popular .soft-card:nth-child(odd)::before{
  content:'';
  position:absolute;
  left:-1px; top:50%;
  width:calc(50% + 1px); height:calc(50% + 1px);
  border-left:1.5px solid rgba(39,174,96,1);
  border-bottom:1.5px solid rgba(39,174,96,1);
  border-bottom-left-radius:13px;
  filter:drop-shadow(0 0 4px rgba(39,174,96,1)) drop-shadow(0 0 8px rgba(39,174,96,0.8)) drop-shadow(0 0 14px rgba(39,174,96,0.5));
  -webkit-mask:linear-gradient(to bottom,transparent 0%,black 25%,black 100%) left/100% 100% no-repeat,
               linear-gradient(to right,black 0%,black 70%,transparent 100%) left/100% 100% no-repeat;
  -webkit-mask-composite:source-in;
  mask:linear-gradient(to bottom,transparent 0%,black 25%,black 100%) left/100% 100% no-repeat,
       linear-gradient(to right,black 0%,black 70%,transparent 100%) left/100% 100% no-repeat;
  mask-composite:intersect;
  pointer-events:none; z-index:1;
}
#box-featured .soft-card:nth-child(odd)::after,
#box-latest .soft-card:nth-child(odd)::after,
#box-popular .soft-card:nth-child(odd)::after{ content:none; }

/* ── EVEN cards: RIGHT center → bottom-right corner (rounded) → bottom center ── */
#box-featured .soft-card:nth-child(even)::before,
#box-latest .soft-card:nth-child(even)::before,
#box-popular .soft-card:nth-child(even)::before{
  content:'';
  position:absolute;
  right:-1px; top:50%;
  width:calc(50% + 1px); height:calc(50% + 1px);
  border-right:1.5px solid rgba(39,174,96,1);
  border-bottom:1.5px solid rgba(39,174,96,1);
  border-bottom-right-radius:13px;
  filter:drop-shadow(0 0 4px rgba(39,174,96,1)) drop-shadow(0 0 8px rgba(39,174,96,0.8)) drop-shadow(0 0 14px rgba(39,174,96,0.5));
  -webkit-mask:linear-gradient(to bottom,transparent 0%,black 25%,black 100%) left/100% 100% no-repeat,
               linear-gradient(to left,black 0%,black 70%,transparent 100%) left/100% 100% no-repeat;
  -webkit-mask-composite:source-in;
  mask:linear-gradient(to bottom,transparent 0%,black 25%,black 100%) left/100% 100% no-repeat,
       linear-gradient(to left,black 0%,black 70%,transparent 100%) left/100% 100% no-repeat;
  mask-composite:intersect;
  pointer-events:none; z-index:1;
}
#box-featured .soft-card:nth-child(even)::after,
#box-latest .soft-card:nth-child(even)::after,
#box-popular .soft-card:nth-child(even)::after{ content:none; }


.footer-main{display:flex;align-items:flex-start;gap:0;flex-wrap:wrap;}
.footer-left-col{min-width:160px;margin-right:16px;}
.footer-dot-sep{font-size:8px;color:#ccc;display:flex;align-items:flex-start;padding-top:4px;margin:0 12px;}
.footer-col{flex:0 0 auto;min-width:120px;text-align:center;}
.footer-col-title{font-size:13px;font-weight:700;color:#1a1a2e;margin-bottom:12px;}
.footer-col-links a{display:block;font-size:12px;color:#888;text-decoration:none;margin-bottom:6px;text-align:center;}
.footer-col-links a:hover{color:#27ae60;}
.footer-brand-right{display:flex;align-items:center;gap:6px;}
.footer-brand-name{font-weight:800;color:#1a1a2e;font-size:15px;letter-spacing:.5px;}
  


/* ===== EXTRA OVERFLOW SAFETY ===== */
.two-col,
.hero-box,
.box,
.soft-grid,
.latest-grid,
.popular-grid,
.cat-grid,
.footer-main,
.footer-bottom,
.stats-inner {
  max-width: 100%;
}

.hero-center-shot,
.hero-shot,
.hero-right,
.hero-center-bar {
  max-width: 100%;
}

.soft-card,
.latest-card,
.popular-card,
.cat-card,
.trending-item {
  min-width: 0;
}

.header-nav a,
.box,
.soft-card,
.latest-card,
.popular-card,
.cat-card,
.trending-item {
  word-wrap: break-word;
}


/* ===== MOBILE HERO + CARD STACK FIX ===== */
@media (max-width: 768px) {

  /* Main content width fit */
  .wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Essential left box hide on mobile */
  .hero-left {
    display: none !important;
  }

  /* Hero becomes full single block */
  .hero-box {
    display: block !important;
    min-height: auto;
    overflow: hidden;
    border-radius: 16px;
  }

  .hero-center {
    width: 100%;
    padding: 16px 14px 88px 14px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
  }

  .hero-center-info {
    width: 100% !important;
    padding: 0 !important;
    gap: 8px;
  }

  .hero-title {
    font-size: 22px !important;
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 13.5px !important;
    line-height: 1.55;
    max-height: none;
    -webkit-line-clamp: unset;
  }

  .hero-meta-row {
    gap: 8px;
  }

  .hero-center-shot,
  .hero-right {
    position: static !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    padding: 0 !important;
  }

  .hero-shot,
  .hero-screenshot,
  .hero-shot-img,
  #heroScreenshotImg {
    width: 100%;
    max-width: 220px;
    height: auto !important;
    margin: 0 auto;
  }

  .hero-center-bar {
    position: static !important;
    height: auto !important;
    min-height: auto;
    margin-top: 14px;
    padding: 12px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .hero-stars {
    margin: 0 !important;
    font-size: 24px !important;
    text-align: center;
    width: 100%;
  }

  .hero-btns {
    width: 100%;
    margin: 0 !important;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .btn-download,
  .btn-buynow,
  .btn-moreinfo {
    padding: 10px 18px !important;
    font-size: 13px !important;
    clip-path: none !important;
    border-radius: 12px !important;
  }

  /* Left-right columns become vertical */
  .two-col {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .left-col,
  .right-col {
    width: 100%;
    min-width: 0;
    gap: 16px;
  }

  /* Box padding smaller for mobile */
  .box {
    padding: 16px !important;
    border-radius: 14px;
  }

  .box-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }

  /* Featured / Latest / Popular => 1 card per line */
  .soft-grid,
  .latest-grid,
  .popular-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .soft-card,
  .latest-card,
  .popular-card {
    width: 100%;
    min-width: 0;
    padding: 14px 12px !important;
    border-radius: 14px;
  }

  .soft-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .soft-card-top,
  .popular-top,
  .latest-top {
    min-width: 0;
  }

  .soft-info,
  .trend-info {
    min-width: 0;
  }

  .soft-name {
    font-size: 14px !important;
    line-height: 1.35;
    word-break: break-word;
  }

  .soft-desc,
  .popular-count,
  .soft-dlcount,
  .soft-size {
    font-size: 11px !important;
  }

  .soft-card-right {
    align-items: flex-start;
    gap: 6px;
  }

  /* Popular categories also fit better on mobile */
  .cat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .cat-card {
    padding: 14px 8px !important;
  }

  /* Search strip fit */
  .search-strip-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px !important;
    gap: 10px !important;
  }

  .search-label-outer {
    justify-content: center;
  }

  .search-bar-main {
    width: 100% !important;
    max-width: 100% !important;
  }

  .search-cat-dropdown {
    padding: 0 12px !important;
    font-size: 12px !important;
  }



