/* ============================================================
   NANDU BATTLES — Main Stylesheet
   Dark Gaming Theme | BDT Currency
   ============================================================ */

:root {
  --primary-bg:      #000000;
  --secondary-bg:    #1A1A1A;
  --card-bg:         #1A1A1A;
  --text-primary:    #FFFFFF;
  --text-secondary:  #AAAAAA;
  --accent:          #1DB954;
  --accent-dark:     #169a42;
  --accent-gradient: linear-gradient(135deg, #1DB954, #25D366);
  --border:          #2a2a2a;
  --danger:          #EF4444;
  --warning:         #F59E0B;
  --success:         #1DB954;
  --info:            #3B82F6;
  --bottom-nav-h:    65px;
  --header-h:        60px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--primary-bg);
  color: var(--text-primary);
  padding-top: var(--header-h);
  padding-bottom: calc(var(--bottom-nav-h) + 10px);
  min-height: 100vh;
  overscroll-behavior-y: contain;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }

/* ── Header ──────────────────────────────────────────────── */
.app-header {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--header-h);
  background: var(--secondary-bg);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.header-left  { display: flex; align-items: center; gap: 10px; }
.header-right { display: flex; align-items: center; gap: 12px; }

.header-logo {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--accent);
}
.header-logo-text {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.header-title { font-size: .85rem; font-weight: 500; color: var(--text-primary); }
.header-title span { color: var(--accent); font-weight: 700; }

.header-back-button {
  background: none; border: none; color: var(--text-primary);
  font-size: 1.4rem; cursor: pointer; padding: 4px 6px;
}

.notification-icon {
  position: relative; background: none; border: none;
  color: var(--text-primary); font-size: 1.3rem; cursor: pointer;
  padding: 4px;
}
.notification-badge {
  position: absolute; top: -3px; right: -5px;
  background: var(--danger); color: #fff;
  font-size: .6rem; width: 16px; height: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.wallet-chip {
  background: var(--accent-gradient); color: #000;
  padding: 5px 12px; border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
  font-size: .85rem; font-weight: 700;
  border: none; cursor: pointer;
  box-shadow: 0 2px 8px rgba(29,185,84,.3);
}

/* ── Main Content ─────────────────────────────────────────── */
.main-content { padding: 15px; max-width: 600px; margin: 0 auto; }

/* ── Cards ───────────────────────────────────────────────── */
.custom-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--accent-gradient);
  color: #000; border: none; border-radius: 10px;
  font-weight: 700; padding: 12px 20px; width: 100%;
  cursor: pointer; font-size: 1rem;
  transition: all .2s ease;
}
.btn-primary-custom:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-primary-custom:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn-secondary-custom {
  background: var(--secondary-bg);
  color: var(--text-primary); border: 1px solid var(--border);
  border-radius: 10px; font-weight: 500; padding: 10px 16px;
  cursor: pointer; font-size: .9rem; transition: all .2s;
}
.btn-secondary-custom:hover { background: #2a2a2a; }

/* ── Forms ───────────────────────────────────────────────── */
.form-control, .form-select {
  background: var(--primary-bg) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: 8px !important;
  padding: 12px 15px !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 .2rem rgba(29,185,84,.25) !important;
}
.form-control::placeholder { color: var(--text-secondary) !important; }
.form-label { color: var(--text-secondary); font-size: .9rem; margin-bottom: 6px; }

.password-wrapper { position: relative; }
.password-wrapper .form-control { padding-right: 45px !important; }
.toggle-pass {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-secondary);
  cursor: pointer; font-size: 1.1rem;
}

/* ── Section Title ───────────────────────────────────────── */
.section-title {
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 14px; color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
}

