/* ================================================================
   Topcityvibe Pro — Homepage Sections
================================================================ */

/* ══════════════════════════════════════════════════════
   ① HERO GRID
══════════════════════════════════════════════════════ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 260px 220px;
  gap: 3px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  margin-bottom: 28px;
  width: 100%;
}
.hero-card { position: relative; overflow: hidden; cursor: pointer; }
.hero-card .hero-bg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-card:hover .hero-bg { transform: scale(1.04); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.92) 0%,rgba(0,0,0,.38) 45%,transparent 100%); }
.hero-card--main { grid-row: 1/3; }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.hero-card--main .hero-content { padding: 24px 26px 28px; }
.hero-cat { display: inline-block; background: var(--green); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; margin-bottom: 8px; text-decoration: none; }
.hero-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.hero-tag { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.88); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; backdrop-filter: blur(4px); }
.hero-card--main .hero-title { font-family: var(--f-disp); font-size: clamp(18px,2.4vw,30px); font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 8px; }
.hero-card--side .hero-title { font-family: var(--f-disp); font-size: 14px; font-weight: 700; line-height: 1.2; color: #fff; margin-bottom: 6px; }
.hero-title a { color: #fff; }
.hero-meta { font-size: 11px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.hero-excerpt { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-cta { display: flex; align-items: center; gap: 10px; }
.hero-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; color: #fff; flex-shrink: 0; }
.hero-author { font-size: 12px; color: rgba(255,255,255,.7); }
.btn-read { display: inline-flex; align-items: center; gap: 7px; background: var(--green); color: #fff; padding: 8px 16px; border-radius: var(--r-md); font-size: 12px; font-weight: 800; letter-spacing: .5px; margin-left: auto; transition: all var(--ease); border: none; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-read:hover { background: var(--green-mid); box-shadow: var(--sh-g); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════
   ② POPULAR THIS WEEK
══════════════════════════════════════════════════════ */
.popular-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px; }
.popular-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border-2); transition: background var(--ease); cursor: pointer; }
.popular-item:last-child { border-bottom: none; }
.popular-item:hover { background: var(--green-tint); }
.popular-rank { font-family: var(--f-disp); font-size: 24px; font-weight: 800; color: var(--border); line-height: 1; width: 26px; flex-shrink: 0; }
.popular-item:nth-child(1) .popular-rank { color: var(--green); }
.popular-item:nth-child(2) .popular-rank { color: var(--text-muted); }
.popular-item:nth-child(3) .popular-rank { color: var(--gold); }
.popular-thumb { width: 68px; height: 68px; border-radius: var(--r-md); overflow: hidden; flex-shrink: 0; background: var(--green-pale); }
.popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-info { flex: 1; min-width: 0; }
.popular-cat { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.popular-title { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--text); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.popular-title a { color: var(--text); }
.popular-title a:hover { color: var(--green); }
.popular-meta { font-size: 11px; color: var(--text-faint); }

/* ══════════════════════════════════════════════════════
   ③ MOVIES SCROLL
══════════════════════════════════════════════════════ */
.movies-section { margin-bottom: 28px; }
.movie-card { flex: 0 0 150px; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); transition: all .25s ease; cursor: pointer; }
.movie-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,.14); border-color: rgba(22,163,74,.35); }
.movie-poster { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.movie-poster .bg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.movie-card:hover .movie-poster .bg { transform: scale(1.05); }
.movie-poster-grad { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.15) 50%,transparent 100%); pointer-events: none; }
.movie-badge { position: absolute; top: 8px; left: 8px; background: var(--green); color: #fff; font-size: 8px; font-weight: 800; letter-spacing: 1px; padding: 3px 7px; border-radius: 3px; z-index: 2; }
.movie-score { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.6); border: 1px solid rgba(252,211,77,.7); color: #fcd34d; font-family: var(--f-disp); font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 4px; display: flex; align-items: center; gap: 3px; backdrop-filter: blur(6px); z-index: 2; }
.movie-hover-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; z-index: 3; }
.movie-card:hover .movie-hover-play { opacity: 1; }
.movie-play-circle { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; box-shadow: 0 4px 20px rgba(22,163,74,.55); }
.movie-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 10px 12px; z-index: 2; }
.movie-genre { font-size: 8px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green-light); margin-bottom: 3px; }
.movie-name { font-family: var(--f-disp); font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.movie-name a { color: #fff; }
.movie-footer { padding: 9px 10px 11px; display: flex; justify-content: space-between; align-items: center; }
.movie-year { font-size: 11px; color: var(--text-faint); }
.movie-studio { font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--green); }

/* ══════════════════════════════════════════════════════
   ④ LATEST POSTS CAROUSEL
══════════════════════════════════════════════════════ */
.latest-section { margin-bottom: 28px; }
.latest-card { flex: 0 0 205px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: all .25s; cursor: pointer; text-decoration: none; display: block; color: inherit; }
.latest-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(22,163,74,.3); }
.latest-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--green-pale); }
.latest-img .bg, .latest-img img { width: 100%; height: 100%; object-fit: cover; }
.latest-badge { position: absolute; top: 8px; left: 8px; background: var(--green); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.latest-body { padding: 11px 12px 13px; }
.latest-title { font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.latest-meta { font-size: 11px; color: var(--text-faint); display: flex; align-items: center; gap: 4px; }

/* ══════════════════════════════════════════════════════
   ⑤ BOX OFFICE
══════════════════════════════════════════════════════ */
.boxoffice-section { margin-bottom: 28px; }
.bo-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; width: 100%; }
.bo-header { display: grid; grid-template-columns: 34px 1fr 90px 72px 64px; gap: 8px; padding: 10px 16px; background: var(--green-tint); border-bottom: 1px solid var(--border); font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); }
body.dark .bo-header { background: rgba(22,163,74,.08); }
.bo-row { display: grid; grid-template-columns: 34px 1fr 90px 72px 64px; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border-2); align-items: center; transition: background var(--ease); cursor: pointer; }
.bo-row:last-child { border-bottom: none; }
.bo-row:hover { background: var(--green-tint); }
.bo-rank { font-family: var(--f-disp); font-size: 16px; font-weight: 800; color: var(--text-faint); text-align: center; }
.bo-row:nth-child(2) .bo-rank { color: var(--green); }
.bo-row:nth-child(3) .bo-rank { color: var(--text-muted); }
.bo-row:nth-child(4) .bo-rank { color: var(--gold); }
.bo-film { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bo-thumb { width: 40px; height: 40px; border-radius: var(--r-sm); background: linear-gradient(135deg,var(--green-pale),var(--green-light)); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 14px; flex-shrink: 0; overflow: hidden; }
.bo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bo-film-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo-film-title a { color: var(--text); }
.bo-film-genre { font-size: 10px; color: var(--text-faint); }
.bo-gross { font-size: 13px; font-weight: 700; color: var(--text); }
.bo-gross span { font-size: 10px; color: var(--text-faint); display: block; }
.bo-weeks { font-size: 13px; font-weight: 600; color: var(--text-muted); text-align: center; }
.bo-change { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 12px; font-weight: 700; }
.bo-change.up { color: var(--green); }
.bo-change.down { color: var(--red); }
.bo-change.same { color: var(--text-faint); }

/* ══════════════════════════════════════════════════════
   ⑥ MUSIC CHARTS
══════════════════════════════════════════════════════ */
.charts-section { margin-bottom: 28px; }
.music-tabs { display: flex; gap: 4px; margin-bottom: 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 4px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.music-tabs::-webkit-scrollbar { display: none; }
.music-tab { padding: 7px 16px; border-radius: var(--r-md); font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--text-muted); cursor: pointer; transition: all var(--ease); border: none; background: none; font-family: var(--f-body); white-space: nowrap; }
.music-tab.active { background: var(--green); color: #fff; box-shadow: var(--sh-g); }
.music-tab:not(.active):hover { color: var(--text); background: var(--border-2); }
.music-panel { display: none; }
.music-panel.active { display: block; }
.chart-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.chart-row { display: grid; grid-template-columns: 34px 50px 1fr 56px 36px; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border-2); transition: background var(--ease); cursor: pointer; }
.chart-row:last-child { border-bottom: none; }
.chart-row:hover { background: var(--green-tint); }
.chart-row.playing { background: linear-gradient(90deg,rgba(22,163,74,.07),transparent); }
.chart-pos { font-family: var(--f-disp); font-size: 15px; font-weight: 800; text-align: center; color: var(--text-faint); line-height: 1; }
.chart-row:nth-child(1) .chart-pos { color: var(--green); }
.chart-row:nth-child(2) .chart-pos { color: var(--text-muted); }
.chart-row:nth-child(3) .chart-pos { color: var(--gold); }
.chart-art { width: 50px; height: 50px; border-radius: var(--r-md); overflow: hidden; background: var(--green-pale); flex-shrink: 0; }
.chart-art img { width: 100%; height: 100%; object-fit: cover; }
.chart-art-ph { width: 100%; height: 100%; background: linear-gradient(135deg,var(--green-pale),var(--green-light)); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 18px; }
.chart-details { min-width: 0; }
.chart-song { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chart-row.playing .chart-song { color: var(--green); }
.chart-artist-row { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.trend { display: inline-flex; align-items: center; gap: 2px; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 3px; }
.trend.up   { background: var(--green-pale); color: var(--green); }
.trend.down { background: var(--red-pale);   color: var(--red); }
.trend.same { background: var(--surface-2);  color: var(--text-faint); }
.chart-dur { font-size: 12px; font-weight: 600; color: var(--text-faint); text-align: center; }
.chart-play-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--green-pale); border: 1px solid rgba(22,163,74,.2); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 12px; transition: all var(--ease); flex-shrink: 0; cursor: pointer; }
.chart-play-btn:hover, .chart-row.playing .chart-play-btn { background: var(--green); border-color: var(--green); color: #fff; box-shadow: var(--sh-g); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; margin-left: 6px; }
.eq span { display: block; width: 3px; background: var(--green); border-radius: 1px; animation: eq .6s ease infinite alternate; }
.eq span:nth-child(1){height:60%;animation-delay:0s}
.eq span:nth-child(2){height:100%;animation-delay:.15s}
.eq span:nth-child(3){height:40%;animation-delay:.3s}

/* ══════════════════════════════════════════════════════
   ⑦ LATEST MUSIC LIST
══════════════════════════════════════════════════════ */
.latest-music-section { margin-bottom: 28px; }
.music-release-list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.music-release { display: grid; grid-template-columns: 58px 60px 1fr auto; align-items: center; border-bottom: 1px solid var(--border-2); transition: background var(--ease); cursor: pointer; position: relative; }
.music-release:last-child { border-bottom: none; }
.music-release:hover { background: var(--green-tint); }
.music-release::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green); opacity: 0; transition: opacity var(--ease); }
.music-release:hover::before { opacity: 1; }
.mr-rank-col { width: 58px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 14px 0; }
.mr-rank { font-family: var(--f-disp); font-size: 20px; font-weight: 800; color: var(--border); line-height: 1; }
.music-release:nth-child(1) .mr-rank { color: var(--green); }
.music-release:nth-child(2) .mr-rank { color: var(--text-muted); }
.music-release:nth-child(3) .mr-rank { color: var(--gold); }
.mr-cover-col { width: 60px; flex-shrink: 0; }
.mr-cover { width: 52px; height: 52px; border-radius: var(--r-md); overflow: hidden; margin: 4px 0; }
.mr-cover .bg, .mr-cover img { width: 100%; height: 100%; object-fit: cover; }
.mr-cover-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 20px; }
.mr-info { padding: 12px 14px 12px 8px; min-width: 0; }
.mr-type-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--green-pale); color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; margin-bottom: 5px; border: 1px solid rgba(22,163,74,.2); }
.mr-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-artist-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.mr-artist-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 800; flex-shrink: 0; }
.mr-genre-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); flex-shrink: 0; }
.mr-genre { font-size: 11px; color: var(--text-faint); }
.mr-right { padding: 12px 16px 12px 0; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; flex-shrink: 0; }
.mr-time { font-size: 10px; color: var(--text-faint); white-space: nowrap; }
.mr-stats { display: flex; align-items: center; gap: 8px; }
.mr-stat { display: flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--text-faint); }
.mr-stat i { font-size: 10px; }
.mr-listen-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-pale); border: 1px solid rgba(22,163,74,.2); color: var(--green); font-size: 12px; transition: all var(--ease); cursor: pointer; }
.mr-listen-btn:hover, .music-release.playing .mr-listen-btn { background: var(--green); color: #fff; border-color: var(--green); box-shadow: var(--sh-g); }

/* ══════════════════════════════════════════════════════
   ⑧ CELEBRITY GIST
══════════════════════════════════════════════════════ */
.celeb-section { margin-bottom: 28px; }
.celeb-feed { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.celeb-item { display: flex; gap: 14px; padding: 15px 16px; border-bottom: 1px solid var(--border-2); transition: background var(--ease); cursor: pointer; }
.celeb-item:last-child { border-bottom: none; }
.celeb-item:hover { background: var(--green-tint); }
.celeb-avatar-wrap { flex-shrink: 0; position: relative; }
.celeb-avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background: var(--green-pale); border: 2px solid var(--green-pale); }
.celeb-avatar img, .celeb-avatar .bg { width: 100%; height: 100%; object-fit: cover; }
.celeb-avatar-ph { width: 100%; height: 100%; background: linear-gradient(135deg,var(--green-pale),var(--green-light)); display: flex; align-items: center; justify-content: center; font-family: var(--f-disp); font-size: 16px; font-weight: 800; color: var(--green); }
.celeb-hot-badge { position: absolute; bottom: -2px; right: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 2px solid var(--surface); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 8px; }
.celeb-body { flex: 1; min-width: 0; }
.celeb-header-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.celeb-name { font-size: 14px; font-weight: 700; color: var(--text); }
.celeb-handle { font-size: 11px; color: var(--text-faint); }
.celeb-tag { font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; background: var(--green-pale); color: var(--green); padding: 2px 7px; border-radius: 99px; margin-left: auto; flex-shrink: 0; }
.celeb-gist { font-size: 13px; color: var(--text-2); line-height: 1.5; margin-bottom: 8px; }
.celeb-gist strong { color: var(--text); }
.celeb-footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.celeb-action { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-faint); font-weight: 600; transition: color var(--ease); text-decoration: none; }
.celeb-action:hover { color: var(--green); }
.celeb-action i { font-size: 12px; }
.celeb-time { font-size: 10px; color: var(--text-faint); margin-left: auto; }

