@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Caveat:wght@400;700&display=swap');
body {
    min-height: 100vh;
    font-family: 'Marker Felt', 'Comic Sans MS', 'Caveat', cursive, sans-serif;
    overflow-x: hidden;
    width: 100vw;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    background-size: cover;
    background-position-x: center;
}

.swal2-title{
  font-size: 18px;
}

.swal2-icon .swal2-icon-content{
  font-size: 1.5em;
}

.swal2-icon{
  height: 2em;
  width: 2em;
}

.swal2-popup{
  width: 18em;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
  font-size: 13px;
}

.swal2-success {
    border-color: transparent !important;
    background: transparent !important;
    width: 60px !important;
    height: 60px !important;
    margin: 10px auto 20px !important;
}

/* Sembunyikan elemen success default */
.swal2-success .swal2-success-circular-line-left,
.swal2-success .swal2-success-circular-line-right,
.swal2-success .swal2-success-ring,
.swal2-success .swal2-success-fix,
.swal2-success [class^=swal2-success-line] {
    display: none !important;
}

/* Tambahkan icon jempol */
.swal2-success::before {
    content: '👍';
    font-size: 50px;
    display: block;
    text-align: center;
    line-height: 60px;
    animation: thumbsUp 0.6s ease-in-out;
}

@keyframes thumbsUp {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(-90deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

mark {
  background-color: #ffff00;
  color: #000;
  padding: 2px 4px;
}

.mark-game-new {
  color: #753aa4;
      font-size: 22px;
      font-weight: bold;
      margin-bottom: 5px;
      background-color: #dae3f3;
      padding: 5px;
      border-radius: 12px;
}

.main-title {
    text-align: center;
    margin: 20px 15px;
}

.title-game {
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 5px;
}

.title-game-c {
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 5px;
}

.mark-game-c{
  color: #495050;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  background-color: #ffc000;
  padding: 5px;
  border-radius: 12px;
}

.subtitle-game {
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 17px;
    text-align: center;
}

.mark-game {
  color: #ffff00;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
  background-color: #92d050;
  padding: 5px;
  border-radius: 12px;
}

.title-main1 {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.title-main2 {
    color: #fff;
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 5px;
}

.title-main {
    color: #DC143C;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.title-sub {
  color: #333;
  font-size: 18px;
  font-weight: bold;
}

.top-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-top: 10px;
}

.left-control {
    flex: 1;
}

.right-controls {
    display: flex;
    gap: 10px;
}

.control-buttons {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.control-btn-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    touch-action: manipulation;
}

.control-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: none;
  font-size: 29px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  touch-action: manipulation;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.sound-btn {
    background: linear-gradient(45deg, #32CD32, #228B22);
}

.sound-btn2 {
    background: linear-gradient(45deg, #32CD32, #228B22);
}

.home-btn {
    background: linear-gradient(45deg, #525051, #706969););
}

.next-btn {
    background: linear-gradient(45deg, #FF8C00, #FF6347);
}

.prev-btn {
    background: linear-gradient(45deg, #FF8C00, #FF6347);
}
