body {
    font-family: Arial, sans-serif;
    background: #111827;
    color: white;
    margin: 0;
    padding: 40px;
    padding-left: 260px;
}

.container {
    max-width: 800px;
    margin: auto;
}

.side-nav {
    background: #0b1220;
    border-right: 1px solid #243244;
    bottom: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    left: 0;
    padding: 28px 18px;
    position: fixed;
    top: 0;
    width: 220px;
    z-index: 10;
}

.nav-brand {
    align-items: center;
    background: #2563eb;
    border-radius: 8px;
    color: white;
    display: inline-flex;
    font-size: 18px;
    font-weight: 700;
    height: 44px;
    justify-content: center;
    margin-bottom: 18px;
    text-decoration: none;
    width: 56px;
}

.nav-link {
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 15px;
    padding: 12px 14px;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

    .nav-link:hover,
    .nav-link:focus-visible {
        background: #1f2937;
        color: white;
        transform: translateX(3px);
    }

    .nav-link:focus-visible {
        outline: 2px solid #60a5fa;
        outline-offset: 2px;
    }

    .nav-link.active {
        background: #1d4ed8;
        color: white;
        font-weight: 700;
    }

h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.subtitle {
    color: #60a5fa;
    font-size: 20px;
}

.accordion {
    border: 1px solid #374151;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 16px;
}

.accordion-item {
    background: #1f2937;
    border-bottom: 1px solid #374151;
}

    .accordion-item:last-child {
        border-bottom: 0;
    }

    .accordion-item summary {
        align-items: center;
        cursor: pointer;
        display: grid;
        gap: 16px;
        grid-template-columns: minmax(0, 1fr) max-content 24px;
        list-style: none;
        padding: 18px 20px;
        position: relative;
    }

        .accordion-item summary span:first-child {
            font-weight: 700;
        }

        .accordion-item summary::-webkit-details-marker {
            display: none;
        }

        .accordion-item summary::after {
            color: #93c5fd;
            content: "+";
            flex: 0 0 auto;
            font-size: 22px;
            grid-column: 3;
            line-height: 1;
            text-align: center;
        }

    .accordion-item[open] summary::after {
        content: "-";
    }

    .accordion-item summary:hover,
    .accordion-item summary:focus-visible {
        background: #273244;
    }

    .accordion-item summary:focus-visible {
        outline: 2px solid #60a5fa;
        outline-offset: -2px;
    }

    .accordion-item[open] > :not(summary) {
        background: #273449;
    }

    .accordion-item[open] > p:first-of-type,
    .accordion-item[open] > ul:first-of-type {
        border-top: 1px solid #374151;
    }

.summary-meta {
    color: #9ca3af;
    font-size: 14px;
    font-weight: normal;
    text-align: right;
    white-space: nowrap;
}

.accordion-item p {
    color: #d1d5db;
    line-height: 1.7;
    margin: 0;
    padding: 14px 20px;
}

    .accordion-item p:first-of-type {
        padding-top: 20px;
    }

    .accordion-item p:last-of-type {
        padding-bottom: 24px;
    }

.accordion-item > ul {
    color: #d1d5db;
    line-height: 1.7;
    margin: 0;
    padding: 20px 32px 24px 44px;
}

.accordion-item > p + ul {
    padding-top: 0;
}

.contact-card {
    background: #1f2937;
    border: 2px dashed #374151;
    border-radius: 8px;
    margin-top: 28px;
    padding: 24px 28px;
    text-align: center;
}

    .contact-card h2 {
        font-size: 22px;
        margin: 0 0 6px;
    }

    .contact-card p {
        color: #9ca3af;
        margin: 0 0 18px;
    }

    .contact-card .contact-address {
        font-size: 14px;
        margin: 16px 0 0;
    }

.copy-button {
    align-items: center;
    background: #111827;
    border: 1px solid #374151;
    border-radius: 999px;
    color: #93c5fd;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    gap: 6px;
    margin-left: 4px;
    padding: 4px 12px;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

    .copy-button:hover,
    .copy-button:focus-visible {
        background: #273244;
        border-color: #60a5fa;
    }

    .copy-button:focus-visible {
        outline: 2px solid #60a5fa;
        outline-offset: 2px;
    }

    .copy-button.copied {
        background: #2563eb;
        border-color: #2563eb;
        color: white;
    }

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.contact-button {
    align-items: center;
    background: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 999px;
    color: white;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    padding: 10px 22px;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

    .contact-button:hover,
    .contact-button:focus-visible {
        background: #1d4ed8;
        border-color: #1d4ed8;
        color: white;
        transform: translateY(-2px);
    }

    .contact-button:focus-visible {
        outline: 2px solid #93c5fd;
        outline-offset: 2px;
    }

.contact-button-outline {
    background: transparent;
    border-color: #60a5fa;
    color: #93c5fd;
}

    .contact-button-outline:hover,
    .contact-button-outline:focus-visible {
        background: #2563eb;
        border-color: #2563eb;
        color: white;
    }

.post-list {
    margin-top: 20px;
}

.post-preview {
    border-left: 3px solid #60a5fa;
    padding-left: 18px;
}

    .post-preview h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }

.post-date {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 0;
}

.gaming-intro {
    color: #d1d5db;
    line-height: 1.6;
}

.game-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    margin-top: 28px;
}

.game-card {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 12px;
    overflow: hidden;
}

.game-card img {
    display: block;
    height: auto;
    width: 100%;
}

.game-image-button {
    background: none;
    border: 0;
    cursor: zoom-in;
    display: block;
    padding: 0;
    width: 100%;
}

.game-image-button:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: -3px;
}

