/* =====================================================
   Real Cash Rummy India 2026 - Main Stylesheet
   Dark Esports Theme + Multi-template UI Components
   ===================================================== */

:root {
  /* Core palette - dark esports */
  --bg-primary: #0a0e17;
  --bg-secondary: #121826;
  --bg-card: #1a2235;
  --bg-elevated: #232d42;
  --bg-hover: #2a3650;
  
  --accent-gold: #f5c518;
  --accent-gold-dim: #c9a012;
  --accent-orange: #ff6b35;
  --accent-green: #00d26a;
  --accent-red: #ff3b5c;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  
  --text-primary: #f0f4f8;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --text-inverse: #0a0e17;
  
  --border-color: #2d3748;
  --border-gold: rgba(245, 197, 24, 0.4);
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 20px rgba(245, 197, 24, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  
  --transition: 0.2s ease;
  --max-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--accent-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-orange); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select { font-family: inherit; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }

/* ========== HEADER ========== */
.site-header {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--accent-gold); }
.logo-badge {
  background: var(--accent-gold);
  color: var(--text-inverse);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Search */
.search-wrap {
  flex: 1;
  max-width: 420px;
  position: relative;
}
.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 10px 16px 10px 42px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
}
.search-input::placeholder { color: var(--text-muted); }
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ========== HERO ========== */
.hero {
  padding: 40px 0 32px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 197, 24, 0.08) 0%, transparent 60%);
}
.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}
.hero h1 .highlight { color: var(--accent-gold); }
.hero-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 24px;
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.tag:hover, .tag.active {
  background: var(--accent-gold);
  color: var(--text-inverse);
  border-color: var(--accent-gold);
  font-weight: 600;
}

