/* ======= ГЛОБАЛЬНЫЙ СТИЛЬ ДЛЯ ВСЕГО САЙТА ======= */

/* Шапка — фон на всю ширину */
.site-header {
    width: 100%;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 1000;
}

/* ВНУТРЕННИЙ КОНТЕЙНЕР */
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 34px;
}

.logo span {
    font-size: 18px;
    font-weight: bold;
}

/* Меню */
.menu {
    display: flex;
    align-items: center;
}

.menu a {
    margin-left: 14px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.menu a:hover {
    color: #000;
}

/* Основной фон */
body {
    font-family: Arial, sans-serif;
    background: url("/assets/img/background/background.jpg") no-repeat center center fixed;
    background-size: cover;
    margin: 0;

    text-align: center;

    padding-top: 110px;
    padding-bottom: 80px;
}

/* Контейнеры */
.container,
.about-container {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.85);
    padding: 30px 40px;
    border-radius: 12px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Заголовки */
h1 {
    margin-top: 0;
}

h2 {
    margin-top: 30px;
}

/* Списки */
.about-container ul {
    margin-left: 20px;
    text-align: left;
}

/* Ссылки */
a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    font-size: 14px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
}

.site-footer a {
    color: #333;
    font-weight: bold;
}

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

/* Блок входа/регистрации в шапке */
.auth-links {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-links a {
    color: #333;
    text-decoration: none;
    font-weight: 700; /* ЖИРНЫЙ */
    padding: 6px 12px;
    background: rgba(0,0,0,0.05);
    border-radius: 6px;
    transition: 0.2s;
}

.auth-links .sep {
    font-weight: bold;
    color: #333;
    opacity: 0.7;
}

.auth-links a:hover {
    background: rgba(0,0,0,0.15);
}

/* Красная кнопка выхода */
.auth-links .logout {
    color: #ff4d4d !important;
    background: rgba(255,0,0,0.1);
    border-radius: 6px;
    font-weight: 800; /* ЕЩЁ ЖИРНЕЕ */
}

.auth-links .logout:hover {
    background: rgba(255,0,0,0.2);
}

/* ======= КНОПКИ ВХОДА / РЕГИСТРАЦИИ НА ГЛАВНОЙ ======= */

.auth-buttons {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
}

/* Прозрачный контур + жирный текст */
.auth-btn {
    padding: 12px 28px;
    font-size: 20px;
    font-weight: 800; /* ЖИРНЫЙ */
    color: #000;
    text-decoration: none;

    border: 3px solid rgba(0,0,0,0.55); /* более заметный контур */
    border-radius: 12px;

    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(4px);

    box-shadow: 0 3px 6px rgba(0,0,0,0.15);

    transition: 0.25s ease;
}

.auth-btn:hover {
    border-color: rgba(0,0,0,0.85);
    background: rgba(255,255,255,0.65);
    transform: translateY(-2px);
}

.auth-sep {
    font-size: 26px;
    font-weight: 900; /* ЖИРНЫЙ */
    opacity: 0.7;
}

/* ======= Блоки входа/регистрации на отдельных страницах ======= */

.auth-switch {
    max-width: 400px;
    margin: 30px auto;
    background: rgba(255,255,255,0.85);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.auth-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.auth-tab {
    padding: 10px 20px;
    border: none;
    background: rgba(0,0,0,0.1);
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.auth-tab.active {
    background: #4a90e2;
    color: #fff;
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.auth-form.active {
    display: flex;
}

.auth-form input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.auth-form button {
    padding: 10px;
    border: none;
    background: #4a90e2;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}
