﻿/* Wulfram II — Recreated from June 2004 archive */

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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.page-wrapper {
    width: 728px;
    margin: 0 auto;
}

/* ===== HEADER NAV ===== */
#nav-table {
    width: 728px;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #000000;
}

#nav-table td {
    padding: 0;
    vertical-align: middle;
}

.nav-sep {
    width: 3px;
    background-color: #2a2a2a;
}

#logo-cell {
    width: 234px;
    height: 60px;
    padding: 0;
    background: #000;
}

#logo-cell a { display: block; }

#logo-cell img {
    display: block;
    border: 0;
    width: 234px;
    height: 60px;
}

.nav-group {
    vertical-align: top;
    padding: 0;
    height: 60px;
}

.nav-group table {
    border-collapse: collapse;
    width: 100%;
    height: 60px;
}

.nav-group table td {
    height: 20px;
    padding: 1px 5px;
    border: 1px solid #2c2c2c;
    background-color: #0f0f0f;
    vertical-align: middle;
    white-space: nowrap;
}

.nav-group table td a {
    color: #cccccc;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
}

.nav-group table td a:hover { color: #ffcc00; text-decoration: underline; }

.nav-group table td.nav-current a { color: #ffff00; }

/* ===== TOP DONORS ===== */
#donors-bar {
    width: 728px;
    background-color: #000000;
    border-top: 1px solid #181818;
    border-bottom: 1px solid #181818;
    padding: 3px 5px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
}

#donors-bar .donors-label { color: #ffcc00; font-weight: bold; }
#donors-bar a { color: #aaaaff; text-decoration: none; }
#donors-bar a:hover { color: #ffcc00; text-decoration: underline; }

/* ===== GAME SCREENSHOT AREA ===== */
#game-area {
    width: 700px;
    height: 408px;
    position: relative;
    margin: 4px auto 0 auto;
    background: #000;
    overflow: hidden;
}

#game-area img {
    display: block;
    width: 700px;
    height: 408px;
    object-fit: cover;
    object-position: center top;
}

#game-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.78);
    padding: 5px 10px 7px 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    line-height: 1.55;
}

#game-caption .cap-status { color: #00dd00; }
#game-caption .cap-welcome { color: #ffff00; font-weight: bold; font-size: 12px; }
#game-caption .cap-line { color: #ffcc00; }

/* ===== NEWS SECTION ===== */
#news-section {
    width: 700px;
    margin: 6px auto 0 auto;
}

.news-item { margin-bottom: 0; }

.news-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    background-color: #080810;
    border-top: 2px solid #1c1c30;
    padding: 4px 6px;
    margin-top: 10px;
}

