

/* Start:/local/templates/front/styles.css?17899586647104*/
@font-face {
    font-family: 'Jura';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/local/templates/front/fonts/Jura.ttf') format('truetype');
}

@font-face {
    font-family: 'Megrim';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/local/templates/front/fonts/Megrim.ttf') format('truetype');
}

BODY {
    margin:0px;
    padding:0px;
    background-color: #0a0c16;
    color: #ffffff;
    font-family: 'Jura', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    /* Прилипающий футер: растягиваем страницу на всю высоту экрана */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper a {
    color: #bfff00;
    text-decoration: underline;
    transition: color 0.2s ease;
}
.content-wrapper a:hover {
    color: #d4ff66;
    text-decoration: underline;
}

/* Контентная область: центрированная колонка 1100px */
.content-area {
    display: flex;
    justify-content: center;
    width: 100%;
    /* Занимает всё свободное место — прижимает футер к низу на коротких страницах */
    flex: 1 0 auto;
}
.content-wrapper {
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
}

.site-header {
    background: rgba(13, 15, 26, 0.95);
    border-bottom: 1px solid rgba(191, 255, 0, 0.15);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.header-logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 3px;
    text-shadow: none;
    transition: opacity 0.3s;
    font-family: 'Megrim', cursive;
    visibility: hidden;
}

html.fonts-loaded .header-logo {
    visibility: visible;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-nav {
    display: flex;
    gap: 8px;
}

.header-nav-link {
    color: #9da2b3;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-nav-link:hover {
    color: #bfff00;
    background: rgba(191, 255, 0, 0.08);
}

/* Акцентный пункт меню (например, «ИСТОРИИ») — подсвечен всегда */
.header-nav-link--accent {
    color: #bfff00;
    background: rgba(191, 255, 0, 0.12);
    border: 1px solid rgba(191, 255, 0, 0.35);
}

.header-nav-link--accent:hover {
    color: #0a0c16;
    background: #bfff00;
    border-color: #bfff00;
}

/* Выпадающее подменю «Профиль» */
.header-nav-dropdown {
    position: relative;
}

/* Прозрачный «мост» между пунктом и подменю, чтобы ховер не пропадал */
.header-nav-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 8px;
}

.header-nav-dropdown-link {
    display: flex;
    align-items: center;
}

.header-nav-caret {
    font-size: 11px;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.header-nav-dropdown:hover .header-nav-caret,
.header-nav-dropdown:focus-within .header-nav-caret {
    transform: rotate(180deg);
}

.header-nav-submenu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(13, 15, 26, 0.97);
    border: 1px solid rgba(191, 255, 0, 0.18);
    border-radius: 0;
    padding: 6px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.header-nav-dropdown:hover .header-nav-submenu,
.header-nav-dropdown:focus-within .header-nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-nav-submenu-link {
    display: block;
    white-space: nowrap;
    font-size: 15px;
    text-transform: uppercase;
}

/* ===== ЛОББИ: трёхуровневое подменю ===== */

/* Позиционировать дропдаун лобби к левому краю */
.header-nav-dropdown--lobby {
    margin-left: 0;
}

.header-nav-dropdown--lobby .header-nav-submenu {
    right: auto;
    left: 0;
    min-width: 240px;
}

/* Расширенное подменю второго уровня с колонками */
.header-nav-submenu--level2 {
    min-width: 280px;
    flex-direction: row;
    gap: 0;
    padding: 0;
}

/* Группа: название + items */
.submenu-group {
    flex: 1;
    padding: 6px;
}

/* Название группы (КРЕАТИВ / ГОРОД) — второй уровень */
.submenu-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    color: #bfff00 !important;
    text-decoration: none !important;
    padding: 8px 10px 6px 10px !important;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
}

.submenu-group-title:hover {
    background: rgba(191, 255, 0, 0.1) !important;
    color: #d4ff66 !important;
}

/* Стрелка вправо у названия группы */
.submenu-arrow {
    font-size: 14px;
    margin-left: 8px;
    opacity: 0.6;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.submenu-group:hover .submenu-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* Элементы третьего уровня */
.submenu-group-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 2px 0 0 0;
}

.submenu-group-items .header-nav-submenu-link {
    font-size: 13px !important;
    padding: 6px 10px !important;
    color: #8a8fa3 !important;
    border-radius: 3px;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.submenu-group-items .header-nav-submenu-link:hover {
    color: #ffffff !important;
    background: rgba(191, 255, 0, 0.08) !important;
}

/* Разделитель между КРЕАТИВ и ГОРОД */
.submenu-divider {
    width: 1px;
    background: rgba(191, 255, 0, 0.15);
    margin: 4px 0;
    align-self: stretch;
}
/* End */
/* /local/templates/front/styles.css?17899586647104 */
