
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Great Vibes', cursive;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://imagedelivery.net/2Pl1lXRUn8M5Vznk-l91dQ/3938ff1c-16cb-458a-d99c-7f0e1cc2f200/toro99') no-repeat center center/cover;
    background-size: cover;
    z-index: -3;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -2;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Media query untuk HP */
@media (max-width: 768px) {
    body::before {
        background: url('https://imagedelivery.net/2Pl1lXRUn8M5Vznk-l91dQ/3938ff1c-16cb-458a-d99c-7f0e1cc2f200/toro99') no-repeat center center/cover;
    }
}

.container {
    text-align: center;
    color: #ffffff;
    animation: fadeIn 2s ease-in-out;
    margin-top: -200px;
}

main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: left;
}

h1, h2 {
    color: #fff;
    text-shadow: 0 0 10px #f00;
}

p, ul {
    color: #fff;
    font-size: 1.2em;
}

a {
    color: #ff0;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tree img {
    width: 250px;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    animation: bounce 2s infinite;
    position: relative;
    bottom: 30px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

.loading-bar {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 30px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 2px solid #ccc;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.loading-bar-inner {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #ff0000, #33ff00);
    border-radius: 15px;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

.loading-text {
    font-size: 2em;
    font-weight: bold;
    text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0;
    animation: textFade 1.5s infinite;
}

.loading-text::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0% { content: ''; }
    33% { content: '.'; }
    66% { content: '..'; }
    100% { content: '...'; }
}

.gladiator {
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px #000;
}

.gladiator, .gladiator .inner {
    animation-iteration-count: infinite;
    animation-play-state: running;
}

@keyframes gladiator-fall {
    0% { transform: translateY(0); }
    100% { transform: translateY(110vh); }
}

@keyframes gladiator-shake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(80px); }
}

.gladiator {
    position: fixed;
    top: -10%;
    z-index: 9999;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
    animation-name: gladiator-shake;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
}

.gladiator .inner {
    animation-duration: 10s;
    animation-name: gladiator-fall;
    animation-timing-function: linear;
}

.gladiator:nth-of-type(0) { left: 1%; animation-delay: 0s; }
.gladiator:nth-of-type(0) .inner { animation-delay: 0s; }
.gladiator:first-of-type { left: 10%; animation-delay: 1s; }
.gladiator:first-of-type .inner, .gladiator:nth-of-type(8) .inner { animation-delay: 1s; }
.gladiator:nth-of-type(2) { left: 20%; animation-delay: .5s; }
.gladiator:nth-of-type(2) .inner, .gladiator:nth-of-type(6) .inner { animation-delay: 6s; }
.gladiator:nth-of-type(3) { left: 30%; animation-delay: 2s; }
.gladiator:nth-of-type(11) .inner, .gladiator:nth-of-type(3) .inner { animation-delay: 4s; }
.gladiator:nth-of-type(4) { left: 40%; animation-delay: 2s; }
.gladiator:nth-of-type(10) .inner, .gladiator:nth-of-type(4) .inner { animation-delay: 2s; }
.gladiator:nth-of-type(5) { left: 50%; animation-delay: 3s; }
.gladiator:nth-of-type(5) .inner { animation-delay: 8s; }
.gladiator:nth-of-type(6) { left: 60%; animation-delay: 2s; }
.gladiator:nth-of-type(7) { left: 70%; animation-delay: 1s; }
.gladiator:nth-of-type(7) .inner { animation-delay: 2.5s; }
.gladiator:nth-of-type(8) { left: 80%; animation-delay: 0s; }
.gladiator:nth-of-type(9) { left: 90%; animation-delay: 1.5s; }
.gladiator:nth-of-type(9) .inner { animation-delay: 3s; }
.gladiator:nth-of-type(10) { left: 25%; animation-delay: 0s; }
.gladiator:nth-of-type(11) { left: 65%; animation-delay: 2.5s; }
