/* ===== ГЛОБАЛЬНЫЙ СБРОС ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f2f4f8;
    color: #1a1a2c;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 32px;
    width: 100%;
    flex: 1;
}

/* ===== ШАПКА ===== */
.header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 12px 0;
    border-bottom: 1px solid #e9edf2;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.94);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    color: #1a1a2c;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 32px;
    height: 32px;
}

.logo span {
    color: #1a1a2c;
    font-weight: 400;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-time {
    font-size: 14px;
    font-weight: 500;
    color: #3e4a5c;
    background: #f7f9fc;
    padding: 6px 14px;
    border-radius: 40px;
    white-space: nowrap;
}

/* ===== ФУТЕР ===== */
.footer {
    margin-top: 20px;
    border-top: 1px solid #e9edf2;
    padding: 24px 0 16px;
    font-size: 14px;
    color: #6b7a8a;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.footer a {
    color: #0057ff;
    text-decoration: none;
    font-weight: 500;
}

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

/* ===== АДАПТИВ (глобальный) ===== */
@media (max-width: 480px) {
    .header-inner {
        padding: 0 12px;
    }
    .logo {
        font-size: 16px;
    }
    .logo img {
        width: 28px;
        height: 28px;
    }
    .current-time {
        font-size: 11px;
        padding: 4px 10px;
    }
    .container {
        padding: 0 12px 20px;
    }
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}