/*
Theme Name: 444 Tiger App Download
Theme URI: https://444tiger.cc
Author: 444 Tiger
Description: Tema estilo Google Play Store para página de download de app
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: tiger-app
*/

:root {
  --primary: #f59e0b;
  --primary-light: #fbbf24;
  --primary-dark: #d97706;
  --background: #0f0f0f;
  --surface: #1a1a1a;
  --surface-light: #262626;
  --text: #ffffff;
  --text-muted: #a3a3a3;
  --text-dim: #737373;
  --star: #fbbf24;
  --success: #22c55e;
  --border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.app-page {
  padding: 24px 0;
}

/* App Header */
.app-header {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.app-icon {
  width: 180px;
  height: 180px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

.app-info {
  flex: 1;
}

.app-name {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.app-developer {
  color: var(--primary);
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.app-developer a {
  color: var(--primary);
  text-decoration: none;
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 16px;
}

/* App Stats */
.app-stats {
  display: flex;
  gap: 32px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stat-value .star {
  color: var(--star);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Install Button */
.install-btn {
  width: 100%;
  max-width: 300px;
  padding: 14px 32px;
  background: var(--success);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.install-btn:hover {
  background: #16a34a;
  transform: scale(1.02);
}

/* Action Buttons */
.app-actions {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
}

.action-btn svg {
  width: 24px;
  height: 24px;
}

/* Screenshots */
.screenshots-section {
  margin-bottom: 32px;
}

.screenshots-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screenshots-scroll::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex-shrink: 0;
  width: 140px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.about-section {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 500;
}

.section-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
}

.about-text {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.about-features {
  list-style: none;
  margin-bottom: 24px;
}

.about-features li {
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.about-features li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
}

.about-meta {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Data Safety */
.data-safety-section {
  background: var(--surface);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
}

.safety-item {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.safety-item:last-child {
  border-bottom: none;
}

.safety-icon {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

.safety-text h4 {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.safety-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Reviews Section */
.reviews-section {
  margin-bottom: 32px;
}

.rating-overview {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}

.rating-score {
  text-align: center;
}

.rating-number {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 8px 0;
}

.rating-stars svg {
  width: 12px;
  height: 12px;
  fill: var(--star);
  color: var(--star);
}

.rating-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rating-bars {
  flex: 1;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.rating-bar-row span {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 12px;
}

.rating-bar {
  flex: 1;
  height: 8px;
  background: var(--surface-light);
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
}

/* Review Card */
.review-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
}

.review-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.review-rating .stars {
  display: flex;
  gap: 2px;
}

.review-rating .stars svg {
  width: 12px;
  height: 12px;
  fill: var(--star);
  color: var(--star);
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .app-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .app-icon {
    width: 120px;
    height: 120px;
  }
  
  .app-stats {
    justify-content: center;
  }
  
  .install-btn {
    max-width: 100%;
  }
  
  .app-actions {
    justify-content: center;
  }
  
  .rating-overview {
    flex-direction: column;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}
