/* ============================================
   BASE LAYOUT
   ============================================ */
.homepage_container {
  background-color: var(--color-bg-primary);
  min-height: 100vh;
  width: 95%;
  display: flex;
  flex-direction: column;
  padding: 16px;
  margin: auto;
}

/* Placeholder Components */
.pill {
  background-color: var(--placeholder-gray);
  border-radius: 100px;
  height: 14px;
}

.circle {
  border-radius: var(--radius-full);
}

.divider {
  border: none;
  border-top: 2px solid #eaeaea;
  margin: 16px 0;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  height: var(--space-3xl);
  width: 100%;
  padding: 8px 20px;
  margin-bottom: var(--space-lg);
  background: var(--color-bg-sidebar);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
}

.nav-left {
  display: flex;
  gap: 16px;
}

.nav-right {
  gap: 16px;
}

.logo-pill {
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.logo-pill img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.pill-group {
  line-height: 1;
}

.pill-group h2 span.logo_span {
  font-weight: var(--weight-thin);
  color: var(--color-text-placeholder);
}

.text-pill {
  width: 60px;
  height: 16px;
}

.profile-pill {
  width: auto;
  background: var(--color-primary-100);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: var(--text-xs);
  gap: var(--space-xs);
  font-weight: var(--weight-thin);
}

.avatar-circle {
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
}

.avatar-circle span.material-symbols-outlined {
  font-size: var(--text-2xl);
  color: var(--color-text-placeholder);
}

.avatar-circle:hover {
  transform: translateY(-4px);
}

/* ============================================
   DASHBOARD STRUCTURE
   ============================================ */
.dashboard-container {
  display: flex;
  flex: 1;
  gap: 24px;
}

/* Sidebar */

.square-btn {
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: var(--transition);
  padding: 8px;
  background: var(--color-primary-100);
  border-radius: var(--radius-full);
}

.square-btn:hover {
  transform: translateY(-3px);
}

.square-btn a img {
  object-fit: cover;
}

/* Main Content Grid */
.main-content {
  display: grid;
  grid-template-rows: 1fr;
  gap: 20px;
  flex: 1;
  width: 100%;
}

.hero_wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 15px;
}

/* ============================================
   STATS WRAPPER
   ============================================ */
.stats_wrapper {
  padding: var(--space-md);
  background: var(--color-bg-sidebar);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  transition: var(--transition);
  height: 370px;
  overflow-y: auto;
}

.stats_wrapper:hover,
.hero-section:hover,
.card:hover {
  transform: translateY(-4px);
}

.card_container_stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.card {
  background: var(--color-bg-sidebar);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  transition: var(--transition);
  height: 150px;
  overflow: hidden;
}

.bg_image {
  overflow: hidden;
  position: relative;
}

.bg_image img {
  object-fit: cover;
  object-position: bottom;
  width: 100%;
  height: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.card_title {
  position: absolute;
  top: 100%;
  transform: translateY(-100%);
  left: 0;
  height: 50%;
  width: 100%;
  display: flex;
  align-items: center;
  padding: var(--space-md);
  flex-direction: column;
  justify-content: flex-end;
}

/* ============================================
   HERO SWIPER SECTION
   ============================================ */
.hero-section {
  transition: var(--transition);
}

.swiper {
  width: 100%;
  height: 100%;
}

.hero-header {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.title-pill-long,
.section-title-group,
.top-stories-header > span,
.card-header h5 {
  background: var(--color-primary-200);
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.subtitle-pill-short {
  white-space: nowrap;
}

.media-placeholder {
  flex: 1;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  overflow: hidden;
}

.media-placeholder img {
  object-fit: cover;
  object-position: center;
}

.image-icon {
  width: 80px;
  height: 80px;
  fill: var(--placeholder-light);
}

/* ============================================
   BILLING CARD (STATISTICS CARD)
   ============================================ */
.billing-card {
  grid-row: span 2;
  background-color: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 80%;
}

.billing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-bg-sidebar);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
  flex-direction: column;
  gap: 15px;
}
.card-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: var(--color-primary-100);
  border-radius: 50%;
}

.card-header h5 {
  font-size: 12px;
  font-weight: 400;
}
.section-title-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.billing-title,
.row-left-long {
  text-transform: uppercase;
  color: var(--color-text-placeholder);
}

.card-header div.success-model {
  width: 30px;
  height: 30px;
}

.billing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.meter {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-full);
  height: 5px;
  width: 50%;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: width 1s ease-in-out;
  position: relative;
  overflow: visible;
}

.stat {
  gap: 5px;
}

.stat p {
  font-size: 10px;
  font-weight: var(--weight-medium);
}

.won-bar {
  background: var(--color-success);
}

.lost-bar {
  background: var(--color-error);
}

.pending-bar {
  background: var(--color-warning);
}

.billing-row div.success-model,
.billing-row div.error-model,
.billing-row div.warning-model {
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 10px;
}

.billing-subtotal {
  margin-bottom: auto;
}

.billing-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
}

.footer-pill {
  flex: 1;
  height: 18px;
}

.action-btn-green {
  flex: 1.2;
  height: 22px;
  background-color: var(--accent-green);
}

/* ============================================
   BOTTOM CARDS
   ============================================ */
.bottom-cards-container {
  grid-column: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  height: 300px;
}

.bottom-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.title-pill {
  width: 70px;
  height: 14px;
}

.subtitle-pill {
  width: 50px;
  height: 10px;
}

.card-body-block {
  background-color: var(--placeholder-gray);
  height: 45px;
  border-radius: var(--border-radius-sm);
  width: 100%;
}

.card-footer-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-line-1 {
  width: 90px;
  height: 10px;
}

.footer-line-2 {
  width: 50px;
  height: 10px;
}

.flex-end {
  justify-content: space-between;
}

.card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-dot-green {
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
}

/* ============================================
   BOTTOM SECTION (GAMES & NEWS)
   ============================================ */
.bottom_section {
  height: 100%;
  width: 100%;
  gap: 15px;
}

.left_bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}

.right_bottom {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  gap: 10px;
}

.letf_bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.played_games,
.upcoming_games {
  padding: 0;
}

/* Subscribe Container */
.subscribe_container {
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email_logo {
  height: 80px;
  width: 80px;
  overflow: hidden;
  position: relative;
}

.email_logo img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.button_wrapper {
  margin-top: 10px;
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.button_wrapper input {
  flex: 2;
}

.subscribe_card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 20px;
  border-radius: 20px;
}

.subscribe_card h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
}

.subscribe_card p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.8;
  margin-bottom: 20px;
}

.subscribe-btn {
  background: #3b82f6;
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 13px;
  display: inline-block;
  transition: background 0.2s;
}

.subscribe-btn:hover {
  background: #2563eb;
}

/* ============================================
   GAME CARD STYLES
   ============================================ */
.game_container {
  display: grid;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  height: 250px;
  overflow-y: auto;
  padding: var(--space-xs);
}

