
:root {
    --bg-color: #0a0a0a;
    --primary-text-color: #f0f0f0;
    --secondary-text-color: #a0a0a0;
    --accent-red: #E53935;
    --accent-red-dark: #B71C1C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(315deg, var(--accent-red-dark), var(--bg-color), #2c0b0b);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
    color: var(--primary-text-color);
    line-height: 1.6;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #1a1a1a;
    border-top-color: var(--accent-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

#logo {
    max-width: 150px;
    height: auto;
}

.logo-text {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-text-color);
    margin-top: -10px;
    text-shadow: 0 0 10px rgba(229, 57, 53, 0.5);
}

.description {
    font-size: 1rem;
    color: var(--secondary-text-color);
    max-width: 500px;
    margin: 10px auto 0;
}

main {
    width: 100%;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    width: 100%;
}

.server-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(183, 28, 28, 0.5);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.server-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(183, 28, 28, 0.37);
    border-color: rgba(229, 57, 53, 0.75);
}

.server-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.ip {
    font-family: 'Menlo', 'Consolas', monospace;
    font-weight: bold;
    color: var(--primary-text-color);
    background: #252525;
    padding: 10px 15px;
    border-radius: 4px;
    display: block;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    user-select: none;
}

.ip:hover {
    background: var(--accent-red-dark);
}

.ip.copied {
    background: #4CAF50;
    color: white;
}

#zingy-lol {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#zingy-lol.hidden {
    opacity: 0;
    visibility: hidden;
}

#zingy-lol:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.zingy-lol-content {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 20px #ff0000, 0 0 30px #2d7c3a;
}

footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: var(--secondary-text-color);
    font-size: 0.8rem;
}
