@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --gold: #f0c040;
  --gold-dim: #c8960c;
  --gold-glow: rgba(240,192,64,.45);
  --cyan: #00d4ff;
  --cyan-glow: rgba(0,212,255,.35);
  --purple: #9b5de5;
  --bg-deep: #050810;
  --bg-card: rgba(10,18,40,.75);
  --bg-card2: rgba(6,12,28,.85);
  --border-gold: rgba(240,192,64,.35);
  --border-cyan: rgba(0,212,255,.25);
  --text-main: #e8eaf6;
  --text-dim: #8899bb;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── BACKGROUND ──────────────────────────── */
.mlbb-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,80,160,.28) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(100,0,200,.18) 0%, transparent 60%),
    linear-gradient(180deg, #050810 0%, #070d1c 60%, #050810 100%);
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.page-wrap {
  position: relative;
  z-index: 1;
  padding: 0 0 40px;
}

/* ── DIVIDER ─────────────────────────────── */
.mlbb-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--cyan), var(--gold), transparent);
  margin: 6px 0;
  opacity: .6;
}

/* ── TOP BAR ─────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(5,8,16,.92);
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.topbar-title {
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.topbar-badge {
  font-size: .7rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #000;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
}

/* ── HERO BANNER ─────────────────────────── */
.hero-banner {
  position: relative;
  text-align: center;
  padding: 36px 16px 28px;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,212,255,.12) 0%, transparent 70%);
  pointer-events: none;
}

.avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
}

.avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: ringPulse 2.5s ease-in-out infinite;
}

.avatar-ring2 {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(240,192,64,.3);
  animation: ringPulse 2.5s ease-in-out infinite .5s;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 30px var(--gold-glow), 0 0 60px rgba(240,192,64,.15);
  object-fit: cover;
  display: block;
  animation: avatarFloat 4s ease-in-out infinite;
}

.player-name {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 20px var(--cyan-glow), 0 2px 4px rgba(0,0,0,.8);
  letter-spacing: 1px;
  line-height: 1.1;
}

.challenge-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 6px;
  text-shadow: 0 0 12px var(--gold-glow);
}

/* ── CARDS ───────────────────────────────── */
.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 12px;
}

.mlbb-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 18px 16px;
  margin-top: 14px;
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(0,0,0,.5), inset 0 1px 0 rgba(240,192,64,.08);
  animation: fadeUp .5s ease both;
  position: relative;
  overflow: hidden;
}

.mlbb-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .7;
}

.mlbb-card + .mlbb-card { animation-delay: .07s; }
.mlbb-card:nth-child(3) { animation-delay: .14s; }
.mlbb-card:nth-child(4) { animation-delay: .21s; }
.mlbb-card:nth-child(5) { animation-delay: .28s; }

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(240,192,64,.2), rgba(0,212,255,.1));
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.card-title {
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ── PROGRESS ────────────────────────────── */
.stars-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.stars-current {
  font-family: 'Cinzel', serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold-glow);
  line-height: 1;
}

.stars-sep {
  font-size: 1.4rem;
  color: var(--text-dim);
}

.stars-target {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dim);
}

.progress-wrap {
  height: 22px;
  background: rgba(255,255,255,.06);
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  border-radius: 11px;
  background: linear-gradient(90deg, #0099cc, var(--cyan), var(--gold));
  box-shadow: 0 0 12px var(--cyan-glow);
  position: relative;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3));
  animation: shimmer 2s infinite;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: .8rem;
  color: var(--text-dim);
  font-weight: 600;
}

.progress-pct {
  color: var(--cyan);
}

/* ── MILESTONES ──────────────────────────── */
.milestones {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}

.milestone-badge {
  flex: 1;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  color: #555;
  transition: all .4s;
  letter-spacing: .3px;
}

.milestone-badge i {
  display: block;
  font-size: 1rem;
  margin-bottom: 3px;
}

.milestone-badge.unlocked {
  background: linear-gradient(135deg, rgba(240,192,64,.25), rgba(240,192,64,.08));
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 14px var(--gold-glow);
  animation: unlockPulse 2.5s ease-in-out infinite;
}

