  :root {
      --primary-color: #667eea;
      --secondary-color: #764ba2;
      --secondary-color-hover: #653b8f;
      --accent-color: #4facfe;
      --text-dark: #1f2937;
      --text-light: #6b7280;
      --border-light: #e5e7eb;
      --bg-light: #f8fafc;
      --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

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

    body {
      font-family: 'Inter', sans-serif;
      line-height: 1.6;
      color: var(--text-dark);
      background-color: var(--bg-light);
    }

    .navbar {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
      box-shadow: 0 2px 20px rgba(30, 58, 138, 0.1);
      padding: 1rem 0;
      position: fixed !important;
top: 0 !important;
  left: 0 !important;
  right: 0 !important;
    z-index: 1030 !important;

    }

    .navbar-brand {
      font-size: 1.8rem;
      font-weight: 700;
      color: white !important;
      letter-spacing: -0.5px;
    }

    .navbar-nav .nav-link {
      color: rgba(255, 255, 255, 0.9) !important;
      font-weight: 500;
      margin: 0 0.5rem;
      padding: 0.5rem 1rem !important;
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
      background-color: rgba(255, 255, 255, 0.1);
      color: white !important;
      transform: translateY(-1px);
    }

    .section-header {
      font-family: 'Poppins', sans-serif !important;
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 600;
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      padding-bottom: 0.5rem;
      border-bottom: 3px solid var(--primary-color);
      position: relative;
    }

    .section-header::after {
      content: '';
      position: absolute;
      bottom: -3px;
      left: 0;
      width: 60px;
      height: 3px;
      background: var(--secondary-color);
    }

    .news-card {
      border: none;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      overflow: hidden;
      height: 100%;
    }

    .news-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .news-card .card-img-top {
      height: 180px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .news-card:hover .card-img-top {
      transform: scale(1.05);
    }

    .news-card .card-body {
      padding: 1.25rem;
    }

    .news-card .card-title {
      font-weight: 600;
      color: var(--text-dark);
      font-size: 1.1rem;
      margin-bottom: 0.75rem;
      line-height: 1.4;
    }

    .news-card .card-text {
      color: var(--text-light);
      font-size: 0.9rem;
      margin-bottom: 1rem;
    }

    .news-card .btn {
      background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
      border: none;
      border-radius: 8px;
      font-weight: 500;
      padding: 0.5rem 1.2rem;
      transition: all 0.3s ease;
    }

    .news-card .btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }

    .btn-more {
      border: 3px solid transparent;
      background: 
        radial-gradient(circle at 10% 80%, rgba(77, 76, 148, 0.5) 0%, transparent 30%),
        radial-gradient(circle at 80% 40%, rgba(255, 119, 198, 0.5) 0%, transparent 30%),
        radial-gradient(circle at 40% 70%, rgba(120, 200, 255, 0.5) 0%, transparent 30%), 
        var(--secondary-color);
      transition: all 0.5s;
      position: relative;
      box-sizing: border-box;
      color: white;
    }

    .btn-more::before {
      content: '';
      position: absolute;
      top: -4px;
      left: -4px;
      right: -4px;
      bottom: -4px;
      background: white;
      border-radius: inherit;
      z-index: -2;
    }

    .btn-more:hover {
      background: white;
      color: black;
    }

    .btn-more:hover::before {
      background: 
        radial-gradient(circle at 10% 80%, rgba(77, 76, 148, 0.5) 0%, transparent 30%),
        radial-gradient(circle at 80% 40%, rgba(255, 119, 198, 0.5) 0%, transparent 30%),
        radial-gradient(circle at 40% 70%, rgba(120, 200, 255, 0.5) 0%, transparent 30%), 
        var(--secondary-color);
    }

    .sidebar-card {
      width: 350px;
      border: none;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      margin-bottom: 1.5rem;
      overflow: hidden;
    }

    .sidebar-card .card-header {
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      color: white;
      font-weight: 600;
      border: none;
      padding: 1rem 1.25rem;
    }

    .sidebar-card .card-body {
      padding: 1.25rem;
    }

    .weather-card {
      background-color: var(--primary-color);
      color: white;
      text-align: center;
    }

    .weatherBtn{
      color: white;
      background: 
        radial-gradient(circle at 10% 80%, rgba(77, 76, 148, 0.5) 0%, transparent 30%),
        radial-gradient(circle at 80% 40%, rgba(255, 119, 198, 0.5) 0%, transparent 30%),
        radial-gradient(circle at 40% 70%, rgba(120, 200, 255, 0.5) 0%, transparent 30%);
    }

    .weatherBtn:hover{
      color: #4f5053;
    }

    .weather-icon {
      font-size: 3rem;
      margin: 1rem 0;
      color: #d3a01f;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .weather-temp {
      font-size: 2rem;
      font-weight: 700;
      margin: 0;
    }

    .weather-location {
      font-size: 1.1rem;
      opacity: 0.9;
      margin-bottom: 0;
    }

    .exchange-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 0;
      border-bottom: 1px solid var(--border-light);
    }

    .exchange-item:last-child {
      border-bottom: none;
    }

    .exchange-currency {
      font-weight: 600;
      color: var(--primary-color);
    }

    .exchange-rate {
      font-weight: 500;
      color: var(--text-dark);
    }

    .match-item {
      padding: 0.75rem;
      margin-bottom: 0.5rem;
      background: var(--bg-light);
      border-radius: 8px;
      border-left: 4px solid var(--accent-color);
      font-weight: 500;
    }

    .match-score {
      color: var(--primary-color);
      font-weight: 600;
    }

    .live-badge {
      background: #ef4444;
      color: white;
      font-size: 0.7rem;
      padding: 0.2rem 0.5rem;
      border-radius: 20px;
      font-weight: 600;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { opacity: 1; }
      50% { opacity: 0.7; }
      100% { opacity: 1; }
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 15px;
      }
      
      .news-card .card-img-top {
        height: 150px;
      }
      
      .section-header {
        font-size: 1.3rem;
      }
      #show-more-btn {
        width: 100%;
        max-width: 300px;
      }
    }

    @media (max-width: 350px) {
      .sidebar-card{
        width: 100%
      }
    }

    ::-webkit-scrollbar {
      width: 8px;
    }

    ::-webkit-scrollbar-track {
      background: #f1f1f1;
    }

    ::-webkit-scrollbar-thumb {
      background: var(--secondary-color);
      border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--primary-color);
    }

    #show-more-btn {
    font-weight: 500;
    border-radius: 8px;
    min-width: 180px;
}

