/* Front-end styles for Auto APK Fetcher – modern Uptodown style */
.apk-container { max-width: 960px; margin: 0 auto; padding: 20px; }
.apk-hero {
  /* Hero section styling */
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 32px;
  margin-bottom: 40px;
  align-items: flex-start;
  gap: 24px;
}
.apk-hero .apk-icon {
  /* Larger icon in hero */
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  border-radius: 28px;
  overflow: hidden;
}
.apk-hero .apk-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}
/* Hero title */
.apk-hero h1 {
  font-size: 36px;
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.3;
}
/* Meta and stats styling */
.apk-meta {
  margin-bottom: 8px;
  font-size: 14px;
  color: #777;
}
.apk-meta .apk-meta-item {
  margin-right: 16px;
  display: inline-block;
}
.apk-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}
.apk-rating .star {
  color: #f5b50a;
  margin-right: 2px;
  font-size: 16px;
  line-height: 1;
}
.apk-rating .half {
  position: relative;
}
.apk-rating .half::before {
  content: '\2605';
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #f5b50a;
}
.apk-rating .empty {
  color: #ddd;
}
.apk-rating .rating-value {
  margin-left: 4px;
  font-weight: 600;
  color: #333;
}
.apk-rating .reviews-count {
  margin-left: 4px;
  font-size: 13px;
  color: #777;
}
.apk-downloads, .apk-size {
  font-size: 14px;
  color: #555;
}
.apk-downloads strong, .apk-size strong {
  font-weight: 600;
}
/* Buttons */
.apk-download-btn {
  background: #0099e5;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-right: 12px;
  margin-top: 8px;
  transition: background 0.2s ease;
}
.apk-download-btn:hover {
  background: #007dc1;
}
.apk-download-btn .btn-version {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
}
.apk-google-btn {
  color: #4285f4;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 8px;
}
.apk-section { margin-bottom: 32px; }
.apk-section h2 { font-size: 24px; margin-bottom: 12px; border-bottom: 1px solid #eee; padding-bottom: 8px; font-weight: 600; }
.apk-description { font-size: 16px; line-height: 1.7; color: #333; }
.apk-screenshots { display: flex; flex-wrap: wrap; gap: 12px; }
/* Screenshots slider: horizontal scroll */
.apk-screenshots {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.apk-screenshots::-webkit-scrollbar {
  display: none;
}
.apk-screenshots img {
  flex: 0 0 auto;
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  height: auto;
  scroll-snap-align: start;
}
@media (max-width: 768px) {
  .apk-screenshots img {
    width: 140px;
  }
}
.apk-technical table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.05); border-radius: 8px; overflow: hidden; }
.apk-technical th, .apk-technical td { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; text-align: left; }
.apk-technical th { width: 35%; background: #f7f7f7; font-weight: 600; }
.apk-video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.apk-video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.apps-archive { max-width: 1000px; margin: 0 auto; padding: 20px; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.app-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); padding: 16px; text-align: center; transition: box-shadow .2s; }
.app-card:hover { box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.app-card img { width: 80px; height: 80px; border-radius: 16px; margin-bottom: 12px; object-fit: cover; }
.app-card h3 { font-size: 18px; margin: 0 0 8px; }
.app-card .rating { font-size: 14px; color: #777; }
.app-card a { color: #00a651; text-decoration: none; font-weight: 600; }