* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Mono", monospace;
    color:#000;
}

body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.video-bg video {
    width: 100%;
    object-fit: cover;
}

#victoryModal, #cal-btn {
    text-transform: uppercase;
}

#cal-btn {
    border:1px solid #000;
}

.modal-body {
    background-color: #52e36a;
}
.modal-content {
    border:1px solid #000!important;
    box-shadow: 10px 10px #000!important;
}

/* Container utama untuk memastikan rata tengah vertikal & horizontal */
.main-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.game-card {
    text-align: center;
}

#board {
    width: 300px;
    height: 300px;
    display: flex;
    flex-wrap: wrap;
    position: relative; /* Penting untuk posisi overlay */
    overflow: hidden;
    box-shadow: 10px -10px 0px #fff;
}

#board img {
    width: 100px;
    height: 100px;
    border: 1px solid #fff;
    cursor: pointer;
}

#main-image-overlay {
    pointer-events: none;
    transition: opacity 0.5s ease-in;
    width: 300px;
    height: 300px;
    overflow: hidden;
    background: url("main.jpg");
    background-position: center;
    background-size: 300px;
    object-fit: cover;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.blinkMe {
  animation: blinker 1s linear infinite;
  background-opacity: none;
  color: #fff;
  font-weight: 500;
  font-size: 19.9px;
  width: 300px;
  margin-top: 20px;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
