
/* Gelombang Umum */
.wave-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; /* atur tinggi sesuai selera */
    z-index: 0;
    overflow: hidden;
    background: transparent;
    pointer-events: none;
}

.waves {
    position: relative;
    width: 100%;
    height: 100%;
}

.parallax > use {
    animation: moveWave 10s linear infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 10s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 12s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 14s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 16s;
}

.wave-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 40px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(87, 6, 163, 0), #f8f9fa);
    z-index: 2;
}


@keyframes moveWave {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

.opening-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: #fff;
}

#opening-text {
    font-size: 120px;
    font-weight: bold;
    animation: zoom 1s ease;
}

@keyframes zoom {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.piagam {
    border: 8px solid #d4af37; /* warna emas */
    padding: 10px;
    background: #fffdf5;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    margin: 20px;
}

.piagam-inner {
    border: 2px solid #d4af37;
    padding: 30px;
}

.back-btn{
     width:100%;
     margin-top:10px;
     bottom:10px;
}

.custom-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
}

.h4{
    font-size:16px;
}

@media (max-width: 576px) {
    .h4{
        font-size:16px;
    }
    .custom-container {
        margin: 10px;
        padding: 12px;
    }
    
    .piagam {
        padding: 5px;
        margin: 10px;
    }
}

.judul {
    font-size: clamp(18px, 4vw, 28px);
}

.isi {
    font-size: clamp(14px, 3.5vw, 18px);
}
