/* =========================================================
   APKAPPS — Production styles (site.v3.css)
   Design system: light by default, Android-green accents,
   soft depth, clean typography, consistent grids.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root{
  /* Light (default) */
  --bg: #f7fafc;              /* page background */
  --panel: #ffffff;           /* panels/cards/header */
  --card: #ffffff;            /* card face */
  --text: #0f172a;            /* body text (slate-900) */
  --muted: #475569;           /* secondary text */
  --line: rgba(15,23,42,.08); /* borders */
  --shadow: 0 10px 28px rgba(2, 8, 23, .08);

  /* Brand + accents */
  --android: #3ddc84;         /* Android green */
  --android-ink: #062d12;     /* readable on green */
  --link: var(--android);     /* link color */
  --ok: #16a34a;
  --warn: #f59e0b;
  --bad: #ef4444;

  /* Radii & spacing */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;

  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;

  /* Typography */
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  --h1: 28px;
  --h2: 22px;
  --h3: 18px;
  --body: 15px;

  /* Icon size */
  --icon: 56px;
}

/* Dark theme tokens */
[data-theme="dark"]{
  --bg: #0f172a;              /* slate-900 */
  --panel: #111827;           /* gray-900 */
  --card: #0b1220;            /* deeper panel */
  --text: #e5e7eb;            /* gray-200 */
  --muted: #94a3b8;           /* slate-400 */
  --line: rgba(255,255,255,.08);
  --shadow: 0 16px 36px rgba(0,0,0,.36);
  --android: #3ddc84;
  --android-ink: #041f0c;
}

/* ---------- CSS reset-ish ---------- */
*{ box-sizing: border-box; }
html, body{ height:100%; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--text);
  font: 400 var(--body)/1.5 var(--font);
}

/* Links */
a{ color: var(--link); text-decoration: none; }
a:hover{ text-decoration: underline; }

/* Utilities */
.mute{ color: var(--muted); }
.hr{ height:1px; background: var(--line); margin: var(--space-4) 0; border:0; }
.shadow{ box-shadow: var(--shadow); }
.round{ border-radius: var(--r-md); }
.badge{
  display:inline-flex; align-items:center; gap:6px;
  height: 24px; padding: 0 10px;
  border-radius:999px; font-weight:700; font-size:12px;
  color: var(--text); background: rgba(0,0,0,.05);
  border:1px solid var(--line);
}
[data-theme="dark"] .badge{ background: rgba(255,255,255,.06); }

/* ---------- Layout ---------- */
.shell{ max-width: 1100px; margin: 0 auto; padding: 0 var(--space-4); }

.site-header{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(150%) blur(8px);
  background: linear-gradient(to bottom, rgba(0,0,0,.06), transparent);
  border-bottom: 1px solid var(--line);
}
.site-header .row{
  display:flex; align-items:center; gap: var(--space-4);
  height: 64px;
}

.brand{
  font-weight: 900; letter-spacing:.2px;
  color: var(--text); text-decoration:none;
}

.nav{ margin-left:auto; display:flex; gap: var(--space-3); }
.nav a{
  color: var(--muted); padding: 8px 10px; border-radius: var(--r-sm);
}
.nav a:hover{ color: var(--text); background: rgba(0,0,0,.04); }
[data-theme="dark"] .nav a:hover{ background: rgba(255,255,255,.06); }

.theme-toggle{
  border:1px solid var(--line); background: var(--panel);
  color: var(--text); border-radius: var(--r-sm);
  padding: 8px 10px; cursor: pointer;
  box-shadow: var(--shadow);
}

main{ padding: var(--space-4) 0 var(--space-5); }
.page-title{ font-size: var(--h1); font-weight: 800; margin: 6px 0 var(--space-3); }

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  padding: var(--space-4) 0 var(--space-5);
  color: var(--muted);
}
.site-footer a{ color: var(--link); }

