/*Меню*/
:root {
    --clr-bg: rgba(10, 10, 30, 0.85);
    --clr-accent1: #ff007f;
    --clr-accent2: #00c8ff;
    --clr-text: #fff;
    --blur-bg: blur(8px);
    --transition: 0.3s ease;
    --font: 'Orbitron', sans-serif;
}

/* ====== BASE ====== */
.topbar {
    width: 100%;
    position: relative;
    font-family: var(--font);
    z-index: 1000;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    transition: background var(--transition), box-shadow var(--transition);
}
.topbar > .container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1920px;
	padding: 0 20px;
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 25px;
	position: absolute;
    right: 20px;
}

.topbar__menu {
    margin: 0 auto;
}

.topbar--fixed {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--clr-bg);
    backdrop-filter: var(--blur-bg);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

/* ====== MENU ====== */
.topbar__menu {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: var(--transition);
}

.topbar__menu li a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: .3px;
    text-transform: none;
    position: relative;
    transition: var(--transition);
    font-size: 20px;
    text-shadow: 0 0 6px rgba(0,200,255,0.25);
}

.topbar__menu li:last-child a::after {
    display: none !important;
}

.topbar__menu li:not(:last-child) a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-accent1), var(--clr-accent2));
    transition: width var(--transition);
}
.topbar__menu li a:hover::after {
    width: 100%;
}
/* hover для текста меню — ярче и немного сильнее свечение */
.topbar__menu li a:hover{
    color:#fff;
    text-shadow: 0 0 12px rgba(0,200,255,0.6);
}

/* ====== LANGUAGE SWITCHER ====== */
.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.language-switcher__btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.language-switcher__btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.language-switcher__btn:hover {
    border-color: var(--clr-accent2);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.6);
}

.language-switcher__btn.active {
    border-color: var(--clr-accent1);
    box-shadow: 0 0 15px rgba(255, 179, 0, 0.8);
}

.language-switcher__btn:active {
    transform: scale(0.95);
}

.topbar__socials {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ====== CTA ====== */
.topbar__cta .topbar__btn {
    background: #ffc530;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    color: #000;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
    transition: var(--transition);
    display: inline-block;
}

.topbar__cta .topbar__btn:hover {
    transform: scale(1.01);
}

/* ====== BURGER ====== */
.burger {
    position: absolute;
    right: 10px;
    top: 20px;
    width: 34px;
    height: 26px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-accent1), var(--clr-accent2));
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* ====== MOBILE MENU ====== */
@media (max-width: 960px) {
    .burger {
        display: flex;
    }

    .topbar > .container {
        flex-direction: column;
        gap: 15px;
		padding: 0 10px;
    }
    
    .topbar__right {
		position: static;         
        order: -1;
        justify-content: center;
        width: 100%;
    }

    .topbar__menu {
        margin: 0;
    }
	
    .topbar__socials {
        order: 1;
    }
    
    .language-switcher {
        order: 2;
    }

    .topbar__menu {
        position: fixed;
        flex-direction: column;
        align-items: center;
        top: 0;
        right: -100%;
        height: 100vh;
        background: rgba(10, 10, 40, 0.95);
        backdrop-filter: var(--blur-bg);
        transition: right 0.4s
        ease;
        box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.6);
        gap: 25px;
        padding: 45px 10px;
    }

    .topbar__menu.open {
        right: 0;
    }

    .topbar__menu li a {
        font-size: 18px;
    }

    .topbar__cta .topbar__btn {
        padding: 12px 28px;
    }
}
@media(max-width: 962px){
    .topbar--fixed {
        height: 65px;
    }
    .promo__logo img {
        width: 100%;
    }
    .text-big > span {
        font-size: 30px!important;;
    }
    .header__inner {
        padding: 50px 0 10px 0!important;
    }
}
@media(max-width: 500px){
    .text-big > span {
        font-size: 15px!important;
    }
}
.text-big span {
    display: inline-block;
    font-size: clamp(1.5rem, 4vw + 0.5rem, 6rem);
}
/*конец меню*/

/* === PROMO (заголовок под логотипом) === */
/* Поднимаем блок с надписью чуть выше */
.promo__title{
    margin-top: 140px;
}
.promo__btn{
    margin-top: 32px; /* кнопка чуть ниже текста */
}

/* Две строки промо-текста */
.promo-title{
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0;
  margin-bottom: 2px;
  letter-spacing: 2.2px;
  line-height: 1.02;       /* без свечения */
}
.promo-title .promo-subtitle{
  display:block;
  margin-top: 2px;
  font-size: 36px;
  font-weight: 900;        /* ближе к оригиналу */
  color: #fbbf24;          /* тот же жёлтый, что у кнопки */
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 4.0px;
}

.promo-text-main{
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0;
  margin-bottom: 25px;
  letter-spacing: 2.2px;
  line-height: 1.02;       /* без свечения */
}


