/* =========================================================
   GLOBAL RESET
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f6f8;
  color: #202124;
  line-height: 1.55;
}

a {
  text-decoration: none;
  color: inherit;
}


/* =========================================================
   COMMON CONTAINER
========================================================= */

.wrap {
  width: min(760px, 100%);
  margin: auto;
}
.wrap h1{
  text-align: center;
}

/* =========================================================
   TOP HEADER
========================================================= */

.topbar {
  background: #10106b;
  color: #fff;
}

.topbar-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-inner img {
    width: 320px;
    max-width: 100%;
    height: auto;
}
@media (max-width: 600px) {
    .topbar-inner img {
        width: 50vw;
        max-width: 260px;
        height: auto;
    }
}
.brand {
  font-size: 28px;
  font-weight: 900;
}

.brand span {
  color: #ffd21c;
}


/* Header Right Side */

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-actions a {
  background: #3ba2de;
  border-radius: 20px;
  padding: 6px 13px;
  font-weight: 700;
}


/* =========================================================
   MENU BUTTON
========================================================= */

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}


/* =========================================================
   NAVIGATION BAR
========================================================= */

.nav {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 10px 0;

  font-weight: 700;
  font-size: 14px;
}

.nav a.active {
  color: red;
}


/* =========================================================
   MOBILE MENU
========================================================= */

@media (max-width: 922px) {

  /* Menu button show */
  .menu-btn {
    display: block;
  }

  /*
    Normal NAV ko hide nahi kar rahe.
    Existing nav visible rahega.
  */

  .nav {
    position: relative;
  }


  /* -----------------------------------------
     MENU CLICK KE BAAD DROPDOWN
  ----------------------------------------- */

  .nav.open .nav-inner {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    width: 100%;

    background: #fff;

   display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-direction: column;

    align-items: stretch;
    gap: 0;

    padding: 0;

    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;

    z-index: 9999;

    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  }


  /* -----------------------------------------
     DROPDOWN LINKS
  ----------------------------------------- */

  .nav.open .nav-inner a {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 14px 18px;

    border-bottom: 1px solid #eee;
  }
}


/* =========================================================
   HERO SECTION
========================================================= */


.hero img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: 0;
    padding-left: 0;
}

@media (max-width: 600px) {
    .hero img {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc((100% - 100vw) / 2);
        padding-left: 0;
    }
}
/* =========================================================
   FEATURED APPS
========================================================= */

.featured {
  padding: 15px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.featured-card {
  background: #fff;
  text-align: center;

  padding: 16px 10px;

  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
.rank-1 {
    width: 30px;
    height: 30px;

    background-image: url("../image/site_data_img/allrummyapp.webp");
    background-repeat: no-repeat;

    /* Original image ko 1920px se 500px scale kiya */
    background-size: 300px 300px;

    /* Medal 1 ki original position ko bhi scale kiya */
    background-position: -220px -47px;

    margin: -10px  auto 0;
}
.rank-2 {
    width: 40px;
    height: 40px;

    background-image: url("../image/site_data_img/allrummyapp.webp");
    background-repeat: no-repeat;

    /* Original image ko 1920px se 500px scale kiya */
    background-size: 400px 400px;

    /* Medal 1 ki original position ko bhi scale kiya */
    background-position: -233px -63px;

    margin: -30px auto 0;
}
.rank-3 {
    width: 30px;
    height: 30px;

    background-image: url("../image/site_data_img/allrummyapp.webp");
    background-repeat: no-repeat;

    /* Original image ko 1920px se 500px scale kiya */
    background-size: 300px 300px;

    /* Medal 1 ki original position ko bhi scale kiya */
    background-position: -260px -47px;

    margin: -10px auto 0;
   
}

.app-icon,
.list-icon {
  display: grid;
  place-items: center;

  background: #111;
  color: #fff;

  font-weight: 900;
  border-radius: 18px;
}

.app-icon {
  width: 72px;
  height: 72px;

  margin: auto auto 8px ;

  font-size: 32px;
}

.app-icon img {
    display: block;
    width: 72px;
    height: 72px;
    max-width: 100%;
    object-fit: contain;
    margin: -8px auto;
}
.star-rating {

  display: block;
  width: 72px;
  height: auto;
 
  margin: auto auto 8px;
}


.check-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    background: #16a34a;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    margin-right: 1px;
}

.featured-card h2 {
  font-size: 17px;
}

.featured-card p {
  font-size: 12px;
  color: #777;
  margin-bottom: 10px;
}


/* =========================================================
   BUTTON
========================================================= */

.btn {
  display: inline-block;

  background: #ef1717;
  color: #fff;

  border-radius: 6px;

  padding: 8px 14px;

  font-weight: 800;
  font-size: 13px;
}

.btn:hover {
  background: #c91010;
}


/* =========================================================
   SEARCH
========================================================= */

.search-section {
  padding: 8px 0;
}

.search-section input {
  width: 100%;

  padding: 13px 15px;

  border: 1px solid #aaa;
  border-radius: 7px;

  font-size: 16px;

  outline: none;
  background: #fff;
}


/* =========================
   TABS
========================= */

.tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  margin-bottom: 20px;
}

.tabs button {
  border: 0;
  background: #f1f1f1;
  color: #333;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.tabs button:hover {
  background: #7d4d4d;
}


/* ACTIVE TAB */

.tabs button.active {
  background: #e53935;
  color: #fff;
}


/* =========================
   TAB PANELS
========================= */

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}


