/* ===== Teen Patti Blue - Main Stylesheet ===== */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --primary-light: #1976D2;
  --accent: #FFD700;
  --accent-dark: #FFC107;
  --bg-dark: #0a0e1a;
  --bg-card: #111827;
  --bg-light: #f8faff;
  --text-main: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #f1f5f9;
  --border: #e2e8f0;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(21,101,192,0.12);
  --shadow-lg: 0 8px 40px rgba(21,101,192,0.2);
  --transition: 0.25s ease;
  --download-url: "https://3pattibluevip.com?from_gameid=9508983&channelCode=100000";
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d2157 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.logo-text span { color: var(--accent); }

/* NAV */
.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--accent);
  background: rgba(255,215,0,0.1);
}

.nav-download-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  color: var(--bg-dark) !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
}

.nav-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,215,0,0.4);
  background: var(--accent) !important;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 999;
  padding: 20px 16px;
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.mobile-nav a:hover { background: rgba(255,215,0,0.1); color: var(--accent); }
.mobile-nav .mobile-dl-btn {
  margin-top: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--bg-dark) !important;
  font-weight: 700 !important;
  text-align: center;
  border-radius: 10px !important;
  font-size: 1.05rem !important;
  padding: 14px !important;
}

/* DROPDOWN */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  display: none;
  z-index: 100;
  border: 1px solid var(--border);
}

.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  color: var(--text-main) !important;
  padding: 9px 16px !important;
  font-size: 0.85rem !important;
  border-radius: 0 !important;
}
.nav-dropdown a:hover { background: var(--bg-light) !important; color: var(--primary) !important; }

/* ===== DOWNLOAD BAR ===== */
.dl-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dl-bar-text { color: #fff; font-size: 0.9rem; font-weight: 500; }
.dl-bar-text strong { color: var(--accent); }

/* ===== DOWNLOAD BUTTON (global) ===== */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(22,163,74,0.4);
  white-space: nowrap;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(22,163,74,0.5);
  background: linear-gradient(135deg, #15803d, #166534);
  color: #fff;
  text-decoration: none;
}

.btn-download svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.btn-download-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 40px;
}

