:root {
    --accent-blue: #00d2ff;
    --dark-bg: #050a12;
    --text-color: #DBEBFF;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.main-wrapper {
    background: url('/img/full-hd.png') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

.content {
    width: 80%;
    margin: 0 auto;
}

/* Верхняя панель */
.top-nav {
    display: flex;
    justify-content: space-between;
    padding-left: 13%;
    padding-right: 17%;
    padding-top: 15px;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0) 100%
    );
}

.social-links {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.social-links .social-links-item {
    width: 34px;
    height: 34px;
    background-color: black;
    border-radius: 50%;
    border: 1px solid #929292;
    margin-right: 5px;
    margin-left: 5px;
}


.social-links a:hover {
    border-color: #00d2ff;
}
.social-links img {
    width: 20px;
    margin: 0;
    transform: translateX(6px) translateY(3px);
}
.social-links a:hover img {
    width: 18px;
    transform: translateX(7px) translateY(3px);
}

/* Контентная зона */
.full-height {
    min-height: 100vh;
}

/* Логотип */
.main-logo {
    max-width: 380px;
    filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.5));
}

/* Маин кнопка */
.btn-start-game {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 180px;
    margin-top: 30px;
    background: url('/img/button-body.png') repeat-x center;
    background-size: contain;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    z-index: 1;
}

/* Левая часть кнопки */
.btn-start-game::before {
    content: "";
    position: absolute;
    left: -174px;
    top: 0;
    width: 100%;
    height: 60px;
    background: url('/img/left-button.png') no-repeat center right;
    background-size: contain;
    transition: all 0.3s
    ease;
}

/* Правая часть кнопки */
.btn-start-game::after {
    content: "";
    position: absolute;
    right: -174px;
    top: 0;
    width: 100%;
    height: 60px;
    background: url('/img/right-button.png') no-repeat center left;
    background-size: contain;
    transition: all 0.3s
    ease;
}

/* Ховер эффект — кнопка и края немного светятся или увеличиваются */
.btn-start-game:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
    color: #fff;
}

.btn-start-game:active {
    transform: scale(0.98);
}


/* Вторичная кнопка */

.btn-second {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Основное тело кнопки */
    height: 50px;
    padding: 0 15px;
    margin-top: 30px;

    background: url('/img/button-second-body.png') repeat-x center;
    background-size: contain;

    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 1.1rem;

    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    z-index: 1;
}

/* Левая часть кнопки */
.btn-second::before {
    content: "";
    position: absolute;
    left: -150px;
    top: 0;
    width: 100%;
    height: 50px;
    background: url('/img/left-button-second.png') no-repeat center right;
    background-size: contain;
    transition: all 0.3s
    ease;
}

/* Правая часть кнопки */
.btn-second::after {
    content: "";
    position: absolute;
    right: -150px;
    top: 0;
    width: 100%;
    height: 50px;
    background: url('/img/right-button-second.png') no-repeat center left;
    background-size: contain;
    transition: all 0.3s
    ease;
}

/* Ховер эффект — кнопка и края немного светятся или увеличиваются */
.btn-second:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
    color: #fff;
}

.btn-second:active {
    transform: scale(0.98);
}


.info-section {
    position: relative;
}

.info-section::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
    width: 100%;
    height: 40px;
    background: url('/img/frame-top.png') no-repeat center;
    background-size: contain;
    z-index: 2;
    transition: all 0.3s ease;
}

.info-section::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: 100%;
    height: 40px;
    background: url('/img/frame-bottom.png') no-repeat center;
    background-size: contain;
    transition: all 0.3s ease;
}


/* Карточка информации */
.info-card {
    background: rgba(5, 15, 30, 0.8);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 20px 40px 30px 40px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.return-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    color: var(--accent-blue);
    text-align: center;
    text-shadow: 0 0 15px var(--accent-blue);
    margin-bottom: 20px;
}

.features-list {
    font-size: 0.9rem;
    margin: 20px 0;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li::before {
    content: '◆';
    color: var(--accent-blue);
    margin-right: 10px;
}

.btn-more {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: white;
    padding: 10px 40px;
    text-transform: uppercase;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); /* Делаем скошенные края */
    transition: 0.3s;
}

.btn-more:hover {
    background: var(--accent-blue);
    box-shadow: 0 0 20px var(--accent-blue);
}

