:root {
    --glass-bg: rgba(255, 255, 255, 0.14);
    --glass-border: rgba(255, 255, 255, 0.32);
    --glass-highlight: rgba(255, 255, 255, 0.52);
    --text-primary: #f8fbff;
    --text-muted: rgba(248, 251, 255, 0.78);
    --accent: #7df0ff;
    --accent-glow: rgba(125, 240, 255, 0.4);
    --shadow-deep: 0 28px 72px rgba(0, 0, 0, 0.28);
    --shadow-lift: 0 14px 36px rgba(0, 0, 0, 0.18);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
}

body {
    font-family: 'Manrope', system-ui, sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.epoch-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: scale(1.02);
    animation: epoch-bg-breathe 18s ease-in-out infinite alternate;
}

@keyframes epoch-bg-breathe {
    from { transform: scale(1.02); }
    to { transform: scale(1.06); }
}

.epoch-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 35%, rgba(255, 255, 255, 0.06), transparent 65%),
        radial-gradient(ellipse 90% 70% at 50% 100%, rgba(8, 20, 40, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(6, 14, 28, 0.12) 0%, rgba(6, 14, 28, 0.38) 100%);
}

.epoch-vignette {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.22);
}

.epoch-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-deep), inset 0 1px 0 var(--glass-highlight);
}

/* Выпадающие списки: читаемый контраст */
select,
.field select,
.profile-form select,
.portal-form-page select,
.classifieds-filters select,
.compose-form select,
.photo-lightbox__folder-select {
    color: #111 !important;
    background-color: #fff !important;
    border: 1px solid #ccc;
}

select option {
    color: #111;
    background: #fff;
}