/* ── Bottom Nav ──────────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; width: 100%;
  height: var(--bottom-nav-h);
  background: var(--secondary-bg);
  display: flex; align-items: flex-end;
  border-top: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,.3);
}
.nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--text-secondary); padding: 8px 0;
  font-size: .7rem; font-weight: 500;
  transition: color .2s; border: none; background: none;
  cursor: pointer; text-decoration: none;
}
.nav-item i { font-size: 1.35rem; margin-bottom: 3px; }
.nav-item.active { color: var(--accent); }
.nav-item.nav-item-center {
  position: relative; transform: translateY(-12px);
  background: var(--accent-gradient); color: #000;
  border-radius: 50%; width: 56px; height: 56px;
  border: 3px solid var(--primary-bg);
  flex: 0 0 56px; padding: 0;
  box-shadow: 0 -2px 10px rgba(29,185,84,.4);
}
.nav-item.nav-item-center i { font-size: 1.6rem; margin-bottom: 0; }
.nav-item.nav-item-center span { display: none; }

/* ── Chat Support ─────────────────────────────────────────── */
.chat-support {
  position: fixed; bottom: calc(var(--bottom-nav-h) + 12px); right: 15px;
  width: 50px; height: 50px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center;
  justify-content: center; z-index: 999;
  box-shadow: 0 4px 12px rgba(37,211,102,.4);
  transition: transform .2s;
}
.chat-support:hover { transform: scale(1.1); }

/* ── Login Page ──────────────────────────────────────────── */
.login-page {
  min-height: calc(100vh - var(--header-h) - 30px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.login-card {
  background: linear-gradient(145deg, #1A1A1A, #0d0d0d);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 25px; width: 100%; max-width: 420px;
}
.login-card h2 {
  text-align: center; font-weight: 700; font-size: 1.5rem;
  margin-bottom: 25px;
}

/* ── Home: Promotion Slider ──────────────────────────────── */
.promo-swiper {
  width: 100%; border-radius: 12px;
  margin-bottom: 22px; overflow: hidden;
  --swiper-pagination-color: var(--accent);
}
.promo-swiper .swiper-slide img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  display: block; border-radius: 12px;
}

/* ── Latest Tournaments Slider ───────────────────────────── */
.latest-wrapper { margin-bottom: 20px; }
.latest-slider { display: flex; overflow: hidden; width: 100%; }
.latest-slide { min-width: 100%; box-sizing: border-box; }
.latest-card {
  background: linear-gradient(135deg, rgba(29,185,84,.12), rgba(29,185,84,.04));
  border: 1px solid rgba(29,185,84,.25); border-radius: 14px;
  padding: 16px; text-align: center; cursor: pointer;
}
.latest-card h4 { font-weight: 700; margin-bottom: 6px; font-size: 1rem; }
.latest-card p { color: var(--text-secondary); font-size: .85rem; margin: 0; }
.badge-new {
  background: #FF2D2D; color: #fff; font-size: .7rem;
  font-weight: 700; padding: 2px 8px; border-radius: 10px;
  margin-left: 8px;
}

/* ── Game Cards ──────────────────────────────────────────── */
.game-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; cursor: pointer;
  transition: transform .2s, box-shadow .2s; text-align: center;
}
.game-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.game-card img { width: 100%; height: 120px; object-fit: cover; display: block; }
.game-card span {
  display: block; padding: 8px 5px;
  font-weight: 500; font-size: .85rem;
}

/* ── Tournament Card ─────────────────────────────────────── */
.tournament-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; margin-bottom: 15px; overflow: hidden;
}
.tournament-banner {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  background: var(--primary-bg);
}
.tournament-body { padding: 14px; }
.tournament-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.tournament-tag {
  background: var(--primary-bg); color: var(--text-secondary);
  font-size: .7rem; padding: 2px 8px; border-radius: 4px;
  border: 1px solid var(--border);
}
.tournament-timer {
  background: rgba(255,255,255,.1); color: var(--text-primary);
  font-size: .75rem; font-weight: 600; padding: 3px 8px; border-radius: 4px;
}
.live-badge {
  background: var(--danger); color: #fff;
  font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px;
}
.tournament-title { font-size: 1rem; font-weight: 600; margin: 8px 0 4px; }
.tournament-time { font-size: .8rem; color: var(--text-secondary); margin-bottom: 10px; }