/* ========== TOP 3 PODIUM ========== */
.podium-section {
  padding: 24px 0 40px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--accent-gold);
  border-radius: 2px;
}
.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) {
  .podium-grid { grid-template-columns: 1fr; }
}
.podium-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  text-align: center;
  border: 2px solid transparent;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.podium-card:hover {
  transform: translateY(-4px);
}
.podium-card.rank-1 {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(165deg, #1f2a1a 0%, var(--bg-card) 50%);
}
.podium-card.rank-2 {
  border-color: #c0c0c0;
  box-shadow: 0 0 16px rgba(192, 192, 192, 0.2);
}
.podium-card.rank-3 {
  border-color: #cd7f32;
  box-shadow: 0 0 16px rgba(205, 127, 50, 0.2);
}
.podium-crown {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.podium-rank {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.rank-1 .podium-rank { background: var(--accent-gold); color: var(--text-inverse); }
.rank-2 .podium-rank { background: #c0c0c0; color: #333; }
.rank-3 .podium-rank { background: #cd7f32; color: #fff; }
.podium-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  margin: 0 auto 12px;
  object-fit: cover;
  border: 2px solid var(--border-color);
}
.podium-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.podium-bonus {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.podium-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: var(--text-inverse);
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: scale(1.03);
  color: var(--text-inverse);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
}
.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--text-inverse);
}
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ========== VIEW SWITCHER ========== */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 0;
}
.view-switcher {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.view-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.view-btn.active {
  background: var(--accent-gold);
  color: var(--text-inverse);
  font-weight: 600;
}
.result-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== APP GRID / LIST ========== */
.apps-section { padding: 0 0 48px; }
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.app-grid.list-view {
  grid-template-columns: 1fr;
}
.app-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 16px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.list-view .app-card {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.list-view .app-card-body { flex: 1; }
.list-view .app-card-actions { margin-left: auto; flex-shrink: 0; }
.app-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.app-info { flex: 1; min-width: 0; }
.app-name {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-bonus {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.95rem;
}
.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.app-meta span { display: flex; align-items: center; gap: 4px; }
.app-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.badge-new { background: var(--accent-purple); color: #fff; }
.badge-hot { background: var(--accent-red); color: #fff; }
.badge-safe { background: var(--accent-green); color: #fff; }

/* ========== WARNING BANNER ========== */
.warning-banner {
  background: linear-gradient(135deg, #3d1a1a 0%, #2a1515 100%);
  border: 2px solid var(--accent-red);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.warning-banner.yellow {
  background: linear-gradient(135deg, #3d3210 0%, #2a2410 100%);
  border-color: var(--accent-gold);
}
.warning-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.warning-content h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--accent-red);
}
.warning-banner.yellow .warning-content h3 { color: var(--accent-gold); }
.warning-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

/* ========== WITHDRAWAL LOG ========== */
.withdrawal-log {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0;
  font-family: var(--font-mono);
}
.log-header {
  background: #161b22;
  padding: 10px 16px;
  border-bottom: 1px solid #30363d;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #8b949e;
}
.log-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3fb950;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.log-body { padding: 12px 16px; max-height: 280px; overflow-y: auto; }
.log-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 8px 0;
  border-bottom: 1px solid #21262d;
  font-size: 0.8rem;
  color: #c9d1d9;
}
.log-entry:last-child { border-bottom: none; }
.log-time { color: #8b949e; min-width: 70px; }
.log-amount { color: #3fb950; font-weight: 600; }
.log-status { color: #58a6ff; }
.log-txn { color: #8b949e; font-size: 0.75rem; }

/* ========== COMPARISON MATRIX ========== */
.compare-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}
.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.compare-table th {
  background: var(--bg-elevated);
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg-hover); }
.compare-table .highlight-cell {
  color: var(--accent-green);
  font-weight: 600;
}
.compare-table .winner {
  background: rgba(0, 210, 106, 0.08);
}

/* ========== DETAIL PAGE ========== */
.detail-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
}
.detail-hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.detail-logo {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid var(--border-gold);
  box-shadow: var(--shadow-gold);
}
.detail-info { flex: 1; min-width: 200px; }
.detail-info h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 12px 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value { font-weight: 700; font-size: 1.1rem; color: var(--accent-gold); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}
.specs-table th,
.specs-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  text-align: left;
}
.specs-table th {
  background: var(--bg-elevated);
  width: 40%;
  color: var(--text-secondary);
  font-weight: 600;
}
.specs-table td { background: var(--bg-card); }

/* Content sections */
.content-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-color);
}
.content-section:last-of-type { border-bottom: none; }
.content-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.content-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--accent-gold);
}
.content-section p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}
.content-section ul, .content-section ol {
  margin: 12px 0 16px 20px;
  color: var(--text-secondary);
}
.content-section li {
  margin-bottom: 8px;
  list-style: disc;
  line-height: 1.6;
}
.content-section ol li { list-style: decimal; }

/* Pros Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-box, .cons-box {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
}
.pros-box { border-left: 4px solid var(--accent-green); }
.cons-box { border-left: 4px solid var(--accent-red); }
.pros-box h4 { color: var(--accent-green); margin-bottom: 10px; }
.cons-box h4 { color: var(--accent-red); margin-bottom: 10px; }
.pros-box li, .cons-box li { list-style: none; margin-bottom: 6px; font-size: 0.9rem; }
.pros-box li::before { content: '✓ '; color: var(--accent-green); font-weight: 700; }
.cons-box li::before { content: '✗ '; color: var(--accent-red); font-weight: 700; }

/* Accordion FAQ */
.accordion { margin: 16px 0; }
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--bg-hover); }
.accordion-header .icon { transition: transform var(--transition); font-size: 0.8rem; }
.accordion-item.open .accordion-header .icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.open .accordion-body { max-height: 500px; }
.accordion-content {
  padding: 0 16px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Guide longform */
.guide-section {
  padding: 48px 0;
  background: var(--bg-secondary);
}
.guide-content {
  max-width: 800px;
  margin: 0 auto;
}
.guide-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.guide-content h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--accent-gold);
}
.guide-content p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.75;
}
.guide-content ul, .guide-content ol {
  margin: 12px 0 16px 24px;
  color: var(--text-secondary);
}
.guide-content li { margin-bottom: 8px; list-style: disc; }
.guide-content ol li { list-style: decimal; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 24px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--accent-gold);
}
.footer-col p, .footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.footer-col a:hover { color: var(--accent-gold); }
.footer-disclaimer {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}
.trust-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ========== GO / REDIRECT PAGE ========== */
.redirect-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(ellipse at center, rgba(245, 197, 24, 0.06) 0%, transparent 70%);
}
.redirect-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.redirect-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  object-fit: cover;
  border: 2px solid var(--border-gold);
}
.redirect-card h1 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.redirect-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.countdown-wrap {
  margin: 24px 0;
}
.countdown-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}
.countdown-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.security-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}
.sec-badge {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sec-badge .icon-check { color: var(--accent-green); }
.progress-bar {
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
  margin: 16px 0;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
  width: 0%;
  transition: width 1s linear;
}

/* ========== STATE LEGAL TABLE ========== */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 16px 0;
}
.legal-table th, .legal-table td {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  text-align: left;
}
.legal-table th { background: var(--bg-elevated); color: var(--accent-gold); }
.legal-allowed { color: var(--accent-green); font-weight: 600; }
.legal-banned { color: var(--accent-red); font-weight: 600; }
.legal-restricted { color: var(--accent-gold); font-weight: 600; }

