:root {
  --primary: #0b8a3a;
  --primary-dark: #086d2c;
  --primary-light: #11b352;
  --secondary: #d4af37;
  --accent: #1a8a52;
  --success: #2ecc71;
  --warning: #f39c12;
  --error: #e74c3c;
  --dark: #0f1f17;
  --darker: #0a1410;
  --neutral-50: #f8faf9;
  --neutral-100: #f1f5f3;
  --neutral-200: #e3e9e6;
  --neutral-300: #cdd6d1;
  --neutral-400: #9aa8a1;
  --neutral-500: #6b7a72;
  --neutral-600: #4a5651;
  --neutral-700: #2f3833;
  --neutral-800: #1a211d;
  --neutral-900: #0d1210;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.18);
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-700);
  background: var(--neutral-50);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--neutral-900);
}

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-download {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(11,138,58,0.35);
}
.btn-download:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(11,138,58,0.45);
}

.btn-secondary {
  background: var(--neutral-200);
  color: var(--neutral-700);
}
.btn-secondary:hover { background: var(--neutral-300); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--neutral-900);
}
.logo img { border-radius: 8px; }
.logo span { color: var(--primary); }
.logo:hover { color: var(--primary-dark); }

.main-nav ul { display: flex; list-style: none; gap: 0.25rem; }
.main-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  color: var(--neutral-700);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--neutral-100);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--darker), var(--dark));
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(17,179,82,0.15), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,0.1), transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 { color: var(--white); font-size: 2.5rem; line-height: 1.2; }
.hero h1 .highlight { color: var(--primary-light); }
.hero p { color: var(--neutral-300); font-size: 1.1rem; max-width: 560px; }

.hero-cta { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hero-cta .btn { padding: 1rem 2rem; font-size: 1.05rem; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .num { font-size: 1.75rem; font-weight: 700; color: var(--primary-light); font-family: 'Poppins', sans-serif; }
.hero-stat .label { font-size: 0.85rem; color: var(--neutral-400); }

.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.hero-images img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255,255,255,0.1);
}
.hero-images img:nth-child(1) { grid-row: span 2; }

/* Rating badge */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-top: 1rem;
  border: 1px solid rgba(255,255,255,0.15);
}
.stars { color: var(--secondary); font-size: 1.1rem; letter-spacing: 2px; }
.rating-text { font-size: 0.9rem; color: var(--neutral-200); }

/* Sections */
section { padding: 3rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { font-size: 2rem; }
.section-title p { color: var(--neutral-500); max-width: 680px; margin: 0.5rem auto 0; }

.bg-light { background: var(--neutral-100); }
.bg-white { background: var(--white); }

/* Info card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}
.info-card h3 { margin-bottom: 0.5rem; }
.info-card p { color: var(--neutral-600); margin-bottom: 0; font-size: 0.95rem; }

/* App info table */
.app-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.app-info-item {
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.app-info-item .label { font-size: 0.8rem; color: var(--neutral-500); text-transform: uppercase; letter-spacing: 0.5px; }
.app-info-item .value { font-weight: 600; color: var(--neutral-900); font-size: 1.05rem; }

/* Download CTA */
.download-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 2rem 0;
}
.download-cta h2 { color: var(--white); }
.download-cta p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0.5rem auto 1.5rem; }
.download-cta .btn {
  background: var(--white);
  color: var(--primary-dark);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}
.download-cta .btn:hover { background: var(--neutral-100); transform: translateY(-2px); }

/* Article content */
.article {
  max-width: 820px;
  margin: 0 auto;
}
.article h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.article h3 { margin-top: 2rem; }
.article p { font-size: 1.05rem; color: var(--neutral-600); }
.article ul, .article ol { margin: 1rem 0 1rem 1.5rem; }
.article li { margin-bottom: 0.5rem; color: var(--neutral-600); }
.article strong { color: var(--neutral-900); }

/* Game list */
.game-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.game-chip {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--neutral-700);
  transition: all var(--transition);
}
.game-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Steps */
.steps { counter-reset: step; margin: 1.5rem 0; }
.step {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  margin-bottom: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--neutral-200);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
.step h4 { margin-bottom: 0.25rem; }
.step p { margin-bottom: 0; font-size: 0.95rem; }

/* FAQ */
.faq-section { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-q {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--neutral-900);
  font-size: 1.05rem;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .arrow { transition: transform var(--transition); font-size: 1.2rem; color: var(--primary); }
.faq-item[open] .faq-q .arrow { transform: rotate(180deg); }
.faq-a { padding: 0 1.5rem 1.25rem; color: var(--neutral-600); }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
}
.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.review-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
}
.review-card .reviewer-info .name { font-weight: 600; color: var(--neutral-900); }
.review-card .reviewer-info .meta { font-size: 0.85rem; color: var(--neutral-500); }
.review-card .stars { font-size: 1rem; margin-bottom: 0.5rem; display: block; }
.review-card p { color: var(--neutral-600); font-size: 0.95rem; margin-bottom: 0; }

/* Rating summary */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.rating-big {
  text-align: center;
  border-right: 1px solid var(--neutral-200);
  padding-right: 2rem;
}
.rating-big .score { font-size: 3.5rem; font-weight: 700; color: var(--neutral-900); font-family: 'Poppins', sans-serif; line-height: 1; }
.rating-big .stars { font-size: 1.5rem; }
.rating-big .count { font-size: 0.9rem; color: var(--neutral-500); }

/* Conclusion box */
.conclusion {
  background: linear-gradient(135deg, var(--neutral-100), var(--white));
  border: 1px solid var(--neutral-200);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}
.conclusion h2 { margin-top: 0; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--darker), var(--dark));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 2.25rem; }
.page-hero p { color: var(--neutral-300); max-width: 680px; margin: 0.5rem auto 1.5rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--neutral-400);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--primary-light); }

/* Download page images */
.download-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.download-images img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: var(--darker);
  color: var(--neutral-300);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--neutral-400); font-size: 0.95rem; }
.footer-col a:hover { color: var(--primary-light); }
.footer-desc { color: var(--neutral-400); font-size: 0.9rem; margin: 1rem 0; }
.footer-col .logo { margin-bottom: 0.5rem; }
.footer-col .logo span { color: var(--white); }
.footer-col .logo { color: var(--white); }
.app-info { font-size: 0.85rem; color: var(--neutral-400); margin-top: 0.75rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--neutral-500);
}

/* Back to top */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-images { max-width: 400px; margin: 1.5rem auto 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform var(--transition);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 0.875rem 1rem; border-radius: 8px; }
  .nav-dl { display: none; }
  .hero h1 { font-size: 1.85rem; }
  .section-title h2 { font-size: 1.5rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  .rating-summary { flex-direction: column; align-items: stretch; }
  .rating-big { border-right: none; border-bottom: 1px solid var(--neutral-200); padding-bottom: 1.5rem; padding-right: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.55rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat .num { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
  section { padding: 2rem 0; }
  .download-cta { padding: 1.75rem 1.25rem; }
}