.btn-download-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d2157 50%, #1a1a40 100%);
  padding: 60px 16px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(21,101,192,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

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

.hero-desc {
  color: #94a3b8;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-secondary:hover { background: rgba(255,255,255,0.2); color: #fff; text-decoration: none; }

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat .num { color: var(--accent); font-size: 1.6rem; font-weight: 900; display: block; }
.hero-stat .lbl { color: #64748b; font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

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

/* ===== SECTIONS ===== */
.section { padding: 60px 0; }
.section-alt { background: #f0f4ff; }
.section-dark { background: var(--bg-dark); }

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-title.light { color: #fff; }

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 600px;
}

.section-head { margin-bottom: 36px; }

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg { width: 24px; height: 24px; fill: #fff; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== FEATURE CARDS ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover { background: rgba(255,215,0,0.08); border-color: rgba(255,215,0,0.3); }
.feature-card .icon { font-size: 2rem; margin-bottom: 10px; }
.feature-card h4 { color: #e2e8f0; font-size: 0.9rem; font-weight: 600; }

/* ===== DOWNLOAD SECTION ===== */
.download-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.download-box-info { flex: 1; min-width: 200px; }
.download-box-info h3 { color: #fff; font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.download-box-info p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.download-box-meta { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.download-box-meta span { color: var(--accent); font-size: 0.85rem; font-weight: 600; background: rgba(255,215,0,0.1); padding: 4px 10px; border-radius: 20px; }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 16px; }

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--text-main); }
.step-content p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
  font-family: inherit;
}

.faq-q:hover { background: var(--bg-light); color: var(--primary); }
.faq-q.open { color: var(--primary); background: #eff6ff; }

.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-q.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-a.open {
  max-height: 500px;
  padding: 0 20px 16px;
}

/* ===== ARTICLE CARDS ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.article-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }

.article-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.article-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.article-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.article-cat { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.article-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; line-height: 1.4; }
.article-card-body p { font-size: 0.85rem; color: var(--text-muted); flex: 1; line-height: 1.5; }
.article-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.article-card-meta .read { font-size: 0.8rem; color: var(--primary); font-weight: 600; }

/* ===== ARTICLE PAGE ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
}

.article-main {}

.article-hero-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.article-cat-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-date { font-size: 0.82rem; color: var(--text-muted); }
.article-read-time { font-size: 0.82rem; color: var(--text-muted); }

.article-main h1 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.article-main h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.article-main h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 10px;
}

.article-main h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 18px 0 8px;
}

.article-main p {
  font-size: 0.97rem;
  color: #374151;
  margin-bottom: 16px;
  line-height: 1.8;
}

.article-main ul, .article-main ol {
  margin: 12px 0 20px 24px;
}

.article-main li {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-main img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  box-shadow: var(--shadow);
}

.article-main a { color: var(--primary); text-decoration: underline; }
.article-main a:hover { color: var(--primary-dark); }

/* INFO BOX */
.info-box {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.info-box.warning { background: #fffbeb; border-color: #f59e0b; }
.info-box.success { background: #f0fdf4; border-color: var(--green); }
.info-box p { margin: 0; font-size: 0.92rem; }

/* TABLE */
.table-wrap { overflow-x: auto; margin: 20px 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th { background: var(--primary); color: #fff; padding: 12px 14px; text-align: left; font-weight: 700; }
.compare-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
.compare-table tr:nth-child(even) td { background: var(--bg-light); }
.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no { color: var(--red); font-weight: 700; }

/* DOWNLOAD CTA IN ARTICLE */
.article-dl-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin: 32px 0;
}

.article-dl-cta h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.article-dl-cta p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-bottom: 18px; }

/* SIDEBAR */
.article-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 85px; }

.sidebar-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.sidebar-box h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.sidebar-links { display: flex; flex-direction: column; gap: 6px; }
.sidebar-links a {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: var(--primary-dark); padding-left: 4px; }
.sidebar-links a::before { content: '→'; color: var(--accent-dark); font-size: 0.8rem; }

.sidebar-dl {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.sidebar-dl h4 { color: #fff !important; border-color: rgba(255,255,255,0.2) !important; }
.sidebar-dl p { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-bottom: 14px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a { font-size: 0.8rem; color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb .sep { color: #94a3b8; }

/* ===== PROS/CONS ===== */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.pros, .cons {
  border-radius: var(--radius-sm);
  padding: 20px;
}
.pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.cons { background: #fef2f2; border: 1px solid #fecaca; }
.pros h4 { color: var(--green); margin-bottom: 12px; font-size: 0.95rem; }
.cons h4 { color: var(--red); margin-bottom: 12px; font-size: 0.95rem; }
.pros li, .cons li { font-size: 0.88rem; margin-bottom: 6px; }
.pros li { color: #166534; }
.cons li { color: #991b1b; }

/* ===== RATING ===== */
.rating-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  margin: 24px 0;
}

.rating-num { font-size: 3rem; font-weight: 900; color: var(--primary); }
.rating-stars { color: var(--accent); font-size: 1.4rem; margin: 4px 0; }
.rating-count { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CATEGORIES PAGE ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.cat-card .icon { font-size: 2.5rem; }
.cat-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-main); }
.cat-card p { font-size: 0.85rem; color: var(--text-muted); }
.cat-card .count { font-size: 0.8rem; color: var(--primary); font-weight: 600; background: #eff6ff; padding: 3px 10px; border-radius: 20px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 60px 16px 20px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p { font-size: 0.88rem; margin-top: 12px; line-height: 1.7; }
.footer-col h4 { color: var(--accent); font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: #64748b; text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 20px auto 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: gap; gap: 12px; font-size: 0.82rem; }
.footer-bottom a { color: #64748b; text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ===== STICKY DOWNLOAD BAR (mobile) ===== */
.sticky-dl {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 12px 16px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.sticky-dl-text { color: rgba(255,255,255,0.9); font-size: 0.85rem; }

/* ===== IMAGE GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 20px 0; }
.gallery img { width: 100%; border-radius: var(--radius-sm); object-fit: cover; aspect-ratio: 9/16; cursor: pointer; transition: var(--transition); }
.gallery img:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 60px; }
  .hero { padding: 40px 16px 50px; }
  .hero-stats { gap: 20px; }
  .section { padding: 40px 0; }
  .download-box { flex-direction: column; text-align: center; padding: 28px 20px; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-dl { display: flex; }
  body { padding-bottom: 65px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.tag { display: inline-block; background: #eff6ff; color: var(--primary); font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease forwards; }

/* Print */
@media print { .site-header, .sticky-dl, .article-sidebar, .btn-download { display: none !important; } }
