* {
      box-sizing: border-box;
    }

   
    body {
      margin: 0;
      font-family: 'Inter', Arial, sans-serif;
      color: white;
      line-height: 1.6;
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
    }

  
    body::before {
      content: "";
      position: fixed;
      top: -5%; 
      left: -5%;
      width: 110%; 
      height: 110%;
      background: linear-gradient(rgba(5, 12, 26, 0.85), rgba(5, 12, 26, 0.9)), 
                  url('/assets/images/Dashboard_back_03.webp') no-repeat center center;
      background-size: cover;
      z-index: -1;
      animation: liveBackground 25s infinite alternate ease-in-out;
    }

    @keyframes liveBackground {
      0% { transform: scale(1) translate(0, 0); }
      100% { transform: scale(1.08) translate(-10px, 10px); }
    }

   
    header {
      height: 86px;
      background: rgba(2, 6, 23, 0.8) !important;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      padding: 0 36px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: nowrap;
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
    }
nav {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
    }

    nav a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: 15px;
      font-weight: 600;
      transition: color 0.25s;
    }

    nav a:hover {
      color: #22c55e;
    }
    .logo {
      display: flex;
      align-items: center;
      height: 70px;
      text-decoration: none;
    }

    .logo img {
      height: 92px;
      width: auto;
      display: block;
      margin-top: 10px;
      filter: drop-shadow(0 0 8px rgba(34,197,94,0.35));
    }

    

    .container {
      max-width: 1180px;
      margin: 40px auto 60px;
      padding: 0 20px;
    }


    .hero-box, 
    .ranking-card {
      background: rgba(255, 255, 255, 0.03) !important;
      backdrop-filter: blur(15px) !important;
      -webkit-backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 20px !important;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
      transition: all 0.3s ease;
    }

    .hero-box {
      padding: 35px 40px;
      margin-bottom: 30px;
    }

    .ranking-card {
      padding: 25px 30px;
    }

    .ranking-card:hover {
      border-color: rgba(34, 197, 94, 0.3) !important;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
    }

   
    .hero-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .hero-title {
      margin: 0;
      font-size: 34px;
      line-height: 1.2;
      font-weight: 800;
    }

    .hero-title span {
      color: #22c55e;
    }

    .hero-subtitle {
      margin-top: 10px;
      color: #cbd5e1;
      font-size: 16px;
      line-height: 1.6;
    }

    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

    
    .btn {
      display: inline-block;
      padding: 12px 22px;
      border-radius: 12px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      letter-spacing: 0.5px;
    }

    .btn-primary {
      background: #22c55e;
      color: #000;
      box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    }

    .btn-primary:hover {
      background: #16a34a;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    }

    .btn-secondary {
      background: rgba(255,255,255,0.05);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.1);
    }

    .btn-secondary:hover {
      background: rgba(255,255,255,0.1);
      border-color: #22c55e;
    }

    .rankings-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 15px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .rankings-header h2 { 
      margin: 0; 
      font-size: 26px; 
    }

    .updated-badge {
      color: #cbd5e1;
      font-size: 13px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      padding: 8px 16px;
      border-radius: 20px;
    }

    .rankings-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
      gap: 25px;
    }

    .ranking-card h3 { 
      margin: 0 0 20px; 
      font-size: 24px; 
    }

    .ranking-card.atp h3 { 
      color: #38bdf8; 
    }

    .ranking-card.wta h3 { 
      color: #f472b6; 
    }

    table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0 8px; 
    }

    th {
      color: #64748b;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding-bottom: 8px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    td {
      padding: 14px 10px;
      font-size: 16px;
      background: rgba(255, 255, 255, 0.02);
      transition: background 0.3s;
    }

    td:first-child { 
      border-radius: 10px 0 0 10px; 
    }
    td:last-child { 
      border-radius: 0 10px 10px 0; 
    }

    tbody tr:hover td {
      background: rgba(34, 197, 94, 0.08); 
      color: #22c55e;
    }

    .rank-num { 
      width: 56px; 
      font-weight: 800; 
      color: #22c55e; 
    }

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

    .points { 
      width: 120px; 
      text-align: right; 
      font-weight: 800; }

    .empty-message { 
      color: #cbd5e1; 
      font-size: 15px; 
      padding: 8px 0; 
    }
    .footer-note { 
      margin-top: 30px; 
      color: #64748b; 
      font-size: 13px; 
      text-align: center; 
    }

    @media (max-width: 768px) {
      header { padding: 15px 20px; }
      .logo img { height: 70px; }
      .hero-title { font-size: 28px; }
      .rankings-grid { grid-template-columns: 1fr; }
      td { font-size: 15px; }
    }
