html, body {
    font-family: Arial, sans-serif;
    margin: 0;
}

.title {
    font-weight: normal;
    margin: 0 0 16px 0;
    color: #333;
}

.title_details {
    font-size: 12pt;
    color: #c80000;
}

.menu {
    border-right: 1px solid #000;
    padding: 20px;
    font-size: 12pt;
    background-color: #f5f5f5;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 130px;
}
.menu a,
.download_link {
    color: #007BFF;
    font-size: 12pt;
    font-weight: normal;
    text-decoration: none;
}
.menu a {
    display: block;
    padding: 0 0 4px 0;
}
.menu a.active {
    color: #000;
    font-weight: bold;
}
.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main {
    padding: 20px;
    padding-left: 30px;
    box-sizing: border-box;
    font-size: 12pt;
    background-color: #fafafa;
    margin-left: 170px;
    height: 100vh;
    overflow-y: auto;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
.main ul {
    list-style-position: outside;
    padding-left: 15px;
    margin: 0;
}
.main > ul > li {
    font-weight: bold;
}
.main > ul > li:not(:first-child) {
    margin-top: 8px;
}
.main ul ul {
    list-style: none;
    padding-left: 20px;
}
.main ul ul li {
    font-weight: normal;
    margin-bottom: 4px;
}
.main ul ul li:last-child {
    margin-bottom: 0;
}
.main ul ul li:first-child {
    margin-top: 4px;
}

.screenshots {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
.screenshots img {
    height: 100px;
    object-fit: cover;
    border: 1px solid #ddd;
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 16px;
    text-align: center;
    max-width: 90%;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}
.lightbox-nav.left {
    left: 20px;
}
.lightbox-nav.right {
    right: 20px;
}
.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}
