/* ============================================================
   SMM.chat — Services Hub Modern UI v2.0
   Namespaced .smm-services-*
   Platform cards, category grid, skeletons, load-more, responsive.
   ============================================================ */

.smm-services-hub { padding:24px 20px 60px; max-width:1200px; margin:0 auto; }

/* ── Hero ── */
.smm-services-hero { text-align:center; padding:28px 16px 20px; }
.smm-services-hero-title { font-size:1.7rem; font-weight:700; color:#e8ebf7; margin:0 0 8px; }
.smm-services-hero-desc { font-size:0.92rem; color:#8b92b7; max-width:600px; margin:0 auto; }

/* ── Stats Strip ── */
.smm-services-stats { display:flex; justify-content:center; gap:32px; padding:14px 20px; margin-bottom:20px; border-top:1px solid rgba(99,112,165,0.1); border-bottom:1px solid rgba(99,112,165,0.1); flex-wrap:wrap; }
.smm-services-stat { text-align:center; }
.smm-services-stat-value { font-size:1.25rem; font-weight:700; color:#6c5ce7; }
.smm-services-stat-label { font-size:0.72rem; color:#5e6487; text-transform:uppercase; letter-spacing:0.5px; }

/* ── Search ── */
.smm-services-search-bar { display:flex; gap:10px; margin-bottom:22px; flex-wrap:wrap; }
.smm-services-search-input { flex:1; min-width:200px; padding:10px 16px; border-radius:10px; border:1px solid rgba(99,112,165,0.18); background:#111627; color:#e8ebf7; font-size:0.88rem; outline:none; transition:border-color .2s; }
.smm-services-search-input:focus { border-color:#6c5ce7; }
.smm-services-search-input::placeholder { color:#5e6487; }

/* ── Platform Grid ── */
.smm-services-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(255px,1fr)); gap:16px; }

/* ── Platform Card ── */
.smm-services-card { display:block; text-decoration:none!important; background:linear-gradient(135deg,rgba(108,92,231,0.03),rgba(24,30,51,0.5)); border:1px solid rgba(99,112,165,0.1); border-radius:16px; padding:20px; transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; position:relative; overflow:hidden; }
.smm-services-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--platform-accent,#6c5ce7); opacity:0; transition:opacity .22s ease; }
.smm-services-card:hover { transform:translateY(-3px); box-shadow:0 6px 28px rgba(108,92,231,0.13); border-color:rgba(108,92,231,0.28); }
.smm-services-card:hover::before { opacity:1; }
.smm-services-card-header { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.smm-services-card-icon { width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:0.85rem; color:#fff; background:var(--platform-accent,#6c5ce7); flex-shrink:0; }
.smm-services-card-name { font-size:1rem; font-weight:600; color:#e8ebf7; text-transform:capitalize; }
.smm-services-card-badges { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.smm-badge { font-size:0.66rem; font-weight:600; padding:3px 9px; border-radius:20px; letter-spacing:.3px; }
.smm-badge-count { background:rgba(108,92,231,0.1); color:#a29bfe; }
.smm-badge-green { background:rgba(0,206,201,0.1); color:#00cec9; }
.smm-badge-blue { background:rgba(253,121,168,0.1); color:#fd79a8; }
.smm-badge-dim { background:rgba(99,112,165,0.1); color:#5e6487; }
.smm-services-card-price { font-size:0.83rem; color:#8b92b7; margin-bottom:12px; }
.smm-services-card-footer { display:flex; align-items:center; justify-content:space-between; }
.smm-services-card-cta { font-size:0.8rem; font-weight:600; color:#6c5ce7; }

/* Platform accent colors */
.smm-services-card[data-platform="instagram"]{--platform-accent:#E4405F}
.smm-services-card[data-platform="facebook"]{--platform-accent:#1877F2}
.smm-services-card[data-platform="youtube"]{--platform-accent:#FF0000}
.smm-services-card[data-platform="tiktok"]{--platform-accent:#000000}
.smm-services-card[data-platform="twitter"]{--platform-accent:#1DA1F2}
.smm-services-card[data-platform="telegram"]{--platform-accent:#26A5E4}
.smm-services-card[data-platform="spotify"]{--platform-accent:#1DB954}
.smm-services-card[data-platform="twitch"]{--platform-accent:#9146FF}
.smm-services-card[data-platform="discord"]{--platform-accent:#5865F2}
.smm-services-card[data-platform="linkedin"]{--platform-accent:#0A66C2}
.smm-services-card[data-platform="snapchat"]{--platform-accent:#FF5500}
.smm-services-card[data-platform="pinterest"]{--platform-accent:#BD081C}
.smm-services-card[data-platform="reddit"]{--platform-accent:#FF4500}
.smm-services-card[data-platform="whatsapp"]{--platform-accent:#25D366}
.smm-services-card[data-platform="threads"]{--platform-accent:#000}
.smm-services-card[data-platform="soundcloud"]{--platform-accent:#FF5500}

/* ── Empty / Error ── */
.smm-services-empty { text-align:center; padding:48px 20px; color:#5e6487; }
.smm-services-empty-icon { font-size:2.4rem; margin-bottom:12px; opacity:0.4; }
.smm-services-empty-title { font-size:1.05rem; font-weight:600; color:#8b92b7; margin-bottom:6px; }

/* ── Skeleton ── */
.smm-services-skeleton-card { background:rgba(24,30,51,0.5); border:1px solid rgba(99,112,165,0.06); border-radius:16px; padding:20px; animation:smm-shimmer 1.5s ease-in-out infinite; }
.smm-services-skeleton-line { height:11px; border-radius:6px; background:rgba(99,112,165,0.09); margin-bottom:10px; }
.smm-services-skeleton-line:first-child{width:60%;height:15px}
.smm-services-skeleton-line:nth-child(2){width:40%}
.smm-services-skeleton-line:nth-child(3){width:75%}
.smm-services-skeleton-line:last-child{width:50%;margin-bottom:0}
@keyframes smm-shimmer{0%{opacity:.4}50%{opacity:.75}100%{opacity:.4}}

/* ── Category Page ── */
.smm-services-category { padding:20px 20px 60px; max-width:1200px; margin:0 auto; }
.smm-services-back { display:inline-flex; align-items:center; gap:5px; font-size:0.83rem; color:#8b92b7; text-decoration:none!important; margin-bottom:10px; transition:color .2s; }
.smm-services-back:hover{color:#6c5ce7}
.smm-services-breadcrumb { font-size:0.78rem; color:#5e6487; margin-bottom:14px; }
.smm-services-breadcrumb a{color:#8b92b7;text-decoration:none!important}
.smm-services-breadcrumb a:hover{color:#6c5ce7}
.smm-services-cat-header { margin-bottom:20px; }
.smm-services-cat-title { font-size:1.45rem; font-weight:700; color:#e8ebf7; margin:0 0 6px; }
.smm-services-cat-desc { font-size:0.88rem; color:#8b92b7; }

/* Toolbar */
.smm-services-toolbar { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:18px; padding:10px 14px; background:rgba(24,30,51,0.4); border-radius:12px; border:1px solid rgba(99,112,165,0.08); }
.smm-services-toolbar-search { flex:1; min-width:170px; padding:8px 12px; border-radius:8px; border:1px solid rgba(99,112,165,0.14); background:#0a0e1a; color:#e8ebf7; font-size:0.83rem; outline:none; }
.smm-services-toolbar-search:focus{border-color:#6c5ce7}
.smm-services-toolbar-search::placeholder{color:#5e6487}
.smm-services-toolbar-count { font-size:0.78rem; color:#5e6487; white-space:nowrap; }

/* Category Service Grid */
.smm-services-cat-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(275px,1fr)); gap:13px; margin-bottom:22px; }

/* Service Item Card */
.smm-services-item { background:rgba(24,30,51,0.45); border:1px solid rgba(99,112,165,0.09); border-radius:14px; padding:16px; transition:border-color .2s,transform .2s; }
.smm-services-item:hover { border-color:rgba(108,92,231,0.22); transform:translateY(-2px); }
.smm-services-item-title { font-size:0.87rem; font-weight:600; color:#e8ebf7; margin-bottom:9px; line-height:1.32; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.smm-services-item-badges { display:flex; gap:5px; flex-wrap:wrap; margin-bottom:8px; }
.smm-services-item-specs { display:flex; gap:12px; font-size:0.76rem; color:#8b92b7; margin-bottom:8px; }
.smm-services-item-specs strong{color:#e8ebf7;font-weight:600}
.smm-services-item-price { font-size:0.92rem; font-weight:700; color:#00cec9; margin-bottom:10px; }
.smm-services-item-actions { display:flex; gap:7px; }
.smm-btn-primary { display:inline-flex; align-items:center; justify-content:center; padding:8px 15px; border-radius:8px; background:#6c5ce7; color:#fff; font-size:0.78rem; font-weight:600; text-decoration:none!important; border:none; cursor:pointer; transition:background .2s,transform .15s; }
.smm-btn-primary:hover{background:#5a4bd1;transform:scale(1.03)}
.smm-btn-secondary { display:inline-flex; align-items:center; justify-content:center; padding:8px 15px; border-radius:8px; background:transparent; color:#8b92b7; font-size:0.78rem; font-weight:600; text-decoration:none!important; border:1px solid rgba(99,112,165,0.18); cursor:pointer; transition:color .2s,border-color .2s; }
.smm-btn-secondary:hover{color:#e8ebf7;border-color:rgba(108,92,231,0.35)}

/* Load More */
.smm-services-load-more { text-align:center; padding:16px; }
.smm-services-load-more-btn { padding:12px 32px; border-radius:10px; background:rgba(108,92,231,0.08); border:1px solid rgba(108,92,231,0.18); color:#a29bfe; font-size:0.88rem; font-weight:600; cursor:pointer; transition:background .2s,border-color .2s; }
.smm-services-load-more-btn:hover{background:rgba(108,92,231,0.18);border-color:rgba(108,92,231,0.3);color:#e8ebf7}
.smm-services-load-more-btn:disabled{opacity:.5;cursor:not-allowed}

/* Page number pagination */
.smm-services-pagination { display:flex; justify-content:center; gap:6px; margin-top:20px; }
.smm-pagination-link,.smm-pagination-current { padding:6px 12px; border-radius:7px; font-size:0.8rem; text-decoration:none; }
.smm-pagination-link{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.06);color:#e8ebf7}
.smm-pagination-link:hover{background:rgba(255,255,255,0.1)}
.smm-pagination-current{background:#6c5ce7;color:#fff}

/* Responsive */
@media(max-width:768px){
 .smm-services-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
 .smm-services-cat-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
 .smm-services-hero-title{font-size:1.35rem}
 .smm-services-stats{gap:16px}
}
@media(max-width:480px){
 .smm-services-grid{grid-template-columns:1fr}
 .smm-services-cat-grid{grid-template-columns:1fr}
 .smm-services-hub,.smm-services-category{padding:12px 10px 36px}
 .smm-services-toolbar{flex-direction:column;gap:8px}
}

