h1, h2 {
    font-size: 14px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #530a0a, #020000);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Love Blink Effect */
.love-blink {
    font-size: 22px;
    color: #b90c0c;
    animation: loveBlink 1s infinite alternate;
    text-shadow: 0px 0px 10px rgba(255, 0, 0, 0.7);
}

@keyframes loveBlink {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 600px;
    padding: 15px 0;
}

.logo {
    width: 180px;
}

.button {
    background-color: #fd7805;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
    animation: blink 1s infinite;
    box-shadow: 0px 0px 15px #9f1d2a;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.button:hover {
    background-color: rgb(112, 86, 0);
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgb(224, 191, 1);
}

.container {
    background: rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 600px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    text-align: center;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s, opacity 0.3s;
    object-fit: cover;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.1);
    opacity: 0.8;
    border: 2px solid #ff9800;
}

.main-image {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    max-height: 400px;
    object-fit: cover;
    animation: bannergoyang 2s ease 0s infinite normal none;
}

.main-image:hover {
    transform: scale(1.02);
}

.description-container {
    background: rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 600px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: white;
}

.description {
    font-size: 16px;
    font-weight: bold;
}

.description p {
    font-weight: normal;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .header {
        width: 90%;
        padding: 10px;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 3%;
    }

    .logo {
        width: 140px;
    }

    .button {
        font-size: 14px;
        padding: 8px 12px;
    }

    .container, .description-container {
        width: 80%;
        padding: 15px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .description {
        font-size: 14px;
    }
}

#typing {
    color: white;
    font: 16px Arial;
}

#typing::before {
    content: "> ";
    color: greenyellow;
}

#cursor-container {
    display: inline;
    font: 12px Arial;
    padding: 0px 3px;
}

#cursor {
    display: inline-block;
    width: 20px;
    height: 5px;
    animation: blink 1s infinite;
}

@keyframes bannergoyang {
    0%, 100% {
        transform: translateX(0%);
        transform-origin: 50% 50%;
    }
    15% {
        transform: translateX(-30px) rotate(6deg);
    }
    30% {
        transform: translateX(15px) rotate(-6deg);
    }
    45% {
        transform: translateX(-15px) rotate(3.6deg);
    }
    60% {
        transform: translateX(9px) rotate(-2.4deg);
    }
    75% {
        transform: translateX(-6px) rotate(1.2deg);
    }
}

/* Efek cahaya putih kilau-kilau lewat pada #imageDescription */
#imageDescription {
  position: relative;
  color: white;
  font-weight: bold;
  overflow: hidden;
}

#imageDescription::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 2s infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
