* {
    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: center;
    align-items: center;
    padding-top: 0;
}

.welcome {
    max-width: 350px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.welcome h1 {
    font-size: 12px;
    color: #fff;
    overflow: hidden;
    border-right: .15em solid #fbf4a0;
    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;
    }
}

.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: 220px;
    height: 220px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 10s infinite linear;
}

.cube > div {
    position: absolute;
    width: 220px;
    height: 220px;
    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(110px);
    background-image: url('https://i.postimg.cc/MZVXgmvv/gw-bisa-nih.png');
}

.cube .back {
    transform: rotateY(180deg) translateZ(110px);
    background-image: url('https://i.postimg.cc/MZVXgmvv/gw-bisa-nih.png');
}

.cube .left {
    transform: rotateY(-90deg) translateZ(110px);
    background-image: url('https://i.postimg.cc/MZVXgmvv/gw-bisa-nih.png');
}

.cube .right {
    transform: rotateY(90deg) translateZ(110px);
    background-image: url('https://i.postimg.cc/MZVXgmvv/gw-bisa-nih.png');
}

.cube .bottom {
    transform: rotateX(-90deg) translateZ(110px);
    background-image: url('https://i.postimg.cc/MZVXgmvv/gw-bisa-nih.png');
}

.cube .top {
    transform: rotateX(90deg) translateZ(110px);
    background-image: url('https://i.postimg.cc/MZVXgmvv/gw-bisa-nih.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);
    }
}

/* 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;
}

amp-img {
    max-width: 100%;
    height: auto;
}

#image {
    animation: none !important;
}

/* Animated Tada */
@keyframes tada {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    10%, 20% {
        transform: translate3d(-10px, -10px, 0) rotate(-5deg);
    }
    30%, 50%, 70%, 90% {
        transform: translate3d(10px, 10px, 0) rotate(5deg);
    }
    40%, 60%, 80% {
        transform: translate3d(-10px, -10px, 0) rotate(-5deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

.animated.tada.infinite.slower {
    animation: tada 2s infinite;
    animation-delay: 0s;
}

/* Buttons */
.btn-daftar {
    padding: 12px 10px;
    color: #fff;
    font-size: 18px;
    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: 0 auto 8px auto;
    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;
    width: 100%;
    max-width: 280px;
    min-height: 45px;
    line-height: 1.2;
}

.btn-daftar:first-of-type {
    margin-top: 30px;
}

.btn-daftar:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px #F5EC02;
}

.btn-daftar:active {
    transform: translateY(-1px);
}

/* Copyright */
.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;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        background: #000000;
        background-image: none;
    }
    
    .container {
        padding: 10px;
    }

    .welcome h1 {
        font-size: 11px;
    }
    
    .container-cube {
        margin: 30px auto;
    }
    
    .cube {
        width: 180px;
        height: 180px;
        animation: none !important;
    }
    
    .cube > div {
        width: 180px;
        height: 180px;
    }
    
    .cube .front {
        transform: translateZ(90px);
    }
    
    .cube .back {
        transform: rotateY(180deg) translateZ(90px);
    }
    
    .cube .left {
        transform: rotateY(-90deg) translateZ(90px);
    }
    
    .cube .right {
        transform: rotateY(90deg) translateZ(90px);
    }
    
    .cube .bottom {
        transform: rotateX(-90deg) translateZ(90px);
    }
    
    .cube .top {
        transform: rotateX(90deg) translateZ(90px);
    }

    .btn-daftar {
        padding: 8px;
        font-size: 16px;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .welcome h1 {
        font-size: 10px;
        letter-spacing: .05em;
    }

    .btn-daftar {
        padding: 6px;
        font-size: 14px;
    }
}