.tournament-stats {
  display: flex; justify-content: space-between;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  padding: 10px 0; margin: 10px 0;
}
.stat-col { flex: 1; text-align: center; }
.stat-col span { display: block; color: var(--text-secondary); font-size: .7rem; margin-bottom: 2px; }
.stat-col strong { font-size: .9rem; color: var(--text-primary); }

.spots-bar { margin-bottom: 12px; }
.spots-text { font-size: .8rem; color: var(--text-secondary); margin-bottom: 4px; }
.spots-text span { font-weight: 600; }
.progress { height: 5px; background: var(--primary-bg); border-radius: 3px; }
.progress-bar { background: var(--warning); border-radius: 3px; transition: width .3s; }

.tournament-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-join {
  background: var(--accent-gradient); color: #000;
  border: none; border-radius: 8px; padding: 8px 14px;
  font-size: .85rem; font-weight: 700; cursor: pointer;
  transition: all .2s; flex: 1;
}
.btn-join:hover { filter: brightness(1.1); }
.btn-details {
  background: var(--secondary-bg); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 14px; font-size: .85rem; cursor: pointer;
  transition: background .2s; flex: 1;
}
.btn-details:hover { background: #2a2a2a; }
.btn-joined {
  background: rgba(29,185,84,.15); color: var(--accent);
  border: 1px solid rgba(29,185,84,.3); border-radius: 8px;
  padding: 8px 14px; font-size: .85rem; flex: 1;
}
.btn-disabled {
  background: var(--secondary-bg); color: var(--text-secondary);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 14px; font-size: .85rem; opacity: .6; flex: 1;
}
.btn-idpass {
  background: var(--accent-gradient); color: #000;
  border: none; border-radius: 8px; padding: 8px 14px;
  font-size: .85rem; font-weight: 700; cursor: pointer; width: 100%;
  margin-top: 8px;
}
.btn-view-result {
  background: rgba(29,185,84,.2); color: var(--accent);
  border: 1px solid rgba(29,185,84,.4); border-radius: 8px;
  padding: 8px 14px; font-size: .85rem; cursor: pointer; flex: 1;
}
.btn-chat {
  background: var(--secondary-bg); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 12px; font-size: .85rem; cursor: pointer;
}
.btn-participants {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 12px; font-size: .8rem; cursor: pointer;
  width: 100%; margin-top: 8px; transition: .2s;
}
.btn-participants:hover { background: var(--secondary-bg); color: var(--text-primary); }

/* ── Prize Pool Popup ────────────────────────────────────── */
.pp-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.8); backdrop-filter: blur(8px); z-index: 9999;
}
.pp-popup {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: #0c1118; border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; padding: 24px 20px; width: 80%; max-width: 320px;
  text-align: center; z-index: 10000;
  animation: popIn .3s ease-out;
}
@keyframes popIn {
  from { transform: translate(-50%,-50%) scale(.9); opacity: 0; }
  to   { transform: translate(-50%,-50%) scale(1);  opacity: 1; }
}
.pp-popup h3 {
  color: var(--accent); font-size: 1.4rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px;
}
.pp-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 12px 16px; margin: 8px 0;
  font-size: 1.1rem; font-weight: 700;
}
.pp-close {
  background: var(--accent-gradient); color: #000; border: none;
  width: 100%; padding: 13px; border-radius: 14px;
  font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 18px;
}

/* ── Wallet ───────────────────────────────────────────────── */
.wallet-card {
  background: linear-gradient(145deg, var(--secondary-bg), var(--primary-bg));
  border: 1px solid var(--border); border-radius: 14px; padding: 20px;
  margin-bottom: 15px;
}
.balance-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.balance-row:last-child { border-bottom: none; }
.balance-label { color: var(--text-secondary); font-size: .9rem; }
.balance-value { font-size: 1.1rem; font-weight: 700; }
.balance-action { min-width: 90px; text-align: right; }

