@font-face {
    font-family: 'Mojang';
    src: url('assets/mojang/Mojang-Bold.ttf') format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: 'Mojang';
    src: url('assets/mojang/Mojang-Regular.ttf') format('truetype');
    font-weight: normal;
}
@font-face {
    font-family: 'Coolvetica';
    src: url('assets/coolvetica/Coolvetica%20Rg.otf') format('opentype');
}

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

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #e0e0e0;
}

/* ── HEADER ── */
header {
    display: grid;
    grid-template-columns: 340px 1fr 340px;
    height: 100px;
}

/* Minecraft side */
.header-mc {
    display: flex;
    flex-direction: column;
    background: #111;
}

.header-mc .game-title {
    font-family: 'Mojang', monospace;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
    padding: 10px 14px 6px;
    letter-spacing: 0.01em;
}

.header-mc .player-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/minecrafttexture.png');
    background-size: 120px;
    background-position: center 55%;
    color: #fff;
    font-family: 'Mojang', monospace;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 0 #000, -1px 0 0 #000, 0 -1px 0 #000, 1px 0 0 #000, 0 1px 0 #000;
}

/* Center logo */
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.header-logo img {
    height: 78px;
    width: auto;
}

/* GMod side */
.header-gmod {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.header-gmod .game-title {
    font-family: 'Coolvetica', Arial, sans-serif;
    font-size: 22px;
    color: #000;
    padding: 10px 14px 6px;
    text-align: right;
    letter-spacing: 0.01em;
}

.header-gmod .player-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1565c0;
    color: #fff;
    font-family: 'Coolvetica', Arial, sans-serif;
    font-size: 22px;
    letter-spacing: 0.02em;
}

/* ── NAV ── */
nav {
    background: #ccc;
    display: flex;
    align-items: stretch;
    border-top: 1px solid #bbb;
}

nav a {
    text-decoration: none;
    color: #111;
    font-family: Arial, sans-serif;
    font-size: 15px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    border-right: 1px solid #bbb;
}

nav a:first-child {
    border-left: 1px solid #bbb;
}

nav a:hover {
    background: rgba(0, 0, 0, 0.06);
}

nav a.active {
    background: #fff;
}

nav a.donate {
    color: #c8860a;
}

nav a.discord {
    color: #5865F2;
}

/* ── MAIN ── */
main {
    flex: 1;
    padding: 24px 28px;
    background: #e0e0e0;
}

main h1 {
    font-size: 28px;
    font-weight: bold;
    color: #111;
    margin-bottom: 4px;
}

main h2 {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin-bottom: 14px;
}

main p {
    font-size: 14px;
    color: #111;
    line-height: 1.55;
    margin-bottom: 12px;
    max-width: 1100px;
}

/* ── FOOTER ── */
footer {
    background: #1e1e1e;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 13px;
    color: #999;
}

footer a {
    color: #6ea8fe;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
