/**
 * Theme: Bento Modern Grid
 * Radically Distinct Structural Layout & Design Language
 */

:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: #6366f140;
  --brand-color: #6366f1;
  
  --bg-body: #f5f7ff;
  --bg-card: #ffffff;
  --bg-subbar: #ffffff;
  --bg-hover: #6366f115;
  --bg-input: #ffffff;
  --bg-footer: #ffffff;
  
  --text-main: #1e1b4b;
  --text-secondary: #4338ca;
  --text-muted: #94a3b8;
  --text-footer: #4338ca;
  --text-footer-link: #6366f1;
  
  --border-color: #e0e7ff;
  
  --hero-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --btn-download-bg: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --btn-download-hover: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  
  --btn-playstore-bg: #ffffff;
  --btn-playstore-border: #e0e7ff;
  --btn-playstore-color: #1e1b4b;
  --btn-playstore-hover: #6366f1;
}


/* Layout Style: Asymmetrical Bento Box Grid */
.apps-grid, .apps-grid-6 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.25rem !important;
  justify-items: stretch !important;
}
@media (max-width: 1024px) {
  .apps-grid, .apps-grid-6 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
  .apps-grid, .apps-grid-6 { grid-template-columns: 1fr !important; }
}
.app-card {
  border-radius: 26px !important;
  background: #ffffff !important;
  border: 1.5px solid #e0e7ff !important;
  box-shadow: 0 4px 20px -2px rgba(99, 102, 241, 0.08) !important;
  padding: 1.25rem 0.85rem !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
.app-card:nth-child(1), .app-card:nth-child(7) {
  grid-column: span 2 !important;
  display: flex !important;
  flex-direction: row !important;
  text-align: left !important;
  align-items: center !important;
  gap: 1.25rem !important;
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%) !important;
  border: 2px solid #6366f1 !important;
  box-shadow: 0 8px 24px -2px rgba(99, 102, 241, 0.16) !important;
}
.app-card:nth-child(1) .app-card-thumb-wrap, .app-card:nth-child(7) .app-card-thumb-wrap {
  width: 80px !important;
  height: 80px !important;
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
}
.app-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 28px -4px rgba(99, 102, 241, 0.22) !important;
  border-color: #6366f1 !important;
}
.section-box {
  border-radius: 28px !important;
  border: 1.5px solid #e0e7ff !important;
}
.btn, .cat-pill {
  border-radius: 999px !important;
}