/* ── Transaction Item ────────────────────────────────────── */
.transaction-item {
  background: linear-gradient(135deg, rgba(26,26,26,.8), rgba(26,26,26,.6));
  border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 10px;
  display: flex; justify-content: space-between; align-items: center;
  transition: all .2s;
}
.transaction-item:hover { transform: translateX(4px); }
.txn-left { flex: 1; }
.txn-type { font-weight: 600; font-size: .9rem; }
.txn-time { font-size: .75rem; color: var(--text-secondary); margin-top: 3px; }
.txn-amount { font-weight: 700; font-size: 1rem; }
.txn-amount.credit { color: var(--accent); }
.txn-amount.debit  { color: var(--danger); }

/* ── Earn Section ─────────────────────────────────────────── */
.earn-tab-grid { display: flex; gap: 12px; margin-bottom: 20px; }
.earn-tab {
  flex: 1; background: var(--secondary-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px; text-align: center; cursor: pointer;
  transition: border-color .2s;
}
.earn-tab.active { border-color: var(--accent); }
.earn-tab-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 8px;
}
.earn-tab-icon.scratch { background: rgba(59,130,246,.2); color: #3b82f6; }
.earn-tab-icon.watch   { background: rgba(29,185,84,.2);  color: var(--accent); }
.earn-tab h4 { font-size: .9rem; font-weight: 600; margin-bottom: 3px; }
.earn-tab p  { font-size: .75rem; color: var(--text-secondary); margin: 0; }

.scratch-card {
  width: 100%; min-height: 150px; background: #0f172a;
  border: 1px dashed rgba(148,163,184,.5); border-radius: 14px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; margin-bottom: 12px;
  animation: scratchGlow 2s infinite;
}
.scratch-card::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg,
    rgba(148,163,184,.35), rgba(148,163,184,.35) 6px,
    transparent 6px, transparent 12px);
  transition: opacity .35s;
}
.scratch-card.revealed::before { opacity: 0; }
.scratch-result {
  position: relative; z-index: 5;
  font-size: 2rem; font-weight: 800; color: var(--accent);
}
@keyframes scratchGlow {
  0%,100% { box-shadow: 0 0 8px rgba(29,185,84,.3); }
  50%      { box-shadow: 0 0 20px rgba(29,185,84,.6); }
}

/* ── Profile ─────────────────────────────────────────────── */
.profile-header {
  background: linear-gradient(145deg, var(--secondary-bg), var(--primary-bg));
  border: 1px solid var(--border); border-radius: 14px;
  padding: 22px; text-align: center; margin-bottom: 18px;
}
.profile-avatar {
  width: 75px; height: 75px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--accent);
  margin-bottom: 10px;
}
.profile-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 3px; }
.profile-email { font-size: .8rem; color: var(--text-secondary); }
.profile-stats { display: flex; gap: 0; border-top: 1px solid var(--border); padding-top: 15px; margin-top: 15px; }
.profile-stat { flex: 1; text-align: center; }
.profile-stat strong { display: block; font-size: 1.1rem; font-weight: 700; }
.profile-stat span { font-size: .7rem; color: var(--text-secondary); }

.profile-menu { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.profile-menu-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-primary); text-decoration: none;
  transition: background .2s; cursor: pointer;
  background: none; border: none; border-bottom: 1px solid var(--border);
  width: 100%; text-align: left; font-size: .95rem; font-family: inherit;
}
.profile-menu-item:last-child { border-bottom: none; }
.profile-menu-item:hover { background: rgba(255,255,255,.04); }
.profile-menu-item i:first-child { color: var(--accent); margin-right: 12px; width: 20px; }
.profile-menu-item .bi-chevron-right { color: var(--text-secondary); font-size: .85rem; }

/* ── Leaderboard ─────────────────────────────────────────── */
.lb-item {
  display: flex; align-items: center;
  background: var(--secondary-bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px; margin-bottom: 10px;
  transition: .2s;
}
.lb-item:first-child { border-color: var(--accent); box-shadow: 0 0 8px rgba(29,185,84,.2); }
.lb-rank { font-size: 1.1rem; font-weight: 700; color: var(--text-secondary); width: 36px; text-align: center; }
.lb-item:first-child .lb-rank { color: var(--accent); font-size: 1.3rem; }
.lb-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin: 0 12px; border: 2px solid var(--border); }
.lb-info { flex: 1; }
.lb-name { font-weight: 600; font-size: .9rem; }
.lb-earnings { font-weight: 700; color: var(--accent); font-size: .95rem; }

