:root {
    --header-bg: rgba(32, 10, 10, 0.92);
    --header-border: rgba(180, 30, 30, 0.2);
    --header-nav-color: #aa6666;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 57px);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.preset-nav {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.preset-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.preset-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.nav-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-button {
    left: 2rem;
}

.next-button {
    right: 2rem;
}

.bottom-container {
    display: flex;
    margin-top: auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
}

.description-section {
    flex: 1;
    padding-right: 2rem;
}

.screenshots-section {
    flex: 1;
    max-width: 40%;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.screenshot-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.screenshot-thumb:hover,
.screenshot-thumb.active {
    border-color: #ff6600;
    transform: scale(1.05);
}

.pwad-list {
    list-style: none;
    padding: 0;
}

.pwad-item {
    margin-bottom: 0.5rem;
}

.pwad-link {
    color: #4da6ff;
    text-decoration: none;
}

.pwad-link:hover {
    text-decoration: underline;
}

.no-screenshots {
    padding: 1rem;
    background: rgba(255, 0, 0, 0.2);
    border: 1px dashed #ff0000;
    text-align: center;
}

.download-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 2px solid #ff6600;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.download-button:hover {
    background: rgba(255, 102, 0, 0.3);
    transform: scale(1.05);
}

.download-button:active {
    transform: scale(0.98);
}
