/* ===== RESET & DASAR ===== */
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  font-family: Arial, sans-serif;
  color: #fff;
  line-height: 1.6;
  text-align: center;
}

/* ===== WRAPPER ===== */
.main-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: #000;
}

@media screen and (max-width: 768px) {
  .main-wrapper {
    padding: 10px;
  }
}

/* ===== LINK ===== */
a {
  text-decoration: none;
  color: white;
}

/* ===== HEADER ===== */
.header {
  background: #000;
  padding: 10px;
  border: 2px solid blue;
}

.header h1 {
  color: blue;
  font-size: 14px;
  margin: 10px 0;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
  background: blue;
  color: white;
  padding: 10px;
  font-weight: bold;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.navbar a:hover {
  text-decoration: underline;
}

/* Mobile navbar */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .navbar a {
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 10px 0;
    width: 100%;
  }

  .navbar a:last-child {
    border-bottom: none;
  }
}

/* ===== BANNER ===== */
.floating-banner,
.floating-bottom {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 728px;
  z-index: 9999;
  text-align: center;
}

.floating-banner { top: 0; }
.floating-bottom { bottom: 0; }

.floating-banner img,
.floating-bottom img {
  width: 100%;
  height: auto;
}

/* ===== KONTEN ===== */
.content {
  background-color: #000;
  color: white;
  text-align: justify;
  padding: 5px;
  margin: 10px auto;
  max-width: 1200px;
  border:1px solid blue;
  box-sizing: border-box;
}

/* ===== TABLE SECTION ===== */
.table-section {
  background: #111;
  margin: 20px 0;
  padding: 1px;
  border-radius: 5px;
}

.table-section h2 {
  color: blue;
  margin-bottom: 10px;
  text-align: center;
}

/* ===== TABEL HASIL ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  color: white;
  font-size: 14px;
}

table th, table td {
  padding: 10px 6px;
  text-align: center;
  border: none;
}

table th {
  background: blue;
  font-weight: bold;
}

table tr:nth-child(even) td {
  background: #1a1a1a;
}

table tr:nth-child(odd) td {
  background: #000;
}

/* ===== RESPONSIVE TABLE ===== */
@media (max-width: 768px) {
  table {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  table {
    font-size: 12px;
  }

  table th, table td {
    padding: 8px 4px;
  }
}
