/* ApksGet Common Styles */
:root {
  --primary: #21e06d;
  --primary-dark: #1bc95e;
  --dark: #1a1a2e;
  --darker: #12121f;
  --light: #f8f9fa;
  --gray: #6c757d;
  --radius: 20px;
  
  /* Light Mode (Default) */
  --bg-body: #f5f7fa;
  --bg-section: #ffffff;
  --bg-section-alt: #f0f2f5;
  --bg-card: #ffffff;
  --bg-card-inner: #f8fafc;
  --bg-header: linear-gradient(135deg, #1a1a2e, #12121f);
  --bg-hero: linear-gradient(135deg, #667eea, #764ba2);
  --bg-cta: linear-gradient(135deg, #21e06d, #2ecc71);
  --text-primary: #1a1a2e;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --text-hero: #ffffff;
  --border-color: rgba(0,0,0,0.08);
  --shadow-color: rgba(0,0,0,0.08);
  --card-gradient: linear-gradient(145deg, #ffffff, #f8fafc);
  --rating-bg: linear-gradient(135deg, #fefce8, #fef08a);
  --size-bg: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-body: #0a0a12;
  --bg-section: #12121f;
  --bg-section-alt: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card-inner: #1e1e32;
  --bg-header: linear-gradient(135deg, #1a1a2e, #12121f);
  --bg-hero: linear-gradient(135deg, #1a1a2e, #0f3460);
  --bg-cta: linear-gradient(135deg, #21e06d, #2ecc71);
  --text-primary: #f8f9fa;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --text-hero: #ffffff;
  --border-color: rgba(255,255,255,0.1);
  --shadow-color: rgba(0,0,0,0.4);
  --card-gradient: linear-gradient(145deg, #1a1a2e, #0f3460);
  --rating-bg: linear-gradient(135deg, rgba(254,252,232,0.1), rgba(254,240,138,0.15));
  --size-bg: linear-gradient(135deg, rgba(240,249,255,0.1), rgba(224,242,254,0.1));
}

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

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

/* 确保 header 紧贴页面顶部 */
body > header:first-child,
body > #header:first-child {
  margin-top: 0 !important;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ============================================
   HEADER
   ============================================ */
#header {
  background: linear-gradient(135deg, var(--dark), var(--darker));
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0,0,0,0.3);
  margin: 0;
  border: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-menu a {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.3s;
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--primary);
  color: var(--dark);
}

.mobile-menu-btn {
  display: none;
  background: var(--primary);
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

/* Theme Toggle Button */
.theme-toggle {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 12px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  margin-left: 15px;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: inline;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--darker);
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-about img {
  height: 40px;
  margin-bottom: 15px;
}

.footer-about p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: var(--bg-hero);
  padding: 50px 0;
  color: var(--text-hero);
  transition: background 0.3s ease;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 16px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 50px 0;
  background: var(--bg-section);
  transition: background 0.3s ease;
}

.section-alt {
  background: var(--bg-section-alt) !important;
}

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

.section-title {
  font-size: 22px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-all {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.section-desc {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-section-alt);
  padding: 4px 12px;
  border-radius: 50px;
  transition: background 0.3s ease;
  margin-left: 10px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: var(--bg-hero);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(33,224,109,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { color: #fff; }

.hero-text h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-text h1 span { color: var(--primary); }

.hero-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 25px;
  max-width: 450px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 5px 20px rgba(33,224,109,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33,224,109,0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ============================================
   APP CARDS - Modern Horizontal Layout
   ============================================ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.app-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 1px 3px var(--shadow-color),
    0 4px 12px var(--shadow-color);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 1px solid var(--border-color);
}

.app-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #00d4aa, #38bdf8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(33,224,109,0.12),
    0 8px 20px rgba(0,0,0,0.08);
  border-color: rgba(33,224,109,0.2);
}

.app-card:hover::before {
  transform: scaleX(1);
}

/* 卡片链接 - 上下结构 */
.app-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 18px 14px;
  gap: 12px;
}

/* 图标区域 */
.app-card-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-gradient);
  box-shadow: 
    0 8px 20px var(--shadow-color),
    0 3px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.app-card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2px solid rgba(255,255,255,0.1);
  pointer-events: none;
}

.app-card:hover .app-card-icon {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 
    0 15px 35px rgba(33,224,109,0.25),
    0 6px 15px rgba(0,0,0,0.15);
}

.app-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 信息区域 */
.app-card-info {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

/* 标题 */
.app-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.2px;
  transition: color 0.3s;
}

.app-card:hover .app-card-title {
  color: #0f766e;
}

/* 简介描述 */
.app-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.1px;
}

/* 元信息区域 */
.app-card-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

/* 评分容器 */
.app-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--rating-bg);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #a16207;
  box-shadow: 
    0 2px 6px rgba(234,179,8,0.2),
    inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(234,179,8,0.15);
}

/* 星星样式 */
.app-card-rating .star {
  font-size: 12px;
  line-height: 1;
}

.app-card-rating .star.full {
  color: #f59e0b;
  text-shadow: 0 1px 2px rgba(245,158,11,0.3);
}

.app-card-rating .star.half {
  color: #fbbf24;
  opacity: 0.7;
}

.app-card-rating .star.empty {
  color: #d1d5db;
}

.app-card-rating > span:last-child {
  font-weight: 800;
  color: var(--text-primary);
  margin-left: 2px;
}

/* 大小标签 */
.app-card-size {
  display: inline-flex;
  align-items: center;
  background: var(--size-bg);
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.2px;
  box-shadow: 
    0 2px 8px rgba(14,165,233,0.15),
    inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(14,165,233,0.12);
}

/* 下载按钮（如有） */
.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, #00d4aa 100%);
  color: var(--dark);
  text-align: center;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(33,224,109,0.3);
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33,224,109,0.45);
  background: linear-gradient(135deg, #1bc95e 0%, #00c49a 100%);
}

.download-btn:hover::before {
  left: 100%;
}

/* App card badge for featured/new */
.app-card .app-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(239,68,68,0.35);
  z-index: 2;
}

.app-card .app-badge.new {
  background: linear-gradient(135deg, var(--primary), #00d4aa);
  box-shadow: 0 3px 10px rgba(33,224,109,0.35);
  color: var(--dark);
}

.app-card .app-badge.hot {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 3px 10px rgba(245,158,11,0.35);
}

/* ============================================
   OLD APP CARD STYLES (for backwards compat)
   ============================================ */
.app-card-img {
  height: 140px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.app-card-img::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(33,224,109,0.12) 0%, transparent 50%);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translate(-30%, -30%) rotate(0deg); }
  50% { transform: translate(30%, 30%) rotate(180deg); }
}

.app-card-img img {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.app-card:hover .app-card-img img {
  transform: scale(1.1);
}

.app-card-body {
  padding: 16px;
}

.app-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-card-body .category {
  font-size: 11px;
  color: #fff;
  margin-bottom: 10px;
  display: inline-block;
  background: linear-gradient(135deg, var(--dark), #0f3460);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.app-card-body .rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #fbbf24;
}

/* ============================================
   GAME CARDS
   ============================================ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.game-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow-color);
  transition: all 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.game-card-img {
  height: 160px;
  background: linear-gradient(135deg, #f39c12, #e74c3c);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.game-card-img img {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  object-fit: cover;
}

.game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary);
  color: var(--dark);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.game-card-body {
  padding: 15px;
}

.game-card-body h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.game-card-body .category {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}

.play-btn {
  display: block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
}

/* ============================================
   FEATURED CARDS
   ============================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.featured-card {
  background: var(--card-gradient);
  border-radius: var(--radius);
  padding: 25px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
  border: 1px solid var(--border-color);
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.featured-card img {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  object-fit: cover;
}

.featured-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.featured-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.featured-card .btn {
  padding: 8px 20px;
  font-size: 12px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary), #2ecc71);
  padding: 60px 0;
  text-align: center;
  color: var(--dark);
}

.cta-section h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 16px;
  margin-bottom: 25px;
  opacity: 0.8;
}

.cta-section .btn {
  background: var(--dark);
  color: #fff;
}

.cta-section .btn:hover {
  background: var(--darker);
}

/* ============================================
   CONTENT SECTION (Privacy, About, etc.)
   ============================================ */
.content-section {
  padding: 50px 0;
}

.content-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 5px 20px var(--shadow-color);
  transition: background 0.3s ease;
}

.content-box h1 {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.content-box h2 {
  font-size: 22px;
  color: var(--text-primary);
  margin: 25px 0 15px;
}

.content-box p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.content-box ul {
  margin: 15px 0 15px 25px;
}

.content-box li {
  margin-bottom: 8px;
  color: #555;
}

/* ============================================
   DOWNLOAD PAGE
   ============================================ */
.download-hero {
  background: var(--bg-hero);
  padding: 60px 0;
  color: var(--text-hero);
  text-align: center;
  transition: background 0.3s ease;
}

.download-hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.download-hero h1 span {
  color: var(--primary);
}

.download-hero p {
  font-size: 16px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 30px;
}

.download-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 35px;
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.2);
}

.download-box img {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  margin: 0 auto 20px;
  object-fit: cover;
}

.download-box h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.download-box .version {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 14px;
}

.download-box .download-btn {
  display: block;
  background: var(--primary);
  color: var(--dark);
  padding: 16px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.download-box .download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33,224,109,0.4);
}

