/* =Header= */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);

    /* НОВЫЙ СТИЛЬ ХЕДЕРА */
    background: var(--corner-background);
    background-size: 250% 250%;
    color: #222;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--corner-shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 20px;
    color: var(--text-color);
}

.navigation {
    display: flex;
    gap: 8px;
    background: var(--surface);
    padding: 6px;
    border-radius: 12px;
    border: none;
    box-shadow: var(--corner-shadow);
    transform: translateY(4px);
}

.navigation.backg {
    background-size: 200% 100%;
    background-position: left center;
}

.theme {
    padding: 6px 6px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 250;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-theme .theme:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.theme:hover {
    color: var(--text-color);
    background: rgba(145, 158, 214, 0.1);
}

.theme.active {
    background: var(--background);
    color: var(--text-color);
    box-shadow: var(--block-shadow);
}

.nav-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-tab:hover {
    color: var(--text-color);
    background: rgba(145, 158, 214, 0.1);
}

.nav-tab.active {
    background: var(--background);
    color: var(--text-color);
    box-shadow: var(--shadow);
}

/* =Footer= */
.footer {
    padding: 40px 0 20px;
    background: var(--corner-background);
    background-size: 250% 250%;
    color: #222;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--corner-shadow);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 600px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.dark-theme .footer-section p {
    color: #a0aec0;
}

.dark-theme .footer-links a {
    color: #a0aec0;
}

.footer-section p {
    font-size: 12px;
    margin-bottom: 15px;
    color: #718096;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    font-size: 12px;
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    color: #a0aec0;
    font-size: 0.9rem;
}