/* ---------- Grid system ---------- */
.grid{ display:grid; gap: var(--space-3); }
.grid-cards{ grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-list{ grid-template-columns: 1fr; gap: var(--space-3); }

.two-col{ display:grid; grid-template-columns: minmax(0,1fr) 320px; gap: var(--space-4); }
@media (max-width: 1040px){
  .two-col{ grid-template-columns: 1fr; }
}

/* ---------- Card primitives ---------- */
.card{
  background: linear-gradient(180deg, var(--panel), var(--card));
  border:1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: var(--space-3);
}

/* Mini list card (home/library list row) */
.app-mini{
  display:grid; grid-template-columns: var(--icon) 1fr auto;
  align-items:center; gap: var(--space-3);
  padding: var(--space-3);
  background: linear-gradient(180deg, var(--panel), var(--card));
  border:1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  text-decoration:none; color: var(--text);
}
.app-mini:hover{ filter: brightness(0.99); text-decoration:none; }
.app-mini .icon{
  width: var(--icon); height: var(--icon);
  border-radius: 14px; object-fit: cover;
  border:1px solid var(--line); background: rgba(0,0,0,.05);
}
.app-mini .title{
  font-weight: 800; line-height:1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.app-mini .sub{ color: var(--muted); font-size: 13px; margin-top: 2px; }
.app-mini .rating{ color: var(--ok); font-weight: 700; font-size: 14px; }
.app-mini .cta{ color: var(--link); font-weight: 800; }

/* Category card (on /categories) */
.cat-card .cat-head{
  display:flex; align-items:center; justify-content:space-between; margin-bottom: var(--space-2);
}
.cat-card .cat-name{ font-weight: 900; color: var(--text); }
.cat-card .sample{
  display:flex; gap: var(--space-3); align-items:center;
  padding-top: var(--space-2); border-top:1px dashed var(--line);
  color: var(--text); text-decoration:none;
}
.cat-card .sample .icon{
  width: var(--icon); height: var(--icon); border-radius: 12px; object-fit: cover;
  border:1px solid var(--line); background: rgba(0,0,0,.05);
}
.cat-card .sample .title{
  font-weight: 800; line-height:1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-card .sample .rating{ color: var(--ok); font-weight:700; font-size: 14px; margin-top: 2px; }
.cat-card .sample .cta{ color: var(--link); font-weight: 800; margin-top: 4px; }

/* App tile card grid (if you use grid-cards for apps) */
.app-card{
  display:flex; gap: var(--space-3); align-items:flex-start;
  padding: var(--space-3);
}
.app-card .icon{
  width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
  border:1px solid var(--line); background: rgba(0,0,0,.05);
}
.app-card .title{
  font-size: var(--h3); font-weight: 900; line-height:1.2; margin-bottom: 2px;
}
.app-card .meta{ color: var(--muted); font-size: 13px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 10px 14px; border-radius: 12px; font-weight: 800;
  border:1px solid var(--line); background: var(--panel); color: var(--text);
  box-shadow: var(--shadow); cursor: pointer; text-decoration:none;
}
.btn:hover{ filter: brightness(0.98); text-decoration:none; }
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--android); border-color: transparent; color: var(--android-ink);
}
.btn-secondary{
  background: linear-gradient(180deg, var(--panel), var(--card));
}
.btn-ghost{
  background: transparent; border-color: var(--line); color: var(--text);
}

/* Button group (e.g., on details page) */
.btn-row{ display:flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Forms / search ---------- */
.input{
  width:100%; padding: 10px 12px; border-radius: 12px;
  border:1px solid var(--line); background: var(--panel); color: var(--text);
  box-shadow: inset 0 1px 0 rgba(0,0,0,.04);
}
.input:focus{ outline: 2px solid rgba(61,220,132,.35); }

/* ---------- Key/Value lists for details ---------- */
.kv{ display:grid; grid-template-columns: 160px 1fr; gap: 10px; margin-top: 12px; }
.kv .k{ color: var(--muted); }
.kv .v{ color: var(--text); word-break: break-word; }
@media (max-width: 640px){
  .kv{ grid-template-columns: 1fr; }
}

/* Permissions list */
.permissions{
  display:flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.pill{
  display:inline-flex; align-items:center; gap:6px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(0,0,0,.05); border:1px solid var(--line);
  font-size: 12px; color: var(--text);
}
[data-theme="dark"] .pill{ background: rgba(255,255,255,.06); }

/* ---------- Ads placeholders ---------- */
.ad-slot{
  display:grid; place-items:center; min-height: 90px;
  background: rgba(0,0,0,.04); border:1px dashed var(--line);
 /*border-radius: var(--r-md); color: var(--muted);*/
margin:20px;
padding:10px;
}
[data-theme="dark"] .ad-slot{ background: rgba(255,255,255,.04); }
.ad-leaderboard{ min-height: 90px; }
.ad-rectangle{ min-height: 250px; }
.ad-inline{ min-height: 120px; }

/* ---------- Hero/detail header ---------- */
.hero{
  display:flex; gap: var(--space-4); align-items:center;
  padding: var(--space-4); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel), var(--card));
  border:1px solid var(--line); box-shadow: var(--shadow);
}
.hero .icon{
  width: 84px; height: 84px; border-radius: 18px; object-fit: cover;
  border:1px solid var(--line); background: rgba(0,0,0,.05);
}
.hero .title{ font-size: 30px; font-weight: 900; margin: 0; line-height: 1.1; }
.hero .sub{ color: var(--muted); margin-top: 4px; }

/* ---------- Tables (if any) ---------- */
.table{
  width:100%; border-collapse: collapse; overflow:hidden; border-radius: var(--r-md);
  background: var(--panel); box-shadow: var(--shadow);
  border:1px solid var(--line);
}
.table th, .table td{ padding: 12px 14px; border-top:1px solid var(--line); }
.table th{ text-align:left; background: rgba(0,0,0,.03); font-weight:800; }

/* ---------- Fixes / safety overrides ---------- */
/* Prevent any stray rule from re-forcing a right rail layout */
main.shell, main .shell{ display:block !important; }
/* Ensure .grid never becomes a 2-col layout accidentally */
.grid{ grid-template-columns: initial !important; }
/* Our card grid always wins */
.grid-cards{ grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; }

/* Header search tweaks */
.nav-search{ width: 320px; margin-left: 10px; }
.nav-search .input{ height: 36px; font-size: 14px; }
@media (max-width: 900px){
  .nav-search{ display:none; } /* collapse search on small screens */
}

/* ========== HOME PAGE SPECIFIC STYLES ========== */

/* Hero Home */
.hero-home{
  background: linear-gradient(135deg, var(--panel) 0%, var(--card) 100%);
  border:1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
  overflow: hidden;
}

.hero-content{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
}

@media (min-width: 900px){
  .hero-content{
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--android);
  color: var(--android-ink);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.hero-title{
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 var(--space-3) 0;
  letter-spacing: -0.02em;
}

@media (max-width: 768px){
  .hero-title{ font-size: 32px; }
}

.hero-description{
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 var(--space-4) 0;
  max-width: 540px;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-lg{
  padding: 14px 24px;
  font-size: 16px;
}

/* Hero Visual Showcase */
.hero-app-showcase{
  position: relative;
  height: 280px;
  display: none;
}

@media (min-width: 900px){
  .hero-app-showcase{ display: block; }
}

.showcase-item{
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
  border: 3px solid var(--panel);
  overflow: hidden;
  background: var(--card);
}

.showcase-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-1{
  top: 0;
  right: 120px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.showcase-2{
  top: 60px;
  right: 20px;
  z-index: 2;
  width: 120px;
  height: 120px;
  animation: float 6s ease-in-out infinite 1s;
}

.showcase-3{
  top: 140px;
  right: 160px;
  z-index: 1;
  width: 100px;
  height: 100px;
  animation: float 6s ease-in-out infinite 2s;
}

@keyframes float{
  0%, 100%{ transform: translateY(0px); }
  50%{ transform: translateY(-20px); }
}

/* Stats Bar */
.stats-bar{
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: var(--space-4);
  background: rgba(0,0,0,.02);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

[data-theme="dark"] .stats-bar{
  background: rgba(255,255,255,.03);
}

.stat-item{
  text-align: center;
}

.stat-value{
  font-size: 24px;
  font-weight: 900;
  color: var(--android);
  line-height: 1;
}

.stat-label{
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stat-divider{
  width: 1px;
  height: 32px;
  background: var(--line);
}

@media (max-width: 640px){
  .stats-bar{ flex-wrap: wrap; gap: var(--space-3); }
  .stat-divider{ display: none; }
}

/* Home Sections */
.home-section{
  margin-bottom: var(--space-5);
}

.section-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.section-title{
  font-size: 24px;
  font-weight: 900;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title.centered{
  text-align: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.title-icon{
  font-size: 24px;
}

.section-subtitle{
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 0 0;
}

.section-link{
  color: var(--android);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

.section-link-sm{
  color: var(--android);
  font-weight: 700;
  font-size: 14px;
}

/* Categories Grid */
.categories-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
}

.category-tile{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: linear-gradient(180deg, var(--panel), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.category-tile:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  text-decoration: none;
}

.category-icon{
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.category-name{
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
}

.category-count{
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* Dual Section Layout */
.dual-section{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

@media (min-width: 900px){
  .dual-section{
    grid-template-columns: 1fr 1fr;
  }
}

/* Compact App List */
.app-compact-list{
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.app-compact{
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  background: linear-gradient(180deg, var(--panel), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.app-compact:hover{
  transform: translateX(4px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.app-compact-icon{
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.05);
  flex-shrink: 0;
}

.app-compact-info{
  flex: 1;
  min-width: 0;
}

.app-compact-title{
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-compact-meta{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rating-sm{
  color: var(--ok);
  font-weight: 700;
}

.sep{
  color: var(--line);
}

.rank-badge{
  width: 28px;
  height: 28px;
  background: var(--android);
  color: var(--android-ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.badge-new{
  background: var(--ok);
  color: white;
  font-size: 10px;
  padding: 4px 8px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* Features Grid */
.features-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.feature-card{
  padding: var(--space-4);
  background: linear-gradient(180deg, var(--panel), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: var(--shadow);
}

.feature-icon{
  font-size: 48px;
  margin-bottom: var(--space-3);
}

.feature-title{
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 var(--space-2) 0;
}

.feature-text{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Empty States */
.empty-state{
  text-align: center;
  padding: var(--space-5);
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}

.empty-icon{
  font-size: 48px;
  margin-bottom: var(--space-2);
  opacity: 0.5;
}

.empty-text{
  color: var(--muted);
  font-size: 15px;
}

.empty-state-sm{
  text-align: center;
  padding: var(--space-4);
  color: var(--muted);
  font-size: 14px;
}

/* Enhanced app-mini for home */
.app-mini-info{
  flex: 1;
  min-width: 0;
}

.app-mini .cta{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--android);
  color: var(--android-ink);
  flex-shrink: 0;
}

.app-mini .cta svg{
  flex-shrink: 0;
}



/* ========== UPDATED HOME PAGE STYLES ========== */

/* Hero Illustration */
.hero-illustration{
  position: relative;
  height: 280px;
  display: none;
}

@media (min-width: 900px){
  .hero-illustration{ display: block; }
}

.android-graphic{
  width: 200px;
  height: 240px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 16px rgba(61, 220, 132, 0.2));
}

/* Floating Elements */
.float-element{
  position: absolute;
  animation: gentle-float 4s ease-in-out infinite;
}

.float-1{
  top: 20px;
  right: 40px;
  animation-delay: 0s;
}

.float-2{
  bottom: 60px;
  right: 120px;
  animation-delay: 1.5s;
}

.float-3{
  top: 140px;
  right: 20px;
  animation-delay: 3s;
}

@keyframes gentle-float{
  0%, 100%{ transform: translateY(0px) rotate(0deg); }
  50%{ transform: translateY(-15px) rotate(5deg); }
}

/* Placeholder Icons */
.placeholder-icon{
  width: var(--icon);
  height: var(--icon);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--android) 0%, var(--ok) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--android-ink);
  opacity: 0.9;
}

.placeholder-icon-sm{
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--android) 0%, var(--ok) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--android-ink);
  opacity: 0.9;
  flex-shrink: 0;
}

/* Category Icon Placeholders */
.category-icon-placeholder{
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--android) 0%, var(--ok) 100%);
  color: white;
}

[data-category="game"] .category-icon-placeholder{
  background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
}

[data-category="social"] .category-icon-placeholder{
  background: linear-gradient(135deg, #4ECDC4 0%, #44A8A0 100%);
}

[data-category="tools"] .category-icon-placeholder{
  background: linear-gradient(135deg, #95E1D3 0%, #7BC9BB 100%);
}

[data-category="entertainment"] .category-icon-placeholder{
  background: linear-gradient(135deg, #F38181 0%, #E66767 100%);
}

[data-category="productivity"] .category-icon-placeholder{
  background: linear-gradient(135deg, #AA96DA 0%, #9580C4 100%);
}

[data-category="education"] .category-icon-placeholder{
  background: linear-gradient(135deg, #FCBAD3 0%, #F5A4C7 100%);
}

/* Google AdSense Placeholder Styling */
.adsense-placeholder{
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--card) 0%, var(--panel) 100%);
}

.ad-label{
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.6;
  font-weight: 700;
}

/* AdSense responsive styling */
.adsbygoogle{
  display: block;
  width: 100%;
  min-height: inherit;
  background: transparent;
}

/* Ad slot specific heights */
.ad-leaderboard .adsense-placeholder{
  min-height: 90px;
}

.ad-rectangle .adsense-placeholder{
  min-height: 250px;
}

.ad-inline .adsense-placeholder{
  min-height: 120px;
}

@media (max-width: 768px){
  .ad-leaderboard .adsense-placeholder{
    min-height: 50px;
  }
  
  .ad-rectangle .adsense-placeholder{
    min-height: 250px;
  }
}

/* Feature Icons SVG styling */
.feature-icon svg{
  filter: drop-shadow(0 4px 8px rgba(61, 220, 132, 0.2));
}

/* Enhanced empty state */
.empty-state{
  background: linear-gradient(135deg, var(--panel) 0%, var(--card) 100%);
}

/* Improved app-mini for missing icons */
.app-mini .icon{
  background: linear-gradient(135deg, var(--panel) 0%, var(--card) 100%);
}

/* Dark mode adjustments for placeholders */
[data-theme="dark"] .placeholder-icon,
[data-theme="dark"] .placeholder-icon-sm{
  opacity: 0.8;
}

[data-theme="dark"] .adsense-placeholder{
  background: linear-gradient(135deg, var(--panel) 0%, var(--card) 100%);
}


