body{
  margin:0;
  font-family:Arial;
  background:#f5f5f5;
}

/* TOP BAR */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px;
  background:#ffaa68;
  position:sticky;
  top:0;
  z-index:10;
  box-shadow:0 1px 6px rgba(0,0,0,0.08);
}

.logo{
  font-weight:bold;
  font-size:28px;
  color:#6a00ff;
  white-space:nowrap;
}

.search{
  flex:1;
  margin:0 6px;
  background:#eee;
  padding:6px 10px;
  border-radius:23px;
  display:flex;
  align-items:center;
  gap:6px;
}

.search input{
  border:none;
  background:transparent;
  outline:none;
  width:100%;
  font-size:14px;
}

/* CATEGORY */
.categories{
  display:flex;
  overflow-x:auto;
  padding:10px;
  gap:8px;
  scrollbar-width:none;
}

.categories::-webkit-scrollbar{
  display:none;
}

.cat{
  padding:10px 14px;
  border:none;
  border-radius:20px;
  background:#ddd;
  cursor:pointer;
  white-space:nowrap;
  font-size:13px;
}

.cat.active{
  background:#6a00ff;
  color:white;
}

/* BANNER */
.banner img{
  width:calc(100% - 20px);
  border-radius:12px;
  margin:0 10px;
  display:block;
}

/* SECTION TITLE */
.section-title{
  padding:8px;
  font-weight:bold;
  font-size:12px;
}

/* APPS GRID */
.apps-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:10px;
  padding:10px;
  padding-bottom:80px;
}

/* APP CARD */
.app-card{
  background:white;
  padding:12px;
  border-radius:15px;
  text-align:center;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.app-card img{
  width:70px;
  height:70px;
  border-radius:15px;
  object-fit:cover;
}

.app-card h3{
  font-size:13px;
  margin:6px 0 2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.app-desc{
  font-size:11px;
  color:#888;
  margin:0 0 6px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* STATS */
.app-stats{
  display:flex;
  justify-content:center;
  gap:10px;
  font-size:11px;
  color:#888;
  margin-bottom:8px;
}

/* ACTIONS */
.app-actions{
  display:flex;
  gap:5px;
  justify-content:center;
  flex-wrap:wrap;
}

.app-actions button{
  background:#6a00ff;
  color:white;
  border:none;
  padding:5px 8px;
  border-radius:8px;
  font-size:12px;
  cursor:pointer;
}

.app-actions button:first-child{
  width:100%;
  padding:7px;
  font-size:13px;
}

/* BOTTOM NAV */
.bottom-nav{
  position:fixed;
  bottom:0;
  width:100%;
  display:flex;
  justify-content:space-around;
  background:white;
  padding:8px 0;
  box-shadow:0 -2px 6px rgba(0,0,0,0.1);
  z-index:10;
}

.nav{
  text-align:center;
  font-size:12px;
  cursor:pointer;
  padding:4px 10px;
  color:#888;
}

.nav.active{
  color:#6a00ff;
}

.nav i{
  font-size:18px;
  display:block;
  margin-bottom:2px;
}
