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

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

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://imagedelivery.net/2Pl1lXRUn8M5Vznk-l91dQ/7734453f-3686-4647-f900-4d14a137c700/bataraslot') no-repeat center center/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 (max-width: 768px) {
    body::before {
        background: url('https://imagedelivery.net/2Pl1lXRUn8M5Vznk-l91dQ/7734453f-3686-4647-f900-4d14a137c700/bataraslot') 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;
    transition: width 0.05s linear;
}

.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: '...'; }
}

.darknest-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.darknest {
    position: absolute;
    top: -10%;
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px #000;
    animation: darknest-shake 3s ease-in-out infinite;
    user-select: none;
}

.darknest .inner {
    animation: darknest-fall 10s linear infinite;
}

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

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

.darknest:nth-child(1) { left: 1%; animation-delay: 0s; }
.darknest:nth-child(1) .inner { animation-delay: 0s; }
.darknest:nth-child(2) { left: 10%; animation-delay: 1s; }
.darknest:nth-child(2) .inner { animation-delay: 1s; }
.darknest:nth-child(3) { left: 20%; animation-delay: 0.5s; }
.darknest:nth-child(3) .inner { animation-delay: 6s; }
.darknest:nth-child(4) { left: 30%; animation-delay: 2s; }
.darknest:nth-child(4) .inner { animation-delay: 4s; }
.darknest:nth-child(5) { left: 40%; animation-delay: 2s; }
.darknest:nth-child(5) .inner { animation-delay: 2s; }
.darknest:nth-child(6) { left: 50%; animation-delay: 3s; }
.darknest:nth-child(6) .inner { animation-delay: 8s; }
.darknest:nth-child(7) { left: 60%; animation-delay: 2s; }
.darknest:nth-child(7) .inner { animation-delay: 2.5s; }