/* ── Notification ────────────────────────────────────────── */
.notif-item {
  display: flex; gap: 12px; padding: 14px;
  background: var(--secondary-bg); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 10px; position: relative;
}
.notif-img { width: 55px; height: 55px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.notif-body { flex: 1; }
.notif-title { font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.notif-msg { color: var(--text-secondary); font-size: .85rem; line-height: 1.4; }
.notif-time { font-size: .72rem; color: var(--text-secondary); margin-top: 5px; }
.notif-dot {
  width: 9px; height: 9px; background: var(--accent);
  border-radius: 50%; position: absolute; top: 10px; right: 10px;
}

/* ── Chat Bubbles ────────────────────────────────────────── */
#chatMessages { max-height: 52vh; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.chat-bubble { padding: 8px 12px; border-radius: 16px; max-width: 80%; word-wrap: break-word; }
.chat-bubble .sender { font-size: .72rem; font-weight: 700; margin-bottom: 2px; color: var(--accent); }
.chat-bubble .msg-time { font-size: .68rem; opacity: .6; margin-top: 3px; display: block; text-align: right; }
.chat-bubble .reply-quote {
  background: rgba(0,0,0,.25); border-left: 3px solid var(--accent);
  padding: 5px 8px; border-radius: 4px; margin-bottom: 5px; font-size: .8rem;
}
.my-bubble { background: var(--accent); color: #000; align-self: flex-end; }
.other-bubble { background: var(--secondary-bg); border: 1px solid var(--border); align-self: flex-start; }

/* ── Tabs ────────────────────────────────────────────────── */
.tab-nav { display: flex; background: var(--secondary-bg); border-radius: 8px; padding: 4px; margin-bottom: 14px; }
.tab-btn {
  flex: 1; background: none; border: none; color: var(--text-secondary);
  padding: 8px; border-radius: 6px; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: .2s;
}
.tab-btn.active { background: var(--accent); color: #000; }

/* ── Modals ──────────────────────────────────────────────── */
.modal-content { background: var(--secondary-bg); color: var(--text-primary); border: 1px solid var(--border); }
.modal-header  { border-bottom-color: var(--border); }
.modal-footer  { border-top-color: var(--border); }
.btn-close-white { filter: invert(1) brightness(200%); }

/* ── Deposit Stepper ─────────────────────────────────────── */
.amount-presets { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.preset-btn {
  background: var(--primary-bg); border: 1px solid var(--border);
  color: var(--text-primary); padding: 10px; border-radius: 8px;
  font-weight: 600; cursor: pointer; transition: .2s;
}
.preset-btn:hover, .preset-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }

/* ── Alerts ──────────────────────────────────────────────── */
.alert { border-radius: 8px; font-size: .9rem; }

/* ── Utilities ───────────────────────────────────────────── */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-secondary) !important; }
.text-danger  { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-success { color: var(--success) !important; }
.fw-700       { font-weight: 700; }
.tc           { text-align: center; }

/* ── Spinner ─────────────────────────────────────────────── */
.spinner-border { color: var(--accent); }

/* ── Placeholder Glow ────────────────────────────────────── */
.placeholder { background: rgba(255,255,255,.08); border-radius: 4px; }
@keyframes phGlow { 0%,100%{opacity:.5} 50%{opacity:1} }
.placeholder-glow .placeholder { animation: phGlow 1.5s infinite; }

/* ── Pagination ──────────────────────────────────────────── */
.page-link { background: var(--secondary-bg); color: var(--text-primary); border-color: var(--border); }
.page-item.active .page-link { background: var(--accent); border-color: var(--accent); color: #000; }
.page-link:hover { background: var(--card-bg); color: var(--text-primary); }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--primary-bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
