body {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

/* Навигация */
.navbar {
    background-color: #1A1C23;
    font-size: 18px;
    font-weight: bold;
    color: white;
    padding: 15px 15%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.navbar h1 {
    white-space: nowrap;
    font-size: 32px;
    color: #99A2AC;
}

/* Меню */
.menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    height: 100%;
}

.menu-left {
    margin-left: 30px;
    display: flex;
    gap: 30px;
}

.menu-right {
    display: flex;
    gap: 30px;
    margin-left: auto;
    align-items: center;
}

/* Кнопка "Войти через Steam" */
.login-btn {
    display: flex;
    align-items: center;
    background-color: #1E90FF;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    transition: 0.3s;
}

.login-btn img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    filter: brightness(0) invert(1);
}

.login-btn:hover {
    background-color: rgba(30, 144, 255, 0.6);

    transition: 0.3s;
}

/* Стиль баланса */
.balance {
    font-size: 18px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Уведомления */
.notification {
    width: 28px;
    height: 28px;
}

/* Профиль */
.profile {
    font-size: 18px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Кнопка "Выйти" */
.logout-btn {
    padding: 8px 16px;
    background-color: #21222B;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.logout-btn:hover {
    background-color: #E74C3C;
    border-color: #E74C3C;
}

/* Скрытый контент */
.hidden {
    display: none !important;
}

.menu a {
    color: white;
    text-decoration: none;
}

.balance {
    background: linear-gradient(145deg, #21222B, #2B2D36); /* Градиент для объема */
    color: #FFF; /* Белый текст для контраста */
    font-weight: bold;
    font-size: 18px; /* Увеличенный шрифт */
    padding: 8px 30px; /* Больше отступов для удобства */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень для глубины */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

/* Анимация при наведении */
.balance:hover {
    transform: scale(1.05); /* Увеличение */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); /* Более глубокая тень */
}


.notification {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(10deg);
    margin-top: 10px;
    transition: 0.3s;
}

.notification:hover {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(180deg);
    transform: scale(1.2);
}

.profile {
    transition: transform 0.4s;
    color: #237BFF !important;
}


.profile:hover {
    transform: scale(1.1);
    color: white !important;
    transition: transform 0.4s;
}


.separator {
    width: 50px;
}


.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(90, 90, 90, 0.8);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
}

.popup-content {
    background-color: rgba(25, 25, 30, 0.8);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
}

.popup-content h2 {
    margin-top: 0;
}

.popup-content input[type="number"] {
    background-color: #21222B;
    color: white;
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}


.popup-content .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.popup-content .buttons .close-action {
    background-color: #262026;
    color: #dc3545;
    padding: 10px 20px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
}

.popup-content .buttons .close-action:hover {
    background-color: #442A32;
    color: #dc3545;
}

.popup-content .buttons button {
    padding: 10px 20px;
    background-color: #237BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-content .buttons button:hover {
    background-color: #1A5DC1;
}

.image-container {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.image-container img {
    transform: scale(0.6);
    border-radius: 5px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Kits */
.kits .image-container {
    background: linear-gradient(
        to top,
        rgba(123, 201, 82, 0.5) 0%,
        rgba(123, 201, 82, 0.3) 20%,
        rgba(0, 0, 0, 0) 90%
    );
    border-bottom: 4px solid rgba(123, 201, 82, 1);
}

/* Basic Buildings */
.basic-buildings .image-container {
    background: linear-gradient(
        to top,
        rgba(169, 169, 169, 0.5) 0%,
        rgba(169, 169, 169, 0.3) 20%,
        rgba(0, 0, 0, 0) 90%
    );
    border-bottom: 4px solid rgba(169, 169, 169, 1);
}

/* Weapons */
.weapons .image-container {
    background: linear-gradient(
        to top,
        rgba(235, 75, 75, 0.5) 0%,
        rgba(235, 75, 75, 0.3) 20%,
        rgba(0, 0, 0, 0) 90%
    );
    border-bottom: 4px solid rgba(235, 75, 75, 1);
}

/* Ammo */
.ammo .image-container {
    background: linear-gradient(
        to top,
        rgba(75, 75, 235, 0.5) 0%,
        rgba(75, 75, 235, 0.3) 20%,
        rgba(0, 0, 0, 0) 90%
    );
    border-bottom: 4px solid rgba(75, 75, 235, 1);
}

/* Resources */
.resources .image-container {
    background: linear-gradient(
        to top,
        rgba(0, 123, 255, 0.5) 0%,
        rgba(0, 123, 255, 0.3) 20%,
        rgba(0, 0, 0, 0) 90%
    );
    border-bottom: 4px solid rgba(0, 123, 255, 1);
}

/* Clothes */
.clothes .image-container {
    background: linear-gradient(
        to top,
        rgba(255, 193, 7, 0.5) 0%,
        rgba(255, 193, 7, 0.3) 20%,
        rgba(0, 0, 0, 0) 90%
    );
    border-bottom: 4px solid rgba(255, 193, 7, 1);
}

/* Tools */
.tools .image-container {
    background: linear-gradient(
        to top,
        rgba(0, 150, 136, 0.5) 0%,
        rgba(0, 150, 136, 0.3) 20%,
        rgba(0, 0, 0, 0) 90%
    );
    border-bottom: 4px solid rgba(0, 150, 136, 1);
}

/* Medicines */
.medicines .image-container {
    background: linear-gradient(
        to top,
        rgba(34, 177, 76, 0.5) 0%,
        rgba(34, 177, 76, 0.3) 20%,
        rgba(0, 0, 0, 0) 90%
    );
    border-bottom: 4px solid rgba(34, 177, 76, 1);
}

/* Food */
.eat .image-container {
    background: linear-gradient(
        to top,
        rgba(255, 140, 0, 0.5) 0%,
        rgba(255, 140, 0, 0.3) 20%,
        rgba(0, 0, 0, 0) 90%
    );
    border-bottom: 4px solid rgba(255, 140, 0, 1);
}

/* Other */
.other .image-container {
    background: linear-gradient(
        to top,
        rgba(128, 128, 128, 0.5) 0%,
        rgba(128, 128, 128, 0.3) 20%,
        rgba(0, 0, 0, 0) 90%
    );
    border-bottom: 4px solid rgba(128, 128, 128, 1);
}



.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #1B1D24;
    border-radius: 10px;
    margin: 10px auto;
    max-width: 1540px;
}

/* Контейнер для логотипа и названия */
.title-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Логотип */
.logo {
    height: 60px;
    width: auto;
}

/* Название проекта */
.project-title {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.project-title br {
    display: none;
}

/* Контейнер для иконок соцсетей */
.social-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    transform: none !important;
    transition: none !important;
}

/* Каждая ссылка с иконкой */
.social-buttons a {
    display: inline-block;
    transition: transform 0.2s ease !important;
    transform: none !important;
    line-height: 0;
    border: none;
    outline: none;
}

/* Эффект при наведении ТОЛЬКО на текущую иконку */
.social-buttons a:hover {
    transform: scale(1.2) !important;
}

/* Сами иконки */
.social-buttons img {
    width: 32px;
    height: 32px;
    display: block;
    border: none;
    outline: none;
}

/* Убираем возможные глобальные эффекты наведения */
.social-buttons:hover {
    transform: none !important;
}

.title-logo-container {
    padding-left: 50px;
    display: flex;
    align-items: center;
    text-align: left;
}

.logo {
    max-height: 100px;
    margin-right: 10px;
    width: auto;
}

.project-title {
    font-size: 44px;
    margin: 0;
    line-height: 1.2;
    color: #FFFFFF;
}

.social-buttons {
    display: flex;
    align-items: center;
    transition: transform 0.4s;
}

.social-buttons:hover {
    transform: scale(1.1);
    color: #237BFF;
    transition: transform 0.4s;
}

.social-buttons a {
    margin: 0 15px;
}

.social-buttons img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.bonuses {
    padding-right: 50px;
}
.bonuses p {
    display: block;
    text-align: right;
    font-weight: bold;
    font-size: 26px;
    color: #FFFFFF;
}


.main-layout {
    padding: 20px;
    background-color: #1B1D24;
    border-radius: 10px;
    margin: 10px auto;
    max-width: 1500px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.sidebar-left {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    flex-shrink: 0;
}


.sidebar-block {
    background-color: #22242D;
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    flex: 1;
}

.centered {
    text-align: center;
    font-size: 24px !important;
    color: #99A2AC;
}

.monitoring .progress-bar {
    width: 100%;
    background-color: #1B1D24;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
    position: relative;
}

.monitoring .progress-bar .progress {
    height: 25px;
    background-color: #4caf50;
    color: white;
    border-radius: 5px;
    width: 0;
    transition: width 0.4s;
}

.monitoring .progress-bar::before {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    pointer-events: none;
}

.monitoring .play-button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 18px;
}

.monitoring .play-button:hover {
    background-color: #0056b3;
}

.statistics .statistics-item {
    font-size: 17px;
    cursor: pointer;
    margin-bottom: 10px;
}

.statistics .statistics-item .info {
    font-size: 16px;
    display: none;
    border-radius: 10px;
    padding: 10px;
    background-color: rgba(25, 25, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


.statistics .details-button {
    width: 100%;
    padding: 10px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
}

.statistics .details-button:hover {
    background-color: #0074F0;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.teams .command {
    background-color: #15171C;
    color: #9EA7B1;
    padding: 3px 6px;
    border-radius: 5px;
    font-weight: bold;
}



.container {
    padding-right: 10px;

    flex: 1;
    margin: 10px;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}

.filter-search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.filter-selection button {
    width: 150px;
    padding: 10px 15px;
    background-color: #237BFF;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
}


.filter-selection button:hover {
    background-color: #1F6DE1;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.search-bar {
    display: flex;
    align-items: center;
    border: none;
    flex-grow: 1;
    margin-left: 20px;

}

.search-bar input {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    border-radius: 20px;
    background-color: #22242D;
    box-sizing: border-box;
    color: white;
}



.sort-button {
    padding: 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin-left: 5px;
    transition: transform 0.5s;
}

.sort-button img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    transition: transform 0.5s;
}

.sort-button:hover {
    transform: scale(1.2);
}

.sort-button:active {
    transform: rotate(180deg);

    transition: background-color 0.5s;
}


/* Базовый стиль ссылок */
.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-align: left;
    border-radius: 5px;
    width: auto;
    margin-bottom: 5px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, border-bottom 0.3s;
    border-bottom: 4px solid transparent;
}


/* Цветовые стили для категорий */
.kits-link {
    border-left: 4px solid rgba(123, 201, 82, 1);
}

.basic-buildings-link {
    border-left: 4px solid rgba(245, 245, 220, 1);
}

.weapons-link {
    border-left: 4px solid rgba(235, 75, 75, 1);
}

.ammo-link {
    border-left: 4px solid rgba(75, 75, 235, 1);
}

.resources-link {
    border-left: 4px solid rgba(0, 123, 255, 1);
}

.clothes-link {
    border-left: 4px solid rgba(255, 193, 7, 1);
}

.tools-link {
    border-left: 4px solid rgba(0, 150, 136, 1);
}

.medicines-link {
    border-left: 4px solid rgba(34, 177, 76, 1);
}

.eat-link {
    border-left: 4px solid rgba(255, 140, 0, 1);
}

.other-link {
    border-left: 4px solid rgba(128, 128, 128, 1);
}

/* Наведение */
.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1); /* Лёгкое затемнение */
}

.dropdown-content {
    margin-top: 10px;
    margin-left: 5px;
    display: none;
    position: absolute;
    background: rgba(21, 23, 28, 1);
    min-width: 150px;
    z-index: 1;
    border-radius: 12px;
    padding: 10px 10px;
}


.dropdown-content a:hover {
    background-color: #17263F;
}

.show {
    display: block;
}


.products {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.product {
    background-color: #21222B;
    margin: 10px 10px;
    padding-top: 30px;
    border-radius: 10px;
    box-shadow: 0 0 0 2px rgba(21, 23, 28, 0.7);
    text-align: center;
    position: relative;
    transition: transform 0.4s;
}

.product:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.4s;
}

.item-name {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}


.product:hover .item-name {
    opacity: 1;
}


.product .price {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    max-width: calc(100% - 50px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product h2, .product p {
    margin: 10px 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: rgba(25, 25, 30, 0.8);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 2% auto;
    border: 3px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
    border-radius: 10px;
    max-height: 80vh;
    overflow-y: scroll;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.close {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}
.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal img {
    transform: scale(0.6);
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.quantity-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.quantity-selector button {
    width: 30px;
    height: 30px;
    font-size: 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 0 5px;
}

.quantity-selector input {
    text-align: center;
    width: 60px;
    height: 30px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 0 5px;
}

.total-price {
    font-size: 16px;
    margin-top: 10px;
    display: block;
}

.buy {
    margin-top: 20px;
    padding: 15px 30px;
    background-color: rgba(90, 90, 90, 0.8);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 20px;
}
.buy:hover {
    background-color: rgba(120, 120, 120, 0.8);
    transform: scale(1.1);
    transition: 0.5s;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


.menu-icon {
    display: none;
}

.footer {
    color: white;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    background-color: #1B1D24;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 1500px;
}

.footer-column {
    padding-left: 30px;
    flex: 1 1 20%;

}

.footer-column h4 {
    color: #9EA7B1;
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #237bff;
    text-decoration: none;
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #3a3a3a;
    width: 100%;
}

.footer-legal {
    padding-left: 30px;
    display: flex;
    align-items: center;
}

.footer-legal p {
    color: white;
}

.footer-logo {
    width: 30px;
    margin-right: 10px;
}

.footer-policy {
    padding-right: 30px;
    text-align: right;
}

.footer-policy a {
    color: #9ea7b1;
    text-decoration: none;
    margin-left: 10px;
}

.footer-policy a:hover {
    color: #237bff;
    text-decoration: none;
}

.footer-column.follow-us ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.footer-column.follow-us ul li {
    margin-right: 10px;
}

.footer-column.follow-us ul li img {
    width: 26px;
    height: 26px;
    filter: invert(100%);
}




/*
Profile
*/
.profile-container {
    display: flex;
    color: #fff;
    margin: 20px;
    overflow: hidden;
    gap: 20px;
    box-sizing: border-box;
    width: 100%;
}


.profile-sidebar {
    width: 250px;
    background-color: #22242D;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
}

.profile-avatar img {
    width: 200px;
    height: 200px;
    border-radius: 20%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s;
}
.profile-avatar img:hover {
    transform: scale(1.05);
}

.profile-username {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}
.profile-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-item {
    width: 80%;
    margin-bottom: 10px;
}

.nav-item a {
    display: block;
    text-decoration: none;
    color: #fff;
    background: #15171C;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    transition: background 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.nav-item a:hover {
    background: #1E2026;
}

.logout-btn {
    margin-top: 20px; /* Отступ сверху для разделения от остальных кнопок */
    display: block;
    text-decoration: none;
    color: #fff;
    background: #E53935;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    width: 80%; /* Совпадает с шириной других кнопок */
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #D32F2F;
}


 /* правая сторона*/
.profile-content {
    text-align: center;
    flex: 1;
    background-color: #22242D;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
}


.profile-content h2 {
    margin-top: 0;
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
}

.profile-info {
    background-color: #15171C;
    padding: 20px;
    border-radius: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    color: #fff;
    /* Убираем нижний отступ */
    margin-bottom: 0;
}

.info-row:not(:last-child) {
    border-bottom: 2px solid #1E2026;
}


.info-label {
    font-weight: bold;
    white-space: nowrap;
}

.info-value {
    color: #E53935;
}


.promo-row {
    width: 100%;
    margin-top: 20px;
    font-size: 18px;
}

.promo-input {
    display: flex;
    margin-top: 10px;
    width: 100%;
    padding-left: 20px;
}

.promo-input input {
    background-color: #1E2026;
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 3px 0 0 3px;
    flex: 1;
    font-size: 16px;
}

.promo-input input:focus {
    outline: none;
}

.apply-btn {
    background-color: #E53935;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
}

.apply-btn:hover {
    background-color: #D32F2F;
}

.connect-btn {
    background-color: #007BFF;
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-left: 10px;
}

.connect-btn:hover {
    background-color: #D32F2F;
}

/* DEPOSITS */
.history-container {
    background-color: #15171C;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    box-sizing: border-box;
}

.history-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.history-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 15px 10px;
    color: #fff;
    box-sizing: border-box;
}

.history-row.header {
    background-color: #22242D;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #1E2026;
}

.history-row:not(.header) {
    background-color: #1E2026;
    border-bottom: 2px solid #22242D;
}

.history-row:last-child:not(.header) {
    border-bottom: none;
}

.history-cell {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-btn {
    background-color: #E53935;
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.page-btn:hover {
    background-color: #D32F2F;
}

.page-info {
    color: #fff;
}


/* USER_STAT */
.stats-container {
    background-color: #15171C;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-block {
    background-color: #1E2026;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
}

.stats-block h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #fff;
    text-align: left;
    font-weight: bold; /* Заголовки остаются жирными */
}

.stats-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    color: #fff;
    border-bottom: 1px solid #22242D;
    box-sizing: border-box;
}

.stats-row:last-child {
    border-bottom: none;
}

.stats-label {
    font-weight: normal; /* Лейблы теперь без жирности */
    color: #fff;
}

.stats-value {
    color: #E53935;
}


/* Страница "Сначала войдите" */
.login-required-container {
    color: #fff;
    text-align: center;
    max-width: 500px;
    margin: 100px auto;
    background-color: #1C1E24;
    padding: 20px;
    border-radius: 10px;
}

.login-required-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
}





/*  MEDIA   */
@media (max-width: 1000px) {
    .menu {
        display: none !important;
    }
    .menu-icon {
        display: block !important;
    }
    .side-menu {
        padding-top: 60px;
        width: 200px;
        transition: 0.5s;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100%;
        background-color: rgba(25, 25, 30, 0.8);
        color: white;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1;
        overflow-x: hidden;
    }
    .side-menu a {
        padding: 10px 15px;
        text-decoration: none;
        font-size: 18px;
        color: white;
        display: block;
        transition: 0.3s;
    }
    .side-menu a:hover {
        color: #f1f1f1;
        transition: 0.5s;
    }
    .side-menu .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
    }
    .header {
        flex-direction: column;
        align-items: center;
        margin-left: 10px;
    }
    .title-logo-container {
        margin-left: -40px;
        width: 100%;
        display: flex; /* Включаем Flexbox */
        justify-content: center; /* Центрируем по горизонтали */
        align-items: center; /* Центрируем по вертикали (если нужно) */
        position: relative; /* Для позиционирования бонусов */
    }
    .project-title {
        font-size: 24px;
        margin-left: 10px;
    }
    .logo {
        max-height: 50px;
    }
    .bonuses {
         display: none; /* Полностью скрываем блок бонусов */
    }

    .social-buttons a {
        margin: 10px;
    }

    .social-buttons img {
    margin-left: 5px;
    width: 40px;
    height: 40px;
    }

    .sidebar-left {
    display: none;
    padding-right: 50px;
    }

    .container {
    padding: 20px 5%;
    background-color: #1B1D24;
    border-radius: 10px;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    }
    .main-layout {
    padding: 0;
    background-color:
    transparent;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    max-width: none;
    display: block;
    }

    .products {
        grid-template-columns: repeat(3, 1fr);
    }

    .product .price {
        font-size: 0.8rem;
        padding: 0.4em 0.8em;
    }


}

@media (max-width: 600px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
    .product .price {
        font-size: 0.7rem;
        padding: 0.3em 0.6em;
    }
}

@media (max-width: 300px) {
    .products {
        grid-template-columns: repeat(1, 1fr);
    }
    .product .price {
        font-size: 0.7rem;
        padding: 0.3em 0.6em;
    }
}

.snowflake {
    position: absolute;
    top: -50px; /* Начальная позиция */
    color: #fff; /* Цвет снежинки */
    user-select: none; /* Убираем выделение */
    pointer-events: none; /* Снежинки нельзя кликнуть */
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
}

/* Анимация падения */
@keyframes snowflakes-fall {
    0% {
        top: -50px;
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0; /* Постепенное исчезновение */
    }
}

@keyframes snowflakes-shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(10px); }
    50% { transform: translateX(20px); }
    75% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}

