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

body {
    font-family: 'Courier New', monospace;
    background: #0a0a0a;
    color: #c8b07a;
    line-height: 1.7;
    min-height: 100vh;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Warning overlay */
#warning-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #000;
    color: #b00;
    font-family: monospace;
    font-size: 2em;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#warning-overlay.active {
    display: flex;
}

.warning-content {
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px 20px;
    border-bottom: 2px solid #8b0000;
    background: linear-gradient(180deg, #1a0000 0%, #000 100%);
}

header h1 {
    font-size: 4em;
    letter-spacing: 0.3em;
    color: #b00;
    text-shadow: 0 0 20px #8b0000, 2px 2px 0 #000;
    font-family: 'Impact', sans-serif;
}

.tagline {
    color: #888;
    margin-top: 10px;
    letter-spacing: 0.2em;
}

/* Navigation tabs */
nav.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #111;
    border-bottom: 1px solid #333;
    padding: 10px;
    gap: 5px;
}

.tab-btn {
    background: #1a1a1a;
    color: #c8b07a;
    border: 1px solid #444;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 0.95em;
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.tab-btn:hover {
    background: #2a0000;
    color: #fff;
    border-color: #8b0000;
}

.tab-btn.active {
    background: #8b0000;
    color: #fff;
    border-color: #b00;
}

.tab-btn.play-link {
    background: #8b0000;
    color: #fff;
    border-color: #b00;
}

.tab-btn.play-link:hover {
    background: #b00;
    box-shadow: 0 0 15px #8b0000;
}

/* Main content */
main {
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 20px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

h2 {
    color: #b00;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
}

h3 {
    color: #c8b07a;
    margin: 20px 0 10px;
}

p { margin-bottom: 15px; }

ul {
    margin: 15px 0 15px 30px;
}

li { margin-bottom: 8px; }

strong { color: #e0c080; }
em { color: #a89070; }

/* Weapon grid */
.weapon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.weapon-card {
    background: #111;
    border: 1px solid #333;
    padding: 15px;
}

.weapon-card h4 {
    color: #b00;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.weapon-card p {
    font-size: 0.9em;
    color: #aaa;
    margin-bottom: 8px;
}

.weapon-card .stats {
    font-size: 0.85em;
    color: #888;
    border-top: 1px solid #333;
    padding-top: 8px;
    margin-top: 10px;
}

/* Item list */
.item-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.item-card {
    background: #111;
    border: 1px solid #333;
    padding: 12px;
}

.item-card h4 {
    color: #c8b07a;
    margin-bottom: 8px;
}

.item-card p {
    font-size: 0.9em;
    color: #aaa;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    color: #555;
    font-size: 0.85em;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 600px) {
    header h1 { font-size: 2.5em; }
    .tab-btn { padding: 8px 12px; font-size: 0.85em; }
}
