/* Убираем глобальные layout-стили (body, header, footer), их даёт CSS/index.css. Оставляем только специфичное оформление лора. */

/* Guard: on lore page, keep header-right content in one row and avoid visual 'double' due to overlap */
.main-header .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 5;
    margin-top: 80px;
    position: static;
    transform: none;
}

.center-info-block {
    min-width: 340px;
    max-width: 520px;
    padding: 32px 28px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0,180,255,0.10);
    color: #e0f7ff;
    text-align: center;
    backdrop-filter: blur(8px);
    z-index: 5;
    margin: 0 auto 24px auto;
}

.center-info-block h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 2em;
    color: #b3e6ff;
    letter-spacing: 1px;
}

.center-info-block p {
    margin: 0;
    font-size: 1.15em;
    color: #e0f7ff;
    line-height: 1.5;
}

.lore-sections {
    max-width: 1100px;
    margin: 0 auto 32px auto;
    padding: 16px;
}

.lore-section {
    background: rgba(18,22,28,0.45);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,180,255,0.18), 0 2px 16px rgba(0,0,0,0.12);
    padding: 38px 32px;
    margin-bottom: 42px;
    position: relative;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(99,230,255,0.13);
}

.lore-section h2, .lore-section h3 {
    color: #fff;
    text-shadow: 0 0 8px #63e6ff;
}

.lore-section h2 {
    color: #63e6ff;
    font-size: 2.2rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
}

.lore-text {
    margin-bottom: 18px;
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: justify;
    color: #fff;
}

.lore-image-placeholder {
    width: 100%;
    text-align: center;
    margin: 18px 0;
}

.lore-image-placeholder img {
    width: 100%;
    max-width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 32px #63e6ff33, 0 4px 16px rgba(0,0,0,0.2);
    display: block;
    margin: 0 auto;
    transition: box-shadow 0.3s, transform 0.3s;
}

.lore-image-placeholder img:hover {
    box-shadow: 0 12px 48px #63e6ff99;
    transform: scale(1.04);
}

.faction {
    border: 2px solid rgba(99, 230, 255, 0.5);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 18px;
    background: rgba(18, 22, 28, 0.55);
    box-shadow: 0 8px 32px #63e6ff22, 0 4px 16px rgba(0,0,0,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.faction:hover {
    box-shadow: 0 16px 48px #63e6ff55;
    border-color: #63e6ff;
    transform: scale(1.04);
}

.lore-notice.warning {
    color: #fff;
    background: rgba(255,215,0,0.13);
    border-radius: 14px;
    border: 2px solid #FFD700;
    box-shadow: 0 8px 32px #FFD70033;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lore-subtitle {
    color: #63e6ff;
    font-size: 1.1rem;
    margin-bottom: 18px;
    text-shadow: 0 0 8px #63e6ff;
}

@media (max-width: 900px) {
    .center-info-block {
        max-width: 95vw;
        padding: 24px 18px;
    }
    .lore-section {
        padding: 24px 18px;
    }
}

@media (max-width: 700px) {
    .center-info-block {
        min-width: 0;
        width: 94vw;
    }
    .lore-section {
        padding: 18px 12px;
        margin-bottom: 28px;
    }
    .lore-section h2 {
        font-size: 1.5rem;
    }
}