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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('./img/background.jpg') center/cover no-repeat fixed;
    height: 100svh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow: hidden;
}

.container {
    margin: auto;
    border-radius: 15px;
    padding: 2rem;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    overflow: auto;
}

.content-wrapper {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.right-section {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.avatar {
    margin: 0 auto 1rem;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 15px 40px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: block;
    object-fit: cover;
}

.right-section h1 {
    text-align: center;
    margin: 0 auto 1rem;
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
}

.server-name {
    background: linear-gradient(to right, #ff88ff, #bb88ff, #8888ff, #bb88ff, #ff88ff);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    text-shadow:
        0 0 20px rgba(255, 136, 255, 1),
        0 0 40px rgba(187, 136, 255, 0.8),
        0 0 60px rgba(136, 136, 255, 0.6);
}

.character-quote {
    margin: 0 auto 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(75, 0, 130, 0.2));
    border: 1px solid rgba(138, 43, 226, 0.5);
    border-left: 4px solid #8a2be2;
    border-radius: 0 15px 15px 0;
    font-style: italic;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(8px);
    font-size: 1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.character-quote::before {
    content: '"';
    font-size: 2rem;
    color: #8a2be2;
    position: absolute;
    top: -5px;
    left: 5px;
}

.left-section {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.left-section h2 {
    text-align: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
}

.service-card {
    margin: 0 1rem 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #2d1b3d, #1a0d2e);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 15px;
    text-decoration: none;
    color: #e6e3f7;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: scale(1.05);
    border-color: #8a2be2;
    box-shadow: 0 0 10px 5px rgba(138, 43, 226, 0.4);
    background: linear-gradient(135deg, #3d2a4d, #2d1b3d);
}

.service-status {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 5px 5px;
    border-radius: 10px;
    border: 1px solid #fff;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.service-status.online {
    background: #32cd32;
    color: #fff;
    box-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
}

.service-status.online::after {
    content: 'Online';
}

.service-status.offline {
    background: #ff4444;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.service-status.offline::after {
    content: 'Offline';
}

.service-status.checking {
    background: #ffa500;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.service-status.checking::after {
    content: 'Checking';
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.5));
}

.service-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #dda0dd;
}

.service-description {
    font-size: 1rem;
    opacity: 0.9;
    color: #b8b5d1;
}

.footer {
    padding: 1rem;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    color: #b8b5d1;
    font-size: 1rem;
    text-align: center;
}

.footer p {
    margin: 0 auto 1rem;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .container {
        max-height: 90vh;
        padding: 1rem;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .right-section {
        order: -1;
        padding: 0.5rem;
    }

    .left-section {
        padding: 0.5rem;
    }

    .avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 0.5rem;
    }

    .right-section h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .character-quote {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        padding: 0.75rem;
        padding-left: 1.25rem;
    }

    .left-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .service-card {
        padding: 0.75rem;
        margin: 0 1rem 1rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .footer {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}