/* ТЕМНАЯ ТЕМА - ПО УМОЛЧАНИЮ */
:root {
    --bg-color: #000;
    --card-bg: rgba(28 28 28 / 90%);
    --text-primary: #eee;
    --text-secondary: #aaa;
    --text-muted: #888;
    --accent-color: #b11226;
    --accent-dark: #5c0000;
    --accent-gradient: linear-gradient(135deg, #b11226, #5c0000);
    --accent-color-rgb: 177, 18, 38;
    --border-color: rgba(177, 18, 38, 0.4);
    --border-light: rgba(255, 255, 255, 0.1);
    --input-bg: #111;
    --input-border: #333;
    --sidebar-bg: rgba(20, 20, 20, 0.95);
    --sidebar-border: rgba(177, 18, 38, 0.3);
    --hover-bg: rgba(177, 18, 38, 0.15);
    --main-bg: #111;
    --footer-bg: rgba(10, 10, 10, 0.85);
    --flash-bg: #111;
    --flash-border: #b11226;
    --flash-text: #eee;
    --avatar-gradient: linear-gradient(135deg, #b11226, #5c0000);
    --logo-shadow: 0 5px 15px rgba(177, 18, 38, 0.4);
    --link-hover-color: white;
    --info-bg: rgba(0, 0, 0, 0.3);
    --login-bg: 
        radial-gradient(circle at 20% 20%, rgba(177, 18, 38, 0.15), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(139, 0, 0, 0.12), transparent 40%),
        linear-gradient(135deg, #111111 0%, #000000 60%);
}
/* ТЕМНАЯ ТЕМА - ПО УМОЛЧАНИЮ */

/* СВЕТЛАЯ ТЕМА */
.light-theme {
    --bg-color: #f5f5f5;
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-primary: #222;
    --text-secondary: #555;
    --text-muted: #777;
    --accent-color: #b11226;
    --accent-dark: #8b0000;
    --accent-gradient: linear-gradient(135deg, #b11226, #8b0000);
    --border-color: rgba(177, 18, 38, 0.3);
    --border-light: rgba(0, 0, 0, 0.1);
    --input-bg: #fff;
    --input-border: #ccc;
    --sidebar-bg: rgba(240, 240, 240, 0.95);
    --sidebar-border: rgba(177, 18, 38, 0.2);
    --hover-bg: rgba(177, 18, 38, 0.1);
    --main-bg: #fff;
    --footer-bg: rgba(255, 255, 255, 0.85);
    --flash-bg: #fff;
    --flash-border: #b11226;
    --flash-text: #222;
    --avatar-gradient: linear-gradient(135deg, #b11226, #8b0000);
    --logo-shadow: 0 5px 15px rgba(177, 18, 38, 0.3);
    --link-hover-color: #b11226;
    --info-bg: rgba(255, 255, 255, 0.3);
    --login-bg: 
        radial-gradient(circle at 20% 20%, rgba(177, 18, 38, 0.1), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(139, 0, 0, 0.08), transparent 40%),
        linear-gradient(135deg, #f5f5f5 0%, #ffffff 60%);
}
/* СВЕТЛАЯ ТЕМА */

/* СБРОС И БАЗА */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* СБРОС И БАЗА */

/* FOOTER */
.site-footer {
    width: 100%;
    padding: 5px 20px;
    background: var(--footer-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--sidebar-border);
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    font-size: 15px;
    color: var(--text-muted);
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.separator {
    color: #444;
    font-size: 10px;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.4);
    transition: color 0.3s ease;
    cursor: default;
}

.highlight:hover {
    color: #ff4d4d;
    text-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.8);
}

.footer-tech {
    font-family: 'Courier New', monospace;
    color: #555;
    font-size: 12px;
    letter-spacing: 1px;
}
/* FOOTER */

/* FOOTER - СОЦИАЛЬНЫЕ СЕТИ */
.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--accent-color-rgb), 0.15);
    border: 1px solid var(--sidebar-border);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.6);
    transform: translateY(-2px);
}

.social-link:hover svg {
    fill: white;
}
/* FOOTER - СОЦИАЛЬНЫЕ СЕТИ */

/* FOOTER - ПЕРЕКЛЮЧЕНИЕ ТЕМЫ */
.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle-footer {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--accent-color-rgb), 0.15);
    border: 1px solid var(--sidebar-border);
    color: var(--accent-color);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.theme-toggle-footer:hover {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.6);
    transform: translateY(-2px);
}

.theme-toggle-footer i {
    transition: transform 0.5s ease;
}

.theme-toggle-footer:hover i {
    transform: rotate(30deg) scale(1.1);
}
/* FOOTER - ПЕРЕКЛЮЧЕНИЕ ТЕМЫ */