/*
Theme Name: Sanandaj Premium
Theme URI: https://sanandaje.com
Author: sanandaje.com
Description: قالب حرفه ای سنندج - رادیو، موزیک، اخبار
Version: 8.0.0
Text Domain: sanandaj
*/

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800&family=Playfair+Display:wght@400;700;900&display=swap');

/* ---- VARIABLES ---- */
:root {
  --gold: #c9a84c;
  --gold-rgba: rgba(201,168,76,0.2);
  --bg: #0a0a0a;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --text: #e8e8e8;
  --muted: #999999;
  --border: rgba(201,168,76,0.18);
  --r: 12px;
  --font: 'Vazirmatn', Tahoma, sans-serif;
  --font-en: 'Playfair Display', serif;
  --tr: all 0.3s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); direction: rtl; text-align: right; line-height: 1.8; overflow-x: hidden; font-size: 15px; }
a { color: var(--gold); text-decoration: none; transition: var(--tr); }
a:hover { color: #e8c97a; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ---- HEADER ---- */
#sj-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 60px;
}
.sj-header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px;
}
.sj-logo {
  font-family: var(--font-en); font-size: 22px; font-weight: 900;
  letter-spacing: 4px; color: var(--gold); text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.sj-logo:hover { color: #e8c97a; }

/* Nav menu */
#sj-nav ul { display: flex; align-items: center; gap: 2px; }
#sj-nav ul li a {
  display: block; padding: 7px 14px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.65); border-radius: 6px; transition: var(--tr);
}
#sj-nav ul li a:hover,
#sj-nav ul li.current-menu-item > a { color: var(--gold); background: rgba(201,168,76,0.08); }
#sj-nav ul ul {
  display: none; position: absolute; top: 100%; right: 0;
  background: rgba(18,18,18,0.98); border: 1px solid var(--border);
  border-radius: var(--r); min-width: 160px; padding: 6px 0;
}
#sj-nav ul li:hover > ul { display: block; }
#sj-nav ul ul li a { padding: 9px 16px; border-radius: 0; }
#sj-nav ul li { position: relative; }

/* Header actions */
.sj-header-actions { display: flex; align-items: center; gap: 10px; }
.sj-radio-btn {
  display: flex; align-items: center; gap: 7px;
  background: rgba(201,168,76,0.1); border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 14px; font-size: 12px; color: var(--gold);
  cursor: pointer; transition: var(--tr); font-family: var(--font);
  white-space: nowrap;
}
.sj-radio-btn:hover { background: rgba(201,168,76,0.2); }
.sj-live-dot { width: 7px; height: 7px; background: #e74c3c; border-radius: 50%; animation: dot 1.5s ease-in-out infinite; }
@keyframes dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }
.sj-header-social { display: flex; align-items: center; gap: 6px; }
.sj-header-social a {
  width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 13px; transition: var(--tr);
}
.sj-header-social a:hover { border-color: var(--gold); color: var(--gold); }
.sj-menu-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--gold); padding: 7px 11px; border-radius: 6px; cursor: pointer; font-size: 17px;
}

/* ---- HERO — فقط عکس ---- */
.sj-hero {
  position: relative; height: 420px; margin-top: 60px; overflow: hidden;
}
.sj-hero-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-attachment: fixed;
}
.sj-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(10,10,10,0.7) 100%);
}

/* ---- RADIO BAR ---- */
.sj-radio-section { background: var(--dark2); border-bottom: 1px solid var(--border); padding: 16px 0; }
.sj-radio-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.sj-radio-info { display: flex; align-items: center; gap: 12px; }
.sj-radio-name { font-size: 16px; font-weight: 700; color: var(--gold); }
.sj-radio-tag { font-size: 12px; color: var(--muted); }
.sj-play-btn {
  display: flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--gold), #9a7530);
  color: #000; padding: 10px 24px; border-radius: 30px;
  font-size: 14px; font-weight: 700; border: none; cursor: pointer;
  transition: var(--tr); font-family: var(--font);
}
.sj-play-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.4); }

/* ---- CONTAINER & SECTIONS ---- */
.sj-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sj-section-head { text-align: center; margin-bottom: 40px; padding-top: 60px; }
.sj-section-head h2 {
  font-size: clamp(22px,4vw,34px); font-weight: 800; color: #fff;
  position: relative; display: inline-block; padding-bottom: 12px;
}
.sj-section-head h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 2px; background: var(--gold);
}
.sj-posts-section { padding-bottom: 60px; }

