/* Import Fira Code font */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap');

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000; /* Changed from #121212 to #000000 (black) */
    color: #ffffff;
    display: block; /* Changed from flex to block */
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

#animated-text-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0; /* Increased top/bottom padding from 10px to 20px */
    border-bottom: none;
    margin-bottom: 20px;
    position: relative;
}

.animated-text {
    position: absolute;
    white-space: nowrap;
    font-size: 1.8rem;
    font-weight: 600;
    color: #00ffff;
    text-shadow: 0 0 4px #00ffff; /* Adjusted blur radius from 8px to 4px */
    text-transform: uppercase;
    animation:
        scroll-single-item 10s linear infinite,
        title-flicker 4s infinite;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes scroll-single-item {
    0%   { left: 100%; transform: translateX(0) translateY(-50%); }
    15%  { left: 50%; transform: translateX(-50%) translateY(-50%); }
    85%  { left: 50%; transform: translateX(-50%) translateY(-50%); }
    100% { left: 0%; transform: translateX(-100%) translateY(-50%); }
}
.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(0, 255, 255, 0.5);
    padding: 25px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
    background-color: rgba(0, 5, 5, 0.8); /* Dark, slightly transparent background */
    z-index: 1;
    margin: 0 auto; /* Center the container */
}

.server-banner {
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 0; /* Sharp corners */
    border: 1px solid rgba(0, 255, 255, 0.5);
}

.title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #00ffff;
    text-shadow: 0 0 8px #00ffff;
    text-transform: uppercase;
    animation: title-flicker 4s infinite;
}

@keyframes title-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow:
            0 0 1px #fff,
            0 0 2px #fff,
            0 0 5px #00ffff,
            0 0 8px #00ffff;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}
.subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
    color: #00ffff;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-button {
    background-color: transparent;
    color: #00ffff;
    border: 1px solid #00ffff;
    padding: 15px 25px;
    border-radius: 0; /* Sharp corners */
    font-size: 1rem;
    font-family: inherit; /* Use the Fira Code from body */
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase; /* Classic terminal feel */
}

.link-button:hover {
    background-color: #00ffff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.link-button i {
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    .animated-text {
        font-size: 1.2rem; /* Reduce font size on smaller screens */
    }

    #animated-text-container {
        padding: 15px 0; /* Adjust padding for smaller screens */
    }
}