/* ── TODAY STARS ─────────────────────────── */
.today-value {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 30px var(--gold-glow);
  line-height: 1;
  animation: floatY 3s ease-in-out infinite;
}

.today-label {
  font-size: .78rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── LAST HERO ───────────────────────────── */
.hero-portrait {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.hero-portrait img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 20px rgba(0,212,255,.2);
  display: block;
  transition: transform .3s, box-shadow .3s;
}

.hero-portrait img:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px var(--cyan-glow);
}

.hero-corner {
  position: absolute;
  bottom: 4px; right: 4px;
  background: var(--gold);
  color: #000;
  font-size: .6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: .5px;
}

.hero-name {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.hero-role-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(155,93,229,.3), rgba(0,212,255,.15));
  border: 1px solid rgba(155,93,229,.5);
  color: #cc99ff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── RULES ───────────────────────────────── */
.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rules-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  font-size: .9rem;
  font-weight: 600;
}

.rules-list li i {
  color: var(--cyan);
  font-size: .9rem;
  width: 18px;
  text-align: center;
}

/* ── NOTES ───────────────────────────────── */
.notes-text {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-dim);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

/* ── TIKTOK BTN ──────────────────────────── */
.tiktok-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, #010101, #1a1a2e);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .5px;
  transition: all .3s;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
}

.tiktok-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,.6);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}

.tiktok-btn .tiktok-icon {
  font-size: 1.3rem;
}

/* ── MATCH HISTORY ───────────────────────── */
.match-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.match-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
  animation: fadeUp .4s ease both;
}

.match-row:hover {
  background: rgba(0,212,255,.06);
  border-color: var(--border-cyan);
}

.match-hero-name {
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
}

.match-role-tag {
  font-size: .7rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.match-stars-badge {
  background: linear-gradient(135deg, rgba(240,192,64,.2), rgba(240,192,64,.05));
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.match-date {
  font-size: .72rem;
  color: var(--text-dim);
  white-space: nowrap;
  text-align: right;
}

.no-matches {
  text-align: center;
  padding: 24px;
  color: var(--text-dim);
  font-size: .9rem;
}

.no-matches i {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
  opacity: .3;
}

/* ── ADMIN PAGE ──────────────────────────── */
.admin-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 12px 40px;
}

.admin-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0 6px;
}

.admin-header i {
  font-size: 1.4rem;
  color: var(--gold);
}

.admin-header h1 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.form-label i {
  color: var(--gold);
  font-size: .8rem;
}

.mlbb-input,
.mlbb-textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: var(--text-main);
  font-family: 'Rajdhani', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}

.mlbb-input:focus,
.mlbb-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: rgba(240,192,64,.04);
}

.mlbb-input::placeholder,
.mlbb-textarea::placeholder {
  color: rgba(255,255,255,.25);
}

.mlbb-textarea {
  resize: vertical;
  min-height: 90px;
}

.mlbb-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-family: 'Cinzel', serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mlbb-btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #000;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.mlbb-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--gold-glow);
  filter: brightness(1.1);
}

.mlbb-btn-gold:active {
  transform: translateY(0);
}

.mlbb-btn-cyan {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #000;
  box-shadow: 0 4px 20px var(--cyan-glow);
}

.mlbb-btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--cyan-glow);
  filter: brightness(1.1);
}

.admin-match-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.admin-match-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  font-size: .85rem;
}

.admin-match-hero { font-weight: 700; }
.admin-match-role { color: var(--text-dim); font-size: .78rem; }
.admin-match-stars { color: var(--gold); font-weight: 700; }
.admin-match-date { color: var(--text-dim); font-size: .72rem; text-align: right; }