.image-dialog {
    background: #111827;
    border: 1px solid #374151;
    border-radius: 12px;
    box-sizing: border-box;
    color: white;
    max-height: 90vh;
    max-width: min(1000px, 92vw);
    padding: 20px;
}

.image-dialog::backdrop {
    background: rgb(0 0 0 / 80%);
}

.image-dialog-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.image-dialog-header h2 {
    font-size: 20px;
    margin: 0;
}

.image-dialog-subtitle {
    color: #93c5fd;
    margin: 6px 0 0;
}

.image-dialog-close {
    background: #2563eb;
    border: 0;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font: inherit;
    padding: 9px 14px;
}

.image-dialog-close:hover,
.image-dialog-close:focus-visible {
    background: #1d4ed8;
}

.image-dialog-close:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.image-dialog-content {
    display: block;
    height: auto;
    max-height: calc(90vh - 86px);
    max-width: 100%;
}

.game-card-content {
    padding: 16px;
}

.game-card h2 {
    font-size: 20px;
    margin: 0;
}

.game-card p {
    color: #93c5fd;
    margin: 8px 0 0;
}

@media (max-width: 600px) {
    body {
        padding: 112px 24px 24px;
    }

    .side-nav {
        border-bottom: 1px solid #243244;
        border-right: 0;
        bottom: auto;
        flex-direction: row;
        gap: 6px;
        overflow-x: auto;
        padding: 14px;
        width: 100%;
    }

    .nav-brand {
        flex: 0 0 48px;
        height: 40px;
        margin-bottom: 0;
        width: 48px;
    }

    .nav-link {
        flex: 0 0 auto;
        padding: 11px 12px;
        white-space: nowrap;
    }

        .nav-link:hover,
        .nav-link:focus-visible {
            transform: translateY(-2px);
        }

    .accordion-item summary {
        align-items: flex-start;
        gap: 6px 16px;
        grid-template-columns: minmax(0, 1fr) 24px;
    }

    .accordion-item summary::after {
            grid-column: 2;
            grid-row: 1 / span 2;
            position: static;
    }

    .summary-meta {
        grid-column: 1;
        padding-right: 28px;
        text-align: left;
    }
}

a {
    color: #93c5fd;
}
