* {
    box-sizing: border-box;
}

body {
    font-family: monospace;
    position: relative;
    background: #000000;
    background-image: radial-gradient(#202020 5%, transparent 50%);
    background-size: 5px 5px;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 400px;
    height: 100vh;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 50px;
}

.welcome {
    max-width: 350px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.welcome h1 {
    font-size: 12px;
    color: #fff;
    overflow: hidden;
    border-right: .15em solid #fbf4a0;
    /* The typwriter cursor */
    white-space: nowrap;
    letter-spacing: .09em;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #fbf4a0;
    }
}

.banner {
    border-radius: 10px;
}

.static-logo {
    display: block;
    margin: 20px auto;
    text-align: center;
}

.container-cube {
    perspective: 1000px;
    width: 100%;
    max-width: 280px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
    padding: 0 15px;
}

.cube {
    width: 240px;
    height: 240px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 10s infinite linear;
}

.cube > div {
    position: absolute;
    width: 240px;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.95;
    border: 2px solid #fbf4a0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cube .front {
    transform: translateZ(120px);
    background-image: url('https://i.postimg.cc/3J62K2Pf/tanggal-tua.png');
}

.cube .back {
    transform: rotateY(180deg) translateZ(120px);
    background-image: url('https://i.postimg.cc/WzvfYQ74/Bukan-nyolong.png');
}

.cube .left {
    transform: rotateY(-90deg) translateZ(120px);
    background-image: url('https://i.postimg.cc/43nCzk8V/Merah.png');
}

.cube .right {
    transform: rotateY(90deg) translateZ(120px);
    background-image: url('https://i.postimg.cc/Yq1t9HPP/Final-nya.png');
}

.cube .bottom {
    transform: rotateX(-90deg) translateZ(120px);
    background-image: url('https://i.postimg.cc/T2BP1Q3V/Rekomendasi-chunle-1.png');
}

.cube .top {
    transform: rotateX(90deg) translateZ(120px);
    background-image: url('https://i.postimg.cc/G21RFg6y/Gabut-kali.png');
}

.cube .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

@keyframes rotate-cube {
    0% {
        transform: rotateX(0) rotateY(0);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.btn-daftar {
    padding: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(to bottom, rgb(207, 128, 2) 100%, rgb(255, 0, 0) 0%);
    margin-top: 0;
    margin-bottom: 8px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 10px #F5EC02;
    display: block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-daftar:first-of-type {
    margin-top: 45px;
}

.btn-daftar:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px #F5EC02;
}

.btn-daftar:active {
    transform: translateY(-1px);
}

.copyright {
    text-align: center;
    color: #ffffff96;
    margin-top: 8px;
    font-size: 12px;
}

.copyright a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #fbf4a0;
}

.nagaterbang {
    position: fixed;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

/* Animation classes */
.animated.tada.infinite.slower {
    animation: tada 0.8s infinite;
}

@keyframes tada {
    from {
        transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 0deg);
    }
    10%,
    20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }
    30%,
    50%,
    70%,
    90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
    40%,
    60%,
    80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
    to {
        transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 0deg);
    }
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header a {
    text-decoration: none;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .welcome h1 {
        font-size: 11px;
    }

    .btn-daftar {
        padding: 8px;
        font-size: 16px;
        margin-top: 8px;
    }
}

@media (max-width: 320px) {
    .welcome h1 {
        font-size: 10px;
        letter-spacing: .05em;
    }

    .btn-daftar {
        padding: 6px;
        font-size: 14px;
    }
}
