:root {
  --warna-daftar: #cc0000;
  --warna-box: #0a0a0a;
  --warna-aksen: #ffd700;
  --warna-latar: #ffffff;
  --warna-teks: #333333;
  --warna-login: #ffd900;
  --font-judul: "Roboto", sans-serif;
  --font-isi: "Arial", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: 20px;
}

.logo img {
  height: auto;
  max-height: 35px;
  width: auto;
  display: block;
}

.card-deck {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 10px;
  background-color: var(--card-bg);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.game-card {
  width: calc(25% - 20px);
  flex-grow: 0;
  flex-shrink: 0;
  margin: 10px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px;
}

.card-title {
  font-size: 1em;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.3;
  min-height: 40px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  user-select: none;
  background-image: url("https://durian.lol/uploads/bg-gacor77.jpg");
  font-family: var(--font-isi);
  line-height: 1.6;
  background-color: var(--warna-latar);
  color: var(--warna-teks);
  min-width: 320px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding-left: 25rem;
  padding-right: 1rem;
}

.main-nav a {
  color: white;
  font-weight: bold;
  font-size: 15px;
}

.search-icon-container {
  position: relative;
  width: 20px;
  height: 20px;
}

.search-toggle-button {
  background: none;
  border: none;
  color: white;
  font-size: 100px;
  cursor: pointer;
  padding: 5px;
  padding-top: 1px;
  padding-bottom: 5px;
  position: center;
  z-index: 10;
}

.search-form-hidden {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(100%);
  transition: transform 0.3s ease-out;
}

.search-form-hidden.active {
  transform: translateY(-50%) translateX(0);
  right: 40px;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: all 0.3s ease;
}

h1,
h2,
h3 {
  font-family: var(--font-judul);
  color: #ffffff;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 30px;
  font-weight: bold;
  line-height: 50px;
  width: 100%;
  margin-top: 1px;
  background-color: rgb(0, 0, 0, 0.3);
  border-radius: 10px;
  text-shadow: 0 0 5px #2c2b2b;
}
h3 {
  font-size: 1.2em;
  text-align: center;
}

a {
  text-decoration: none;
  color: var(--warna-latar);
}

a:hover {
  text-decoration: none;
}

main {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  flex-grow: 1;
}

header {
  background-color: var(--warna-box);
  color: white;
  padding: 10px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

header h1 {
  color: white;
  font-size: 1.5em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav a {
  color: white;
  font-weight: bold;
  padding: 5px 0;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--warna-aksen);
  text-decoration: none;
}

.btn-daftar {
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 20px 255px !important;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2em;
  font-family: var(--font-judul);
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin: 10px 0 10px 0;
  background-color: var(--warna-daftar);
  color: white;
  box-shadow: 0 4px var(--warna-box);
}

.btn-daftar:hover {
  background-color: #000000;
  color: #050505;
  box-shadow: 0 2px var(--warna-box);
  transform: translateY(2px);
}

.btn-login {
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 20px 255px !important;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2em;
  font-family: var(--font-judul);
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin: 1px 0 10px 0;
  background-color: var(--warna-daftar);
  color: #1b1a1a;
  box-shadow: 0 4px var(--warna-box);
}

.btn-login:hover {
  text-decoration: none;
  background-color: #000000;
  color: #ffffff;
  box-shadow: 0 2px #000000;
  transform: translateY(2px);
}

article {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;

  background-color: #020202;
  color: #000000;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-align: left;
  overflow: hidden;
}

article h4,
article h5 {
  color: #ffffff;
  margin-bottom: 1rem;
}

article p {
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.faq-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 1rem;
}

.faq-item {
  background-color: rgb(255, 174, 0, 2);
  width: calc(50% - 15px);
  flex-grow: 1;
  flex-shrink: 0;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item h5 {
  font-size: 1.1em;
  color: var(--warna-box);
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 0.95em;
  color: var(--warna-teks);
}

@media (max-width: 992px) {
  article {
    margin: 1.5rem auto;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  article {
    max-width: 95%;
    margin: 1rem auto;
    padding: 1rem;
  }
  article h4 {
    font-size: 1.3em;
  }
  article p {
    font-size: 0.9em;
  }
}

footer {
  color: #cccccc;
  text-align: center;
  padding: 1rem 1rem;
  font-size: 0.85em;
}

footer a {
  color: var(--warna-latar);
  margin: 0 5px;
}

footer a:hover {
  color: var(--warna-aksen);
  text-decoration: none;
}

.slider-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

.slides {
  position: relative;
  height: auto;
}

.slide {
  display: flex;
  width: 100%;
  top: 0;
  left: 0;

  opacity: 0;
  display: none;

  transition: opacity 1.5s ease-in-out;
}

.slide.active-slide {
  display: block;
  opacity: 1;
}

.slide img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-drag: none;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  z-index: 20;
}

.active-dot,
.dot:hover {
  background-color: var(--warna-aksen);
}

.main-footer {
  background-color: #333333;
  color: #ffffff;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-info {
  flex: 2;
  min-width: 300px;
}
.footer-map {
  flex: 1;
  min-width: 250px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  text-align: left;
}

.footer-info p,
.footer-info address {
  margin-bottom: 0.3rem;
  font-style: normal;
  line-height: 1.4;
  font-size: 0.9rem;
  text-align: left;
}

.footer-info i {
  margin-right: 10px;
  width: 15px;
}

.footer-info a {
  color: #ff0000;
  text-decoration: none;
}

.member-of {
  margin-top: 1rem;
  display: flex;
  align-items: center;
}

.member-logo {
  height: 30px;
  margin-left: 10px;
}

.footer-map iframe {
  height: 280px;
  width: 380px;
  border-radius: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.1rem;
  text-align: center;
}

.social-links {
  margin-bottom: 0.8rem;
}

.social-links a {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ffd700;
}

.copyright {
  font-size: 0.75rem;
}

.copyright a {
  color: #ffd700;
  text-decoration: none;
}

@media (max-width: 992px) {
  header {
    padding: 10px 30px;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background-color: var(--warna-box);
    overflow-x: hidden;
    transition: width 0.3s ease-in-out;
    z-index: 998;
  }

  .main-nav.active {
    width: 150px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 80px 20px 20px 20px;
    gap: 15px;

    display: flex !important;
  }

  .card-deck {
    max-width: 95%;
  }
  .game-card {
    width: calc(33.33% - 20px);
  }

  article {
    margin: 1.5rem auto;
    padding: 1.5rem;
  }

  .footer-map iframe {
    width: 100%;
  }
}

@media (max-width: 767px) {
  header {
    padding: 10px 15px;
  }

  .burger-menu {
    display: block;
  }

  .main-nav ul {
    display: none;
  }

  section:first-of-type center {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    margin: 0 auto 15px auto;
  }

  .btn-daftar,
  .btn-login {
    padding: 18px 10px !important;
    width: 100% !important;
    margin: 0;
    font-size: 1.2em;
  }

  .card-deck {
    justify-content: space-around;
    padding: 0 5px;
  }
  .game-card {
    width: calc(50% - 10px);
    margin: 10px 5px;
  }

  article {
    max-width: 95%;
    margin: 1rem auto;
    padding: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5) !important;
  }

  .faq-grid {
    flex-direction: column;
    gap: 15px;
  }

  .faq-item {
    width: 100%;
    margin-bottom: 0;
  }

  .footer-container {
    flex-direction: column;
    padding: 1rem 1rem;
  }

  .footer-info,
  .footer-map {
    min-width: 100%;
    text-align: center;
  }

  .footer-info p,
  .footer-info address {
    text-align: center;
  }

  .footer-map iframe {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .game-card {
    width: 90%;
    margin: 10px auto;
  }
}
