/* BASE WRAPPER - Left aligned but centered with padding */
.wrapper {
  max-width: 1200px;  
  margin: 0 auto;   
  padding: 0 20px;   
  text-align: left;  
}

/* --- BASE --- */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background: #208c58;
  color: white;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #208c58;
  padding: 12px 20px;
}

.logo img {
  height: 60px; 
  width: auto; 
}
.logo {
  font-size: 10px;
  font-weight: bold;
}
.logo span { color: gold; }
.navbar nav a {
  margin: 0 10px;
  text-decoration: none;
  color: white;
}
.navbar nav a:hover { color: gold; }

/* HEADER SECTION */
.app-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left aligned */
  text-align: left;
  padding: 30px 0;
  gap: 15px;
}

/* ICON SIZE */
.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0);
}

/* TITLE */
.app-header h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.3;
}

/* INFO TEXT */
.app-info {
  font-size: 1.1rem;
  color: #ddd;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.app-info .star {
  color: gold;
}

.app-info .dot {
  margin: 0 8px;
  color: #bbb;
}

.app-info .badge {
  background: #333;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

/* BUTTONS */
.app-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
}

.btn {
  padding: 12px 22px;
  font-size: 1.05rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.install {
  background: #00c853;
  color: white;
}

.register {
  border: 2px solid white;
  color: white;
  background: transparent;
}

/* EXTRA LINKS */
.extra-links {
  margin-top: 20px;
  font-size: 1rem;
  text-align: left;
}

.extra-links a {
  color: #00c853;
  text-decoration: none;
}

.extra-links i {
  margin-right: 6px;
}

/* SCREENSHOTS */
.screenshots {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 10px 0;
  position: relative;
}
.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.carousel img {
  width: 240px;
  height: auto;
  margin: 0 5px;
  border-radius: 10px;
}
.prev, .next {
  background: rgba(0, 0, 0);
  border: none;
  color: white;
  font-size: 24px;
  padding: 8px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.prev { left: 0; }
.next { right: 0; }

/* SECTION TITLES */
.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.section-title .arrow {
  font-size: 1rem;
  transform: rotate(90deg);
  color: #ccc;
}

/* DESCRIPTION TEXT */
.desc-text {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.highlight {
  color: #ffcc33;
  font-weight: 600;
}

/* INFO GRID */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.info-grid .label {
  font-size: 0.85rem;
  color: #bbb;
}
.info-grid .value {
  font-size: 1rem;
  font-weight: 500;
}

/* TAGS */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tag {
  background-color: rgba(0, 0, 0);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 05);
  cursor: pointer;
  transition: background 0.2s;
}
.tag:hover {
  background-color: rgba(0, 0, 0);
}

/* PRIVACY CARD */
.privacy-card {
  background-color: rgba(0, 0, 0);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 05);
}
.privacy-card ul {
  padding-left: 1.2rem;
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.privacy-card li {
  margin-bottom: 0.4rem;
}
.privacy-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.privacy-card ul li i {
  color: #4cafef;
  font-size: 1rem;
  margin-top: 3px;
}

.more-link {
  display: inline-block;
  color: #4cafef;
  font-size: 0.9rem;
}
.more-link:hover {
  text-decoration: underline;
}

/* RATING SUMMARY */
.rating-section {
  background-color: #000000;
  padding: 40px 40px;
  margin-top: 2rem;
  border-radius: 10px;
}
.rating-container {
  display: flex;
  align-items: center;
  gap: 30px;
}
.rating-left {
  text-align: center;
  min-width: 100px;
}
.rating-left .score {
  font-size: 48px;
  font-weight: bold;
}
.rating-left .stars {
  color: #1fa463;
  font-size: 18px;
  margin: 5px 0;
}
.rating-left .count {
  font-size: 14px;
}
.rating-right {
  flex: 1;
}
.rating-bar {
  display: flex;
  align-items: center;
  margin: 4px 0;
  font-size: 14px;
}
.rating-bar span {
  width: 15px;
  display: inline-block;
}
.bar-bg {
  flex: 1;
  background-color: #ddd;
  border-radius: 50px;
  height: 6px;
  margin-left: 5px;
  overflow: hidden;
}
.bar-fill {
  background-color: #1fa463;
  height: 100%;
  border-radius: 50px;
}

/* USER REVIEWS */
.user-review {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
}
.user-review .user {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-review .user i {
  font-size: 1.4rem;
  color: #4cafef;
}
.user-review:first-child {
  border-top: none;
}
.user-review strong {
  display: block;
  margin-bottom: 0.3rem;
}
.user-review .date {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}
.review-actions {
  margin-top: 0.5rem;
}
.review-actions button {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 0.2rem 0.6rem;
  margin-right: 0.4rem;
  color: #fff;
  cursor: pointer;
}
.review-actions button:hover {
  background-color: rgba(255,255,255,0.2);
}

.filters {
  display: flex;
  gap: 0.8rem;
  margin: 1.5rem 0;
  padding-top: 0.5rem;
  justify-content: flex-start;
}
.filters button {
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filters button i {
  font-size: 1.2rem;
}
.filters button:hover {
  background-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.filters button.active {
  background-color: #000000;
  border-color: #000000;
  color: #fff;
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

/* FOOTER */
footer {
    background: #000000;
    padding: 20px;
    font-size: 14px;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-column p {
    margin: 10px 10px;
}

.footer-column p strong {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    font-size: 13px;
    color: #ffffff;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .app-header {
    padding: 20px 0;
  }
  .rating-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar nav a{
    display: none;
  }
  .rating-container {
    flex-direction: column; 
    align-items: center;
    text-align: center;
    padding: 10px 10px;
  }
  
  .rating-right {
    width: 100%;
    max-width: 350px; /* keep bars neat */
  }

  .rating-left .score {
    font-size: 36px;
  }
  .filters {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .filters button {
    width: 80%; 
   ;
  }
}

