body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: url('WraithlorBackgroundBlackDesktop.webp') center/cover no-repeat fixed;
    background-image: url('WraithlorBackgroundBlackDesktop.webp'), url('WraithlorBackgroundBlackDesktop.png');
}

.server-info {
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(45, 45, 45, 0.95);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.server-icon img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.05);
}

.server-name {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.server-ip {
    color: #64b5f6;
    font-size: 12px;
    font-family: monospace;
}

.server-details table {
    border-collapse: collapse;
}

.server-details table td {
    color: #64b5f6;
    font-size: 12px;
    font-family: monospace;
    padding: 2px 8px;
}

.server-details table td:first-child {
    color: #fff;
    font-weight: bold;
}

.hidden {
    display: none;
}

.main-title {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    z-index: 1001;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 1.5rem;
        top: 10px;
    }
    
    .server-info {
        position: static;
        margin: 60px auto 20px;
        width: calc(100% - 40px);
        max-width: 300px;
    }
    
    .toc {
        position: static;
        margin: 0 auto;
        width: calc(100% - 40px);
        max-width: 400px;
        max-height: none;
    }
    
    body {
        flex-direction: column;
        padding: 20px;
        align-items: stretch;
    }
    
    a {
        font-size: 14px;
        padding: 0.75rem 1rem;
    }
}

.toc {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 80px;
    left: 2rem;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #fff;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin: 0.5rem 0;
}

a {
    text-decoration: none;
    color: #64b5f6;
    padding: 0.5rem 1rem;
    display: inline-block;
    border-radius: 8px;
    transition: background-color 0.3s;
    font-size: clamp(12px, 2vw, 18px);
}

a:hover {
    background-color: #404040;
}

.login {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-left: 2rem;
}

input {
    padding: 0.5rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 5px;
    background: #404040;
    color: #fff;
    width: 200px;
}

button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background: #64b5f6;
    color: #fff;
    cursor: pointer;
}