body {
    margin: 0;
    background-color: #1e1e2e;
    color: #cdd6f4;
    font-family: 'Ubuntu Mono', monospace;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;

    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.left-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 220px;
    text-align: left;
}

.navbar,
.status {
    background-color: #181825;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 0 8px #585b70;
}

.navbar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.navbar nav ul li a {
    color: #f5c2e7;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.navbar nav ul li a:hover {
    color: #b4befe;
    background-color: #313244;
}

.status {
    font-size: 1rem;
    color: #a6adc8;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    word-break: break-word;
}

.main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.card {
    position: relative;
    background-color: #181825;
    border-radius: 12px;
    box-shadow: 0 0 8px #585b70;

    max-width: 700px;
    width: 100%;
    text-align: center;

    padding: 3rem 1rem 1rem 1rem;
    margin-top: 2rem;
}

.blocktitle {
    position: absolute;
    top: 1rem;
    left: 1rem;

    margin: 0 0 0.75rem 0;
    font-weight: bold;
    color: #f9e2af;
    font-size: 1rem;
    background-color: #313244;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

.horizontal-banner {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.bouncecolored {
    font-size: 2.5rem;
    animation: bounce 1.5s infinite, colorShift 4s infinite;
    display: inline-block;
}

.bouncecolored.float-title span {
    display: inline-block;
    animation: floatOnly 3.5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.15s);
    transform-style: preserve-3d;
}

.bouncecolored.float-title span:nth-child(1) { --i: 1; }
.bouncecolored.float-title span:nth-child(2) { --i: 2; }
.bouncecolored.float-title span:nth-child(3) { --i: 3; }
.bouncecolored.float-title span:nth-child(4) { --i: 4; }
.bouncecolored.float-title span:nth-child(5) { --i: 5; }
.bouncecolored.float-title span:nth-child(6) { --i: 6; }
.bouncecolored.float-title span:nth-child(7) { --i: 7; }
.bouncecolored.float-title span:nth-child(8) { --i: 8; }

@keyframes colorShift {
    0% { color: #f38ba8; }
    25% { color: #b4befe; }
    50% { color: #a6e3a1; }
    75% { color: #f9e2af; }
    100% { color: #f38ba8; }
}

@keyframes floatOnly {
    0%, 100% {
        transform: rotateY(0deg) rotateX(0deg) translateY(4px);
    }
    25% {
        transform: rotateY(3deg) rotateX(1deg) translateY(-4px);
    }
    50% {
        transform: rotateY(-3deg) rotateX(-1deg) translateY(4px);
    }
    75% {
        transform: rotateY(2deg) rotateX(1deg) translateY(-4px);
    }
}

.twoliner {
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 1.5;
    color: #cdd6f4;
}

.bucket-webring {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    color: #fab387;
}

.bucket-webring a {
    color: #94e2d5;
    text-decoration: none;
}

.bucket-webring a:hover {
    text-decoration: underline;
}

.footer-text {
    font-size: 0.9rem;
    margin-top: 2rem;
    text-align: center;

    color: #6c7086;
    background: linear-gradient(
        120deg,
        #6c7086 0%,
        #a6adc8 40%,
        #ffffff 50%,
        #a6adc8 60%,
        #6c7086 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.right-side {
    flex: 0 0 160px;
    display: flex;
    justify-content: center;
}

#randomised_banner {
    width: 160px;
    height: auto;
    border-radius: 8px;
}