* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #2c3e50;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Верхняя зона */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.header h1 {
    font-size: 36px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Основная зона (левая панель + контент) */
.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Левая зона - вертикальное меню */
.sidebar {
    width: 250px;
    background: #34495e;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    flex-shrink: 0;
}

.nav-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 12px 20px;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #3498db;
    transform: translateX(5px);
}

.nav-btn:active {
    transform: translateX(2px);
}

/* Правая зона - контент */
.content {
    flex: 1;
    padding: 30px;
    background: #ecf0f1;
    overflow-y: auto;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для контента */
.content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.content p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.content img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Стили для верхней зоны с кнопкой */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header h1 {
    font-size: 36px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.download-btn {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.download-btn:hover {
    background: #2ecc71;
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.download-btn:active {
    transform: scale(0.95);
}

/* Стили для ссылки документации (как гиперссылка) */
.docs-link {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    display: inline-block;
}

.docs-link:hover {
    color: #2980b9;
    text-decoration: underline;
    transform: translateX(3px);
}

.docs-link:active {
    transform: translateX(1px);
}