/* ---- POSTS GRID ---- */
.sj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 22px; }
.sj-card {
  background: var(--dark2); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; transition: var(--tr);
}
.sj-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.sj-card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--dark3); }
.sj-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sj-card:hover .sj-card-thumb img { transform: scale(1.04); }
.sj-no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--border); font-size: 32px; }
.sj-cat { position: absolute; top: 10px; right: 10px; background: var(--gold); color: #000; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.sj-card-body { padding: 18px; }
.sj-card-meta { display: flex; gap: 12px; font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.sj-card-meta span { display: flex; align-items: center; gap: 4px; }
.sj-card-body h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.5; }
.sj-card-body h3 a:hover { color: var(--gold); }
.sj-card-body p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sj-card-foot { padding: 12px 18px; border-top: 1px solid var(--border); }
.sj-more { font-size: 13px; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 6px; transition: var(--tr); }
.sj-more:hover { gap: 10px; }
.sj-pagination { display: flex; justify-content: center; gap: 8px; padding: 36px 0; }
.sj-pagination a, .sj-pagination span {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.6);
}
.sj-pagination a:hover, .sj-pagination .current { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.1); }
.sj-empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---- ARTISTS ---- */
.sj-artists-section { padding-bottom: 60px; background: var(--dark2); }
.sj-artists-grid { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; padding-bottom: 20px; }
.sj-artist { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transition: var(--tr); }
.sj-artist:hover { transform: translateY(-4px); }
.sj-artist-img { width: 220px; height: 220px; border-radius: 50%; overflow: hidden; border: 2px solid var(--border); transition: var(--tr); }
.sj-artist:hover .sj-artist-img { border-color: var(--gold); box-shadow: 0 0 20px rgba(201,168,76,0.3); }
.sj-artist-img img { width: 100%; height: 100%; object-fit: cover; }
.sj-artist-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--dark3); color: var(--border); font-size: 28px; }
.sj-artist span { font-size: 13px; font-weight: 600; color: #fff; }

/* ---- ALBUMS ---- */
.sj-albums-section { padding-bottom: 60px; }
.sj-albums-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 20px; }
.sj-album { display: flex; flex-direction: column; gap: 8px; transition: var(--tr); }
.sj-album:hover { transform: translateY(-4px); }
.sj-album-cover { aspect-ratio: 1/1; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.sj-album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sj-album:hover .sj-album-cover img { transform: scale(1.04); }
.sj-album-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #2a2a2a; color: var(--border); font-size: 28px; }
.sj-album-info { padding: 0 2px; }
.sj-album-name { display: block; font-size: 13px; font-weight: 700; color: #fff; }
.sj-album-artist { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---- FOOTER ---- */
#sj-footer { background: #111; border-top: 1px solid var(--border); padding: 50px 0 0; position: relative; }
#sj-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.sj-footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 24px 40px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
.sj-footer-brand .sj-logo { font-size: 24px; display: block; margin-bottom: 12px; }
.sj-footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.9; margin-bottom: 18px; }
.sj-footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.sj-footer-social a {
  width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 13px; transition: var(--tr);
}
.sj-footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.sj-footer-col h4 { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.sj-footer-links { display: flex; flex-direction: column; gap: 10px; }
.sj-footer-links li a { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; transition: var(--tr); }
.sj-footer-links li a::before { content: '›'; color: var(--gold); font-size: 16px; }
.sj-footer-links li a:hover { color: #fff; padding-right: 4px; }
.sj-footer-bottom { border-top: 1px solid var(--border); max-width: 1280px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.sj-footer-bottom a { color: var(--gold); }

/* ---- RADIO PLAYER ---- */
#sj-player {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(10,10,10,0.97); border-top: 1px solid var(--border);
  backdrop-filter: blur(16px); transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#sj-player.active { transform: translateY(0); }
.sj-player-inner {
  max-width: 1280px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 16px;
}
.sj-player-playbtn {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #9a7530);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 15px; transition: var(--tr); flex-shrink: 0;
}
.sj-player-playbtn:hover { transform: scale(1.08); }
.sj-player-info { flex: 1; min-width: 0; }
.sj-player-name { display: block; font-size: 14px; font-weight: 700; color: var(--gold); }
.sj-player-tag { display: block; font-size: 11px; color: var(--muted); }
.sj-player-wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.sj-player-wave span { display: inline-block; width: 3px; border-radius: 2px; background: var(--gold); animation: wave 1.2s ease-in-out infinite; }
.sj-player-wave span:nth-child(2){animation-delay:.1s}
.sj-player-wave span:nth-child(3){animation-delay:.2s}
.sj-player-wave span:nth-child(4){animation-delay:.3s}
.sj-player-wave span:nth-child(5){animation-delay:.4s}
@keyframes wave{0%,100%{height:6px;opacity:.4}50%{height:20px;opacity:1}}
.sj-player-wave.paused span { animation-play-state: paused; height: 6px; opacity: 0.3; }
.sj-player-vol { display: flex; align-items: center; gap: 7px; }
.sj-player-vol i { font-size: 12px; color: var(--gold); }
.sj-player-vol input { width: 80px; accent-color: var(--gold); cursor: pointer; }
#sj-player-close {
  background: none; border: 1px solid var(--border); color: rgba(255,255,255,0.5);
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 11px;
  display: flex; align-items: center; justify-content: center; transition: var(--tr);
}
#sj-player-close:hover { border-color: #e74c3c; color: #e74c3c; }

/* ---- SIDEBAR & SINGLE ---- */
.sj-content { max-width: 1280px; margin: 30px auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 280px; gap: 32px; }
.widget { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; margin-bottom: 22px; }
.widget-title { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.search-form { display: flex; gap: 6px; }
.search-field { flex: 1; background: var(--dark3); border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; color: #fff; font-family: var(--font); font-size: 13px; outline: none; direction: rtl; transition: var(--tr); }
.search-field:focus { border-color: var(--gold); }
.search-field::placeholder { color: var(--muted); }
.search-submit { background: var(--gold); border: none; border-radius: 6px; padding: 8px 12px; color: #000; cursor: pointer; font-size: 13px; transition: var(--tr); }
.search-submit:hover { background: #e8c97a; }
.social-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.social-link { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; background: var(--dark3); border: 1px solid var(--border); border-radius: 6px; color: rgba(255,255,255,0.6); font-size: 10px; text-align: center; transition: var(--tr); }
.social-link i { font-size: 16px; }
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ---- SINGLE POST ---- */
.sj-post-header { max-width: 780px; margin: 80px auto 40px; padding: 0 24px; text-align: center; }
.sj-post-cat { display: inline-block; background: rgba(201,168,76,0.1); border: 1px solid var(--border); color: var(--gold); font-size: 10px; letter-spacing: 2px; padding: 3px 12px; border-radius: 20px; text-transform: uppercase; margin-bottom: 16px; }
.entry-title { font-size: clamp(24px,4vw,40px); font-weight: 800; color: #fff; line-height: 1.4; margin-bottom: 16px; }
.entry-content { font-size: 15px; line-height: 2; color: var(--text); max-width: 740px; }
.entry-content h2 { color: #fff; font-size: 22px; margin: 28px 0 12px; }
.entry-content h3 { color: var(--gold); font-size: 18px; margin: 24px 0 10px; }
.entry-content p { margin-bottom: 16px; }
.entry-content a { color: var(--gold); border-bottom: 1px solid var(--border); }
.entry-content blockquote { border-right: 3px solid var(--gold); margin: 24px 0; padding: 12px 18px; background: var(--dark2); border-radius: 0 6px 6px 0; }
.entry-content img { border-radius: var(--r); margin: 16px auto; }

/* ---- 404 ---- */
.sj-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 100px 24px 60px; }
.sj-404 .num { font-family: var(--font-en); font-size: 120px; font-weight: 900; color: var(--gold); opacity: 0.2; line-height: 1; }

/* ---- RESPONSIVE ---- */
@media(max-width:1024px) {
  .sj-footer-grid { grid-template-columns: 1fr 1fr; }
  .sj-content { grid-template-columns: 1fr; }
}
@media(max-width:768px) {
  #sj-nav, .sj-header-social { display: none; }
  .sj-menu-toggle { display: block; }
  body.sj-menu-open #sj-nav {
    display: flex; position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(8,8,8,0.98); flex-direction: column;
    padding: 16px 24px; border-bottom: 1px solid var(--border);
  }
  body.sj-menu-open #sj-menu { flex-direction: column; width: 100%; }
  body.sj-menu-open #sj-menu li a { padding: 12px 14px; font-size: 15px; }
  .sj-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .sj-hero { height: 260px; }
  .sj-grid { grid-template-columns: 1fr; }
  .sj-player-vol { display: none; }
  .sj-footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- بخش ویدیوهای یوتیوب ---- */
.sj-videos { padding: 60px 0; }
.sj-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.sj-video-card {
    background: var(--dark2);
    border-radius: 12px;
    overflow: hidden;
    padding: 16px;
}
.sj-video-title {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 12px;
}
.sj-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.sj-video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 8px;
}

.sj-hero-albums {
    overflow: hidden;
    position: relative;
    background: var(--bg, #0a0a0a);
    padding: 80px 0 30px; /* 80px برای هدر */
}
.sj-hero-albums-track {
    display: flex;
    gap: 16px;
    padding: 0 24px 12px;
    overflow: visible;
    will-change: transform;
    white-space: nowrap;
    align-items: flex-start;
}
.sj-hero-albums-track .sj-hero-album-item {
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 160px;
    white-space: normal;
    text-decoration: none;
    transition: transform 0.25s;
}
.sj-hero-albums-track .sj-hero-album-item:hover { transform: translateY(-5px); }
.sj-hero-albums-track .sj-hero-album-cover {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--dark2, #1a1a1a);
    margin-bottom: 10px;
    border: 1px solid rgba(201,168,76,0.15);
}
.sj-hero-albums-track .sj-hero-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.sj-hero-albums-track .sj-hero-album-item:hover .sj-hero-album-cover img { transform: scale(1.06); }
.sj-hero-album-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted, #999); font-size: 32px; opacity: 0.3;
}
.sj-hero-album-hover {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.25s;
}
.sj-hero-albums-track .sj-hero-album-item:hover .sj-hero-album-hover { opacity: 1; }
.sj-hero-album-hover i {
    width: 44px; height: 44px;
    background: var(--gold, #c9a84c);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000; font-size: 16px;
}
.sj-hero-album-name {
    font-size: 13px; font-weight: 700;
    color: var(--text, #e8e8e8);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block; transition: color 0.2s;
}
.sj-hero-albums-track .sj-hero-album-item:hover .sj-hero-album-name { color: var(--gold, #c9a84c); }
.sj-hero-album-artist {
    font-size: 11px; color: var(--muted, #999);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block; margin-top: 3px;
}


/* ================================================================
   TICKER — تیکر متنی با CSS Animation
================================================================ */
.sj-ticker {
    display: flex;
    align-items: center;
    height: 42px;
    overflow: hidden;
    background: #1a0800;
    border-top: 1px solid rgba(201,168,76,0.2);
    border-bottom: 1px solid rgba(201,168,76,0.2);
}
.sj-ticker-label {
    flex-shrink: 0;
    background: var(--gold, #c9a84c);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    z-index: 2;
}
.sj-ticker-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}
.sj-ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: sj-ticker-rtl 120s linear infinite;
}
.sj-ticker-track:hover {
    animation-play-state: paused;
}
.sj-ticker-item {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    font-weight: 500;
    padding-left: 60px;
}

@keyframes sj-ticker-rtl {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}


/* ================================================================
   TICKER — قیمت ارز
================================================================ */
.sj-ticker {
    display: flex;
    align-items: center;
    height: 44px;
    overflow: hidden;
    background: #111;
    border-top: 1px solid rgba(201,168,76,0.2);
    border-bottom: 1px solid rgba(201,168,76,0.2);
}
.sj-ticker-label {
    flex-shrink: 0;
    background: var(--gold, #c9a84c);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.sj-ticker-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}
.sj-ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: sj-ticker-move 120s linear infinite;
}
.sj-ticker-track:hover {
    animation-play-state: paused;
}
.sj-ticker-item {
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sj-ticker-sep { color: rgba(201,168,76,0.4); margin: 0 6px; }
.sj-ticker-name { color: var(--muted, #999); font-size: 12px; }
.sj-ticker-price { color: #fff; font-weight: 700; font-size: 13px; }
.sj-ticker-change { font-size: 12px; font-weight: 600; }
.sj-up   { color: #2ecc71; }
.sj-down { color: #e74c3c; }

/* حرکت از راست به چپ — سرعت خیلی کم */
@keyframes sj-ticker-move {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}


/* ================================================================
   POSTERS SECTION
================================================================ */
.sj-posters-section {
    padding: 40px 0;
}
.sj-posters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.sj-poster-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.sj-poster-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.sj-poster-item:hover img {
    transform: scale(1.03);
}
@media (max-width: 600px) {
    .sj-posters-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   TRENDING SECTION
================================================================ */
.sj-trending-section {
    padding: 50px 0;
    border-top: 1px solid var(--border, rgba(201,168,76,.15));
}
.sj-trending-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.sj-trending-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}
.sj-trending-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sj-trend-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border, rgba(201,168,76,.1));
    text-decoration: none;
    transition: background .2s;
}
.sj-trend-item:last-child { border-bottom: none; }
.sj-trend-item:hover { opacity: .85; }
.sj-trend-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted, #999);
    width: 24px;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
}
.sj-trend-cover {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--dark2, #1a1a1a);
}
.sj-trend-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sj-trend-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted, #999);
    font-size: 18px;
    opacity: .4;
}
.sj-trend-info {
    flex: 1;
    min-width: 0;
}
.sj-trend-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s;
}
.sj-trend-item:hover .sj-trend-name { color: var(--gold, #c9a84c); }
.sj-trend-artist {
    display: block;
    font-size: 12px;
    color: var(--muted, #999);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sj-trend-views {
    font-size: 12px;
    color: var(--muted, #999);
    white-space: nowrap;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .sj-trending-wrap { grid-template-columns: 1fr; gap: 30px; }
}