.news-title { color: #ffcc00; font-weight: bold; font-size: 13px; }
.news-date  { color: #777777; font-size: 11px; }

.news-body {
    padding: 5px 6px 10px 6px;
    color: #cccccc;
    font-size: 12px;
    line-height: 1.7;
    background: #000;
}

.news-body p { margin-bottom: 5px; }
.news-body .news-author { color: #888888; font-style: italic; display: block; margin-top: 3px; }

/* ===== INNER PAGES ===== */
#page-content {
    width: 700px;
    margin: 0 auto;
    padding: 10px 0;
}

.page-title {
    color: #ffcc00;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #1c1c1c;
    padding: 4px 0 6px 0;
    margin-bottom: 10px;
}

.content-section { margin-bottom: 12px; }

.content-section-title {
    background-color: #080810;
    border-top: 2px solid #1c1c30;
    color: #ffcc00;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 6px;
}

.content-section-body {
    padding: 8px 6px;
    color: #cccccc;
    line-height: 1.7;
    font-size: 12px;
    background: #000;
}

.content-section-body p { margin-bottom: 8px; }

.content-section-body ul { list-style: none; padding: 0; }
.content-section-body li { padding: 3px 0; border-bottom: 1px solid #0c0c0c; }
.content-section-body li a { color: #aaaaff; text-decoration: none; }
.content-section-body li a:hover { color: #ffcc00; text-decoration: underline; }

/* ===== SCREENSHOTS PAGE ===== */
.screenshots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 6px;
    background: #000;
}

.screenshot-thumb { border: 2px solid #282828; cursor: pointer; display: block; line-height: 0; }
.screenshot-thumb:hover { border-color: #ffcc00; }
.screenshot-thumb img { display: block; width: 155px; height: 116px; object-fit: cover; }

.screenshot-viewer { padding: 8px 6px; background: #000; text-align: center; }
.screenshot-viewer img { max-width: 100%; border: 1px solid #333; }

.screenshots-nav {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 4px 6px;
    background: #080810;
    font-size: 11px;
    color: #888;
}
.screenshots-nav a { color: #aaaaff; text-decoration: none; }
.screenshots-nav a:hover { color: #ffcc00; }

/* ===== LIGHTBOX ===== */
#lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1000; justify-content: center; align-items: center; flex-direction: column; }
#lightbox.active { display: flex; }
#lightbox img { max-width: 90vw; max-height: 80vh; border: 1px solid #555; }
#lightbox-close { position: absolute; top: 12px; right: 20px; color: #fff; font-size: 30px; cursor: pointer; font-weight: bold; }
#lightbox-close:hover { color: #ffcc00; }

/* ===== DOWNLOAD ===== */
.download-button { display: inline-block; background: #111100; color: #ffcc00; font-weight: bold; font-size: 13px; padding: 8px 20px; border: 1px solid #444400; text-decoration: none; margin: 6px 0; }
.download-button:hover { background: #222200; color: #ffff00; }

.sys-req-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sys-req-table td { padding: 3px 6px; border-bottom: 1px solid #0e0e0e; color: #cccccc; }
.sys-req-table td:first-child { color: #ffcc00; font-weight: bold; width: 170px; }

.method-step-block {
    border-left: 3px solid #2a2a55;
    padding-left: 10px;
    margin-bottom: 6px;
}

.method-step-title {
    color: #ffcc00;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 4px;
}

code.target-args {
    display: inline-block;
    background: #0a0a0a;
    border: 1px solid #2c2c2c;
    color: #00dd00;
    padding: 2px 7px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    margin: 3px 0;
    user-select: all;
}

code.target-example {
    display: inline-block;
    background: #0a0a0a;
    border: 1px solid #1c1c1c;
    color: #aaaaaa;
    padding: 2px 7px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    margin: 3px 0;
    word-break: break-all;
}

.test-server-banner {
    background: #080810;
    border: 1px solid #2a2a55;
    border-left: 4px solid #ffcc00;
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #cccccc;
    line-height: 1.6;
}
.test-server-banner a { color: #aaaaff; text-decoration: none; }
.test-server-banner a:hover { color: #ffcc00; text-decoration: underline; }

/* ===== PLAY / SERVER LIST ===== */
.join-steps {
    margin: 0 0 10px 20px;
    padding: 0;
    color: #cccccc;
    line-height: 2;
}
.join-steps a { color: #aaaaff; text-decoration: none; }
.join-steps a:hover { color: #ffcc00; text-decoration: underline; }

.join-notes {
    border-top: 1px solid #181818;
    padding-top: 6px;
    margin-top: 4px;
    color: #888;
    font-size: 11px;
    line-height: 1.8;
}

.server-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-bottom: 0;
}

.server-header td {
    background-color: #0c0c1a;
    border-top: 2px solid #2a2a55;
    padding: 5px 8px;
    font-weight: bold;
}

.server-name-link {
    color: #ffcc00;
    font-size: 13px;
    text-decoration: none;
}
.server-name-link:hover { color: #ffff88; text-decoration: underline; }

.server-player-count {
    color: #aaaaaa;
    font-size: 11px;
    font-weight: normal;
    margin-left: 10px;
}

.server-label {
    color: #888888;
    font-style: italic;
    width: 100px;
    padding: 3px 8px;
    vertical-align: top;
    border-bottom: 1px solid #0c0c0c;
    white-space: nowrap;
}

.server-value {
    color: #cccccc;
    padding: 3px 8px;
    border-bottom: 1px solid #0c0c0c;
}

.server-status-online {
    color: #00dd00;
    font-weight: bold;
    font-size: 12px;
}

.server-online-badge {
    color: #00cc00;
    font-weight: bold;
    font-size: 11px;
}

.server-last-update {
    text-align: right;
    color: #444;
    font-size: 11px;
    padding: 5px 8px;
    border-top: 1px solid #111;
}

/* ===== FOOTER ===== */
#footer { width: 728px; margin: 14px auto 0 auto; text-align: center; padding: 8px; color: #333333; font-size: 11px; border-top: 1px solid #111; }
