/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Chewy', cursive;
    background: url('media/wood.gif') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  

  
  /* CONTAINER UTAMA */
  .container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px;
  }
  
  /* MENU TOMBOL */
  .menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .menu img {
    width: 80vw;
    max-width: 300px;
    height: auto;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    transition: transform 0.2s, filter 0.2s;
  }
  
  .menu img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
  }
  
  .menu img:active {
    transform: scale(0.95);
    filter: brightness(0.85);
  }
  
  /* FOOTER */
  footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 10px;
    font-weight: initial;
  }
  .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .menu-horizontal {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 20px;
  }
  
  .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .menu-horizontal {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 20px;
  }
  
  .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .menu-item img {
    width: 80vw;
    max-width: 300px;
    height: auto;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    transition: transform 0.2s, filter 0.2s, grayscale 0.2s;
  }
  
  .menu-item img:hover {
    transform: scale(1.05);
    filter: grayscale(70%) brightness(0.95);
  }
  
  .menu-item img:active {
    transform: scale(0.95);
    filter: grayscale(100%) brightness(0.85);
  }
  
  .label {
    margin-top: 10px;
    font-size: 40px;
    font-weight: initial;
    color: #070000;
    text-shadow: 1px 1px 2px #ffffff;
  }
  .judul-game {
    text-align: center;
    font-size: 30px;
    font-weight: initial;
    color: #fff;
    text-shadow: 4px 4px 4px #000;
    margin-bottom: 1px;
  }
  .judul-utama {
    text-align: center;
    font-weight: initial;
    margin-top: 30px;
    margin-bottom: 1px
  }
  .judul-utama h1 {
    font-size: 50px;
    font-weight: initial;
    color: #fff;
    text-shadow: 4px 4px 4px #000000;
  }
  
  .judul-utama h2 {
    font-size: 45px;
    font-weight: initial;
    color: #eee;
    margin-top: 1px;
    text-shadow: 4px 4px 2px #000;
  }
  
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #popup-profil {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  #popup-profil .popup-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  
  #popup-profil img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
  }
  
  #popup-profil p {
    font-size: 18px;
    font-weight: initial;
    margin: 8px 0;
  }
  
  #popup-close {
    margin-top: 20px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    font-size: 16px;
    font-weight: initial;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  #popup-close:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  
  .top-right-buttons {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    z-index: 10000;
    align-items: center;
    justify-content: center;
  }
  
  .top-right-buttons img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    background-color: #fff;
    padding: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }
  
  .top-right-buttons img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background-color: #f0f0f020;
  }
  .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.popup-content h3 {
  margin-top: 0;
  font-size: 1.8em;
  color: #007acc;
}

.popup-content p {
  font-size: 1.1em;
  color: #333;
}

.popup-content input {
  width: 90%;
  padding: 10px;
  margin-top: 10px;
  font-size: 1em;
  border: 2px solid #007acc;
  border-radius: 8px;
}

.popup-content button {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 1em;
  background-color: #007acc;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.popup-content button:hover {
  background-color: #005f99;
}
.btn-reset-nama {
  background-color: #ffc107;
  color: #000;
  font-size: 16px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.btn-reset-nama:hover {
  background-color: #e0a800;
}