.games-grid {
  display: grid;
  grid-template-rows: 1fr;
  gap: 10px;
}

.game-card {
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28);
  position: relative;
}

.game-card:hover {
  transform: translateY(-4px);
}

.game-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  padding: var(--space-xs);
  gap: 15px;
  background: var(--color-bg-sidebar);
}

.team {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.team-logo-card {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  transition: transform 0.3s ease;
}

.game-card:hover .team-logo-card {
  transform: scale(1.05);
}

.team-logo-placeholder-card {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.team-name-card {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: center;
  line-height: 1.3;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-score-card {
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}

.team-score-card.won {
  color: #10b981;
}

.team-score-card.lost {
  color: #ef4444;
}

.vs-divider-card {
  font-size: 12px;
  font-weight: bold;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.result-score {
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 1;
}

.won-score {
  color: #10b981;
}

.result-score.lost-score {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.prediction-result {
  padding: 8px 15px;
  background: var(--color-primary-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.prediction-text {
  font-size: 10px;
  color: #f59e0b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.prediction-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
}

.prediction-status.won {
  color: #10b981;
}

.prediction-status.lost {
  color: #ef4444;
}

.game-footer {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.game-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #94a3b8;
}

.odds-info {
  font-size: 10px;
  color: #3b82f6;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  padding: 3px 8px;
  border-radius: 12px;
}

.view-details-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #667eea;
  transition: gap 0.3s ease;
}

.game-card:hover .view-details-btn {
  gap: 8px;
  color: #8b5cf6;
}

/* ============================================
   GAMES TABLE STYLES
   ============================================ */
.games-table-wrapper {
  overflow-x: auto;
  padding-bottom: 15px;

  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  margin-top: 30px;
}

.games-table-wrapper::-webkit-scrollbar {
  width: 8px;
  height: 5px;
}

.games-table-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.games-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 10px;
}

.games-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.8);
}

.games-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  white-space: nowrap;
}

.games-table th {
  background: var(--color-bg-sidebar);
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  color: var(--color-text-primary);
}

.games-table td {
  padding: 12px 10px;
  vertical-align: middle;
  border-bottom: 1px solid #e0e0e095;
  text-align: center;
  font-size: 11px;
}

.games-table tr:hover {
  background: var(--color-primary-100);
}

.team-cell {
  min-width: 200px;
  display: flex;
  align-items: center;
}

.team-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.table-team-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
}

.table-logo-placeholder {
  width: 28px;
  height: 28px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

.vs {
  margin: 0 10px;
  font-size: 12px;
  color: #999;
  font-weight: 500;
}

.score-cell {
  font-weight: 600;
  font-size: 12px;
}

.lost-score {
  color: #ef4444;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.status-badge.won {
  background: #d1fae5;
  color: #059669;
}

.status-badge.lost {
  background: #fee2e2;
  color: #dc2626;
}

.status-badge.pending {
  background: #fef3c7;
  color: #d97706;
}

.empty-table {
  text-align: center;
  padding: 40px !important;
  color: #999;
}

.games-count {
  font-size: 10px;
  color: #666;
  font-weight: normal;
}

/* Sections */
.finished-games-section,
.upcoming-games-section {
  background: transparent;
  padding: 0 0 20px 0;
}

/* ============================================
   NEWS SLIDER STYLES
   ============================================ */
.news-slider-container {
  position: relative;
  padding: var(--space-base);
  overflow: hidden;
}

.news-slider {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.news-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-in-out,
    visibility 0.5s ease-in-out;
}

.news-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.news-card-slider {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  max-width: 400px;
  margin: 0 auto;
}

.news-card-slider:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card-slider:hover .news-image img {
  transform: scale(1.05);
}

.news-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-image-placeholder span {
  font-size: 48px;
  color: white;
}

.news-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-content {
  padding: 20px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #94a3b8;
}

.news-date,
.news-views {
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-date span,
.news-views span {
  font-size: 16px;
}

/* Slider Navigation Buttons */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-nav:hover {
  background: rgba(59, 130, 246, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav span {
  color: white;
  font-size: 24px;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* Slider Dots/Indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
  padding: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: #3b82f6;
  transform: scale(1.2);
}

.dot.active {
  width: 25px;
  border-radius: 10px;
  background: #3b82f6;
}

.empty-news {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

.empty-news span {
  font-size: 48px;
  margin-bottom: 15px;
}

.empty-news p {
  font-size: 16px;
  margin-bottom: 5px;
}

.empty-news small {
  font-size: 12px;
}

/* ============================================
   FILTERS & ADVANCED SEARCH
   ============================================ */
.advanced-filters {
  margin-bottom: 0px;
  width: 100%;
}

.filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  align-items: center;
  padding: 0;
  flex-direction: column;
}

.search-box {
  display: flex;
  align-items: center;
  flex: 1;
  width: 100%;
}

.search-box span {
  color: #999;
  font-size: 20px;
  margin-right: 8px;
}

.search-box input {
  outline: none;
  padding: 8px 12px;
  width: 100%;
  font-size: 12px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.filter-select,
.filter-input {
  padding: 4px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  outline: none;
  border: 1px solid #ccc;
  height: 35px;
}

.filter-select:hover,
.filter-input:hover {
  border-color: #3b82f6;
}

.filter_buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter_title {
  color: var(--color-text-placeholder);
  font-size: 10px;
  text-transform: uppercase;
}

.button_wrap button.btn.info-model.filter-btn {
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 10px;
}

.filter-btn.active {
  background: var(--color-primary);
  color: #fff;
}

.filter-btn:hover {
  background-color: #10b98120;
}

/* ============================================
   STATS SUMMARY & LINE GRAPH
   ============================================ */
.stats-summary-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.stat-summary-card {
  flex: 1;
  background: var(--color-bg-primary);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(215, 215, 215, 0.2);
}

.stat-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.stat-trend {
  margin-top: 6px;
  display: flex;
  justify-content: center;
}

.stat-trend.up .material-symbols-outlined {
  color: #10b981;
  font-size: 16px;
}

.stat-trend.up.success {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  margin: 0 auto;
}

.stat-trend.down.error {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  margin: 0 auto;
}

.stat-trend.pending {
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  margin: 0 auto;
}

.line-graph-container {
  background: var(--color-bg-primary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 8px 0;
  border: 1px solid rgba(193, 191, 191, 0.05);
}

.mini-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 10px;
  padding: 8px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #fff;
}

.card-icons {
  gap: 5px;
}

.card-icons span.success-model {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  width: 30px;
  padding: 8px 16px;
  cursor: pointer;
}

.mini-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mini-stat-dot.won {
  background: #10b981;
}

.mini-stat-dot.lost {
  background: #ef4444;
}

.mini-stat-dot.pending {
  background: #f59e0b;
}

.mini-stat-dot.winrate {
  background: #3b82f6;
}

/* ============================================
   POST PAGE STYLES
   ============================================ */
.post-page-wrapper {
  width: 100%;
  margin: 0 auto;
}

.post-layout {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.post-main {
  flex: 2;
  min-width: 300px;
}

.post-sidebar {
  flex: 1;
  min-width: 280px;
}

.featured-image {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: auto;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.post-meta {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-meta-item span {
  font-size: 16px;
}

.post-content {
  font-size: 0.87rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-top: 20px;
}

.post-content p {
  margin-bottom: 20px;
}

/* Sidebar Cards */
.sidebar-card {
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-primary);
}

.sidebar-title span {
  color: var(--color-primary);
}

/* Featured Article Item */
.featured-article {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.2s;
}

.featured-article:hover {
  transform: translateX(5px);
}

.featured-article-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.featured-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-article-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-article-image-placeholder span {
  color: white;
  font-size: 24px;
}

.featured-article-content {
  flex: 1;
}

.featured-article-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--color-text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-article-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 5px;
}

.featured-article-category {
  background: rgba(59, 130, 246, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  color: #3b82f6;
  font-size: 10px;
}

/* Popular Tags */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: rgba(0, 0, 0, 0.05);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.tag:hover {
  background: var(--color-primary);
  color: white;
}

/* Share Buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: #f0f0f0;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: #333;
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-btn.facebook:hover {
  background: #1877f2;
  color: white;
}

.share-btn.twitter:hover {
  background: #1da1f2;
  color: white;
}

.share-btn.linkedin:hover {
  background: #0077b5;
  color: white;
}

.share-btn.whatsapp:hover {
  background: #25d366;
  color: white;
}

/* Newsletter Signup */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
}

.newsletter-btn {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.2s;
}

.newsletter-btn:hover {
  opacity: 0.9;
}

/* Back button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.model {
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.model-picture {
  height: 100%;
  width: 100%;
}

.model-picture img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.model-content {
  padding: var(--space-md);
}

.pending-score {
  color: #f59e0b;
  font-weight: bold;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
}

.empty-state .material-symbols-outlined {
  font-size: 48px;
  color: #475569;
  margin-bottom: 15px;
}

.empty-state p {
  color: #94a3b8;
  font-size: 14px;
}

.empty-state small {
  color: #64748b;
  font-size: 12px;
}

/* ============================================
   SCROLLBAR STYLES
   ============================================ */
.game_container::-webkit-scrollbar,
.stats_wrapper::-webkit-scrollbar {
  width: 6px;
}

.game_container::-webkit-scrollbar-track,
.stats_wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.game_container::-webkit-scrollbar-thumb,
.stats_wrapper::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 10px;
}

.game_container::-webkit-scrollbar-thumb:hover,
.stats_wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.8);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.game-card.live-card {
  animation: pulse 2s infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .team-logo-card,
  .team-logo-placeholder-card {
    width: 50px;
    height: 50px;
  }

  .team-name-card {
    font-size: 11px;
  }

  .team-score-card {
    font-size: 16px;
  }
}

@media (max-width: 800px) {
  .hero_wrapper {
    grid-template-columns: 1fr;
  }

  .stats_wrapper {
    overflow: auto;
    height: 100%;
  }

  .homepage_container {
    padding: 8px;
    width: 100%;
  }

  .profile-pill {
    display: none;
  }

  .pill-group h2 {
    font-size: 16px;
  }

  .pill-group p {
    font-size: 12px;
  }

  .logo-pill img {
    width: 80%;
  }

  .nav-left {
    gap: 0px;
  }

  .dashboard-container {
    flex-direction: column;
    gap: 16px;
  }

  .sidebar {
    flex-direction: column;
    padding-top: 0;
    justify-content: flex-start;
  }

  .main-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    padding: 0;
  }

  .billing-card {
    grid-row: auto;
    order: 2;
  }

  .billing-subtotal {
    margin-bottom: 24px;
  }

  .bottom-cards-container {
    grid-column: 1;
    grid-template-columns: 1fr;
    order: 3;
  }

  .bottom-card {
    min-height: 120px;
  }

  .meter {
    width: 40%;
  }

  .right_bottom {
    grid-template-columns: 1fr;
  }

  .bottom_section,
  .right_bottom {
    grid-template-columns: 1fr;
  }

  .stats-summary-row {
    gap: 8px;
  }

  .stat-value {
    font-size: 18px;
  }

  .stat-label {
    font-size: 9px;
  }

  .line-graph-container {
    padding: 8px;
  }
}

@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .game-teams {
    padding: 15px;
    gap: 10px;
  }

  .team-logo-card,
  .team-logo-placeholder-card {
    width: 45px;
    height: 45px;
  }

  .team-name-card {
    font-size: 10px;
  }

  .team-score-card {
    font-size: 14px;
  }

  .vs-divider-card {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .prediction-result {
    padding: 10px 15px;
  }

  .prediction-text,
  .prediction-status {
    font-size: 10px;
  }

  .game-footer {
    padding: 10px 15px;
  }

  .game-date,
  .odds-info,
  .view-details-btn {
    font-size: 10px;
  }

  .result-score {
    font-size: 9px;
    padding: 3px 8px;
    top: 8px;
    right: 8px;
  }

  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-direction: column;
  }

  .filter-select,
  .filter-input {
    width: 100%;
  }

  .games-table th,
  .games-table td {
    padding: 8px 10px;
  }

  .team-info {
    display: flex;
    margin: 5px 0;
  }

  .vs {
    display: block;
    margin: 5px;
  }

  .news-card-slider {
    max-width: 100%;
    margin: 0 10px;
  }

  .news-image {
    height: 200px;
  }

  .news-title {
    font-size: 16px;
  }

  .news-excerpt {
    font-size: 12px;
  }

  .slider-nav {
    width: 32px;
    height: 32px;
  }

  .slider-nav span {
    font-size: 18px;
  }

  .post-layout {
    flex-direction: column;
  }

  .post-main {
    order: 1;
    width: 100%;
  }

  .post-sidebar {
    order: 2;
  }

  .post-meta {
    flex-wrap: wrap;
  }

  .featured-article {
    gap: 10px;
  }

  .featured-article-image {
    width: 60px;
    height: 60px;
  }

  .post-page-wrapper {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .game-teams {
    gap: 15px;
  }

  .team {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
  }

  .team-logo-card,
  .team-logo-placeholder-card {
    width: 40px;
    height: 40px;
  }

  .vs-divider-card {
    order: -1;
    width: 30px;
    height: 30px;
  }

  .game-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
           MODAL OVERLAY
           ========================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  animation: modalFadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================
           MODAL CONTENT
           ========================================== */
.modal-content {
  background: var(--color-bg-sidebar, #1e293b);
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideDown 0.3s ease;
}

.modal-content::-webkit-scrollbar {
  width: 4px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.8);
}
@keyframes modalSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  background: var(--color-bg-sidebar, #1e293b);
  border-radius: 24px 24px 0 0;
  z-index: 1;
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h2 span {
  color: var(--color-primary, #3b82f6);
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary-200);
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--color-primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: 24px;
}

/* ==========================================
           MODAL TABS
           ========================================== */
.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
}

.modal-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 13px;
}

.modal-tab.active {
  background: var(--color-primary, #3b82f6);
  color: white;
}

.modal-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ==========================================
           SETTINGS FORM
           ========================================== */
.settings-group {
  margin-bottom: 20px;
}

.settings-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 6px;
}

.settings-group input,
.settings-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 14px;
  transition: border-color 0.3s;
}

.settings-group input:focus,
.settings-group select:focus {
  outline: none;
  border-color: var(--color-primary, #3b82f6);
}

.settings-group input::placeholder {
  color: #64748b;
}

.settings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.toggle-group label {
  margin-bottom: 0;
  font-size: 14px;
}

.toggle-switch {
  width: 48px;
  height: 26px;
  border-radius: 13px;
  background: #475569;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
  flex-shrink: 0;
}

.toggle-switch.active {
  background: var(--color-primary, #3b82f6);
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform 0.3s;
}

.toggle-switch.active::after {
  transform: translateX(22px);
}

/* ==========================================
           CONTACT DETAILS
           ========================================== */
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--color-primary-100);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: background 0.3s;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.contact-icon.email {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.contact-icon.phone {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.contact-icon.whatsapp {
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
}

.contact-icon.telegram {
  background: rgba(0, 136, 204, 0.2);
  color: #0088cc;
}

.contact-icon.location {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.contact-icon.social {
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
}

.contact-info {
  flex: 1;
}

.contact-info .label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info .value {
  font-size: 14px;
  color: var(--color-text-primary);
  font-weight: 500;
  word-break: break-all;
}

.contact-info .value a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.contact-info .value a:hover {
  color: var(--color-primary, #3b82f6);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.btn-save {
  padding: 10px 24px;
  background: var(--color-primary, #3b82f6);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-save:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.btn-cancel {
  padding: 10px 24px;
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================
           SIDEBAR BUTTON UPDATES
           ========================================== */
.sidebar .square-btn {
  cursor: pointer;
  position: relative;
}

.sidebar .square-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ==========================================
           RESPONSIVE
           ========================================== */
@media (max-width: 640px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .settings-row {
    grid-template-columns: 1fr;
  }

  .modal-header h2 {
    font-size: 17px;
  }

  .modal-tabs {
    flex-wrap: wrap;
  }

  .modal-tab {
    font-size: 12px;
    padding: 8px 12px;
  }

  .contact-item {
    flex-wrap: wrap;
  }
}
.next-up-section {
  margin-bottom: 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.section-badge {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: gap 0.3s;
}

.view-all-link:hover {
  gap: 8px;
}

.view-all-link .material-symbols-outlined {
  font-size: 18px;
}

/* Slider Container */
.next-up-slider-container {
  position: relative;
  padding: 10px 0;
  overflow: hidden;
}

.next-up-slider {
  position: relative;
  width: 100%;
  height: auto;
}

.next-up-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-in-out,
    visibility 0.5s ease-in-out;
}

.next-up-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Card Styles */
.next-up-card {
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.next-up-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  pointer-events: none;
}

.next-up-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.2);
}

/* Time Badge */
.time-badge {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 30px;
  z-index: 2;
}

.time-badge .days {
  color: #f59e0b;
  font-weight: 400;
  font-size: 12px;
}

.time-badge .hours {
  color: #3b82f6;
  font-weight: 400;
  font-size: 12px;
}

.time-badge .minutes {
  color: #10b981;
  font-weight: 400;
  font-size: 12px;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Teams */
.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 20px;
  gap: 15px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.team-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  transition: transform 0.3s ease;
}

.next-up-card:hover .team-logo {
  transform: scale(1.05);
}

.team-logo-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.team-name {
  font-size: 14px;
  font-weight: 500;
  color: white;
  text-align: center;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vs-divider {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 2px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 9px;
  color: #f59e0b;
  letter-spacing: 1px;
}

/* Match Info */
.match-info {
  display: flex;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  justify-content: space-evenly;
}

.match-datetime {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary);
  font-size: 11px;
  margin-bottom: 8px;
}
.countdown-timer {
  font-size: 11px;
}
.prediction-badge {
  font-size: 11px;
  color: #f59e0b;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
}
.match-datetime .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-primary, #3b82f6);
}

.time-separator {
  color: #475569;
  margin: 0 4px;
}

.match-prediction {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.prediction-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.prediction-value {
  font-size: 13px;
  color: #f59e0b;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
}

.odds-value {
  font-size: 12px;
  color: #3b82f6;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
}

/* Match Action */
.match-action {
  margin-top: 16px;
  text-align: center;
}

.view-match-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  font-size: 14px;
}

.view-match-btn .material-symbols-outlined {
  font-size: 18px;
}

/* Navigation Buttons */
.next-up-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: white;
}

.next-up-nav:hover {
  background: var(--color-primary, #3b82f6);
  transform: translateY(-50%) scale(1.05);
}

.next-up-nav.prev-btn {
  left: -5px;
}

.next-up-nav.next-btn {
  right: -5px;
}

.next-up-nav .material-symbols-outlined {
  font-size: 24px;
}

/* Dots/Indicators */
.next-up-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 5px;
}

.next-up-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #475569;
  cursor: pointer;
  transition: all 0.3s ease;
}

.next-up-dots .dot:hover {
  background: #64748b;
  transform: scale(1.2);
}

.next-up-dots .dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--color-primary, #3b82f6);
}

/* Empty State */
.empty-upcoming {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

.empty-upcoming .material-symbols-outlined {
  font-size: 48px;
  color: #475569;
  margin-bottom: 15px;
}

.empty-upcoming p {
  font-size: 16px;
  margin-bottom: 5px;
}

.empty-upcoming small {
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .next-up-section {
    padding: 0px;
    width: 100%;
  }

  .section-title-group {
    flex-wrap: wrap;
  }

  .section-header h2 {
    font-size: 18px;
  }

  .next-up-card {
    padding: 0px;
  }

  .team-logo {
    width: 48px;
    height: 48px;
  }

  .team-logo-placeholder {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .team-name {
    font-size: 12px;
    max-width: 80px;
  }

  .vs-divider {
    width: 36px;
    height: 36px;
    font-size: 10px;
  }

  .match-datetime {
    font-size: 12px;
  }

  .match-prediction {
    gap: 8px;
  }

  .prediction-value,
  .odds-value {
    font-size: 11px;
  }

  .time-badge {
    top: 12px;
    right: 12px;
    padding: 4px 10px;
  }

  .time-badge .days,
  .time-badge .hours,
  .time-badge .minutes {
    font-size: 12px;
  }

  .next-up-nav {
    width: 32px;
    height: 32px;
  }

  .next-up-nav .material-symbols-outlined {
    font-size: 18px;
  }

  .next-up-nav.prev-btn {
    left: 0;
  }

  .next-up-nav.next-btn {
    right: 0;
  }

  .view-match-btn {
    padding: 8px 20px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .match-teams {
    flex-direction: row;
    padding: 8px 0 16px;
  }

  .team {
    flex-direction: column;
    gap: 6px;
  }

  .team-logo {
    width: 40px;
    height: 40px;
    padding: 4px;
  }

  .team-logo-placeholder {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .vs-divider {
    width: 30px;
    height: 30px;
    font-size: 9px;
  }

  .match-info {
    padding: 12px 0;
  }

  .match-datetime {
    font-size: 11px;
    flex-wrap: wrap;
  }

  .match-prediction {
    flex-wrap: wrap;
  }
}

/* ==========================================
           STADIUM BACKGROUND STYLES
           ========================================== */
.next-up-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg, #1a1a2e);
  border-radius: 12px;
  padding: 20px;
  min-height: 200px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.next-up-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.next-up-card:hover::before {
  opacity: 0.25;
}

.next-up-card .match-teams,
.next-up-card .match-info {
  position: relative;
  z-index: 1;
}

.next-up-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 0;
}

.next-up-card .match-teams,
.next-up-card .match-info {
  position: relative;
  z-index: 1;
}

.next-up-card .match-teams .team {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.next-up-card .match-teams .team-name {
  color: #ffffff;
  font-weight: 600;
}

.next-up-card .match-info .match-datetime {
  color: rgba(255, 255, 255, 0.9);
}

.next-up-card .vs-divider span {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.next-up-card .team-logo {
  background: rgba(255, 255, 255, 0.9);
  padding: 4px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.next-up-card .team-logo-placeholder {
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a2e;
  font-weight: 700;
}

/* ==========================================
           COMPETITION HEADER STYLES
           ========================================== */
.competition-header {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 14px 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.competition-header .competition-logo {
  height: 20px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

.competition-header .competition-name {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ==========================================
           TIME BADGE STYLES
           ========================================== */
.time-badge {
  display: inline-block;
  background: rgba(171, 170, 170, 0.15);
  padding: 2px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 45px;
  text-align: center;
}

.time-badge .days {
  color: #60a5fa;
}

.time-badge .hours {
  color: #fbbf24;
}

.time-badge .minutes {
  color: #f59e0b;
}

.time-badge .live {
  color: #ef4444;
  animation: pulse-live 1s infinite;
}

@keyframes pulse-live {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* ==========================================
           COMPETITION LOGOS SLIDER
           ========================================== */
.competition-logos-section {
  padding: 0px 0;
  overflow: hidden;
}

.competition-logos-section .section-header {
  padding: 0 20px 15px 20px;
}

.competition-logos-slider-container {
  position: relative;
  padding: 0 10px;
}

.competition-logos-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 15px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.competition-logos-slider::-webkit-scrollbar {
  display: none;
}

.competition-logo-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 100px;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.competition-logo-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.competition-logo-item img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.competition-logo-item:hover img {
  filter: brightness(1.1);
}

.competition-logo-item .comp-name {
  font-size: 11px;
  color: var(--color-text-primary);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.competition-logo-item .comp-count {
  font-size: 10px;
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 400;
}

/* Slider Navigation Buttons */
.competition-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.competition-slider-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.competition-slider-nav.prev {
  left: 5px;
  color: var(--color-primary);
}

.competition-slider-nav.next {
  right: 5px;
  color: var(--color-primary);
}

.competition-slider-nav .material-symbols-outlined {
  font-size: 20px;
}

/* ==========================================
           MATCH DATETIME STYLES
           ========================================== */
.match-datetime {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--color-text-secondary);
}

.match-datetime .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-text-secondary);
}

.time-separator {
  color: var(--color-text-secondary);
  margin: 0 2px;
}

/* ==========================================
           STICKY NAVIGATION BAR
           ========================================== */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg-sidebar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.sticky-nav.scrolled {
  background: #132440;
  box-shadow: var(--shadow-md);
}
.sticky-nav.scrolled .nav-links a {
  color: #fff;
}

.sticky-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  height: 60px;
}

.sticky-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sticky-nav .nav-links li {
  margin: 0;
}

.sticky-nav .nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
}

.sticky-nav.scrolled .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.sticky-nav .nav-links a .material-symbols-outlined {
  font-size: 20px;
}

.sticky-nav .nav-links a .nav-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

.sticky-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.sticky-nav.scrolled .nav-toggle {
  color: #fff;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle .material-symbols-outlined {
  font-size: 28px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--color-bg-sidebar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px 20px 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: all 0.3s ease;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.mobile-menu a:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu a.active {
  color: var(--color-primary);
  background: rgba(99, 102, 241, 0.12);
}

.mobile-menu .mobile-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 8px 0;
}

.mobile-menu .mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.mobile-menu .mobile-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
}

/* ==========================================
           TOP STORIES NEWS SECTION
           ========================================== */
.top-stories-section {
  margin: 0px 0 20px 0;
}

.top-stories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(111, 111, 111, 0.3);
}

.top-stories-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

/* Main Featured Story */
.featured-story {
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-md);
}

.featured-story:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.1);
}

.featured-story .featured-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background: var(--color-bg-secondary);
}

.featured-story .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-story:hover .featured-image img {
  transform: scale(1.05);
}

.featured-story .featured-image .category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-story .featured-image .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-secondary);
  color: var(--color-text-muted);
}

.featured-story .featured-image .image-placeholder .material-symbols-outlined {
  font-size: 56px;
}

.featured-story .featured-content {
  padding: 20px 24px 24px 24px;
}

.featured-story .featured-content .featured-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.featured-story .featured-content .featured-excerpt {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.featured-story .featured-content .featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.featured-story .featured-content .featured-meta .material-symbols-outlined {
  font-size: 16px;
}

.featured-story .featured-content .featured-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Side Stories Grid */
.side-stories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

.side-story-item {
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.side-story-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.1);
}

.side-story-item .side-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  position: relative;
  background: var(--color-bg-secondary);
}

.side-story-item .side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.side-story-item:hover .side-image img {
  transform: scale(1.05);
}

.side-story-item .side-image .category-tag-small {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-primary);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.side-story-item .side-image .image-placeholder-small {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-secondary);
  color: var(--color-text-muted);
}