/* === Description text (новый стиль для кратких описаний секций) === */
.section-text {
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  display:block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 5000;        /* ближе к оригиналу */
  color: #fbbf24;          /* тот же жёлтый, что у кнопки */
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 1.0px;
  text-align: center;
}

/* Универсальный стиль промо-шрифта для текстов новостей */
.promo-text {
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  font-weight: 300;        /* реально заметная жирность */
  color: #fbbf24;          /* тот же жёлтый, что в промо */
  letter-spacing: 1px;     /* как в промо */
  line-height: 1.4;        /* читаемость для многострочного текста */
  text-transform: none;    /* оставляем естественный регистр */
  font-size: 16px; /* ← вот здесь регулируешь размер */
}

/* Адаптив — чтобы на ноутбуках не было переполнения */
@media (max-width: 1399.98px){
  .promo-title{ font-size: 38px; }
  .promo-title .promo-subtitle{ font-size: 34px; }
}



/*Сервер*/
:root {
    --accent1: #ffb300;
    --accent2: #00eaff;
    --bg-box: rgba(0, 255, 120, 0.15);
    --bg-bar: rgba(0, 255, 255, 0.2);
    --text-main: #fff;
    --font: 'Orbitron', sans-serif;
}

/* ===== CARD ===== */
/* БАЗОВАЯ карточка (для блоков описаний и т.п.) */
.server-card {
    font-family: var(--font);
    border-radius: 12px;
    /* ширину НЕ фиксируем — чтобы на :hover могла расширяться */
    max-width: 340px; /* как было изначально у больших карточек */
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    backdrop-filter: blur(5px);
    border: 5px solid rgba(255, 255, 255, 0.66);
}

.server-card:hover {
    transform: translateY(-3px);
}

/* ===== TITLE ===== */
.server-header {
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    margin: 4px 4px 0px 4px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.server-title {
    /* компактнее заголовок + стиль как на эталоне */
    font-size: clamp(0.95rem, 0.6vw + 0.6rem, 1.1rem);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;                 /* SemiBold */
    text-transform: none !important;  /* убираем UPPERCASE */
    letter-spacing: .2px;
    color: #ffc85e;                   /* как на правом скрине */
    background: none;
    -webkit-text-fill-color: initial;
}

/* На всякий случай снимаем наследование капса от родителей */
.server-header, .server-title {
    text-transform: none !important;
}

.server-arrow {
    font-size: 1.2rem;
    color: var(--accent2);
    transition: transform 0.3s ease;
}
.online-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff99;
    box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.online-indicator.offline {
    background: #ff3b3b;
    box-shadow: 0 0 10px #ff3b3b, 0 0 20px #ff3b3b;
}

.online-indicator.maintenance {
    background: #ffaa00;
    box-shadow: 0 0 10px #ffaa00, 0 0 20px #ffaa00;
}
.server-content {
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    margin: 0px 4px 4px 4px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.server-card.open .server-content {
    max-height: 200px;
    opacity: 1;
}

/* МОДИФИКАТОР для карточки статуса сервера */
.server-card--status{
    width: 240px;
    max-width: 240px;
    border: 3px solid rgba(255, 255, 255, 0.66);
}

.server-card.open .server-arrow {
    transform: rotate(180deg);
}

/* ===== DETAILS ===== */
.server-online {
    margin-top: 10px;
    color: var(--text-main);
    font-size: clamp(0.85rem, 0.6vw + 0.4rem, 1.1rem);
    font-family: auto, serif;
    font-weight: 400;
    /* тонкая разделительная линия под заголовком */
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 6px;
    margin-top: 8px;
}

.server-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
	align-items: center;
}


/* --- Разделительная линия между заголовком и статистикой --- */
.server-separator {
    width: 100%;
    height: 1px;
    margin: 6px 0 10px 0;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 1px;
}

.server-bar div {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: var(--bg-bar);
    transition: background 0.3s ease, transform 0.3s ease;
    border: 2px solid #6ce7f9;
}

.server-bar div {
    /* фиксируем квадратную форму */
    width: 14px;
    aspect-ratio: 1 / 1;     /* всегда квадрат */
    height: auto;            /* высота от aspect-ratio */
    box-sizing: border-box;  /* бордер входит в размеры */
    border-radius: 3px;      /* лёгкое скругление как на макете */
    background: var(--bg-bar);
    transition: background 0.3s ease, transform 0.3s ease;
    border: 2px solid #6ce7f9;
    flex: 0 0 auto;          /* не растягивать и не сжимать */
}

/* --- голубая линия под квадратами --- */
.server-bar-line {
    width: 100%;
    height: 2px;
    margin-top: 6px;
    background: #6ce7f9;
    border-radius: 2px;
    opacity: 0.9;
}
.server-bar div.active {
    background: linear-gradient(90deg, var(--accent2));
}

.server-info {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 12px;
    letter-spacing: 1px;
}
.open .server-content {
    padding: 0 16px 12px;
}
@media (max-width: 1198px) {
    .server-card {
        z-index: 10;
    }
}
/*Конец сервер*/