.app-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.info-item {
  text-align: center;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.info-item span {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.info-item strong {
  font-size: 14px;
  color: var(--primary);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.step {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 5px 20px var(--shadow-color);
  transition: background 0.3s ease;
}

.step-num {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 15px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: var(--primary);
  color: var(--dark);
  padding: 14px 35px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(33,224,109,0.4);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  text-decoration: none;
}

.pagination a {
  background: #fff;
  color: var(--dark);
  border: 2px solid #eee;
}

.pagination a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33,224,109,0.3);
}

.pagination .current,
.pagination .active {
  background: var(--primary);
  color: var(--dark);
  border: 2px solid var(--primary);
  box-shadow: 0 5px 15px rgba(33,224,109,0.3);
}

.pagination .disabled {
  background: #f5f5f5;
  color: #ccc;
  border: 2px solid #eee;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination .prev,
.pagination .next {
  font-size: 18px;
  padding: 0 15px;
}

.pagination .dots {
  background: transparent;
  border: none;
  color: var(--gray);
  min-width: 30px;
}

.page-info {
  font-size: 14px;
  color: var(--gray);
  background: #f0f0f0;
  padding: 6px 15px;
  border-radius: 50px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 25px; }
  .hero-btns { justify-content: center; }
  .hero-image { order: -1; max-width: 500px; margin: 0 auto; }
  .app-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .nav-menu { display: none; }
  .nav-menu.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 20px;
    gap: 10px;
  }
  .mobile-menu-btn { display: block; }
  .hero { padding: 30px 0; }
  .hero-text h1 { font-size: 26px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .featured-card { padding: 18px; }
  .section { padding: 35px 0; }
  .section-header { flex-direction: column; gap: 10px; text-align: center; }
  .pagination { gap: 6px; margin-top: 30px; }
  .pagination a, .pagination span { min-width: 38px; height: 38px; font-size: 13px; }
  .page-info { font-size: 12px; padding: 5px 12px; }
  .section-title { font-size: 20px; }
  .steps { grid-template-columns: 1fr; gap: 15px; }
  .step { padding: 22px; }
  .app-info { grid-template-columns: 1fr; }
  .content-box { padding: 25px 18px; border-radius: 15px; }
  .content-box h1 { font-size: 24px; }
  .content-box h2 { font-size: 20px; }
  .page-header { padding: 35px 0; }
  .page-header h1 { font-size: 28px; }
  .page-header p { font-size: 14px; }
  .download-hero { padding: 40px 0; }
  .download-hero h1 { font-size: 28px; }
  .download-box { padding: 25px 18px; }
  .cta-section { padding: 40px 0; }
  .cta-section h2 { font-size: 26px; }
  #footer { padding: 30px 0 15px; }
  .footer-content { gap: 25px; }
}

@media (max-width: 480px) {
  .container { padding: 0 10px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .app-card { border-radius: 16px; }
  .app-card-link { padding: 16px 12px; gap: 10px; }
  .app-card-icon { width: 70px; height: 70px; border-radius: 16px; }
  .app-card-title { font-size: 13px; }
  .app-card-desc { font-size: 11px; -webkit-line-clamp: 2; }
  .app-card-meta { gap: 6px; margin-top: 4px; }
  .app-card-rating { padding: 3px 8px; font-size: 10px; }
  .app-card-size { padding: 3px 6px; font-size: 9px; }
  .app-card-img { height: 120px; padding: 18px; }
  .app-card-img img { width: 60px; height: 60px; border-radius: 14px; }
  .app-card-body { padding: 14px; }
  .app-card-body h3 { font-size: 14px; }
  .app-card-body .category { font-size: 9px; padding: 3px 8px; margin-bottom: 8px; }
  .app-card-body .rating { font-size: 12px; margin-bottom: 12px; }
  .download-btn { padding: 10px 14px; font-size: 11px; border-radius: 10px; }
  .app-card .app-badge { font-size: 8px; padding: 3px 6px; top: 8px; right: 8px; }
  .game-card { border-radius: 15px; }
  .game-card-img { height: 130px; }
  .game-card-img img { width: 60px; height: 60px; }
  .game-card-body { padding: 12px; }
  .game-card-body h3 { font-size: 14px; }
  .game-meta { font-size: 11px; }
  .play-btn { padding: 8px; font-size: 12px; }
  .footer-content { grid-template-columns: 1fr; gap: 20px; }
  .footer-links h4 { margin-bottom: 12px; }
  .hero { padding: 25px 0; }
  .hero-text h1 { font-size: 22px; }
  .hero-text p { font-size: 14px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .btn { width: 100%; justify-content: center; padding: 12px 20px; }
  .content-box { padding: 20px 15px; border-radius: 12px; }
  .content-box h1 { font-size: 22px; }
  .content-box h2 { font-size: 18px; margin: 20px 0 12px; }
  .content-box p { font-size: 14px; }
  .content-box ul { margin: 12px 0 12px 20px; }
  .page-header { padding: 30px 0; }
  .page-header h1 { font-size: 24px; }
  .section { padding: 25px 0; }
  .section-title { font-size: 18px; }
  .download-hero h1 { font-size: 24px; }
  .download-hero p { font-size: 14px; }
  .download-box { padding: 20px 15px; border-radius: 15px; }
  .download-box img { width: 70px; height: 70px; }
  .download-box h2 { font-size: 18px; }
  .download-box .download-btn { padding: 14px 25px; font-size: 14px; }
  .step { padding: 20px 15px; border-radius: 15px; }
  .step-num { width: 40px; height: 40px; font-size: 18px; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 13px; }
  .cta-section { padding: 30px 0; }
  .cta-section h2 { font-size: 22px; }
  .cta-section p { font-size: 14px; }
}