.side-story-item
  .side-image
  .image-placeholder-small
  .material-symbols-outlined {
  font-size: 32px;
}

.side-story-item .side-content {
  padding: 12px 14px 14px 14px;
  flex: 1;
}

.side-story-item .side-content .side-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 6px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-story-item .side-content .side-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.side-story-item .side-content .side-meta .category-label {
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.3px;
}

.side-story-item .side-content .side-meta .time-ago {
  color: var(--color-text-muted);
}

.side-story-item .side-content .side-meta .material-symbols-outlined {
  font-size: 14px;
}

/* ==========================================
           RESPONSIVE ADJUSTMENTS
           ========================================== */
@media (max-width: 1024px) {
  .top-stories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .side-stories {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-story .featured-image {
    height: 220px;
  }

  .sticky-nav .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .next-up-card {
    padding: 15px;
    min-height: 180px;
  }

  .competition-logos-slider {
    gap: 5px;
  }

  .match-datetime {
    font-size: 12px;
    gap: 4px;
  }

  .time-badge {
    font-size: 11px;
    padding: 2px 8px;
    min-width: 35px;
  }

  .competition-header {
    padding: 3px 10px 3px 8px;
    margin-bottom: 8px;
  }

  .competition-header .competition-logo {
    height: 16px;
  }

  .competition-header .competition-name {
    font-size: 10px;
  }

  .competition-logo-item {
    min-width: 80px;
    padding: 8px 14px;
  }

  .competition-logo-item img {
    height: 40px;
  }

  .competition-logo-item .comp-name {
    font-size: 10px;
  }

  .competition-slider-nav {
    width: 30px;
    height: 30px;
  }

  .competition-slider-nav .material-symbols-outlined {
    font-size: 16px;
  }

  /* Top Stories Responsive */
  .top-stories-section {
    padding: 16px;
  }

  .top-stories-header h2 {
    font-size: 18px;
  }

  .side-stories {
    grid-template-columns: 1fr 1fr;
  }

  .featured-story .featured-image {
    height: 180px;
  }

  .featured-story .featured-content .featured-title {
    font-size: 17px;
  }

  .side-story-item .side-image {
    height: 100px;
  }
  .featured-story .featured-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
  }

  /* Sticky Nav Responsive */
  .sticky-nav {
    padding: 0 12px;
  }

  .sticky-nav-inner {
    height: 54px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .sticky-nav .nav-actions .btn {
    display: none;
  }

  .sticky-nav .nav-actions .btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .match-datetime .material-symbols-outlined {
    font-size: 16px;
  }

  .time-separator {
    margin: 0 1px;
  }

  .competition-logo-item {
    min-width: 70px;
    padding: 6px 10px;
  }

  .competition-logo-item img {
    height: 32px;
  }

  .top-stories-section {
    padding: 12px;
  }

  .side-stories {
    grid-template-columns: 1fr;
  }

  .featured-story {
    grid-template-columns: 1fr;
  }

  .featured-story .featured-image {
    height: 150px;
  }

  .featured-story .featured-content {
    padding: 14px 16px 16px 16px;
  }

  .featured-story .featured-content .featured-title {
    font-size: 16px;
  }

  .side-story-item .side-image {
    height: 80px;
  }

  .top-stories-header {
    gap: 8px;
  }

  .sticky-nav .nav-logo span {
    display: none;
  }

  .sticky-nav .nav-actions .btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .sticky-nav .nav-actions .btn .material-symbols-outlined {
    font-size: 18px;
  }
}

/* ==========================================
           FOOTER STYLES
           ========================================== */
.site-footer {
  background: var(--color-bg-sidebar);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px 20px 30px;
  margin-top: 30px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand .footer-logo img {
  height: 32px;
  width: auto;
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px 0;
  max-width: 350px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social a .material-symbols-outlined {
  font-size: 20px;
}

.footer-column h4 {
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px 0;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-column ul li a:hover {
  color: var(--color-text-primary);
  transform: translateX(4px);
}

.footer-column ul li a .material-symbols-outlined {
  font-size: 16px;
  color: var(--color-text-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(111, 111, 111, 0.3);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 13px;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--color-text-primary);
}

/* ==========================================
           RESPONSIVE
           ========================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer {
    padding: 30px 16px 16px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* ==========================================
               COMPETITIONS SECTION STYLES
========================================== */

.competitions-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 0 5px;
}

.competitions-section .section-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.competitions-section .section-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  background: rgba(68, 159, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  width: fit-content;
}

.competitions-section .section-title-group h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.competitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.competition-card {
  background: rgb(31, 41, 55);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.competition-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-primary-100)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.competition-card:hover {
  transform: translateY(-4px);
  border-color: rgba(68, 159, 255, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.competition-card:hover::before {
  opacity: 1;
}

.competition-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.competition-card-logo {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.competition-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.competition-card-logo .material-symbols-outlined {
  font-size: 30px;
  color: rgba(255, 255, 255, 0.2);
}

.competition-card-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px 0;
}

.competition-card-info .competition-country {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.competition-card-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-item .stat-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.stat-item .stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.05);
}

.competition-card-matches {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 60px;
}

.match-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  transition: background 0.2s ease;
}

.match-preview:hover {
  background: rgba(255, 255, 255, 0.06);
}

.match-teams-preview {
  display: flex;
  align-items: center;
  gap: 6px;
}

.team-preview .team-name-preview {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.vs-preview {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 700;
  text-transform: uppercase;
}

.match-date-preview {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.competition-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.match-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.view-link {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.competition-card:hover .view-link {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .competitions-grid {
    grid-template-columns: 1fr;
  }

  .competitions-section .section-title-group h2 {
    font-size: 20px;
  }

  .competition-card-stats {
    flex-wrap: wrap;
    gap: 8px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 1;
    min-width: 60px;
  }

  .match-preview {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .competition-card-header {
    flex-direction: column;
    text-align: center;
  }

  .competition-card-logo {
    width: 60px;
    height: 60px;
  }

  .competition-card-stats {
    gap: 8px;
  }

  .stat-item {
    width: 100%;
  }
}

/* ==========================================
   TRANSPARENCY SECTION STYLES
   ========================================== */
.transparency-section {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.transparency-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.transparency-section .section-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-align: center;
}

.transparency-section .section-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.standard-card {
  background: rgb(31, 41, 55);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.standard-card:hover {
  border-color: rgba(68, 159, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.standard-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(68, 159, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 16px;
}

.standard-icon .material-symbols-outlined {
  font-size: 32px;
  color: var(--color-primary);
}

.standard-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.standard-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.standard-card p:last-child {
  margin-bottom: 0;
}

.standard-card a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.standard-card a:hover {
  color: #fff;
  text-decoration: underline;
}

.standard-card .highlight {
  padding: 16px;
  background: rgba(68, 159, 255, 0.05);
  border-left: 3px solid var(--color-primary);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.integrity-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  color: #10b981;
  font-weight: 500;
  margin-top: 8px;
}

.integrity-badge .material-symbols-outlined {
  font-size: 20px;
}

.warning-box {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 8px;
  margin-top: 12px;
}

.warning-box .material-symbols-outlined {
  font-size: 24px;
  color: #ef4444;
  flex-shrink: 0;
}

.warning-box strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.warning-box p {
  margin-bottom: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.warning-box a {
  color: #ef4444;
}

.support-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.support-link:hover {
  background: rgba(68, 159, 255, 0.1);
  color: var(--color-primary);
}

.support-link .material-symbols-outlined {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .transparency-section {
    padding: 0;
  }

  .transparency-section .section-title {
    font-size: 24px;
  }

  .standard-card {
    padding: 20px;
  }

  .warning-box {
    flex-direction: column;
  }

  .support-links {
    flex-direction: column;
  }

  .support-link {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .transparency-section .section-title {
    font-size: 20px;
  }

  .standard-card h3 {
    font-size: 18px;
  }
}
.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.featured-meta .material-symbols-outlined {
  font-size: 16px;
}

.side-author {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.side-author .author-name {
  color: rgba(255, 255, 255, 0.5);
}

.side-author .material-symbols-outlined {
  font-size: 14px;
}

.side-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
}

.time-ago {
  color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .featured-meta {
    gap: 8px;
    font-size: 12px;
  }

  .side-author {
    font-size: 11px;
  }
}

/* ==========================================
           COMPETITION PAGE SPECIFIC STYLES
           ========================================== */
.competition-page {
  width: 100%;
}

.competition-hero {
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.overlay-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  z-index: 0;
}
.overlay-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}
.competition-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: var(--color-primary-100);
  border-radius: 50%;
}

.competition-hero-logo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-100);
  border-radius: 16px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.competition-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.competition-hero-logo .placeholder {
  font-size: 60px;
  color: rgba(255, 255, 255, 0.2);
}

.competition-hero-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.competition-hero-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 8px 0;
}

.competition-hero-info .competition-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.competition-hero-info .competition-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.competition-hero-info .competition-meta .material-symbols-outlined {
  font-size: 18px;
}

/* Progress Bar Styles */
.competition-progress-container {
  margin-top: 20px;
}

.competition-progress-container .progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.competition-progress-container .progress-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.competition-progress-container .progress-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.progress-bar-wrapper {
  display: flex;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.progress-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  transition: width 0.8s ease;
  position: relative;
  min-width: 30px;
}

.progress-segment.won-segment {
  background: linear-gradient(135deg, #10b981, #059669);
}

.progress-segment.lost-segment {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.progress-segment.pending-segment {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.progress-segment .segment-label {
  font-size: 10px;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.progress-legend {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.progress-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.progress-legend-item .legend-color {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}

.progress-legend-item .legend-color.won-color {
  background: #10b981;
}

.progress-legend-item .legend-color.lost-color {
  background: #ef4444;
}

.progress-legend-item .legend-color.pending-color {
  background: #f59e0b;
}

.progress-legend-item .legend-value {
  font-weight: 600;
  color: var(--color-text-primary);
}

.competition-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.competition-stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-sm);
}

.competition-stat-item .stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.competition-stat-item .stat-label {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.competition-stat-item .stat-number.won {
  color: #10b981;
}

.competition-stat-item .stat-number.lost {
  color: #ef4444;
}

.competition-stat-item .stat-number.pending {
  color: #f59e0b;
}

.competition-stat-item .stat-number.winrate {
  color: #60a5fa;
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  margin-bottom: 20px;
}

.back-button:hover {
  color: #fff;
}

/* Matches Table */
.matches-section {
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
}

.matches-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.matches-section .section-header h3 {
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.matches-section .section-header .match-count {
  color: var(--color-text-secondary);
  font-size: 13px;
}

.matches-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  white-space: nowrap;
}

.matches-table thead th {
  text-align: left;
  padding: 12px 12px;
  color: var(--color-text-primary);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(68, 68, 68, 0.2);
}

.matches-table tbody td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(68, 68, 68, 0.2);
  color: var(--color-text-primary);
  font-size: 12px;
}

.matches-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.matches-table .team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.matches-table .team-logo-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px;
}

.matches-table .vs-text {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  margin: 0 4px;
}

.matches-table .score-cell {
  font-weight: 600;
}

.matches-table .score-cell.won-score {
  color: #10b981;
}

.matches-table .score-cell.lost-score {
  color: #ef4444;
}

.matches-table .score-cell.pending-score {
  color: #f59e0b;
}

.matches-table .empty-state {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.3);
}

.matches-table .empty-state .material-symbols-outlined {
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
}

/* Team Stats Table */
.team-stats-section {
  background: var(--card-bg, #1a1a2e);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.team-stats-section .section-header {
  margin-bottom: 15px;
}

.team-stats-section .section-header h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.team-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  height: 300px;
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
}

.team-stats-grid::-webkit-scrollbar {
  width: 8px;
}

.team-stats-grid::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
  border-radius: 4px;
}

.team-stats-grid::-webkit-scrollbar-thumb {
  background: var(--color-primary-200);
  border-radius: 4px;
  cursor: pointer;
}

.team-stats-grid::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}
.team-stat-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  align-items: center;
  transition: background 0.2s ease;
}

.team-stat-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.team-stat-row.header {
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  padding: 8px 12px;
  position: sticky;
}

.team-stat-row .team-name {
  color: #fff;
  font-weight: 500;
}

.team-stat-row .stat-value {
  text-align: center;
  font-weight: 500;
  font-size: 12px;
}

.team-stat-row .stat-value.wins {
  color: #10b981;
}

.team-stat-row .stat-value.losses {
  color: #ef4444;
}

.team-stat-row .stat-value.draws {
  color: #f59e0b;
}

.team-stat-row .stat-value.total {
  color: rgba(255, 255, 255, 0.6);
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-badge.won {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.status-badge.lost {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

/* Responsive */
@media (max-width: 768px) {
  .competition-page {
    padding: 0;
  }

  .competition-hero {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 15px;
  }

  .competition-hero-logo {
    width: 80px;
    height: 80px;
  }

  .competition-hero-info h1 {
    font-size: 22px;
  }

  .competition-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .competition-hero-info .competition-meta {
    justify-content: center;
  }

  .matches-table {
    font-size: 13px;
  }

  .matches-table thead th {
    font-size: 10px;
    padding: 8px 6px;
  }

  .matches-table tbody td {
    padding: 8px 6px;
    font-size: 12px;
  }

  .matches-table .team-logo-small {
    width: 20px;
    height: 20px;
  }

  .team-stat-row {
    grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr 0.8fr;
    font-size: 13px;
    padding: 8px 10px;
  }

  .team-stat-row.header {
    font-size: 10px;
  }

  .progress-bar-wrapper {
    height: 24px;
  }

  .progress-segment {
    font-size: 9px;
    min-width: 20px;
  }

  .progress-legend {
    gap: 12px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .competition-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .competition-stat-item .stat-number {
    font-size: 18px;
  }

  .matches-table .team-cell {
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }

  .matches-table .vs-text {
    display: none;
  }

  .team-stat-row {
    grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr 0.7fr;
    font-size: 11px;
    padding: 6px 8px;
  }

  .progress-bar-wrapper {
    height: 20px;
    border-radius: 6px;
  }

  .progress-segment {
    font-size: 8px;
    min-width: 15px;
  }

  .competition-progress-container {
    padding: 12px 14px;
  }

  .progress-legend-item {
    font-size: 10px;
  }
}
.table-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.team-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}
.team-logos img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--color-primary-50);
  padding: 3px;
}
.game-info {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}
.game-info .game-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.vs-text {
  font-size: 12px;
  color: var(--color-text-secondary);
}
.table-section {
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
}
.alert-container {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 8px;
}

/* ==========================================
           VIEW PREDICTION PAGE STYLES
           ========================================== */

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  margin-bottom: 20px;
}

.back-button:hover {
  color: #fff;
}

/* Match Header with Stadium Background */
.match-header {
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

/* Stadium Background */
.match-header .stadium-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
  transition: opacity 0.5s ease;
}

.match-header .stadium-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;
}

.match-header .stadium-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 2;
}

/* Gradient overlay on top of everything */
.match-header .stadium-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* Content wrapper - sits above all backgrounds */
.match-header .match-content {
  position: relative;
  z-index: 4;
}

/* Optional: Add a subtle pattern overlay */
.match-header .pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(68, 159, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(16, 185, 129, 0.05) 0%,
      transparent 50%
    );
  z-index: 2;
  pointer-events: none;
}

/* Decorative elements */
.match-header .deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 1;
  pointer-events: none;
}

.match-header .deco-ring.ring-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
}

.match-header .deco-ring.ring-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
}

