* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f1f3f4;
  color: #202124;
}

/* NAVBAR */
.navbar {
  background: #ffffff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  position: sticky;
  top: 0;
  z-index: 99;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #1a73e8;
}

.nav-right input {
  width: 260px;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #dadce0;
  outline: none;
}

/* HERO */
.hero {
  padding: 40px 20px;
  background: #ffffff;
  text-align: center;
}

.hero h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

/* APP SECTION */
.apps {
  padding: 20px;
}

.apps h2 {
  margin-bottom: 15px;
  font-size: 20px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

/* CARD */
.app-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: .2s;
}

.app-card:hover {
  transform: translateY(-3px);
}

.app-card img {
  width: 100%;
  border-radius: 10px;
}

.app-info {
  margin-top: 10px;
}

.app-info h3 {
  font-size: 14px;
}

.developer {
  font-size: 12px;
  color: #5f6368;
}

.rating {
  font-size: 13px;
  margin: 5px 0;
}

button {
  width: 100%;
  padding: 6px;
  border-radius: 20px;
  border: none;
  background: #1a73e8;
  color: white;
  cursor: pointer;
  font-size: 13px;
}

button:hover {
  background: #1558b0;
}

/* DETAIL PAGE */
.app-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px;
  background: #f1f3f4;
}

.detail-left {
  flex: 1 1 250px;
}

.detail-left img {
  width: 100%;
  border-radius: 12px;
}

.detail-right {
  flex: 2 1 400px;
}

.detail-right h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.detail-right .developer {
  font-size: 14px;
  color: #5f6368;
}

.detail-right .rating {
  font-size: 14px;
  margin: 5px 0;
}

.detail-right p {
  margin: 15px 0;
}

.btn-download {
  display: inline-block;
  padding: 10px 18px;
  background: #1a73e8;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

.btn-download:hover {
  background: #1558b0;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 15px;
  font-size: 12px;
  color: #5f6368;
}
