body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #FDFBF7; /* Молочный фон (60%) */
    color: #2C2C2C; /* Тёмно-серый текст */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    color: #D4AF37;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

main {
    flex: 1;
    padding: 40px;
}

footer {
    background-color: #333333; /* Тёмно-серый (30%) */
    color: #FDFBF7;
    text-align: center;
    padding: 20px;
    border-top: 2px solid #D4AF37; /* Золотой (10%) */
}

.footer-nav a[href="#"] {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Footer Columns */
.footer-columns {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-column h3 {
    color: #D4AF37;
    border-bottom: 1px solid #D4AF37;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #FDFBF7;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: #D4AF37;
}

.footer-copyright {
    margin-top: 30px;
    font-size: 0.9em;
    color: #888;
}

/* Cookie-Banner (Bottom Bar) */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333333;
    color: #FDFBF7;
    padding: 15px 20px;
    box-sizing: border-box;
    display: none; /* Initial ausgeblendet */
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    border-top: 2px solid #D4AF37;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    padding-right: 20px;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn-ok {
    background-color: #D4AF37;
    color: #fff;
    border: none;
    padding: 8px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s;
}

.cookie-btn-ok:hover {
    background-color: #b89a31;
}

.cookie-btn-close {
    background: transparent;
    border: none;
    color: #FDFBF7;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.cookie-btn-close:hover {
    color: #D4AF37;
}

/* Styles for Double-Opt-In Highlight Box (Global) */
.privacy-note-highlight {
    margin-top: 15px;
    padding: 15px;
    background-color: #fffbe6; /* Light yellow */
    border-left: 4px solid #D4AF37; /* Gold color from the brand */
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

.privacy-note-highlight strong {
    color: #333;
}

/* Предотвращение прыжков контента (CLS Fix) */
.screensaver-img {
    width: 100%;
    aspect-ratio: 16 / 4; /* Для десктопных заставок */
    background-color: #f0f0f0; /* Легкий фон, пока картинка грузится */
}

/* Резерв высоты для меню и футера, чтобы избежать прыжков (CLS) */
#nav-placeholder, #nav-container {
    min-height: 85px; /* Примерная высота меню на десктопе */
    display: block;
}

@media (max-width: 1023px) {
    #nav-placeholder, #nav-container {
        min-height: 60px; /* Компактная высота для мобильных устройств */
    }
}

#footer-placeholder {
    min-height: 300px; /* Резервируем место под подвал внизу страницы */
    display: block;
}
