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

body {
    background-color: #6ab04c;
    font-family: 'VT323', monospace;
    min-height: 100vh;
}

/* ── Nav  */
nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 40px;
    background: rgba(0, 0, 0, 0.2);
}

.nav-back {
    font-family: 'Press Start 2P', monospace;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-back:hover { color: #fff176; }

.nav-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 13px;
    color: #fff;
    letter-spacing: 2px;
}

.game-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 16px 0;
    background: none;
}

.game-nav-link {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
    letter-spacing: 1px;
}

.game-nav-link:hover { color: #fff176; }

/* ── Page header ── */
.page-header {
    text-align: center;
    padding: 10px 20px 32px;
}

.page-header h1 {
    font-family: 'Press Start 2P', monospace;
    font-size: 28px;
    color: #fff;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    letter-spacing: 3px;
}

.page-header p {
    margin-top: 16px;
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

/* ── Timeline form ── */
.timeline-form {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 0 rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-form input,
.timeline-form textarea {
    padding: 10px;
    font-family: 'VT323', monospace;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

.timeline-form button {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    padding: 12px;
    background: hsl(218, 78%, 57%);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 1px;
}

.timeline-form button:hover { background: hsl(239, 63%, 46%); }

/* ── Timeline posts ── */
.timeline-posts {
    max-width: 600px;
    margin: 0 auto 60px;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 0 rgba(0,0,0,0.15);
    padding: 16px 20px;
}

.timeline-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.timeline-post-header strong {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: #2c3e50;
}

.timeline-post-date {
    font-size: 13px;
    color: #999;
}

.timeline-post p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}