/* ===== BOOK LANDING PAGE STYLES ===== */
/* All classes use book- prefix */

/* ===== CSS VARIABLES ===== */
:root {
    /* Main Logo Gradient Colors */
    --main-gradient: linear-gradient(45deg, #133636, #044444, #133636, #066666);
    --main-gradient-colors: #133636, #044444, #133636, #066666;
    --main-shadow-color: rgba(19, 54, 54, 0.3);
    
    /* Aluminum Gradient Colors */
    --aluminum-gradient: linear-gradient(45deg, #929292, #A9A9A9, #929292, #C0C0C0);
    --aluminum-gradient-colors: #929292, #A9A9A9, #929292, #C0C0C0;
    --aluminum-shadow-color: rgba(146, 146, 146, 0.3);
    --gradient-border: linear-gradient(45deg, var(--primary-blue), var(--primary-pink), var(--primary-blue));
    
    /* Note: --font-primary is defined in fonts.css, which loads before this file */
}

/* Base container */

/* Base Styles */
body {
    font-family: Times;
}
.book-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* HERO: full-screen cover with glassmorphism overlay */
.book-hero {
    position: relative;
    min-height: 100vh;
    padding: 4rem 2rem 3rem;
    border-radius: 15px;
    border: 2px solid rgba(146, 146, 146, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* фон — обложка на весь экран */
.book-hero-bg {
 
}

/* затемнение + стекло для читаемости */
.book-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--main-gradient);
    z-index: 1;
}

/* центральный «карточный» слой, аналог hero-блока */
.book-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem 2rem;
    margin: 7rem auto 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    border: 2px solid rgba(146, 146, 146, 0.35);
}

/* верхний тег / tagline */
.book-hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #D6D6D6;
    margin: 0 0 1rem;
}

/* основной заголовок */
.book-hero-title {
    font-size: 2.4rem;
    margin: 0.5rem 0 1rem;
    font-weight: 600;
    display: inline-block;
    background: var(--aluminum-gradient);
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 10;
}

/* подзаголовок */
.book-hero-subtitle {
    font-size: 1.05rem;
    color: #D6D6D6;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

/* нижние кнопки сторов — на стеклянной плашке */
.book-hero-stores {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 2rem auto 0;        /* было только margin-top: 2rem; */
    padding: 1.5rem 1.5rem 1.25rem;
    /* background: rgba(0, 0, 0, 0.08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 14px;
    border: 1px solid rgba(146, 146, 146, 0.44); */
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* кнопки сторов — визуально похожи на CTA-кнопки, но мягче */
.book-hero-store-btn {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04rem;
    border: 0.5px solid rgba(146, 146, 146, 0.44);
    background:
        var(--gradient-border) border-box,
        rgba(19, 54, 54, 0.92) padding-box;
    color: #EBEBEB;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.book-hero-store-btn:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4),
                0 0 16px rgba(255, 126, 121, 0.35);
}

/* вторичные кнопки (Ozon, ЛитРес — “Soon”) */
.book-hero-store-btn-secondary {
    background:
        var(--gradient-border) border-box,
        transparent padding-box;
    color: #EBEBEB;
    opacity: 0.85;
}

.book-hero-store-btn-secondary:hover {
    opacity: 1;
}

/* ===== SECTIONS UNDER HERO ===== */

.book-section {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(146, 146, 146, 0.3);
}

.book-section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.book-section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #133636;
    font-weight: 666;
    letter-spacing: 0.05rem;
}

.book-section-text {
    font-size: 1.1rem;
    color: #133636;
    line-height: 1.7;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

/* journey grid (3 пункта пути) */
.book-journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.book-journey-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(146, 146, 146, 0.2);
    text-align: left;
    transition: all 0.3s ease;
}

.book-journey-item:hover {
    transform: translateY(-5px);
    border-color: rgba(146, 146, 146, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.book-journey-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #133636;
    font-weight: 600;
}

.book-journey-text {
    font-size: 0.95rem;
    color: #133636;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .book-container {
        padding: 6rem 0.5rem 1rem;
    }

    .book-hero {
        padding: 3.5rem 1rem 2.5rem;
        border-radius: 12px;
    }

    .book-hero-content {
        padding: 1.75rem 1.5rem;
    }

    .book-hero-title {
        font-size: 1.9rem;
    }

    .book-hero-subtitle {
        font-size: 0.95rem;
    }

    .book-hero-stores {
        flex-direction: column;
        align-items: stretch;
    }

    .book-hero-store-btn {
        width: 100%;
        text-align: center;
    }

    .book-section {
        padding: 1.75rem 1rem;
    }

    .book-section-title {
        font-size: 1.6rem;
    }
}

/* Базовая секция (как сейчас) */
.book-section {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(146, 146, 146, 0.3);
}

/* ЗЕЛЁНЫЙ БЭКГРАУНД в стиле главного градиента */
.book-section--green {
    background: var(--main-gradient);
    border-color: var(--main-shadow-color);
}

.book-section--green .book-section-title,
.book-section--green .book-section-text,
.book-section--green .book-journey-title,
.book-section--green .book-journey-text {
    color: #EBEBEB;
}

/* СВЕТЛАЯ СЕКЦИЯ С ТЁМНЫМ ТЕКСТОМ */
.book-section--light {
    background: #133636;
    border-color: rgba(19, 54, 54, 0.25);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.book-section--light .book-section-title,
.book-section--light .book-journey-title {
    color: #133636;
}

.book-section--light .book-section-text,
.book-section--light .book-journey-text {
    color: #133636;
}

/* На мобильных паддинги чуть меньше */
@media (max-width: 768px) {
    .book-section {
        padding: 1.75rem 1rem;
    }
}

/* ===== FOOTER STYLES ===== */
.app-footer {
    text-align: center;
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-xl);
    border-top: 1px solid var(--border-light);
    color: #929292;
    border: 2px solid rgba(146, 146, 146, 0.3);
    background: var(--main-gradient);
    border-radius: 15px;
    border: 2px solid rgba(146, 146, 146, 0.3);
}

.app-footer p {
    margin: var(--spacing-sm) 0;
    font-size: 0.9rem;
    color: #929292;
}

.app-footer a {
    color: #C0C0C0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.app-footer a:hover {
    color: whitesmoke;
}

.footer-tagline {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: var(--spacing-xs);
    font-style: italic;
}