* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    background-image: radial-gradient(circle, #333 1px, transparent 1px);
    background-size: 6px 6px;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    -webkit-animation: -amp-start 8s steps(1, end) 0s 1 normal both;
    -moz-animation: -amp-start 8s steps(1, end) 0s 1 normal both;
    -ms-animation: -amp-start 8s steps(1, end) 0s 1 normal both;
    animation: -amp-start 8s steps(1, end) 0s 1 normal both;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

header {
    margin: 30px 0;
    padding: 15px;
}

#image {
    max-width: 100%;
    height: auto;
}

.welcome {
    margin: 60px 0 80px 0;
    font-size: 16px;
    color: #ccc;
}

.welcome h1 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3.5s steps(36, end) forwards;
    display: inline-block;
    font-family: 'Oswald', sans-serif;
}

@keyframes typing {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes blink-caret {
}



@keyframes blink-caret {
    from, to {
        border-right-color: #f1d600;
    }
    50% {
        border-right-color: transparent;
    }
}

.container-cube {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 120px 0 120px 0;
    perspective: 1000px;
}

.cube {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 10s infinite linear;
}

.cube div {
    position: absolute;
    width: 300px;
    height: 300px;
    background-size: cover;
    background-position: center;
    opacity: 0.9;
}

.front { transform: rotateY(0deg) translateZ(150px); }
.back { transform: rotateY(180deg) translateZ(150px); }
.left { transform: rotateY(-90deg) translateZ(150px); }
.right { transform: rotateY(90deg) translateZ(150px); }
.top { transform: rotateX(90deg) translateZ(150px); }
.bottom { transform: rotateX(-90deg) translateZ(150px); }

.cube .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

@keyframes rotate-cube {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }
    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.btn-daftar {
    display: block;
    width: 100%;
    max-width: 440px;
    padding: 15px;
    margin: 15px auto;
    background: linear-gradient(to bottom, #ffd700, #ff9500);
    color: #000;
    text-decoration: none;
    border: 2px solid #ffb700;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-daftar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.btn-daftar:hover::before {
    left: 100%;
}

.btn-daftar:hover {
    background: linear-gradient(to bottom, #ffed4e, #ffb700);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px) scale(1.05);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.btn-daftar:hover {
    background: linear-gradient(to bottom, #ffed4e, #ffb700);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px) scale(1.05);
}

.copyright {
    margin-top: 50px;
    font-size: 12px;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.copyright a {
    color: #f1d600;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header {
        margin: 15px 0;
        padding: 10px;
    }

    .welcome {
        margin: 20px 0 25px 0;
        font-size: 18px;
        padding: 15px 10px;
    }

    .welcome h1 {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .container-cube {
        margin: 30px 0 50px 0;
        padding: 20px 0;
    }

    .cube {
        width: 180px;
        height: 180px;
    }

    .cube div {
        width: 180px;
        height: 180px;
    }

    .front { transform: rotateY(0deg) translateZ(90px); }
    .back { transform: rotateY(180deg) translateZ(90px); }
    .left { transform: rotateY(-90deg) translateZ(90px); }
    .right { transform: rotateY(90deg) translateZ(90px); }
    .top { transform: rotateX(90deg) translateZ(90px); }
    .bottom { transform: rotateX(-90deg) translateZ(90px); }

    .btn-daftar {
        padding: 16px;
        margin: 12px auto;
        font-size: 15px;
        border-radius: 8px;
    }

    .copyright {
        margin-top: 30px;
        font-size: 12px;
        padding: 20px 15px;
    }
}

@-webkit-keyframes -amp-start {
    from {
        visibility: hidden
    }

    to {
        visibility: visible
    }
}

@-moz-keyframes -amp-start {
    from {
        visibility: hidden
    }

    to {
        visibility: visible
    }
}

@-ms-keyframes -amp-start {
    from {
        visibility: hidden
    }

    to {
        visibility: visible
    }
}

@-o-keyframes -amp-start {
    from {
        visibility: hidden
    }

    to {
        visibility: visible
    }
}

@keyframes -amp-start {
    from {
        visibility: hidden
    }

    to {
        visibility: visible
    }
}