/* Персонаж */
.character-section {
    position: relative;
}

.character-img {
    height: 90vh;
    object-fit: contain;
    position: absolute;
    bottom: -50px;
    right: 0;
}

/* Рейты */
.rates-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 5px;
    max-width: 900px;
    margin: 0 auto;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
}

.rate-label {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.rate-value {
    color: #00CCFF; /* Тот самый ярко-голубой цвет с макета */
    font-size: 16px;
    font-weight: 800;
    text-align: right;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.4); /* Небольшое свечение цифр */
}

/* Стили для дополнительного текста в скобках */
.rate-value small {
    font-size: 12px;
    margin-left: 4px;
}

/* Общий контейнер для текста */
.server-info-content {
    color: #e0f2ff;
    font-family: 'Exo 2', sans-serif;
    max-width: 800px;
}


/* --- Стили Списка Особенностей --- */
.features-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Левая колонка чуть шире для длинных текстов */
    gap: 10px 30px;
    margin-bottom: 30px;
}

.feature-item {
    position: relative;
    padding-left: 25px;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #cbd5e0;
}

/* Иконка ромба */
.feature-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    background: url('/img/dot.png') no-repeat center;
    background-size: contain;
}

/* Разделитель */
.info-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(0,210,255,0) 0%, rgba(0,210,255,0.3) 50%, rgba(0,210,255,0) 100%);
    margin: 20px 0;
}


/* Обертка для дропдауна */
.lang-dropdown {
    width: 34px;
    height: 34px;
    background-color: black;
    border-radius: 50%;
    border: 1px solid #929292;
    margin-right: 5px;
    margin-left: 5px;
    position: relative;
}
.lang-dropdown:hover {
    border-color: #00d2ff;
}
.lang-dropdown img {
    width: 20px;
    margin: 0;
    transform: translateX(6px) translateY(3px);
}
.lang-dropdown .lang-current:hover img {
    width: 18px;
    transform: translateX(7px) translateY(3px);
}
.lang-dropdown .lang-current {
    width: 28px;
    height: 28px;
    display: block;
}

/* Скрытый контент */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -38%;
    z-index: 3;
    border-radius: 4px;
    padding: 5px 0;
}
.dropdown-content.active {
    display: block;
}

/* Ссылка внутри выпадающего списка */
.dropdown-content a {
    padding: 8px 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Эффект при наведении на пункт меню */
.dropdown-content a:hover {
    filter: contrast(1.2);
}

/* Скрываем планшетный блок по умолчанию */
.rates-container-tablet {
    display: none;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .main-wrapper {
        background: url(/img/mobile-bg.png) no-repeat center center;
        background-size: contain;
        min-height: 100vh;
        position: relative;
        background-position-y: 0;
    }

    .features-grid, .rates-grid {
        grid-template-columns: 1fr;
    }

    .rates-container {
        grid-template-columns: 1fr;
    }

    .main-logo {
        max-width: 240px;
    }

    .container-fluid {
        margin-top: 50px;
    }

    .top-nav {
        margin: 0;
        padding-left: 5%;
        padding-right: 5%;
    }

    .description {
        font-size: 14px;
    }

    .content {
        width: 95%;
        margin: 0 auto;
    }

    .info-section {
        margin-top: 40px;
    }

    .info-section::before,
    .info-section::after {
        display: none !important;
    }
}

/* Адаптив для планшетов */
@media (min-width: 769px) and (max-width: 1400px) {
    .rates-container {
        display: none !important;
    }

    /* Показываем и настраиваем планшетный блок */
    .rates-container-tablet {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 40px;
        max-width: 800px;
        margin: 0 auto;
    }

    .rate-column {
        display: flex;
        flex-direction: column;
    }

    /* Используем ваши существующие стили для элементов внутри */
    .rates-container-tablet .rate-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .rates-container-tablet .rate-label {
        color: #FFFFFF;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .rates-container-tablet .rate-value {
        color: #00CCFF;
        font-size: 16px;
        font-weight: 800;
        text-shadow: 0 0 10px rgba(0, 204, 255, 0.4);
    }

    .main-logo.img-fluid {
        width: 240px;
    }
}

@media (min-width: 769px) {
    body, html {
        overflow: hidden;
    }
}