/*
Theme Name: SuperPlay By Seboy
Theme URI: https://kopalajams.net
Author: Seboy
Description: A premium mobile-first music, entertainment, and media WordPress theme designed by Seboy.
Version: 1.0.0
Text Domain: superplay
*/

:root {
    --sp-bg: #121212;
    --sp-card-bg: #181818;
    --sp-card-hover: #282828;
    --sp-primary: #1db954;
    --sp-text: #ffffff;
    --sp-text-muted: #b3b3b3;
    --sp-accent: #25d366;
    --sp-radius: 8px;
    --sp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--sp-bg); color: var(--sp-text); font-family: var(--sp-font); line-height: 1.5; padding-bottom: 70px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* Structural Utility */
.sp-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sp-grid { display: grid; gap: 16px; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 600px) { .sp-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { 
    body { padding-bottom: 0; }
    .sp-grid-4 { grid-template-columns: repeat(4, 1fr); } 
}

/* App Header */
.sp-header { sticky: top 0; z-index: 100; background: rgba(18,18,18,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #282828; padding: 12px 0; }
.sp-header-inner { display: flex; align-items: center; justify-content: space-between; }
.sp-logo { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px; color: var(--sp-text); text-transform: uppercase; }
.sp-logo span { color: var(--sp-primary); }

/* Horizontal Category Bar */
.sp-nav-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.sp-nav-scroll::-webkit-scrollbar { display: none; }
.sp-pill { background: #282828; color: #fff; padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; transition: 0.2s; }
.sp-pill:hover, .sp-pill.active { background: var(--sp-primary); color: #000; }

/* Cards & Trending */
.sp-card { background: var(--sp-card-bg); border-radius: var(--sp-radius); padding: 12px; display: flex; gap: 12px; transition: transform 0.2s, background-color 0.2s; position: relative; }
.sp-card:hover { background: var(--sp-card-hover); transform: translateY(-2px); }
.sp-card-img { width: 80px; height: 80px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sp-card-meta { display: flex; flex-direction: column; justify-content: center; }
.sp-card-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.sp-card-sub { font-size: 0.75rem; color: var(--sp-text-muted); }

.sp-trending-rank { font-size: 1.5rem; font-weight: 900; color: var(--sp-primary); opacity: 0.8; width: 30px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Mobile Bottom Navigation */
.sp-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 60px; background: #000; border-top: 1px solid #282828; display: flex; justify-content: space-around; align-items: center; z-index: 1000; }
@media (min-width: 992px) { .sp-bottom-nav { display: none; } }
.sp-bottom-item { display: flex; flex-direction: column; align-items: center; font-size: 0.65rem; color: var(--sp-text-muted); }
.sp-bottom-item.active { color: var(--sp-primary); }