/* ===== CSS RESET И БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #333;
    background-color: #c8e4ed;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== ТИПОГРАФИЯ ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 { 
    font-size: 2.8rem; 
    text-align: center;
}
h2 { 
    font-size: 2.2rem; 
    color: #597d89;
    text-align: center;
}
h3 { 
    font-size: 1.8rem; 
    text-align: center;
}
h4 { font-size: 1.4rem; }

p { margin-bottom: 1.5rem; }

a {
    text-decoration: none;
    color: #597d89;
    transition: color 0.3s ease;
}

a:hover { color: #4a6a75; }

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #597d89;
    color: white;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #4a6a75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #597d89;
    color: #597d89;
}

.btn-secondary:hover {
    background-color: #597d89;
    color: white;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ===== ШАПКА САЙТА ===== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #597d89;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 600;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #4a6a75;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #597d89;
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */

/* Герой-секция */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('./images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Секция "Об авторе" */
.about {
    padding: 80px 0;
    background-color: #fafdfd;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.author-photo {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Секция "Стиль" */
.genre {
    padding: 80px 0;
}

.genre h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.genre p {
    font-size: 1.1rem;
    max-width: none;
    margin: 0 auto 1.5rem;
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-word;
}

/* Секция "Книги" */
.books {
    padding: 80px 0;
    background-color: #f6fafb;
}

.books h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-books h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.book-card {
    background: #c8e4ed;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.book-cover {
    width: 180px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.book-card h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.book-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6;
}

.book-card p b {
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
}

.book-description {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.all-books-preview {
    text-align: center;
    padding: 3rem;
    background: #c8e4ed;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.all-books-preview h3 {
    margin-bottom: 1.5rem;
}

.all-books-preview p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ===== БЛОК ДЛЯ КОЛЛЕКЦИОНЕРОВ ===== */
.collector-notice {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.collector-notice-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
    border: 2px solid #c8e4ed;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.collector-icon {
    flex-shrink: 0;
}

.collector-icon i {
    font-size: 3.5rem;
    color: #597d89;
}

.collector-content {
    flex: 1;
}

.collector-content h3 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 15px;
    text-align: left;
}

.collector-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.collector-details {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.detail-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #597d89;
    font-weight: 600;
}

.detail-item i {
    font-size: 0.9rem;
}

.btn-collector {
    background: linear-gradient(135deg, #2c3e50 0%, #3a506b 100%);
    color: white;
    padding: 12px 30px;
    border: 2px solid #597d89;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.btn-collector:hover {
    background: linear-gradient(135deg, #3a506b 0%, #2c3e50 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

/* Секция "Блог" */
.blog-preview {
    padding: 80px 0;
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.blog-preview > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.blog-post-preview {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-preview:hover {
    transform: translateY(-5px);
}

.blog-post-preview h4 a {
    color: #2c3e50;
}

.blog-post-preview h4 a:hover {
    color: #597d89;
}

.blog-preview > .container > .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Стили для постов с вензелями */
.blog-post-preview:not(:has(.oracle-feature)) h4,
.blog-post-preview:not(:has(.oracle-feature)) p {
    margin-bottom: 1.5rem;
}

.blog-post-preview .decorative-pattern {
    margin-top: auto;
    margin-bottom: 0;
}

/* ===== СТИЛИ ДЛЯ БЛОКА ОРАКУЛА ===== */
.oracle-feature {
    text-align: center;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.oracle-feature i {
    font-size: 3rem;
    color: #597d89;
    margin-bottom: 1rem;
    display: block;
}

.oracle-feature h4 a {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: block;
}

.oracle-feature h4 a:hover {
    color: #597d89;
}

.oracle-feature p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.oracle-feature .btn-small {
    margin-top: auto;
}

/* ===== СТИЛИ ДЛЯ ДЕКОРАТИВНОГО ВЕНЗЕЛЯ ===== */
.decorative-pattern {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    color: #597d89;
    opacity: 0.7;
}

.decorative-pattern::before {
    content: "❖ ❖ ❖";
    letter-spacing: 8px;
}

/* ===== СТИЛИ ДЛЯ ИКОНКИ КРИСТАЛЬНОГО ШАРА ===== */
.fa-crystal-ball:before {
    content: "\f6e8";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* ===== СЕКЦИЯ БЕСПЛАТНОЙ КНИГИ ===== */
.free-book {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.free-book h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2.4rem;
}

.free-book-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #555;
    line-height: 1.6;
}

.mirror-metaphor {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #597d89;
    font-style: italic;
    line-height: 1.6;
    font-weight: 600;
}

.free-book-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.gift-icon {
    font-size: 4rem;
    color: #597d89;
    margin-bottom: 2rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(89, 125, 137, 0.5);
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 20px rgba(89, 125, 137, 0.8), 0 0 30px rgba(89, 125, 137, 0.6);
        transform: scale(1.05);
    }
}

.free-book-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
}

.feature i {
    font-size: 2rem;
    color: #597d89;
    margin-bottom: 0.5rem;
}

.feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
}

.btn-pulse {
    animation: pulse 2s infinite;
    font-size: 1.1rem;
    padding: 15px 40px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(89, 125, 137, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(89, 125, 137, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(89, 125, 137, 0);
    }
}

/* ===== 24 ОСКОЛКОВ ЗЕРКАЛА ===== */
.glass-shard {
    position: absolute;
    background: linear-gradient(45deg, rgba(255,255,255,0.9), rgba(200,228,237,0.8), rgba(255,255,255,0.9));
    border-radius: 3px;
    opacity: 0.7;
    z-index: 1;
    box-shadow: 0 0 15px rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.7);
}

/* Осколки с разными размерами и анимациями */
.shard-1 { width: 20px; height: 30px; top: 10%; left: 5%; animation: float-1 8s ease-in-out infinite; transform: rotate(45deg); }
.shard-2 { width: 25px; height: 18px; top: 15%; right: 8%; animation: float-2 9s ease-in-out infinite; transform: rotate(120deg); }
.shard-3 { width: 18px; height: 25px; top: 25%; left: 15%; animation: float-3 10s ease-in-out infinite; transform: rotate(75deg); }
.shard-4 { width: 22px; height: 16px; top: 35%; right: 20%; animation: float-4 11s ease-in-out infinite; transform: rotate(150deg); }
.shard-5 { width: 16px; height: 22px; top: 45%; left: 25%; animation: float-5 12s ease-in-out infinite; transform: rotate(30deg); }
.shard-6 { width: 28px; height: 20px; top: 55%; right: 30%; animation: float-6 13s ease-in-out infinite; transform: rotate(90deg); }
.shard-7 { width: 19px; height: 27px; top: 65%; left: 35%; animation: float-7 14s ease-in-out infinite; transform: rotate(135deg); }
.shard-8 { width: 24px; height: 17px; top: 75%; right: 40%; animation: float-8 15s ease-in-out infinite; transform: rotate(60deg); }
.shard-9 { width: 17px; height: 24px; top: 20%; left: 50%; animation: float-9 16s ease-in-out infinite; transform: rotate(105deg); }
.shard-10 { width: 26px; height: 19px; top: 30%; right: 55%; animation: float-10 17s ease-in-out infinite; transform: rotate(15deg); }
.shard-11 { width: 21px; height: 28px; top: 40%; left: 60%; animation: float-11 18s ease-in-out infinite; transform: rotate(165deg); }
.shard-12 { width: 23px; height: 15px; top: 50%; right: 65%; animation: float-12 19s ease-in-out infinite; transform: rotate(75deg); }
.shard-13 { width: 15px; height: 23px; top: 60%; left: 70%; animation: float-13 20s ease-in-out infinite; transform: rotate(120deg); }
.shard-14 { width: 27px; height: 21px; top: 70%; right: 75%; animation: float-14 21s ease-in-out infinite; transform: rotate(45deg); }
.shard-15 { width: 20px; height: 26px; top: 80%; left: 80%; animation: float-15 22s ease-in-out infinite; transform: rotate(90deg); }
.shard-16 { width: 18px; height: 24px; top: 15%; right: 85%; animation: float-16 23s ease-in-out infinite; transform: rotate(135deg); }
.shard-17 { width: 25px; height: 17px; top: 25%; left: 90%; animation: float-17 24s ease-in-out infinite; transform: rotate(30deg); }
.shard-18 { width: 16px; height: 22px; top: 35%; right: 10%; animation: float-18 25s ease-in-out infinite; transform: rotate(150deg); }
.shard-19 { width: 22px; height: 19px; top: 45%; left: 12%; animation: float-19 26s ease-in-out infinite; transform: rotate(75deg); }
.shard-20 { width: 19px; height: 25px; top: 55%; right: 15%; animation: float-20 27s ease-in-out infinite; transform: rotate(120deg); }
.shard-21 { width: 24px; height: 16px; top: 65%; left: 18%; animation: float-21 28s ease-in-out infinite; transform: rotate(45deg); }

/* Анимации для каждого осколка */
@keyframes float-1 { 0%, 100% { transform: translateY(0px) rotate(45deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-25px) rotate(225deg) scale(1.1); opacity: 0.9; } }
@keyframes float-2 { 0%, 100% { transform: translateY(0px) rotate(120deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-30px) rotate(300deg) scale(1.1); opacity: 0.9; } }
@keyframes float-3 { 0%, 100% { transform: translateY(0px) rotate(75deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-20px) rotate(255deg) scale(1.1); opacity: 0.9; } }
@keyframes float-4 { 0%, 100% { transform: translateY(0px) rotate(150deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-35px) rotate(330deg) scale(1.1); opacity: 0.9; } }
@keyframes float-5 { 0%, 100% { transform: translateY(0px) rotate(30deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-28px) rotate(210deg) scale(1.1); opacity: 0.9; } }
@keyframes float-6 { 0%, 100% { transform: translateY(0px) rotate(90deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-22px) rotate(270deg) scale(1.1); opacity: 0.9; } }
@keyframes float-7 { 0%, 100% { transform: translateY(0px) rotate(135deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-32px) rotate(315deg) scale(1.1); opacity: 0.9; } }
@keyframes float-8 { 0%, 100% { transform: translateY(0px) rotate(60deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-26px) rotate(240deg) scale(1.1); opacity: 0.9; } }
@keyframes float-9 { 0%, 100% { transform: translateY(0px) rotate(105deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-24px) rotate(285deg) scale(1.1); opacity: 0.9; } }
@keyframes float-10 { 0%, 100% { transform: translateY(0px) rotate(15deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-33px) rotate(195deg) scale(1.1); opacity: 0.9; } }
@keyframes float-11 { 0%, 100% { transform: translateY(0px) rotate(165deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-27px) rotate(345deg) scale(1.1); opacity: 0.9; } }
@keyframes float-12 { 0%, 100% { transform: translateY(0px) rotate(75deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-31px) rotate(255deg) scale(1.1); opacity: 0.9; } }
@keyframes float-13 { 0%, 100% { transform: translateY(0px) rotate(120deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-29px) rotate(300deg) scale(1.1); opacity: 0.9; } }
@keyframes float-14 { 0%, 100% { transform: translateY(0px) rotate(45deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-34px) rotate(225deg) scale(1.1); opacity: 0.9; } }
@keyframes float-15 { 0%, 100% { transform: translateY(0px) rotate(90deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-23px) rotate(270deg) scale(1.1); opacity: 0.9; } }
@keyframes float-16 { 0%, 100% { transform: translateY(0px) rotate(135deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-36px) rotate(315deg) scale(1.1); opacity: 0.9; } }
@keyframes float-17 { 0%, 100% { transform: translateY(0px) rotate(30deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-25px) rotate(210deg) scale(1.1); opacity: 0.9; } }
@keyframes float-18 { 0%, 100% { transform: translateY(0px) rotate(150deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-32px) rotate(330deg) scale(1.1); opacity: 0.9; } }
@keyframes float-19 { 0%, 100% { transform: translateY(0px) rotate(75deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-28px) rotate(255deg) scale(1.1); opacity: 0.9; } }
@keyframes float-20 { 0%, 100% { transform: translateY(0px) rotate(120deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-30px) rotate(300deg) scale(1.1); opacity: 0.9; } }
@keyframes float-21 { 0%, 100% { transform: translateY(0px) rotate(45deg) scale(1); opacity: 0.6; } 50% { transform: translateY(-26px) rotate(225deg) scale(1.1); opacity: 0.9; } }

/* ===== ПОДВАЛ ===== */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #c8e4ed;
    font-weight: 500;
}

.footer-nav a:hover {
    color: white;
}

/* ===== СТИЛИ ДЛЯ БАННЕРА СОГЛАСИЯ ===== */
#pd-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    color: white;
    padding: 15px;
    z-index: 9999;
    border-top: 2px solid #597d89;
    display: none;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.pd-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.pd-consent-text {
    flex: 1;
}

.pd-consent-text h4 {
    color: #c8e4ed;
    margin: 0 0 5px 0;
    font-size: 16px;
}

.pd-consent-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.pd-consent-text a {
    color: #c8e4ed;
    text-decoration: underline;
}

.pd-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pd-consent-btn {
    padding: 8px 16px;
    background: #597d89;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.pd-consent-btn-secondary {
    background: transparent;
    border: 1px solid #c8e4ed;
    color: #c8e4ed;
}

/* ===== СТИЛИ ДЛЯ БЛОКА МАНИФЕСТА ===== */
.genre-manifesto {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 10px;
    margin: 2.5rem 0;
    border-left: 5px solid #597d89;
}

.manifesto-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.manifesto-text {
    flex: 1;
}

.genre-manifesto h3 {
    text-align: left;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.manifesto-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.point i {
    color: #597d89;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.point span {
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
}

/* Стили для блока ссылки на манифест */
.manifesto-link-block {
    flex: 0 0 280px;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    text-align: center;
}

.manifesto-link-content i {
    font-size: 2.5rem;
    color: #597d89;
    margin-bottom: 1rem;
    display: block;
}

.manifesto-link-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.manifesto-link-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.manifesto-link-content .btn {
    width: 100%;
}

/* СТИЛИ ДЛЯ КНОПКИ "ПОЛНЫЙ КАНОН" НА ВСЮ ШИРИНУ */
.full-width-canon-btn {
    width: 100%;
    margin: 2.5rem 0 1.5rem 0;
}

.canon-btn-full {
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, #597d89 0%, #4a6a75 100%);
    color: white;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 6px 20px rgba(89, 125, 137, 0.25);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.canon-btn-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s ease;
}

.canon-btn-full:hover::before {
    left: 100%;
}

.canon-btn-full:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(89, 125, 137, 0.35);
    background: linear-gradient(135deg, #4a6a75 0%, #3c5660 100%);
}

.canon-btn-content-full {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}

.canon-icon-full {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.canon-icon-full i {
    font-size: 1.8rem;
    color: white;
}

.canon-text-full {
    flex: 1;
    text-align: left;
}

.canon-title-full {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: 0.3px;
    color: white;
}

.canon-subtitle-full {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.9);
}

.canon-arrow-full {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.canon-btn-full:hover .canon-arrow-full {
    transform: translateX(5px);
}

.canon-arrow-full i {
    font-size: 1.2rem;
    color: white;
}

/* Стили для центрального блока с двумя статьями */
.combined-articles {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-separator {
    height: 1px;
    background: #e9ecef;
    margin: 1.5rem 0;
    width: 100%;
}

.combined-articles h4 {
    margin-bottom: 0.5rem;
}

.combined-articles p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.combined-articles .decorative-pattern {
    margin: 0.5rem 0 1.5rem 0;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .author-photo {
        width: 250px;
        height: 250px;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    .books-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .free-book-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .feature {
        min-width: auto;
    }
    
    .glass-shard {
        display: none; /* Скрываем осколки на мобильных для производительности */
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Адаптивность для блока манифеста */
    .manifesto-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .manifesto-link-block {
        flex: none;
        width: 100%;
    }
    
    .manifesto-points {
        gap: 1rem;
    }
    
    .point {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .canon-btn-content-full {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .canon-icon-full {
        margin: 0 auto;
    }
    
    .canon-text-full {
        text-align: center;
    }
    
    .canon-arrow-full {
        margin: 0 auto;
    }
    
    /* Адаптивность для блока коллекционеров */
    .collector-notice-card {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 30px 20px;
    }
    
    .collector-content h3 {
        text-align: center;
    }
    
    .collector-details {
        justify-content: center;
    }
    
    .btn-collector {
        width: 100%;
        justify-content: center;
    }
    
    /* Адаптивность для баннера */
    .pd-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .pd-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .pd-consent-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .nav {
        gap: 0.8rem;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 60px 0;
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .book-card, .blog-post-preview {
        padding: 1.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .decorative-pattern {
        margin-top: 1rem;
    }
    
    /* Адаптивность для канона */
    .canon-btn-full {
        padding: 0.8rem;
    }
    
    .canon-btn-content-full {
        padding: 0.8rem;
    }
    
    .canon-icon-full {
        width: 40px;
        height: 40px;
    }
    
    .canon-icon-full i {
        font-size: 1.4rem;
    }
    
    .canon-title-full {
        font-size: 1.1rem;
    }
    
    .canon-subtitle-full {
        font-size: 0.8rem;
    }
    
    .canon-arrow-full {
        width: 35px;
        height: 35px;
    }
    
    .canon-arrow-full i {
        font-size: 1rem;
    }
    
    /* Адаптивность для блока коллекционеров */
    .collector-details {
        flex-direction: column;
        align-items: center;
    }
    
    .collector-notice {
        padding: 40px 0;
    }
    
    /* Адаптивность для блока манифеста */
    .genre-manifesto {
        padding: 1.5rem;
    }
    
    .manifesto-link-block {
        padding: 1.5rem;
    }
}