.match-header .deco-ring.ring-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(68, 159, 255, 0.05);
}

.match-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.competition-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  background: rgb(255 255 255 / 14%);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.competition-badge img {
  height: 25px;
  width: 25px;
  object-fit: contain;
}

.match-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.match-status-badge.won {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.match-status-badge.lost {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.match-status-badge.pending {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
}

.match-teams-display {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 40px;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.team-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 200px;
}

.team-display .team-logo-large {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  backdrop-filter: blur(10px);
}

.team-display .team-logo-large:hover {
  transform: scale(1.05);
  border-color: rgba(68, 159, 255, 0.5);
}

.team-display .team-name-large {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.team-display .team-name-large a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.team-display .team-name-large a:hover {
  color: var(--color-primary);
}

.match-vs {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
}

.match-score-display {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.match-score-display.won {
  color: #10b981;
}

.match-score-display.lost {
  color: #ef4444;
}

.match-score-display.pending {
  color: #f59e0b;
}

.match-score-display .score-label {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-top: 5px;
}

.match-meta-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.match-meta-info .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  background: rgb(255 255 255 / 14%);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.match-meta-info .meta-item .material-symbols-outlined {
  font-size: 20px;
}

/* Stadium badge */
.stadium-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Prediction Details Grid */
.prediction-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-card {
  background: var(--color-bg-sidebar);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
}

.detail-card .card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.detail-card .card-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.detail-card .card-value.won {
  color: #10b981;
}

.detail-card .card-value.lost {
  color: #ef4444;
}

.detail-card .card-value.pending {
  color: #f59e0b;
}

.detail-card .card-sub {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* Stats Sections */
.stats-section {
  background: #1a1a2e;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}

.stats-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.stats-section .section-header h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.stats-section .section-header .view-all {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.stats-section .section-header .view-all:hover {
  color: #fff;
}

/* H2H Table */
.h2h-table {
  width: 100%;
  border-collapse: collapse;
}

.h2h-table thead th {
  text-align: left;
  padding: 10px 12px;
  color: var(--color-text-primary);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.h2h-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--color-text-primary);
  font-size: 14px;
}

.h2h-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.h2h-table .result-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.h2h-table .result-badge.won {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.h2h-table .result-badge.lost {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.h2h-table .result-badge.draw {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

/* Similar Predictions */
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.similar-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--color-text-secondary);
  box-shadow: var(--shadow-md);
}

.similar-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.similar-item .teams {
  font-weight: 500;
  font-size: 12px;
  color: #e4e3e3;
}

.similar-item .pred-info {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: var(--color-text-secondary);
}

.similar-item .pred-info .odds {
  color: #60a5fa;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .view-prediction-page {
    padding: 0;
  }

  .match-header {
    min-height: 300px;
    padding: var(--space-md);
  }

  .team-display {
    max-width: 100%;
  }

  .team-display .team-logo-large {
    width: 70px;
    height: 70px;
    padding: 10px;
  }

  .team-display .team-name-large {
    font-size: 16px;
  }

  .match-vs {
    font-size: 18px;
  }

  .match-score-display {
    font-size: 36px;
  }

  .match-meta-info {
    align-items: center;
    gap: 5px;
  }

  .prediction-details-grid {
    grid-template-columns: 1fr;
  }

  .match-header-top {
    gap: 10px;
    align-items: center;
  }

  .similar-grid {
    grid-template-columns: 1fr;
  }

  .h2h-table {
    font-size: 13px;
  }

  .h2h-table thead th,
  .h2h-table tbody td {
    padding: 8px 10px;
  }

  .competition-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .match-status-badge {
    font-size: 11px;
    padding: 4px 12px;
  }
}

@media (max-width: 480px) {
  .team-display .team-logo-large {
    width: 60px;
    height: 60px;
  }

  .match-score-display {
    font-size: 28px;
  }

  .detail-card .card-value {
    font-size: 22px;
  }

  .match-header .stadium-bg {
    opacity: 0.9;
  }
}

/* ==========================================
       FLOATING ACTION BUTTON STYLES
========================================== */
.fab-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary-100);
  color: #fff;
  box-shadow: 0 4px 20px rgba(2, 134, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fab-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(2, 134, 255, 0.5);
}

.fab-button:active {
  transform: scale(0.95);
}

.fab-button .material-symbols-outlined {
  font-size: 32px;
}

/* Sidebar close button */
.sidebar-close-btn {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.sidebar-close-btn .material-symbols-outlined {
  font-size: 24px;
}

/* Sidebar overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9997;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* ==========================================
       SIDEBAR SLIDE IN (All Screens)
       ========================================== */
.sidebar {
  position: fixed !important;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--color-bg-sidebar);
  z-index: 9998;
  padding: 60px 15px 20px;
  transition: right 0.3s ease;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
  border-radius: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  overflow-y: auto;
  gap: 20px;
}

.sidebar.open {
  right: 0;
}

.sidebar-close-btn {
  display: block !important;
}
.button-links {
  gap: 10px;
}
.about {
  padding-top: 10px;
  gap: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
/* ==========================================
       RESPONSIVE ADJUSTMENTS
       ========================================== */
@media (max-width: 480px) {
  .fab-button {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .fab-button .material-symbols-outlined {
    font-size: 28px;
  }

  .sidebar {
    width: 280px;
    right: -280px;
  }

  .sidebar.open {
    right: 0;
  }
}

/* Hide the sidebar on desktop when not open */
.sidebar:not(.open) {
  right: -300px;
}
