/* ========== RESET & BASE ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: #0a0e17;
  color: #e0e0e0;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== HEADER ========== */
.header {
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky; top: 0; z-index: 100;
  padding: 0 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.5rem; font-weight: 900; color: #fff;
  letter-spacing: 2px;
}
.logo i { color: #ff4444; margin-right: 8px; }
.logo span { color: #ff4444; }
.nav { display: flex; gap: 8px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600;
  color: #999; transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,68,68,0.15); }
.nav-live { display: inline-flex; align-items: center; gap: 6px; }
.nav-admin { color: #ff4444; }

/* ========== HERO (TOP EVENT) ========== */
.hero {
  position: relative;
  min-height: 420px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,68,68,0.08)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,68,68,0.05)" stroke-width="0.5"/></svg>') center/cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,14,23,0.9) 0%, rgba(10,14,23,0.4) 100%);
}
/* Image as a stylish card on the left, text fully on the right */
.hero-image {
  flex: 0 0 42%;
  max-width: 42%;
  align-self: center;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06) inset;
  position: relative;
  overflow: hidden;
}
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,68,68,0.10) 0%, transparent 50%, rgba(0,0,0,0.20) 100%);
  pointer-events: none;
}
.hero.has-image .hero-overlay { display: none; }
.hero.has-image .hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px 0;
}
.hero.has-image .hero-text {
  flex: 1;
  min-width: 0;
}
.hero.has-image .hero-text .hero-desc,
.hero.has-image .hero-text .hero-promo { max-width: 100%; }
@media (max-width: 900px) {
  .hero.has-image .hero-content {
    flex-direction: column;
    gap: 24px;
    padding: 32px 0;
  }
  .hero-image {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
}
.hero-content { position: relative; z-index: 2; padding: 60px 0; }
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff4444, #ff6b35);
  color: #fff; font-weight: 700; font-size: 0.8rem;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 20px; letter-spacing: 1px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,68,68,0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(255,68,68,0.2); }
}
.hero-teams {
  font-size: 2.8rem; font-weight: 900; color: #fff;
  line-height: 1.2; margin-bottom: 12px;
}
.hero-teams .vs {
  color: #ff4444; font-size: 1.8rem; margin: 0 16px;
  font-weight: 600;
}
.hero-meta {
  font-size: 1rem; color: #aaa; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.hero-desc { color: #ccc; font-size: 0.95rem; margin-bottom: 12px; max-width: 500px; }

/* Hero exclusive/free tags */
.hero-exclusive {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.exclusive-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #ff4444, #ff6b35);
  color: #fff; font-weight: 800; font-size: 0.75rem;
  padding: 5px 14px; border-radius: 6px;
  letter-spacing: 1.5px; text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}
.free-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #38ef7d, #11998e);
  color: #fff; font-weight: 800; font-size: 0.75rem;
  padding: 5px 14px; border-radius: 6px;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-promo {
  color: rgba(255,255,255,0.7); font-size: 0.9rem;
  margin-bottom: 24px; max-width: 500px;
  font-style: italic; line-height: 1.5;
}

.btn-watch {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #ff4444, #ff6b35);
  color: #fff; font-weight: 700; font-size: 1rem;
  padding: 14px 32px; border-radius: 12px;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-watch:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,68,68,0.4); }
.hero.no-event { min-height: 200px; }
.hero.no-event .hero-content { text-align: center; width: 100%; }

