:root {
    --bg-color: #0b0b0d;
    --card-bg: #141418;
    --text-color: #c9d1d9;
    --heading-color: #f0f6fc;
    --accent-color: #8b0000; /* Krvavě červená */
    --accent-hover: #a30000;
    --border-color: #2b2b36;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    padding-bottom: 40px;
}

h1, h2, h3 {
    font-family: 'Creepster', cursive, sans-serif;
    color: var(--heading-color);
    letter-spacing: 2px;
}

/* Hero sekce */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(11,11,13,1)), url('hero-bg.jpg') center/cover no-repeat;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 2px solid var(--accent-color);
}

.hero h1 {
    font-size: 4rem;
    color: #ff3333;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.game-meta {
    font-size: 0.95rem;
    color: #8b949e;
    margin-bottom: 25px;
}

/* Tlačítka */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: scale(1.02);
}

.btn-small {
    background-color: #21262d;
    color: #f0f6fc;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    transition: background 0.2s;
}

.btn-small:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Hlavní kontejner */
.container {
    max-width: 900px;
    margin: -30px auto 0;
    padding: 0 20px;
}

/* Karty */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.card p {
    margin-bottom: 15px;
}

/* Seznam verzí */
.versions-list ul {
    list-style: none;
    margin-top: 15px;
}

.versions-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a21;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.file-info {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 600;
    color: var(--heading-color);
}

.file-details {
    font-size: 0.8rem;
    color: #8b949e;
}

/* Seznamy vlastností */
.feature-list {
    margin-left: 20px;
}

.feature-list li {
    margin-bottom: 8px;
}

/* Tabulka */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.95rem;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #1a1a21;
    color: var(--heading-color);
    font-family: 'Creepster', cursive;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

/* Konce hry */
.endings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.ending-box {
    background: #1a1a21;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--accent-color);
}

.ending-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Footer */
footer {
    text-align: center;
    color: #6e7681;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* Responzivita pro mobily */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .endings-grid {
        grid-template-columns: 1fr;
    }

    .versions-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-small {
        align-self: stretch;
        text-align: center;
    }
}