/* =========================
   CATEGORY SECTION
========================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.category-card {
  display: block;
  text-decoration: none;
  color: #222;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  padding: 22px 15px;
  text-align: center;
  transition: 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(228, 132, 132, 0.1);
}

.category-icon {
  font-size: 30px;
  margin-bottom: 8px;
}

.category-card h3 {
  margin: 5px 0;
  font-size: 16px;
}

.category-card p {
  margin: 5px 0 0;
  font-size: 12px;
  color: #777;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .tabs {
    gap: 6px;
  }

  .tabs button {
    padding: 9px 11px;
    font-size: 12px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

}


/* =========================================================
   APP LIST
========================================================= */

.app-list {
  background: #fff;
}

.list-card {
  display: grid;

  grid-template-columns: 28px 58px 1fr auto;

  align-items: center;

  gap: 12px;

  padding: 12px 7px;

  border-bottom: 1px solid #e5e5e5;
}

.number {
  color: #888;
  text-align: center;
}

.list-icon {
  width: 50px;
  height: 58px;

  border-radius: 14px;

  font-size: 25px;
}
.list-icon img {
  width: 58px;
  height: 58px;
  margin-left: -5px;
}


.app-detail{
  color: #fc0404;
  font-weight: bold;
  
  

}
.app-detail span{
  color: #079830;
  
}
.app-highlight{
  color: #33358a;
  font-weight: bold;
  

}
.list-info{
  margin-top: 15px;
}

.list-info small {
  font-size: 11px;
  color: #777;
}

.small {
  padding: 8px 13px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  background: #10106b;
  color: #fff;

  margin-top: 20px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 25px;

  padding: 25px 0;
}

.footer-grid h3 {
  color: #ffd21c;
}

.footer-grid p,
.footer-grid a {
  color: #dce1ff;
  font-size: 13px;
}

.footer-grid a {
  display: block;
  margin: 4px 0;
}

.copyright {
  text-align: center;

  border-top: 1px solid #33358a;

  padding: 12px;

  font-size: 12px;

  color: #dce1ff;
}


/* =========================================================
   APP DETAIL PAGE
========================================================= */

.detail {
  padding: 25px 0;
}

.breadcrumb {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

.detail-head {
  background: #fff;

  border: 1px solid #ddd;
  border-radius: 10px;
  
  padding: 20px;
}

.detail-head-inner {
  display:  flex;

  gap: 18px;
  
  align-items: center;
}

.detail-icon {
  width: 90px;
  height: 90px;

  border-radius: 20px;

  background: #111;
  color: #fff;

  display: grid;
  place-items: center;
  

  font-size: 38px;
  font-weight: 900;
}

.detail-icon img{
  width: 90px;
  height: 90px;
  
  
}

.detail h1 {
  font-size: 29px;
  align-items: center;
}

.muted {
  color: #6b7280;
}


/* =========================================================
   APP INFORMATION
========================================================= */

.info-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 10px;

  margin-top: 18px;
}

.info-box {
  background: #f5f6f8;

  padding: 10px;

  border-radius: 7px;
}


/* =========================================================
   ARTICLE
========================================================= */

.article {
  background: #fff;

  border: 1px solid #ddd;
  border-radius: 10px;

  padding: 20px;

  margin-top: 15px;
}

.article h2 {
  margin: 20px 0 8px;
}

.article h2:first-child {
  margin-top: 0;
}



/* =========================================================
   DOWNLOAD PANEL
========================================================= */

.download-panel {
  background: #10106b;
  color: #fff;

  border-radius: 10px;

  padding: 25px;

  margin-top: 15px;

  text-align: center;
}

.download-panel .btn {
  background: #16a34a;
  margin-top: 18px;
  margin-bottom: 12px;
  font-size: 25px;
  border-radius: 20px;
  padding-left: 40px;
  padding-right: 40px;
}
.btntg{
  
  background-color: #3ba2de;
  color: #fff;
  padding: 10px;
  font-size: 15px;
  border-radius: 10px;


}

/* =========================================================
   FAQ
========================================================= */

.faq details {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
}


/* =========================================================
   SMALL SCREEN / MOBILE
========================================================= */

@media (max-width: 600px) {

  .wrap {
    width: 94%;
  }
.wrap h1{
  text-align: center;
}
.wrap h2{
  text-align: center;
}
 
.wrap p{
  padding-top: 10px;
}

  /* Featured Apps */

  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-card {
    padding: 12px 5px;
  }

  .app-icon {
    width: 60px;
    height: 60px;
  }

  .featured-card h2 {
    font-size: 18px;
  }


  /* Navigation */

  .nav-inner {
    gap: 12px;
    font-size: 12px;
  }


  /* Hero */

  .hero h1 {
    font-size: 25px;
  }


  /* App List */

  .list-card {
    grid-template-columns: 22px 52px 1fr auto;
    gap: 8px;
  }

  .list-icon {
    width: 52px;
    height: 52px;
  }

  .list-info h3 {
    font-size: 18px;
  }

 

  .list-info small {
    display: none;
  }

.app-detail{
  color: #fc0404;
  font-weight: bold;
  margin: -11px auto;
  

}
.app-detail span{
  color: #079830;
  
}
.app-highlight{
  color: #33358a;
  font-weight: bold;
  
}
.list-info{
  margin-top: 1px;
}



  .small {
    font-size: 11px;
    padding: 7px 9px;
  }


  /* App Information */

  .info-grid {
    grid-template-columns: 1fr;
  }
}