<style>
  body {
    font-family: 'Inter', sans-serif;
    background-size: cover;
    background-color: #0f172a;
    color: #f8fafc;
    margin: 0;
    padding: 0;
  }
  .header {
    padding: 20px;
  }
  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  .logo {
    max-width: 120px;
    height: auto;
  }
  .date-badge {
    background: #facc15;
    color: #000;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .carousel {
    max-width: 800px;
    margin: 20px auto 0 auto;
  }
  .carousel-inner img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 5%;
  }
  .links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .links a {
    padding: 12px 30px;
    background: #374151;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
  }
  .links a:hover {
    background: #1f2937;
  }
  .table-container {
    margin: 20px auto;
    width: 90%;
    max-width: 800px;
    background-color: rgba(30, 41, 59, 0.9);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
    overflow-x: auto; /* Supaya tabel scrollable di mobile */
  }
  .search-box {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .search-box input {
    padding: 10px 15px;
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    border: 1px solid #475569;
    background: #0f172a;
    color: #f8fafc;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
  }
  .search-box input::placeholder {
    color: #94a3b8;
  }
  .search-box input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 5px #3b82f6;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    min-width: 500px; /* Supaya tabel ga hancur di mobile kecil */
  }
  th, td {
    padding: 12px 15px;
    border: 1px solid #334155;
    text-align: center;
  }
  th {
    background-color: #1f2937;
    color: #facc15;
    font-size: 16px;
  }
  td {
    color: #f8fafc;
    font-size: 15px;
  }
  .rank-1 {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    font-weight: bold;
    color: #1f2937;
  }
  .rank-2 {
    background: linear-gradient(90deg, #6b7280, #9ca3af);
    font-weight: bold;
    color: #1f2937;
  }
  .rank-3 {
    background: linear-gradient(90deg, #10b981, #34d399);
    font-weight: bold;
    color: #1f2937;
  }
  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .pagination button {
    padding: 8px 16px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg, #6366f1, #3b82f6);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
  }
  .pagination button:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #4f46e5, #2563eb);
  }

  /* Responsive Area */
  @media (max-width: 768px) {
    .header-top {
      flex-direction: column;
      gap: 10px;
    }
    .logo {
      max-width: 100px;
    }
    .date-badge {
      font-size: 12px;
      padding: 6px 10px;
    }
    table {
      font-size: 14px;
    }
    .table-container {
      padding: 15px;
    }
    .links a {
      padding: 10px 20px;
      font-size: 14px;
    }
  }
</style>

