/* Основные стили сайта */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.site-header {
    background: linear-gradient(135deg, #2a2320 0%, #3a2e28 100%);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #cc6666, #caa885, #b69e40, #cc6666) 1;
}

.header-top {
    padding: 15px 0;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Kurale', serif;
}

.logo-accent {
    color: #b69e40;
    background: linear-gradient(45deg, #b69e40, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 12px;
    color: #e8d5c4;
    margin-top: 2px;
    font-weight: 500;
}

.search-form {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(202, 168, 133, 0.3);
}

.search-input {
    flex: 1;
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
}

.search-input::placeholder {
    color: #a49584;
}

.search-button {
    background: linear-gradient(135deg, #cc6666, #b35555);
    border: none;
    padding: 0 20px;
    color: white;
    cursor: pointer;
}

.ad-placeholder {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(202, 168, 133, 0.3);
    text-align: center;
    color: #a49584;
    font-size: 14px;
}

/* Навигация */
.main-nav {
    background: linear-gradient(135deg, #b88f7a 0%, #a87e68 100%);
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    flex: 1;
}

.nav-menu a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.3s;
    font-family: 'Kurale', serif;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(135deg, #cc7777 0%, #cc6666 100%);
}

/* Прогресс чтения */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(202, 168, 133, 0.2);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #cc6666, #caa885);
    width: 0%;
    transition: width 0.3s;
}

/* Хлебные крошки */
.breadcrumbs {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #cc6666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #888;
}

/* Футер */
.site-footer {
    background: linear-gradient(135deg, #2a2320 0%, #3a2e28 100%);
    color: #e8d5c4;
    margin-top: 60px;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 14px;
    color: #c4b5a3;
    margin-top: 5px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-column a {
    display: block;
    color: #e8d5c4;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(202, 168, 133, 0.3);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #a49584;
}

.stats span {
    margin: 0 5px;
}