* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #111;
  color: #fff;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

header {
  background: #000;
  padding: 10px 0;
  display: flex;
  justify-content: center;
}

.header-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}

.logo-text-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text-wrap h1 {
  margin: 0;
  color: #FFD700;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

/* Nav button bawah logo */
.under-logo-nav {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.under-logo-nav a {
  font-size: 13px;
  color: #fff;
  background-color: #333;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.under-logo-nav a:hover {
  box-shadow: 0 0 10px #ffd700;
  transition: 0.3s;
}

/* Vertikal nav kanan (jika masih dipakai) */
.nav-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.nav-vertical a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-vertical a:hover {
  color: #fff;
}

/* Hero & banner */
.hero-banner {
    display: block;
    position: relative;
  }

.hero-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .hero-banner-inner {
    max-width: 100%;
    padding: 0;
  }
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
  }

.hero-text {
  background: #1a1a1a;
  padding: 40px 20px 20px;
  text-align: center;
}

.hero-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-text p {
  color: #bbb;
  font-size: 18px;
}

/* Button download game */
.app-download-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #1a1a1a;
  color: #fc0;
  font-weight: 600;
  font-size: 16px;
  border-radius: 16px;
  padding: 20px 15px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.1);
  width: 140px;
  transition: transform 0.2s, box-shadow 0.3s, border 0.3s;
  animation: 5s ease-in-out infinite rgb-border;
}

.app-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255,204,0,0.3) !important;
  border-color: transparent !important;
}

.app-download-btn img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.app-download-btn span {
  text-align: center;
  line-height: 1.2;
}

@keyframes rgb-border {
  0%, 100% {
    border-color: #ff2c2c;
    box-shadow: 0 0 8px #ff2c2c;
  }
  33% {
    border-color: #2cff2c;
    box-shadow: 0 0 8px #2cff2c;
  }
  66% {
    border-color: #2c7fff;
    box-shadow: 0 0 8px #2c7fff;
  }
}

/* Game grid layout */
.game-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  margin-bottom: 40px;
}

/* Table style */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #1a1a1a;
  color: #fff;
  font-size: 15px;
  border-radius: 12px;
  overflow: hidden;
}
table th, table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #333;
}
table th {
  background-color: #2c2c2c;
  font-weight: 600;
}
table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead { display: none; }
  tr {
    margin-bottom: 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 10px;
  }
  td {
    padding: 10px 14px;
    position: relative;
    text-align: left;
  }
  td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #aaa;
    display: block;
    margin-bottom: 5px;
  }
}

/* FAQ */
.faq-section {
  margin-top: 50px;
}
.faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.faq-item {
  margin-bottom: 20px;
}
.faq-item h3 {
  font-size: 1.1rem;
  color: #ffffff;
}
.faq-item p {
  font-size: 1rem;
  color: #7a6b6b;
}

/* Email link */
.email-link {
  color: #ffc107; 
  font-weight: 600;
  text-decoration: none;
}
.email-link:hover {
  text-decoration: underline;
  color: #ffca2c; 
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #666;
  font-size: 14px;
}
.footer-nav {
  display: flex;
  gap: 0px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a,
.footer-nav span {
  margin: 0;
  padding: 0 2px;
  font-weight: 600;
  color: #ffc107;
  text-decoration: none;
}
.footer-nav a:hover {
  color: #ffca2c;
  text-decoration: underline;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin-top: 20px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  width: 100%;
}
.contact-form button {
  background-color: #ffc107;
  color: #000;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: #ffca2c;
}