:root {
  --bg: #f5f5f5;
  --card: #ffffff;
  --text: #121212;
  --accent: linear-gradient(45deg,#ff6600,#ffcc00);
}

.dark {
  --bg: #121212;
  --card: #1e1e1e;
  --text: #ffffff;
}

* {
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

/* HEADER */
header {
  padding: 25px;
  text-align: center;
  background: var(--accent);
  color: white;
}

header button {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

/* APP DETAILS SECTION */
.app-details {
  display: flex;
  gap: 40px;
  padding: 40px;
  max-width: 900px;
  margin: 40px auto;
  background: var(--card);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* LEFT SIDE */
.details-left img {
  width: 180px;
  border-radius: 32px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* RIGHT SIDE */
.details-right {
  flex: 1;
}

.details-right h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

.details-rating {
  font-size: 16px;
  margin-bottom: 6px;
}

.details-category {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 15px;
}

.details-desc {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.extra-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 25px;
}

/* DOWNLOAD BUTTON */
.btn.download {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 16px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 15px;
  font-size: 14px;
  opacity: 0.7;
}

/* MOBILE */
@media (max-width: 768px) {
  .app-details {
    flex-direction: column;
    text-align: center;
  }

  .details-left img {
    width: 140px;
  }

  .extra-info {
    justify-content: center;
  }
}