/* ========== SPORT TAGS ========== */
.sport-tag {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
}
.sport-tag.nba { background: rgba(255,165,0,0.2); color: #ffa500; }
.sport-tag.nhl { background: rgba(0,150,255,0.2); color: #0096ff; }
.sport-tag.mlb { background: rgba(255,0,0,0.2); color: #ff4444; }
.sport-tag.nfl { background: rgba(0,200,100,0.2); color: #00c864; }
.sport-tag.ufc { background: rgba(200,0,200,0.2); color: #c800c8; }
.sport-tag.soccer { background: rgba(0,200,0,0.2); color: #00c800; }

/* ========== FILTERS ========== */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 24px 20px; justify-content: center;
}
.filter-btn {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: #999; padding: 10px 20px; border-radius: 10px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover { background: rgba(255,68,68,0.1); color: #fff; border-color: rgba(255,68,68,0.3); }
.filter-btn.active { background: rgba(255,68,68,0.2); color: #ff4444; border-color: #ff4444; }
.filter-btn i { margin-right: 6px; }

/* ========== SECTION ========== */
.section { padding: 20px 20px 60px; }
.section-title {
  font-size: 1.4rem; font-weight: 700; color: #fff;
  margin-bottom: 24px;
}
.section-title i { color: #ff4444; margin-right: 8px; }

/* ========== MATCHES GRID ========== */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.match-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}
.match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,68,68,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.match-card-image {
  height: 180px;
  background-size: cover; background-position: center;
  position: relative;
}
.match-card-image.no-img {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex; align-items: center; justify-content: center;
}
.match-card-logos {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  position: absolute; inset: 0; z-index: 2;
}
.team-logo {
  width: 70px; height: 70px; object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  transition: transform 0.3s;
}
.match-card:hover .team-logo { transform: scale(1.1); }
.logo-vs {
  color: rgba(255,255,255,0.3); font-size: 1.2rem; font-weight: 900;
}
.match-card-image.no-img::after {
  content: '\f185';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 3rem;
  color: rgba(255,255,255,0.05);
}
.match-card-image .sport-badge {
  position: absolute; top: 12px; left: 12px;
}
.match-card-image .live-badge {
  position: absolute; top: 12px; right: 12px;
  background: #ff4444; color: #fff; font-size: 0.7rem;
  font-weight: 700; padding: 4px 10px; border-radius: 6px;
  animation: pulse 2s infinite;
}
.match-card-body { padding: 20px; }
.match-card-teams {
  font-size: 1.15rem; font-weight: 700; color: #fff;
  margin-bottom: 8px;
}
.match-card-teams .vs { color: #ff4444; font-weight: 600; margin: 0 8px; font-size: 0.9rem; }
.match-card-date {
  font-size: 0.85rem; color: #888;
  display: flex; align-items: center; gap: 6px;
}
.match-card-date i { color: #ff4444; }
.match-card-desc {
  margin-top: 8px; font-size: 0.85rem; color: #666;
  line-height: 1.4;
}
.match-card.no-stream { opacity: 0.7; cursor: default; }
.match-card.no-stream:hover { transform: none; border-color: rgba(255,255,255,0.06); box-shadow: none; }
.stream-badge {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(56,239,125,0.9); color: #000; font-size: 0.75rem;
  font-weight: 700; padding: 5px 12px; border-radius: 6px;
}
.admin-match-item.has-stream { border-color: rgba(56,239,125,0.2); background: rgba(56,239,125,0.03); }

.no-matches {
  text-align: center; padding: 60px 20px; color: #555;
}
.no-matches i { font-size: 3rem; margin-bottom: 16px; color: #333; }

/* ========== WATCH PAGE ========== */
.watch-main { padding: 24px 20px 60px; }
.watch-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}
.watch-left { min-width: 0; position: relative; }
.player-wrapper {
  position: relative; width: 100%;
  aspect-ratio: 16/9; max-height: 70vh;
  background: #000; border-radius: 16px;
  overflow: hidden;
}
#video-player {
  width: 100%; height: 100%;
  background: #000;
}
.player-status {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; z-index: 5;
  background: rgba(0,0,0,0.8);
}
.player-offline {
  position: absolute; inset: 0;
  flex-direction: column; align-items: center; justify-content: center;
  color: #fff; z-index: 5;
  background: rgba(10,14,23,0.95); gap: 12px;
}
.player-offline i { font-size: 3rem; color: #ff4444; }
.player-offline h3 { font-size: 1.3rem; }
.player-offline p { color: #888; }
.btn-retry {
  margin-top: 8px; background: #ff4444; color: #fff;
  border: none; padding: 10px 24px; border-radius: 10px;
  font-weight: 600; cursor: pointer; font-family: inherit;
  transition: all 0.2s;
}
.btn-retry:hover { background: #ff6b35; }

/* Reconnect overlay — small pill over frozen video */
.player-reconnect-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 6;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}
.reconnect-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 24px;
  border-radius: 50px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.reconnect-pill i { color: #ff8c00; font-size: 1rem; }

/* Custom player controls */
.player-wrapper { position: relative; cursor: pointer; }
.player-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s;
}
.player-controls.visible, .player-wrapper:hover .player-controls { opacity: 1; }

/* ===== PLAY OVERLAY (center) ===== */
.play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 96px; height: 96px;
  border: 0; padding: 0; margin: 0;
  background: transparent;
  cursor: pointer;
  z-index: 5;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.2), opacity .25s ease;
  animation: playOverlayIn .35s cubic-bezier(.2,.9,.3,1.2);
  -webkit-tap-highlight-color: transparent;
}
.play-overlay:focus { outline: none; }
.play-overlay:focus-visible .play-overlay-circle {
  box-shadow: 0 0 0 3px rgba(255,255,255,.6), 0 12px 36px rgba(0,0,0,.45);
}
.play-overlay-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  animation: playOverlayPulse 2.4s ease-out infinite;
  pointer-events: none;
}
.play-overlay-circle {
  position: relative;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 8px 32px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -1px 0 rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.2,.9,.3,1.2);
}
.play-overlay-circle svg {
  margin-left: 4px; /* optical centering of the triangle */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}
.play-overlay:hover { transform: translate(-50%, -50%) scale(1.06); }
.play-overlay:hover .play-overlay-circle {
  background: rgba(255,255,255,.18);
  box-shadow:
    0 12px 40px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -1px 0 rgba(0,0,0,.2);
}
.play-overlay:active { transform: translate(-50%, -50%) scale(.96); }
@keyframes playOverlayPulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes playOverlayIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.85); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (max-width: 600px) {
  .play-overlay { width: 78px; height: 78px; }
  .play-overlay-circle { width: 62px; height: 62px; }
  .play-overlay-circle svg { width: 26px; height: 26px; }
}
.player-controls-left { display: flex; align-items: center; gap: 12px; }
.player-controls-right { display: flex; align-items: center; gap: 10px; }
.live-badge {
  display: flex; align-items: center; gap: 6px;
  background: #ff4444; color: #fff;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px; border-radius: 4px;
}
.live-badge i { font-size: 0.45rem; animation: pulse 1.5s infinite; }
.player-controls-left { display: flex; align-items: center; }
.pc-btn {
  background: none; border: none; color: #fff;
  font-size: 1.1rem; cursor: pointer;
  padding: 6px; opacity: 0.85; transition: opacity 0.2s;
}
.pc-btn:hover { opacity: 1; }
.pc-volume {
  width: 80px; height: 4px; accent-color: #ff8c00;
  cursor: pointer;
}
#video-player { cursor: pointer; }
#video-player::-webkit-media-controls-panel,
#video-player::-webkit-media-controls-start-playback-button,
#video-player::-webkit-media-controls-overlay-play-button,
#video-player::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
video::-webkit-media-controls { display: none !important; }

.match-info-panel {
  margin-top: 20px; padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

/* ===== REACTIONS BAR ===== */
.reactions-bar {
  display: flex; gap: 10px;
  margin-top: 14px;
  align-items: center;
}
.reaction-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: #cfcfcf;
  font-size: 0.92rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.reaction-btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
  transform: translateY(-1px);
}
.reaction-btn:active { transform: translateY(0) scale(0.97); }
.reaction-btn i { font-size: 1rem; }
.reaction-btn .reaction-count {
  font-variant-numeric: tabular-nums;
  min-width: 18px; text-align: left;
}
.reaction-like.active {
  background: rgba(56, 239, 125, 0.14);
  border-color: rgba(56, 239, 125, 0.45);
  color: #38ef7d;
}
.reaction-dislike.active {
  background: rgba(231, 76, 60, 0.14);
  border-color: rgba(231, 76, 60, 0.45);
  color: #ff6b5e;
}
@keyframes reactionPop { 0%{transform:scale(1)} 50%{transform:scale(1.18)} 100%{transform:scale(1)} }
.reaction-btn.active i { animation: reactionPop 0.28s ease; }

.viewer-stat {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: auto;
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  color: #cfcfcf;
  font-size: 0.9rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  user-select: none;
}
.viewer-stat i { font-size: 0.85rem; color: #888; }
.viewer-stat .viewer-stat-label {
  color: #888; font-weight: 500; font-size: 0.82rem;
}
.viewer-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff4444;
  box-shadow: 0 0 0 0 rgba(255,68,68,0.6);
  animation: viewerDotPulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes viewerDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,68,68,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(255,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,68,68,0); }
}
@media (max-width: 540px) {
  .viewer-stat .viewer-stat-label { display: none; }
}
.match-info-teams { font-size: 1.5rem; font-weight: 700; color: #fff; }
.match-info-teams .vs { color: #ff4444; margin: 0 12px; }
.match-info-meta { color: #888; margin-top: 8px; }
.match-info-desc { color: #aaa; margin-top: 8px; }

/* Watch page news block */
.watch-news-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.watch-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.watch-news-header h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.watch-news-header h3 i { color: #ff8c00; }
.watch-news-more {
  color: #ff8c00;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.watch-news-more:hover { color: #ff4444; }
.watch-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.watch-news-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}
.watch-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,140,0,0.3);
}
.watch-news-img {
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.04);
}
.watch-news-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.1);
}
.watch-news-body { padding: 14px; }
.watch-news-sport {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,140,0,0.15);
  color: #ff8c00;
}
.watch-news-sport.nba { background: rgba(255,107,0,0.15); color: #ff6b00; }
.watch-news-sport.nhl { background: rgba(0,120,255,0.15); color: #0088ff; }
.watch-news-sport.mlb { background: rgba(255,50,50,0.15); color: #ff4444; }
.watch-news-sport.nfl { background: rgba(0,180,80,0.15); color: #00cc55; }
.watch-news-sport.soccer { background: rgba(140,0,255,0.15); color: #aa44ff; }
.watch-news-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.watch-news-date {
  color: #666;
  font-size: 0.75rem;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .watch-news-grid { grid-template-columns: 1fr; }
  .watch-news-img { height: 120px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .watch-news-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Ad block */
.watch-right { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }

/* ===== SIDE PANEL: Chat + Poll Tabs ===== */
.side-panel {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 540px;
  max-height: calc(100vh - 120px);
}
.side-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
}
.side-tab {
  flex: 1;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.55);
  padding: 14px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
  position: relative;
  transition: color .18s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.side-tab i { font-size: 14px; }
.side-tab:hover { color: rgba(255,255,255,.85); }
.side-tab.active { color: #fff; }
.side-tab.active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: -1px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #ff7a18, #ff4444);
}
.side-tab-count {
  display: none;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 2px 7px;
  font-size: 11px;
}
.side-tab-pane { display: none; flex: 1; flex-direction: column; min-height: 0; }
.side-tab-pane.active { display: flex; }

/* ===== CHAT ===== */
.chat-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 8px;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
}
.chat-list::-webkit-scrollbar { width: 6px; }
.chat-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }
.chat-list::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }
.chat-empty {
  margin: auto;
  text-align: center;
  color: rgba(255,255,255,.35);
  padding: 30px 20px;
}
.chat-empty i { font-size: 36px; margin-bottom: 10px; display: block; }
.chat-empty p { margin: 0; font-size: 13px; }
.chat-msg {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 8px 11px;
  animation: chatSlide .25s cubic-bezier(.2,.9,.3,1.2);
}
.chat-msg.me {
  background: linear-gradient(135deg, rgba(255,122,24,.10), rgba(255,68,68,.06));
  border-color: rgba(255,122,24,.25);
}
.chat-msg-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 3px;
}
.chat-nick {
  font-weight: 600; font-size: 12px;
}
.chat-time {
  font-size: 11px; color: rgba(255,255,255,.35);
}
.chat-msg-body {
  color: rgba(255,255,255,.92); font-size: 13.5px; line-height: 1.4;
  word-wrap: break-word; overflow-wrap: break-word;
}
@keyframes chatSlide {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-input-row {
  display: flex; gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.15);
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .18s, background .18s;
}
.chat-input:focus {
  border-color: rgba(255,122,24,.5);
  background: rgba(255,255,255,.07);
}
.chat-send {
  width: 38px; height: 38px;
  border: 0; border-radius: 8px;
  background: linear-gradient(135deg, #ff7a18, #ff4444);
  color: #fff; font-size: 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex; align-items: center; justify-content: center;
}
.chat-send:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,68,68,.35); }
.chat-send:active { transform: translateY(0); }
.chat-meta {
  padding: 6px 12px 10px;
  font-size: 11.5px;
  color: rgba(255,255,255,.4);
  text-align: center;
}
#chat-nick { color: rgba(255,122,24,.9); font-weight: 600; }
.chat-disabled {
  margin: auto;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.5);
  padding: 30px;
  font-size: 14px;
}
.chat-disabled i { font-size: 28px; opacity: .6; }

.chat-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20,20,20,.95);
  color: #fff;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,68,68,.3);
  font-size: 13.5px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(.2,.9,.3,1.2);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.chat-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== POLL ===== */
.poll-empty {
  margin: auto;
  text-align: center;
  color: rgba(255,255,255,.35);
  padding: 30px 20px;
  display: flex; flex-direction: column; align-items: center;
}
.poll-empty i { font-size: 40px; margin-bottom: 10px; }
.poll-empty p { margin: 0; font-size: 13px; }
.poll-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.poll-question {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: #fff;
  font-weight: 600;
}
.poll-options { display: flex; flex-direction: column; gap: 8px; }
.poll-option {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  padding: 11px 14px;
  transition: background .18s, border-color .18s, transform .12s;
  display: block;
  width: 100%;
}
button.poll-option:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,122,24,.4);
  transform: translateY(-1px);
}
button.poll-option:active { transform: translateY(0); }
.poll-option.voted { cursor: default; padding: 11px 14px; }
.poll-option-bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,122,24,.18), rgba(255,68,68,.10));
  width: 0%;
  transition: width .6s cubic-bezier(.2,.8,.2,1);
  z-index: 0;
}
.poll-option.my-vote .poll-option-bar {
  background: linear-gradient(90deg, rgba(255,122,24,.32), rgba(255,68,68,.18));
}
.poll-option.my-vote { border-color: rgba(255,122,24,.55); }
.poll-option-row {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
}
.poll-option-label { display: inline-flex; align-items: center; gap: 6px; }
.poll-option-label .fa-check-circle { color: #ff9d4d; }
.poll-option-pct { font-weight: 600; font-size: 13px; color: rgba(255,255,255,.8); }
.poll-total {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-align: center;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ===== AD BLOCK (existing styles below) ===== */
.ad-block {
  background: linear-gradient(135deg, rgba(255,165,0,0.06), rgba(255,68,68,0.04));
  border: 1px solid rgba(255,165,0,0.25);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s;
}
.ad-block:hover {
  border-color: rgba(255,165,0,0.5);
  box-shadow: 0 0 30px rgba(255,165,0,0.1);
}
.ad-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, #ff8c00, #ff4444);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  z-index: 2;
}
.ad-image-wrap { position: relative; }
.ad-image {
  width: 100%;
  height: auto;
  display: block;
}
.ad-image-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(255,68,68,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,165,0,0.3);
}
.ad-body {
  padding: 16px;
}
.ad-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.ad-text {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.5;
  margin-bottom: 14px;
}
.ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff8c00, #ff4444);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
}
.ad-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,140,0,0.3);
}
.ad-label {
  text-align: center;
  padding: 8px;
  color: #444;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ========== ADMIN PAGE ========== */
.admin-main { padding: 24px 20px 60px; }
.admin-title {
  font-size: 1.6rem; font-weight: 700; color: #fff;
  margin-bottom: 24px;
}
.admin-title i { color: #ff4444; }

.obs-info {
  background: linear-gradient(135deg, rgba(0,150,255,0.1), rgba(0,100,255,0.05));
  border: 1px solid rgba(0,150,255,0.2);
  border-radius: 12px; padding: 20px; margin-bottom: 24px;
}
.obs-info h3 { color: #0096ff; margin-bottom: 12px; }
.obs-fields { display: flex; flex-direction: column; gap: 8px; }
.obs-fields code {
  background: rgba(0,0,0,0.3); padding: 4px 10px;
  border-radius: 6px; font-size: 0.9rem; color: #4fc3f7;
}

.admin-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 24px; margin-bottom: 24px;
}
.admin-card h2 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
.admin-card h2 i { color: #ff4444; }

.admin-tabs { display: flex; gap: 6px; }
.admin-tab {
  padding: 6px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: #888;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}
.admin-tab:hover { background: rgba(255,255,255,0.06); color: #ccc; }
.admin-tab.active { background: rgba(255,140,0,0.15); color: #ff8c00; border-color: rgba(255,140,0,0.3); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-group label { font-size: 0.85rem; color: #999; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 10px 14px;
  color: #fff; font-size: 0.9rem; font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #ff4444;
}
.checkbox-group { flex-direction: row; align-items: center; justify-content: flex-start; }
.checkbox-group label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.btn-submit {
  background: linear-gradient(135deg, #ff4444, #ff6b35);
  color: #fff; border: none; padding: 12px 28px;
  border-radius: 10px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,68,68,0.3); }
.btn-cancel {
  background: rgba(255,255,255,0.05); color: #999;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 28px; border-radius: 10px;
  font-weight: 600; cursor: pointer; font-family: inherit;
}

.admin-match-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 8px; transition: all 0.2s;
}
.admin-match-item:hover { background: rgba(255,255,255,0.04); }
.admin-match-item.is-top { border-color: rgba(255,165,0,0.3); background: rgba(255,165,0,0.05); }
.ami-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ami-date { color: #666; font-size: 0.85rem; }
.ami-key { color: #4fc3f7; font-size: 0.8rem; }
.ami-top { color: #ffa500; font-size: 0.8rem; font-weight: 700; }
.ami-actions { display: flex; gap: 6px; }
.ami-actions button {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: #999; width: 36px; height: 36px;
  border-radius: 8px; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.ami-actions button:hover { color: #fff; border-color: #ff4444; }
.ami-actions .btn-del:hover { background: rgba(255,0,0,0.2); color: #ff4444; }
.empty { color: #555; text-align: center; padding: 20px; }

/* ========== LIVE NOW SECTION ========== */
.live-title {
  color: #ff4444;
}
.live-dot {
  font-size: 0.6rem;
  animation: livePulse 1.5s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.live-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.live-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255,68,68,0.08), rgba(255,107,53,0.05));
  border: 1px solid rgba(255,68,68,0.2);
  border-radius: 14px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.live-card:hover {
  border-color: rgba(255,68,68,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,68,68,0.15);
}
.live-card-pulse {
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, #ff4444, #ff6b35);
  animation: livePulse 1.5s ease-in-out infinite;
}
.live-card-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.live-card-teams {
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-team-logo {
  width: 36px; height: 36px;
}
.live-card-names {
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-team {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.live-at {
  color: #ff4444;
  font-weight: 600;
  font-size: 0.9rem;
}
.live-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-card-time {
  color: #888;
  font-size: 0.85rem;
}
.live-card-desc {
  color: #666;
  font-size: 0.8rem;
}
.live-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.live-badge-big {
  background: rgba(255,68,68,0.15);
  color: #ff4444;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
}
.live-badge-big i {
  font-size: 0.5rem;
  vertical-align: middle;
  margin-right: 4px;
  animation: livePulse 1.5s ease-in-out infinite;
}
.live-watch-btn {
  background: linear-gradient(135deg, #ff4444, #ff6b35);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.live-card:hover .live-watch-btn {
  box-shadow: 0 4px 15px rgba(255,68,68,0.4);
}

/* ========== FOOTER ========== */
.site-footer {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px 0 24px;
  margin-top: 60px;
}
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
}
.footer-brand .logo { font-size: 1.3rem; display: inline-block; margin-bottom: 10px; }
.footer-brand p { color: #666; font-size: 0.85rem; line-height: 1.6; }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { color: #666; font-size: 0.85rem; transition: color 0.2s; }
.footer-col a:hover { color: #ff4444; }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  margin-top: 20px;
}
.footer-bottom p { color: #444; font-size: 0.8rem; text-align: center; }

/* ========== NEWS GRID (HOME) ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,68,68,0.2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.news-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.news-card-featured .news-card-image { min-height: 260px; }
.news-card-image {
  min-height: 160px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.news-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-featured .news-card-title { font-size: 1.3rem; -webkit-line-clamp: 4; }
.news-card-summary {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-date { color: #555; font-size: 0.8rem; margin-top: auto; }

/* ========== NEWS ARTICLE PAGE ========== */
.news-article-page { padding-top: 30px; padding-bottom: 60px; max-width: 800px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #888; font-size: 0.9rem; margin-bottom: 24px;
  transition: color 0.2s;
}
.back-link:hover { color: #ff4444; }
.news-article-hero {
  width: 100%; height: 400px;
  background-size: cover; background-position: center;
  border-radius: 14px; margin-bottom: 24px;
}
.news-article-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.news-article-date { color: #666; font-size: 0.85rem; }
.news-article-title {
  font-size: 2rem; font-weight: 900; color: #fff;
  line-height: 1.3; margin-bottom: 24px;
}
.news-article-body {
  color: #ccc; font-size: 1rem; line-height: 1.8;
}
.news-article-body p { margin-bottom: 16px; }
.news-article-error {
  text-align: center; padding: 60px 20px; color: #666;
}
.news-article-error i { font-size: 3rem; color: #ff4444; margin-bottom: 16px; }
.news-article-error h2 { color: #fff; margin-bottom: 8px; }
.news-article-loading {
  text-align: center; padding: 60px; color: #666; font-size: 1.1rem;
}

/* Related news */
.news-related { margin-top: 48px; }
.news-related h3 { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.news-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card-small {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; overflow: hidden;
  transition: all 0.2s;
}
.news-card-small:hover { border-color: rgba(255,68,68,0.2); transform: translateY(-2px); }
.news-card-small-img {
  width: 100%; height: 100px; object-fit: cover;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}
.news-card-small-body { padding: 10px; }
.news-card-small-body h4 {
  font-size: 0.8rem; color: #ddd; font-weight: 600; line-height: 1.4;
  margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-no-img { background: linear-gradient(135deg, #1a1a2e, #0f3460); }

/* ========== MORE BUTTON ========== */
.section-more {
  text-align: center;
  margin-top: 28px;
}
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #ccc;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.btn-more:hover {
  background: rgba(255,68,68,0.1);
  border-color: rgba(255,68,68,0.3);
  color: #ff4444;
  transform: translateY(-2px);
}

/* ========== NEWS PAGE ========== */
.newspage-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.newspage-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}
.newspage-title i { color: #ff4444; margin-right: 10px; }
.newspage-subtitle {
  color: #888;
  font-size: 1rem;
}

/* Top stories grid */
.news-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  min-height: 400px;
}
.news-top-left { display: flex; }
.news-top-main {
  display: flex;
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
}
.news-top-img {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.news-top-overlay {
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 30px 24px 24px;
  width: 100%;
}
.news-top-overlay h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 10px 0 8px;
}
.news-top-overlay p {
  color: #aaa;
  font-size: 0.85rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-top-date {
  color: #666;
  font-size: 0.8rem;
}
.news-top-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-top-side {
  display: flex;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
  transition: all 0.2s;
}
.news-top-side:hover {
  border-color: rgba(255,68,68,0.2);
  transform: translateX(4px);
}
.news-top-side-img {
  width: 120px;
  min-height: 90px;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.news-top-side-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.news-top-side-body h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ddd;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Category filters */
.news-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 8px;
}
.news-filter-btn {
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #888;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-filter-btn:hover { color: #fff; border-color: rgba(255,255,255,0.15); }
.news-filter-btn.active {
  background: rgba(255,68,68,0.15);
  border-color: rgba(255,68,68,0.3);
  color: #ff4444;
}

/* News category blocks */
.news-category-block {
  margin-bottom: 40px;
}
.news-category-title {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-category-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* News list grid */
.news-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.news-list-card {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}
.news-list-card:hover {
  border-color: rgba(255,68,68,0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.news-list-img {
  width: 160px;
  min-height: 120px;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding: 8px;
}
.news-list-body {
  padding: 14px 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.news-list-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list-body p {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero-teams { font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .matches-grid { grid-template-columns: 1fr; }
  .ami-info { font-size: 0.85rem; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-featured { grid-template-columns: 1fr; }
  .news-related-grid { grid-template-columns: 1fr; }
  .site-footer .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 24px; }
  .news-article-title { font-size: 1.5rem; }
  .news-article-hero { height: 220px; }
  .live-card { flex-direction: column; gap: 16px; align-items: flex-start; }
  .live-card-right { flex-direction: row; align-items: center; }
  .news-top-grid { grid-template-columns: 1fr; }
  .news-top-img { min-height: 250px; }
  .news-list-grid { grid-template-columns: 1fr; }
  .news-list-img { width: 120px; min-height: 90px; }
  .newspage-title { font-size: 1.6rem; }
  .watch-layout { grid-template-columns: 1fr; }
  .watch-right { position: static; }
  .side-panel { height: 460px; }
  .countdown-timer { flex-direction: row; gap: 8px; }
  .countdown-num { font-size: 2rem; width: 60px; height: 60px; }
  .countdown-sep { font-size: 1.5rem; }
  .countdown-title { font-size: 1.3rem; }
}

/* Countdown Overlay */
.countdown-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #141b2d 50%, #1a1040 100%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.countdown-inner {
  text-align: center;
  padding: 40px 24px;
}

.countdown-icon {
  font-size: 3rem;
  color: #e74c3c;
  margin-bottom: 16px;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.countdown-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.countdown-subtitle {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 32px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.countdown-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.countdown-sep {
  font-size: 2rem;
  font-weight: 700;
  color: #e74c3c;
  padding-bottom: 24px;
}

.countdown-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.countdown-note {
  color: #64748b;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-note i {
  color: #f59e0b;
}

/* ============ LEGAL / STATIC PAGES ============ */
.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}
.legal-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-header h1 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.legal-header h1 i {
  color: #ff8c00;
}
.legal-updated {
  color: #888;
  font-size: 0.95rem;
}
.legal-content {
  color: #d4d4d4;
  font-size: 1rem;
  line-height: 1.75;
}
.legal-content h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,140,0,0.25);
}
.legal-content h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 10px;
}
.legal-content p {
  margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 18px 28px;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content a {
  color: #ff8c00;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,140,0,0.3);
  transition: color 0.2s;
}
.legal-content a:hover {
  color: #ffa940;
  border-bottom-color: #ffa940;
}
.legal-content code {
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  color: #ff8c00;
}
.legal-content strong {
  color: #fff;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0 40px;
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,140,0,0.4);
}
.contact-icon {
  font-size: 2rem;
  color: #ff8c00;
  margin-bottom: 12px;
}
.contact-card h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.contact-card p {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 14px;
  min-height: 2.6em;
}
.contact-link {
  display: inline-block;
  color: #ff8c00;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}
.contact-link:hover {
  color: #ffa940;
}
.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px;
  margin-top: 16px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .form-group {
  margin-bottom: 18px;
}
.contact-form label {
  display: block;
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #ff8c00;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
@media (max-width: 600px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
  .legal-header h1 { font-size: 1.7rem; }
  .legal-page { padding: 40px 16px 60px; }
}