/* ══════════════════════════════════════════════════════
   ⑨ ARTIST PROFILES CAROUSEL
══════════════════════════════════════════════════════ */
.artists-section { margin-bottom: 28px; }
.artist-card { flex: 0 0 145px; display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; }
.artist-ring-wrap { position: relative; width: 94px; height: 94px; margin-bottom: 11px; }
.artist-ring { position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(var(--green) 0%,var(--green-light) 50%,transparent 50%); animation: ring-spin 6s linear infinite; opacity: 0; transition: opacity .3s; }
.artist-card:hover .artist-ring { opacity: 1; }
.artist-ring-bg { position: absolute; inset: 3px; border-radius: 50%; background: var(--off-white); }
.artist-avatar { position: absolute; inset: 6px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg,var(--green-pale),var(--green-light)); }
.artist-avatar img, .artist-avatar .bg { width: 100%; height: 100%; object-fit: cover; }
.artist-av-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--f-disp); font-size: 22px; font-weight: 800; color: var(--green); background: linear-gradient(135deg,var(--green-pale),#a7f3c3); }
.artist-verified { position: absolute; bottom: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); border: 2px solid var(--off-white); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; z-index: 2; }
.artist-name { font-family: var(--f-disp); font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 2px; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist-genre { font-size: 10px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.artist-stats { display: flex; gap: 10px; justify-content: center; margin-bottom: 10px; }
.artist-stat { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.a-val { font-size: 12px; font-weight: 800; color: var(--text); line-height: 1; }
.a-lbl { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text-faint); }
.artist-btns { display: flex; gap: 5px; width: 100%; }
.a-btn { flex: 1; padding: 6px 0; border-radius: var(--r-sm); font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; transition: all var(--ease); border: none; font-family: var(--f-body); text-decoration: none; display: flex; align-items: center; justify-content: center; }
.a-btn-bio { background: var(--green-pale); color: var(--green); border: 1px solid rgba(22,163,74,.2); }
.a-btn-bio:hover { background: var(--green); color: #fff; }
.a-btn-songs { background: var(--green); color: #fff; }
.a-btn-songs:hover { background: var(--green-mid); }

/* ══════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.widget-hdr { padding: 13px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.widget-title { display: flex; align-items: center; gap: 8px; font-family: var(--f-disp); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); }
.widget-title i { color: var(--green); font-size: 13px; }
.widget-more { font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--green); text-decoration: none; }
.widget-more:hover { opacity: .7; }
.s-post { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border-2); transition: background var(--ease); cursor: pointer; }
.s-post:last-child { border-bottom: none; }
.s-post:hover { background: var(--green-tint); }
.s-num { font-family: var(--f-disp); font-size: 18px; font-weight: 800; color: var(--border); width: 22px; flex-shrink: 0; line-height: 1; }
.s-post:nth-child(1) .s-num { color: var(--green); }
.s-post:nth-child(2) .s-num { color: var(--text-faint); }
.s-post:nth-child(3) .s-num { color: var(--gold); }
.s-thumb { width: 54px; height: 54px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; background: var(--green-pale); }
.s-thumb img { width: 100%; height: 100%; object-fit: cover; }
.s-info { flex: 1; min-width: 0; }
.s-cat { font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); margin-bottom: 3px; }
.s-title { font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 3px; }
.s-title a { color: var(--text); }
.s-meta { font-size: 10px; color: var(--text-faint); }
.trending-ticker { height: 36px; overflow: hidden; position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--border-2); background: var(--green-tint); }
body.dark .trending-ticker { background: rgba(22,163,74,.06); }
.trending-ticker-inner { display: flex; flex-direction: column; animation: ticker-v 12s ease infinite; }
.trending-ticker-item { height: 36px; display: flex; align-items: center; padding: 0 16px; gap: 8px; flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; }
.trending-ticker-item i { color: var(--green); font-size: 11px; }
.mini-bo-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border-2); transition: background var(--ease); cursor: pointer; }
.mini-bo-item:last-child { border-bottom: none; }
.mini-bo-item:hover { background: var(--green-tint); }
.mini-bo-rank { font-family: var(--f-disp); font-size: 18px; font-weight: 800; color: var(--text-faint); width: 20px; flex-shrink: 0; text-align: center; }
.mini-bo-item:nth-child(1) .mini-bo-rank { color: var(--green); }
.mini-bo-thumb { width: 34px; height: 34px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; background: var(--green-pale); }
.mini-bo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-bo-info { flex: 1; min-width: 0; }
.mini-bo-title { font-size: 12px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 2px; }
.mini-bo-gross { font-size: 11px; color: var(--green); font-weight: 700; }

/* ══════════════════════════════════════════════════════
   PRE-FOOTER
══════════════════════════════════════════════════════ */
.pre-footer { background: var(--white); border-top: 1px solid var(--border); padding: 48px 0 50px; }
.pre-footer-grid { display: grid; grid-template-columns: 1.1fr 1.8fr; gap: 48px; align-items: start; }
.pf-nl-inner { background: linear-gradient(135deg,var(--green-deep) 0%,var(--green-mid) 100%); border-radius: var(--r-xl); padding: 34px 32px 36px; color: #fff; }
.pf-nl-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: var(--green-light); font-size: 10px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; }
.pf-nl-title { font-family: var(--f-disp); font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 10px; line-height: 1.2; }
.pf-nl-title span { color: var(--green-light); }
.pf-nl-desc { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 20px; }
.pf-nl-form { display: flex; gap: 10px; }
.pf-nl-input { flex: 1; padding: 12px 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-md); color: #fff; font-family: var(--f-body); font-size: 14px; outline: none; transition: border-color var(--ease); min-width: 0; }
.pf-nl-input:focus { border-color: var(--green-light); }
.pf-nl-input::placeholder { color: rgba(255,255,255,.4); }
.pf-nl-btn { flex-shrink: 0; padding: 12px 20px; background: var(--green-light); color: var(--green-deep); border: none; border-radius: var(--r-md); font-family: var(--f-disp); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all var(--ease); white-space: nowrap; }
.pf-nl-btn:hover { background: #fff; transform: translateY(-1px); }
.pf-nl-note { margin-top: 12px; font-size: 11px; color: rgba(255,255,255,.4); display: flex; align-items: center; gap: 5px; }
.pf-cats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.pf-cat { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; transition: all var(--ease); cursor: pointer; text-decoration: none; }
.pf-cat:hover { background: var(--green-tint); border-color: rgba(22,163,74,.4); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.pf-cat-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pf-cat-icon { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--green-pale); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 14px; flex-shrink: 0; }
.pf-cat-name { font-size: 13px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-cat-count { background: var(--green); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — HOME
══════════════════════════════════════════════════════ */

/* Tablet 900px */
@media (max-width: 900px) {
  .main-grid { grid-template-columns: 1fr; gap: 24px; }
  .sidebar { display: none; } /* sidebar hidden — content uses full width */
  .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px; }
  .hero-card--main { grid-column: 1/3; grid-row: 1; }
  .pre-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pf-cats-grid { grid-template-columns: repeat(3,1fr); }
  .bo-header, .bo-row { grid-template-columns: 34px 1fr 90px 56px; }
  .bo-weeks { display: none; }
}

/* Mobile 640px */
@media (max-width: 640px) {
  .page-body { padding: 16px 0 48px; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 2px; border-radius: 12px; }
  .hero-card--main { grid-column: 1; grid-row: auto; min-height: 260px; max-height: 320px; height: 300px; }
  .hero-card--side { min-height: 165px; max-height: 180px; height: 170px; }
  .hero-card--main .hero-content { padding: 16px 16px 20px; }
  .hero-card--side .hero-content { padding: 12px 14px 16px; }
  .hero-card--main .hero-title { font-size: clamp(16px,5vw,22px); }
  .hero-card--side .hero-title { font-size: 13px; }
  .hero-excerpt { display: none; }
  .btn-read { padding: 7px 13px; font-size: 11px; }
  .hero-avatar { display: none; }

  /* Sections spacing */
  .movies-section, .latest-section, .boxoffice-section,
  .charts-section, .latest-music-section, .celeb-section,
  .artists-section { margin-bottom: 22px; }
  .popular-card { margin-bottom: 22px; }

  /* Scroll arrows — hide on mobile, user swipes */
  .scroll-arrow { display: none; }

  /* Card sizes in carousels */
  .movie-card { flex: 0 0 140px; }
  .latest-card { flex: 0 0 175px; }
  .artist-card { flex: 0 0 128px; }

  /* Popular */
  .popular-item { padding: 12px 14px; gap: 10px; }
  .popular-rank { font-size: 20px; width: 22px; }
  .popular-thumb { width: 60px; height: 60px; }
  .popular-title { font-size: 13px; }

  /* Box office */
  .bo-header, .bo-row { grid-template-columns: 26px 1fr 72px; padding: 10px 12px; gap: 8px; }
  .bo-weeks, .bo-change { display: none; }
  .bo-gross { font-size: 12px; }
  .bo-film-title { font-size: 12px; white-space: normal; overflow: visible; text-overflow: unset; }

  /* Charts */
  .chart-row { grid-template-columns: 26px 44px 1fr 34px; gap: 8px; padding: 10px 12px; }
  .chart-art { width: 44px; height: 44px; }
  .chart-dur { display: none; }
  .chart-song { font-size: 13px; }
  .music-tab { padding: 6px 12px; font-size: 11px; }

  /* Music release */
  .music-release { grid-template-columns: 46px 52px 1fr auto; }
  .mr-rank-col { width: 46px; padding: 12px 0; }
  .mr-rank { font-size: 18px; }
  .mr-cover-col { width: 52px; }
  .mr-cover { width: 44px; height: 44px; }
  .mr-title { font-size: 13px; }
  .mr-stats { display: none; }
  .mr-right { padding: 10px 12px 10px 0; gap: 6px; }

  /* Celebrity */
  .celeb-item { padding: 12px 14px; gap: 10px; }
  .celeb-avatar { width: 44px; height: 44px; }
  .celeb-name { font-size: 13px; }
  .celeb-gist { font-size: 12px; }
  .celeb-tag { display: none; }

  /* Artist carousel */
  .artist-card { flex: 0 0 118px; }
  .artist-ring-wrap { width: 82px; height: 82px; }
  .artist-name { font-size: 12px; }

  /* Pre-footer */
  .pf-cats-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .pf-nl-form { flex-direction: column; gap: 10px; }
  .pf-nl-inner { padding: 24px 20px 26px; }
  .pf-nl-title { font-size: 22px; }
  .pf-cat-count { display: none; }
}

/* Very small phones 400px */
@media (max-width: 400px) {
  .hero-card--main { min-height: 240px; }
  .hero-card--side { min-height: 148px; }
  .hero-card--main .hero-title { font-size: 16px; }

  .movie-card { flex: 0 0 126px; }
  .latest-card { flex: 0 0 158px; }
  .artist-card { flex: 0 0 110px; }
  .artist-ring-wrap { width: 74px; height: 74px; }

  .popular-thumb { width: 52px; height: 52px; }
  .popular-rank { font-size: 18px; }

  .bo-header, .bo-row { padding: 8px 10px; }
  .bo-rank { font-size: 14px; }

  .chart-row { grid-template-columns: 22px 38px 1fr 30px; gap: 6px; padding: 8px 10px; }
  .chart-art { width: 38px; height: 38px; }

  .music-release { grid-template-columns: 38px 46px 1fr auto; }
  .mr-rank-col { width: 38px; }
  .mr-cover-col { width: 46px; }
  .mr-cover { width: 38px; height: 38px; }

  .celeb-avatar { width: 40px; height: 40px; }
  .celeb-gist { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .celeb-footer { gap: 8px; }
  .celeb-time { display: none; }

  .pf-cat { padding: 10px 10px; }
  .pf-cat-name { font-size: 11px; }
}
