/* styles.css - у стилі Olaf Haldy */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=EB+Garamond:ital@0;1&family=Montserrat:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1A1619;
    font-family: 'EB Garamond', 'Georgia', serif;
    color: #B8B0A3;
    line-height: 1.6;
    font-size: 18px;
}

/* Левая панель */
.sidebar {
    width: 260px;
    background: #0F0D10;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    padding: 40px 0;
    border-right: 1px solid #4A2E2B;
}

.logo {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #A67C52;
    margin-bottom: 50px;
    font-family: 'Cinema Decorative', 'Cormorant Garamond', serif;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li a {
    color: #9A9285;
    text-decoration: none;
    display: block;
    padding: 10px 30px;
    transition: 0.2s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
}

.sidebar ul li a:hover {
    background: #2A1E20;
    color: #D4AF37;
    border-left: 2px solid #A67C52;
}

/* Основной контент */
.content {
    margin-left: 260px;
    padding: 50px 60px;
    min-height: 100vh;
    background: rgba(26, 22, 25, 0.7);
}

/* Заголовки */
h1 {
    font-family: 'Cinema Decorative', 'Cormorant Garamond', serif;
    font-size: 42px;
    color: #C2A87D;
    margin-bottom: 20px;
    border-bottom: 1px solid #4A2E2B;
    display: inline-block;
}

/* Элементы анализатора */
textarea {
    width: 100%;
    max-width: 800px;
    padding: 15px;
    background: #0F0D10;
    border: 1px solid #4A2E2B;
    color: #D6D1C4;
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    line-height: 1.5;
    margin: 20px 0;
    border-radius: 8px;
}

button {
    background: #A67C52;
    color: #0F0D10;
    border: none;
    padding: 10px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
    margin-bottom: 20px;
}

button:hover {
    background: #C2A87D;
}

#result {
    margin-top: 30px;
    max-width: 900px;
}

/* Результаты анализа */
.line-block {
    background: rgba(15, 13, 16, 0.6);
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 8px;
    border-left: 3px solid #A67C52;
}

.line-text {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    color: #D6D1C4;
    margin-bottom: 8px;
}

.syllable-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #A67C52;
}

.analysis-summary {
    background: rgba(166, 124, 82, 0.15);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 3px solid #A67C52;
}

.summary-title {
    font-family: 'Cinema Decorative', 'Cormorant Garamond', serif;
    font-size: 20px;
    color: #C2A87D;
    margin-bottom: 12px;
}

.legend {
    margin-top: 30px;
    padding: 20px;
    background: rgba(15, 13, 16, 0.4);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.legend-title {
    color: #A67C52;
    margin-bottom: 8px;
}