
    :root {
      --primary-green: #10b981;
      --primary-green-dark: #059669;
      --primary-green-light: #34d399;
      --epl-purple: #37003c;
      --epl-pink: #e90052;
    }

    /* Enhanced Hero Section */
    .league-hero {
      background: linear-gradient(135deg, var(--epl-purple) 0%, #1a0020 100%);
      padding: 0;
      margin-bottom: 40px;
      border-radius: 20px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 8px 32px rgba(55, 0, 60, 0.3);
    }

    .league-hero::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(233, 0, 82, 0.15) 0%, transparent 70%);
      border-radius: 50%;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      padding: 48px 32px;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 32px;
      align-items: center;
    }

    .league-badge-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .league-badge {
      width: 120px;
      height: 120px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
      border-radius: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 64px;
      border: 3px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(10px);
    }

    .season-badge {
      font-size: 11px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.9);
      background: rgba(233, 0, 82, 0.8);
      padding: 6px 14px;
      border-radius: 20px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .hero-info {
      flex: 1;
    }

    .league-title {
      font-size: clamp(36px, 5vw, 56px);
      font-weight: 900;
      color: #fff;
      margin: 0 0 8px;
      letter-spacing: -1.5px;
      text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .league-subtitle {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.7);
      margin: 0 0 24px;
      font-weight: 500;
    }

    .league-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      max-width: 600px;
    }

    .stat-box {
      text-align: left;
    }

    .stat-value {
      font-size: 32px;
      font-weight: 900;
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
      margin-bottom: 6px;
    }

    .stat-label {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.7);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    /* Tabs */
    .tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 32px;
      border-bottom: 2px solid var(--border);
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
      padding: 14px 24px;
      font-size: 14px;
      font-weight: 700;
      color: var(--muted);
      background: transparent;
      border: none;
      border-bottom: 3px solid transparent;
      cursor: pointer;
      transition: all 0.3s ease;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .tab-btn:hover {
      color: var(--text);
      background: rgba(16, 185, 129, 0.05);
    }

    .tab-btn.active {
      color: var(--primary-green);
      border-bottom-color: var(--primary-green);
      background: rgba(16, 185, 129, 0.05);
    }

    .tab-icon {
      font-size: 16px;
    }

    .tab-content {
      display: none;
    }

    .tab-content.active {
      display: block;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Two Column Layout */
    .content-grid {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 28px;
      margin-bottom: 40px;
    }

    .main-content {
      min-width: 0;
    }

    .sidebar {
      position: sticky;
      top: 20px;
      height: fit-content;
    }

    /* Section Headers */
    .section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }

    .section-title {
      font-size: 22px;
      font-weight: 800;
      color: var(--text);
      margin: 0;
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .section-icon {
      font-size: 24px;
    }

    .view-all-link {
      font-size: 13px;
      font-weight: 700;
      color: var(--primary-green);
      text-decoration: none;
      transition: color 0.3s ease;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .view-all-link:hover {
      color: var(--primary-green-dark);
    }

    /* Enhanced Fixture Card */
    .fixture-card {
      background: var(--surface);
      border: 2px solid var(--border);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 16px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .fixture-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .fixture-card:hover {
      border-color: var(--primary-green);
      box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
      transform: translateY(-2px);
    }

    .fixture-card:hover::before {
      transform: scaleX(1);
    }

    .fixture-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
    }

    .fixture-date {
      font-size: 12px;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .fixture-teams {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 16px;
      align-items: center;
      margin-bottom: 16px;
    }

    .team {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      text-align: center;
    }

    .team-logo-large {
      width: 56px;
      height: 56px;
      background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      border: 2px solid var(--border);
      transition: all 0.3s ease;
    }

    .fixture-card:hover .team-logo-large {
      transform: scale(1.05);
      border-color: var(--primary-green);
    }

    .team-name-fix {
      font-size: 15px;
      font-weight: 800;
      color: var(--text);
    }

    .team-form {
      display: flex;
      gap: 3px;
      font-size: 10px;
      justify-content: center;
    }

    .form-badge-small {
      width: 18px;
      height: 18px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 9px;
      color: #fff;
    }

    .form-w { background: var(--primary-green); }
    .form-d { background: #94a3b8; }
    .form-l { background: #ef4444; }

    .vs-divider {
      font-size: 14px;
      font-weight: 900;
      color: var(--muted);
      text-align: center;
    }

    .match-time {
      font-size: 16px;
      font-weight: 900;
      color: var(--text);
    }

    .fixture-predictions {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      padding-top: 16px;
      border-top: 1px solid var(--border);
    }

    .prediction-item {
      text-align: center;
      padding: 10px;
      background: var(--surface-2);
      border-radius: 8px;
      border: 1px solid var(--border);
      transition: all 0.3s ease;
    }

    .prediction-item:hover {
      border-color: var(--primary-green);
      transform: translateY(-2px);
    }

    .prediction-label {
      font-size: 10px;
      font-weight: 600;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 4px;
    }

    .prediction-value {
      font-size: 13px;
      font-weight: 800;
      color: var(--primary-green);
    }

    .prediction-odds {
      font-size: 11px;
      color: var(--muted);
      font-weight: 600;
      margin-top: 2px;
    }

    /* Sidebar Widgets */
    .widget {
      background: var(--surface);
      border: 2px solid var(--border);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 20px;
    }

    .widget-title {
      font-size: 16px;
      font-weight: 800;
      color: var(--text);
      margin: 0 0 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .top-scorer-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px;
      background: var(--surface-2);
      border-radius: 10px;
      margin-bottom: 8px;
      border: 1px solid var(--border);
      transition: all 0.3s ease;
    }

    .top-scorer-item:hover {
      border-color: var(--primary-green);
      transform: translateX(4px);
    }

    .scorer-rank {
      font-size: 16px;
      font-weight: 900;
      color: var(--primary-green);
      min-width: 24px;
    }

    .scorer-logo {
      width: 32px;
      height: 32px;
      background: var(--surface);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      border: 1px solid var(--border);
    }

    .scorer-info {
      flex: 1;
    }

    .scorer-name {
      font-size: 13px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 2px;
    }

    .scorer-team {
      font-size: 11px;
      color: var(--muted);
      font-weight: 600;
    }

    .scorer-goals {
      font-size: 18px;
      font-weight: 900;
      color: var(--text);
    }

    /* Enhanced Standings Table */
    .standings-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      font-size: 13px;
      background: var(--surface);
      border: 2px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
    }

    .standings-table thead {
      background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
      border-bottom: 2px solid var(--border);
    }

    .standings-table th {
      padding: 14px 10px;
      font-weight: 700;
      color: var(--muted);
      text-align: left;
      text-transform: uppercase;
      font-size: 10px;
      letter-spacing: 0.5px;
    }

    .standings-table td {
      padding: 14px 10px;
      border-bottom: 1px solid var(--border);
    }

    .standings-table tbody tr:last-child td {
      border-bottom: none;
    }

    .standings-table tr:hover {
      background: var(--surface-2);
    }

    .position {
      font-weight: 900;
      color: var(--text);
      width: 50px;
      text-align: center;
    }

    .team-cell {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .team-logo-table {
      width: 28px;
      height: 28px;
      font-size: 18px;
      background: var(--surface-2);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--border);
    }

    .team-name-table {
      font-weight: 700;
      color: var(--text);
      font-size: 14px;
    }

    .zone-champions {
      border-left: 4px solid var(--primary-green);
    }

    .zone-europa {
      border-left: 4px solid #f59e0b;
    }

    .zone-relegation {
      border-left: 4px solid #ef4444;
    }

    .table-points {
      font-weight: 900;
      color: var(--text);
      font-size: 16px;
    }

    /* Stats Grid */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
    }

    .stat-card {
      background: var(--surface);
      border: 2px solid var(--border);
      border-radius: 14px;
      padding: 20px;
      text-align: center;
      transition: all 0.3s ease;
    }

    .stat-card:hover {
      border-color: var(--primary-green);
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
    }

    .stat-card-icon {
      font-size: 32px;
      margin-bottom: 12px;
    }

    .stat-card-title {
      font-size: 12px;
      color: var(--muted);
      font-weight: 600;
      text-transform: uppercase;
      margin-bottom: 10px;
      letter-spacing: 0.5px;
    }

    .stat-card-value {
      font-size: 32px;
      font-weight: 900;
      background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 6px;
    }

    .stat-card-label {
      font-size: 13px;
      color: var(--text);
      font-weight: 600;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .content-grid {
        grid-template-columns: 1fr;
      }

      .sidebar {
        position: static;
      }
    }

    @media (max-width: 768px) {
      .hero-content {
        grid-template-columns: 1fr;
        padding: 32px 20px;
        text-align: center;
      }

      .league-badge-container {
        margin: 0 auto;
      }

      .league-badge {
        width: 100px;
        height: 100px;
        font-size: 56px;
      }

      .league-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
        max-width: 100%;
        margin: 0 auto;
      }

      .stat-box {
        text-align: center;
      }

      .stat-value {
        font-size: 28px;
      }

      .stat-label {
        font-size: 10px;
      }

      .tabs {
        gap: 4px;
      }

      .tab-btn {
        padding: 12px 16px;
        font-size: 13px;
      }

      .tab-icon {
        display: none;
      }

      .fixture-teams {
        gap: 12px;
      }

      .team-logo-large {
        width: 48px;
        height: 48px;
        font-size: 28px;
      }

      .team-name-fix {
        font-size: 13px;
      }

      .fixture-predictions {
        grid-template-columns: 1fr;
      }

      .standings-table {
        font-size: 11px;
      }

      .standings-table th,
      .standings-table td {
        padding: 10px 6px;
      }

      .team-name-table {
        font-size: 12px;
      }

      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 480px) {
      .hero-content {
        padding: 24px 16px;
      }

      .league-title {
        font-size: 32px;
      }

      .league-subtitle {
        font-size: 14px;
      }

      .league-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 8px;
      }

      .stat-value {
        font-size: 24px;
      }

      .stat-label {
        font-size: 9px;
      }
    }
  
    /* Other Leagues Sidebar Styles */
    .other-leagues-widget {
      background: var(--surface);
      border: 2px solid var(--border);
      border-radius: 12px;
      padding: 0;
      overflow: hidden;
    }

    .other-leagues-header {
      padding: 16px;
      background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
      border-bottom: 2px solid var(--border);
      cursor: default;
      position: relative;
    }

    .other-leagues-title {
      font-size: 16px;
      font-weight: 800;
      color: var(--text);
      margin: 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .toggle-btn {
      display: none;
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      color: var(--text);
      font-size: 20px;
      cursor: pointer;
      padding: 4px;
      transition: transform 0.3s ease;
    }

    .toggle-btn.rotated {
      transform: translateY(-50%) rotate(180deg);
    }

    .other-leagues-list {
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .league-item {
      border-bottom: 1px solid var(--border);
      transition: all 0.2s ease;
    }

    .league-item:last-child {
      border-bottom: none;
    }

    .league-item:hover {
      background: var(--surface-2);
    }

    .league-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      text-decoration: none;
      color: var(--text);
      transition: all 0.2s ease;
    }

    .league-link:hover {
      color: var(--primary-green);
    }

    .league-icon {
      width: 32px;
      height: 32px;
      background: var(--surface-2);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      border: 1px solid var(--border);
      flex-shrink: 0;
    }

    .league-link:hover .league-icon {
      border-color: var(--primary-green);
      transform: scale(1.05);
    }

    .league-details {
      flex: 1;
      min-width: 0;
    }

    .league-name-sidebar {
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
      margin: 0 0 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .league-country {
      font-size: 11px;
      color: var(--muted);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .league-arrow {
      color: var(--muted);
      font-size: 18px;
      transition: all 0.2s ease;
      flex-shrink: 0;
    }

    .league-link:hover .league-arrow {
      color: var(--primary-green);
      transform: translateX(4px);
    }

    .category-divider {
      padding: 8px 16px;
      background: var(--surface-2);
      font-size: 11px;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 1px;
      border-bottom: 1px solid var(--border);
      border-top: 1px solid var(--border);
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .other-leagues-widget {
        margin-top: 24px;
      }

      .other-leagues-header {
        cursor: pointer;
        user-select: none;
      }

      .toggle-btn {
        display: block;
      }

      .other-leagues-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
      }

      .other-leagues-list.expanded {
        max-height: 2000px;
        transition: max-height 0.5s ease-in;
      }

      .league-name-sidebar {
        font-size: 13px;
      }

      .league-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
      }
    }
  