:root {
    --hytale-green: #0a8218;
    --hytale-dark: #0f0f0f;
    --header-height: 80px;
    --font-main: 'Georgia', 'Times New Roman', Times, serif;
    --font-title: 'Trebuchet MS', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: var(--hytale-dark);
    color: #eee;
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}
.main-header {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 3000;
}
.header-left, .header-right { flex: 1; }
.header-center { display: flex; align-items: center; justify-content: center; flex: 2; }
.header-right { display: flex; justify-content: flex-end; }
.nav-logo { height: 50px; width: auto; margin-right: 12px; }
.brand-name {
    font-family: var(--font-title);
    font-weight: bold;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    letter-spacing: 2px;
    color: #fff;
}
.brand-name span { color: var(--hytale-green); }
.btn-login {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    border: 2px solid var(--hytale-green);
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s ease;
    background: transparent;
}
.btn-login:hover, .btn-login:focus-visible {
    background: var(--hytale-green);
    box-shadow: 0 0 15px rgba(10, 130, 24, 0.4);
    outline: none;
}
.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}
.hamburger:focus-visible { outline: 2px solid #fff; }
.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(10, 130, 24, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2500;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}
@media (max-width: 480px) { .nav-overlay { width: 100%; border-left: none; } }
.nav-overlay.active { right: 0; }
.nav-links { list-style: none; text-align: center; width: 100%; }
.nav-links li { margin: 25px 0; }
.nav-links a {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    display: block;
    padding: 10px;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--hytale-green); background: rgba(10, 130, 24, 0.05); }
.maintenance-banner {
    background: #ffcc00;
    color: #000;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 4000;
}
.main-footer {
    padding: 40px 5%;
    background: #080808;
    border-top: 1px solid #222;
    text-align: center;
    color: #bbb;
    font-size: 0.95rem;
}
.footer-links a { color: #fff; text-decoration: underline; margin: 0 10px; }
.footer-links a:hover { color: var(--hytale-green); }
