* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    background-color: #000;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden; /* Убираем прокрутку */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1em 2em;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

header nav ul {
    display: flex;
    gap: 1.5em;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    position: relative;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 0.5em 1em; /* Reset padding to original */
    border-radius: 8px;
    transition: all 0.3s ease;
}

header nav ul li a i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

header nav ul li a:hover i {
    transform: scale(1.2);
}

header nav ul li a.active,
header nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

header nav ul li a.donate {
    color: #ff5252;
    font-weight: bold;
    border: 1px solid rgba(255, 82, 82, 0.3);
}

header nav ul li a.donate:hover {
    background: rgba(255, 82, 82, 0.1);
    box-shadow: 0 0 20px rgba(255, 82, 82, 0.2);
}

#server-info {
    text-align: center;
    padding: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2em;
    width: 100%;
    max-width: 100%;
}

.monitoring-block {
    width: 90%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 2em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    margin: 2em auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}

.monitoring-block h1 {
    font-size: 1.2rem;
    margin-bottom: 0.5em;
    margin-top: 0.2em;
    color: rgba(255, 255, 255, 0.7);
}

.monitoring-block .details {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.monitoring-block .details div {
    text-align: center;
}

.monitoring-block .details p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.monitoring-block .details p span {
    font-weight: bold;
}

.info-blocks {
    display: flex;
    justify-content: center; /* Центрируем блоки по горизонтали */
    gap: 1.5em;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

.block {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5em;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    width: 300px;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
}

.block:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.1); /* Легкий фон */
}

.block h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.block p {
    font-size: 1rem;
    margin-bottom: 5px;
}

.block a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid white;
    transition: color 0.3s;
}

.block a:hover {
    color: #ccc;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    background: url('images/csgo-server.jpg') no-repeat center center/cover;
    filter: blur(8px) brightness(0.3);
    height: 100%;
    width: 100%;
    transform: scale(1.1);
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 0.5em;
    background-color: rgba(0, 0, 0, 0);
    color: #bbb;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

.fade-enter {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
}

.fade-exit {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-exit-active {
    opacity: 0;
    transform: translateY(-20px);
}

.star {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}
