body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    color: #222;
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
}

header {
    background: #1d1d3c;
    color: #f9fafb;
    padding: 1em;
    text-align: center;
}

nav a {
    color: #f9fafb;
    margin: 0 10px;
    text-decoration: none;
}

nav a.active {
    color: #e1aa2a;
}

nav a:hover {
    color: #e10600;
    text-decoration: underline;
}

main {
    background: white;
    border-radius: 8px;
    flex: 1;
    margin: 20px auto;
    max-width: 900px;
    padding: 2em;
}

footer {
    background: #f9f9f9;
    color: #777;
    font-size: 12px;
    padding: 1em;
    text-align: center;
}

footer a {
    color: #777;
}

table {
    border: 1px solid #888;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #888;
    padding: 6px 12px;
}

.screenshot-gallery {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.screenshot-thumb {
    border-radius: 6px;
    box-shadow: 0 2px 8px #aaa;
    cursor: pointer;
    height: 120px;
    transition: transform 0.2s;
}

.screenshot-thumb:hover {
    transform: scale(1.05);
}

#lightbox-overlay {
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

#lightbox-overlay[style*="display: flex"] {
    display: flex !important;
}

#lightbox-img {
    border-radius: 8px;
    box-shadow: 0 4px 24px #222;
    max-height: 80vh;
    max-width: 80vw;
}

#lightbox-close {
    color: #fff;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    position: absolute;
    top: 32px;
    right: 48px;
    z-index: 10000;
}