/* ========== UTILITIES ========== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-gold { color: var(--accent-gold); }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Breadcrumb */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-gold); }
.breadcrumb span { margin: 0 6px; }

/* Responsive */
@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; }
  .search-wrap { order: 3; max-width: 100%; width: 100%; }
  .detail-hero-inner { flex-direction: column; text-align: center; }
  .detail-actions { justify-content: center; }
  .app-card-actions { flex-direction: column; }
  .list-view .app-card { flex-direction: column; align-items: flex-start; }
  .list-view .app-card-actions { margin-left: 0; width: 100%; }
}

/* ===== Homepage 2026 enhancements ===== */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
}
.main-nav a {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--accent-gold); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.hb {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.hb.age {
  background: rgba(255, 59, 92, 0.15);
  color: #ff8fa3;
  border: 1px solid rgba(255, 59, 92, 0.35);
}
.hb.verified {
  background: rgba(0, 210, 106, 0.12);
  color: #00d26a;
  border: 1px solid rgba(0, 210, 106, 0.35);
}
.hb.updated {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}
.hero-kicker {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pay-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 18px;
}
.pay-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.podium-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0 14px;
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 8px 6px;
}
.podium-kpi .k {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.podium-kpi .v {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-gold);
}
.featured-pick {
  transform: scale(1.02);
  z-index: 1;
}
.pick-ribbon {
  position: absolute;
  top: 12px;
  right: -6px;
  background: linear-gradient(135deg, #00d26a, #00a855);
  color: #04140c;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px 0 0 4px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(0,210,106,0.35);
}
.btn-download {
  background: linear-gradient(135deg, #00d26a, #00b359);
  color: #04140c;
  font-weight: 800;
  border: none;
}
.btn-download:hover {
  filter: brightness(1.08);
  color: #04140c;
}
.app-card-actions .btn-primary {
  background: linear-gradient(135deg, #00d26a, #00b359);
  color: #04140c;
  font-weight: 700;
}
.app-card-actions .btn-outline {
  opacity: 0.95;
}
.faq-home {
  padding: 40px 0 24px;
  background: var(--bg-secondary);
  border-bottom: none;
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-bottom: 4px;
    gap: 8px 14px;
  }
  .search-wrap { order: 2; max-width: 100%; flex: 1 1 100%; }
  .featured-pick { transform: none; }
  .app-card-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8px;
  }
  .app-card-actions .btn {
    min-height: 44px;
  }
}

/* Blog */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  padding: 24px 0 48px;
}
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
}
.blog-hero-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .blog-hero-card { grid-template-columns: 1fr; }
}
.blog-hero-media {
  min-height: 180px;
  background: linear-gradient(135deg, #1a2235, #0f1a14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.blog-hero-body { padding: 20px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--border-gold); }
.blog-card h3 { font-size: 1rem; margin: 8px 0; }
.blog-card p { font-size: 0.85rem; color: var(--text-secondary); }
.blog-meta { font-size: 0.75rem; color: var(--text-muted); }
.blog-sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  position: sticky;
  top: 72px;
}
.blog-sidebar-widget h3 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--accent-gold);
}
.post-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.post-article h1 {
  color: var(--text-primary);
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
.post-article h2 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin: 28px 0 10px;
}
.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 16px 0 24px;
}
.toc-box summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-primary);
}
.toc-box ol { margin: 10px 0 0 18px; }
.toc-box li { margin: 4px 0; list-style: decimal; }
.in-content-app {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 20px 0;
}
.in-content-app img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--bg-elevated);
}
.related-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.blog-teaser-section {
  padding: 40px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}
.category-hero {
  padding: 28px 0 8px;
  text-align: left;
}
.category-hero h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; }
.category-hero p { color: var(--text-secondary); max-width: 640px; }