#show-more-btn:disabled {
    opacity: 0.7;
}

.news-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.match-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 15px auto;
  max-width: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.match-card-body {
  padding: 15px;
}

.match-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
  margin-bottom: 12px;
}

.team-section {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-away {
  justify-content: flex-start;
}

.team-home {
  justify-content: flex-end;
}

.team-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.team-name {
  font-weight: bold;
  font-size: 14px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-score {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  min-width: 70px;
}

.match-info {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.live-badge {
  background: red;
  color: #fff;
  font-weight: bold;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-team-2-box {
  border: 1px solid #e5e7eb; 
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.card-team-2-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #1f2937; 
}

.card-team-2-row {
  transition: background 0.2s ease-in-out;
}
.card-team-2-row:hover {
  background-color: #d1d1d1; 
}

.ct2-rank {
  text-align: center;
  font-weight: bold;
  color: #6d28d9;
  padding: 0.5rem 0.75rem;
}

.ct2-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.ct2-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.ct2-name {
  font-weight: 600;
}

.ct2-played,
.ct2-points,
.ct2-record,
.ct2-gf,
.ct2-ga,
.ct2-gd {
  text-align: center;
  padding: 0.5rem 0.75rem;
}

.ct2-points {
  font-weight: bold;
  color: #11eca7;
}
