* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0a0a0a url('http://astratoto4d.site/img/background-astratoto.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: #0f172a;
  border-bottom: 2px solid #3b82f6;
}

.header nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
}

.header nav a:hover{
  color:#60a5fa;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* HERO */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #0f172a, #020617);
}

.hero h1 {
  font-size: 32px;
  background: linear-gradient(90deg,#3b82f6,#60a5fa,#93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

/* CARD */
.prediksi-card {
  background: #0f172a;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  box-shadow: 0 0 15px rgba(59,130,246,0.3);
  transition: 0.3s;
}

.prediksi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(96,165,250,0.6);
}

.prediksi-card h2 {
  background: linear-gradient(90deg,#3b82f6,#60a5fa,#93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.prediksi-card small {
  color: #aaa;
  display: block;
  margin-bottom: 15px;
}

.prediksi-card p {
  margin: 6px 0;
  font-size: 14px;
}

.prediksi-card strong {
  color: #60a5fa;
}

.prediksi-card button {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(90deg,#3b82f6,#60a5fa);
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  color:#fff;
}

.prediksi-card button:hover {
  background: linear-gradient(90deg,#60a5fa,#3b82f6);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  background: #020617;
  border-top: 1px solid #1e293b;
  margin-top: 40px;
}

/* MOBILE */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
  }

  .header nav {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .title {
    font-size: 22px;
  }

  table {
    font-size: 14px;
  }
}

/* Title */
.title {
  text-align: center;
  font-weight: bold;
  font-size: 28px;
  margin: 25px 0;
  background: linear-gradient(90deg,#3b82f6,#60a5fa,#93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Search */

.search-container {
  width: 100%;
}

.search-box {
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #1e293b;
  background:#020617;
  color:#fff;
}

/* Table */

.table-container {
  background: #0f172a;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(59,130,246,0.4);
}

table {
  color: #fff;
}

thead {
  background: #020617;
}

thead th {
  color: #60a5fa;
  border-bottom: 2px solid #1e293b;
}

tbody tr:hover {
  background: #020617;
  transition: 0.3s;
}