/* --- Base & Reset --- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
}

a {
  text-decoration: none;
  color: #fff;
}

/* --- Navbar --- */
.navbar {
  margin: 0 auto;
  position: sticky;
  top: 0;
  width:60%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
}

.navbar .logo {
  font-size: 22px;
  font-weight: bold;
  color: #0ff;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #0ff, 0 0 16px #0ff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  text-shadow: 0 0 5px #0ff;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: #0ff;
  text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #0ff;
}

/* --- Main Container --- */
main {
  width: 60%;
  margin: 30px auto;
  padding: 5px 25px;
  background: rgba(128, 128, 128, 0.7);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  transition: none; /* fix CLS */
}

/* --- Hero Section --- */
.hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6 {
  font-size: 22px;
  color: #0ff;
  margin-bottom: 25px;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 0 4px #000, 0 0 8px #0ff;
}

.hero p {
  font-size: 16px;
  color: #fff;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* --- Table Section --- */
.agent-table {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  color: #fff;
}

.agent-table h2 {
  text-align: center;
  color: #0ff;
  margin-bottom: 20px;
}

.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

table thead {
  background: rgba(0, 255, 255, 0.2);
}

table th,
table td {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

table th {
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 3px #000;
}

table td {
  text-align: left;
  color: #fff;
}

table td:nth-child(2),
table td:nth-child(3) {
  text-align: center;
}

table a {
  color: #0ff;
  font-weight: bold;
}

table a:hover {
  text-decoration: underline;
}

/* --- Button Handshake --- */
.btn-hand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 5px;
  font-size: 14px;
  font-weight: bold;
  color: #0ff;
}

.btn-hand .icon {
  font-size: 30px;
  animation: goyang 1s infinite alternate ease-in-out;
}

@keyframes goyang {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.btn-hand:focus,
.btn-hand:active {
  text-decoration: none;
  outline: none;
}

/* --- Syarat List --- */
.syarat-list {
  list-style: decimal;
  padding-left: 25px;
  color: #fff;
  line-height: 1.8;
}

.syarat-list li {
  margin-bottom: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.syarat-list li::marker {
  color: #0ff;
}

.syarat-list li:hover {
  color: #0ff;
  text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
}

/* --- Footer --- */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  font-size: 14px;
}

.footer a {
  color: #0af;
  margin: 0 5px;
}

.footer a:hover {
  color: #0ff;
  text-decoration: underline;
}

/* --- Contact Page --- */
.content h2 {
  text-align: center;
  margin-bottom: 10px;
}

.content .intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #ddd;
}

.contact-form {
  width: 95%;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.2);
}

.contact-form .btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #ff9800;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form .btn:hover {
  background: #e68900;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin: 8px 0;
}

.contact-info a {
  color: #ff9800;
}

.contact-info a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  main {
    width: 85%;
  }
}

@media (max-width: 767px) {
  .navbar {width:80%;}
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    gap: 25px;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 28px; }
  .hero p  { font-size: 16px; }
  .gamabar1234 img {width:100%;}
}

@media (max-width: 600px) {
  main {
    width: 90%;
    margin: 10px auto;
    padding: 20px 10px;
    border-radius: 10px;
  }
  table th {
    padding: 10px 8px;
    font-size: 14px;
  }
  table td {
    padding: 5px;
  }
  tbody {
    font-size: 14px;
    font-weight: bold;
  }
}