/* ── LOGIN PAGE ──────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card2);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,.7), 0 0 60px rgba(240,192,64,.08);
  animation: fadeUp .6s ease;
  z-index: 1;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--cyan), var(--gold), transparent);
}

.login-emblem {
  text-align: center;
  margin-bottom: 24px;
}

.login-emblem i {
  font-size: 3rem;
  color: var(--gold);
  filter: drop-shadow(0 0 16px var(--gold-glow));
  animation: unlockPulse 3s ease-in-out infinite;
}

.login-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.login-sub {
  font-size: .8rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: .9rem;
}

.input-icon-wrap .mlbb-input {
  padding-left: 40px;
}

/* ── ANIMATIONS ──────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ringPulse {
  0%, 100% { opacity: .8; transform: scale(1); }
  50%       { opacity: .3; transform: scale(1.05); }
}

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes shimmer {
  0%   { opacity: 0; transform: translateX(-100%); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

@keyframes unlockPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50%       { transform: scale(1.08); filter: brightness(1.3); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 8px var(--gold-glow); }
  50%       { box-shadow: 0 0 24px var(--gold-glow), 0 0 48px rgba(240,192,64,.15); }
}

/* ── TODAY'S CONTENT CARD ────────────────── */
.tc-card {
  background: linear-gradient(160deg, rgba(10,18,40,.9) 0%, rgba(0,0,20,.85) 100%);
  border-color: rgba(0,212,255,.3);
}

.tc-icon {
  background: linear-gradient(135deg, #010101, #1a1a2e);
  border-color: rgba(255,255,255,.15);
  color: #fff;
  font-size: 1rem;
}

.tc-app-pill {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, #010101, #1a1a2e);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}

.tc-app-pill:hover {
  border-color: rgba(255,255,255,.3);
  color: #fff;
}

.tc-player-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 40px rgba(0,0,0,.7), 0 0 0 1px rgba(0,212,255,.15);
  aspect-ratio: 9 / 16;
}

.tc-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.tc-empty {
  padding: 36px 20px;
  text-align: center;
}

.tc-empty-icon {
  font-size: 2.8rem;
  color: rgba(255,255,255,.12);
  margin-bottom: 12px;
}

.tc-empty-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.tc-empty-sub {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  line-height: 1.5;
}

/* ── PLAY WITH ME ────────────────────────── */
.play-card { background: linear-gradient(135deg, rgba(10,18,40,.85), rgba(0,80,160,.12)); }

.play-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.play-info-box {
  position: relative;
  padding: 12px 40px 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 12px rgba(240,192,64,.06);
}

.play-info-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.play-info-label i { color: var(--gold); }

.play-info-value {
  font-family: 'Cinzel', serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  word-break: break-all;
}

.copy-btn {
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: .85rem;
  cursor: pointer;
  padding: 4px;
  transition: color .2s;
  width: auto;
}

.copy-btn:hover { color: var(--gold); }

/* ── TODAY'S VIDEO THUMB ─────────────────── */
.video-thumb-wrap {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e1a, #0d1830);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}

.video-thumb-wrap:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,212,255,.2);
  border-color: var(--border-cyan);
}

.video-thumb-inner {
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.video-play-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #0077aa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 0 24px var(--cyan-glow);
  animation: unlockPulse 2.5s ease-in-out infinite;
  padding-left: 4px;
}

.video-thumb-label {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: .5px;
}

.tiktok-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #010101, #1a1a2e);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .5px;
  transition: all .3s;
}

.tiktok-open-btn:hover {
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  color: #fff;
  transform: translateY(-1px);
}

/* ── VIDEO MODAL ─────────────────────────── */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.video-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.video-modal-box {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card2);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 20px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: 0 16px 60px rgba(0,0,0,.8), 0 0 40px rgba(240,192,64,.06);
  animation: fadeUp .3s ease;
}

.video-modal-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
}

.video-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text-dim);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}

.video-modal-close:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.video-modal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: .5px;
}

.video-embed-wrap {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 58vh;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

/* ── DELETE BTN ──────────────────────────── */
.delete-btn {
  background: rgba(220,50,50,.12);
  border: 1px solid rgba(220,50,50,.25);
  color: #e05555;
  width: 32px; height: 32px;
  border-radius: 8px;
  font-size: .8rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
  width: auto;
  padding: 6px 10px;
}

.delete-btn:hover {
  background: rgba(220,50,50,.25);
  border-color: rgba(220,50,50,.5);
  color: #ff6b6b;
}

.admin-match-row {
  grid-template-columns: 1fr auto auto auto;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (min-width: 520px) {
  .player-name { font-size: 2.2rem; }
  .avatar      { width: 130px; height: 130px; }
  .stars-current { font-size: 3rem; }
  .today-value   { font-size: 3.6rem; }
  .mlbb-card     { padding: 22px 20px; }
}
