* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    background: #0A0915;
    padding: 8px 0;
    border-bottom: 1px solid rgba(41,40,54);
    position: fixed;
    width:  100%;
    z-index: 188;
    top: 0;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-container {
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 55px;
    width: 100%;
}

/* ---- NAV ---- */
nav { background: #0A0915; padding: 0; white-space: nowrap;}
ul { list-style: none; margin: 0; padding: 0;}
nav > ul > li { position: relative; display: inline-block;}
nav a {
display: block;
padding: 12px 18px;
color: #fff;
text-decoration: none;
background: #0A09152;
border-radius: 10px;
}
nav li:hover > a { background: #16142D; }


/* First-level dropdown */
nav li ul {
display: none;
position: absolute;
left: 0;
top: 100%;
background: #16142D;
min-width: 220px;
z-index: 1000;
border-radius: 10px;
border: 1px solid #292836;
}
nav li:hover > ul { display: block; }


/* Sub-level dropdown */
nav li ul li ul {
left: 100%;
top: 0;
max-height: 700px;
    overflow-y: auto;
}

nav li ul,
nav li ul li ul {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* - Скролл - */
.your-scroll::-webkit-scrollbar {
    width: 8px;
}

.your-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.your-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6A5CFF, #4E3EEA);
    border-radius: 8px;
}

.your-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7A6FFF, #5A48F0);
}

/* ---- RIGHT AREA ---- */

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ---- GIFT ----*/

.bonus-block {
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  background: #16142C;
  border-radius: 10px;
  padding: 12px;
  max-height: 50px;
  color: #0F0E20;
  display: flex;
  position: absolute;
  margin-top: 110px;
  margin-left: -90px;
  animation: shake 3s infinite;
}

.bonus-block.show {
  opacity: 1;
  pointer-events: auto;
}

.bonus-block2 {
    display: none;
}

.bonus-logo-header {
    max-height: 38px;
    max-width: 120px;
    background-size: contain;
    background-repeat: no-repeat;
}

.bonus-logo-header2 {
    max-height: 38px;
    max-width: 120px;
    background-size: contain;
    background-repeat: no-repeat;
}

.getbonus-h {
    margin: auto 10px;
    font-size: 0.8vw;
    color: white;
}

.getbonus-h2 {
    margin: auto 10px;
    font-size: 3vw;
}

@keyframes shake {
  0%, 66.66%, 100% { transform: translateX(0); } /* пауза 2 сек */
  10% { transform: translateX(-3px); }
  20% { transform: translateX(3px); }
  30% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  50% { transform: translateX(-3px); }
  60% { transform: translateX(3px); }
}

@keyframes glow {
  0%, 50%, 100% { filter: drop-shadow(0 0 0px #F1651C); }
  25%, 75% { filter: drop-shadow(0 0 10px #F1651C); }
}

.gift {
  animation: shake 3s infinite, glow 3s infinite;
  max-height: 35px;
}

.gift2 {
  animation: shake 3s infinite, glow 3s infinite;
  max-height: 35px;
}

.gift2 {
    display: none;
}

/* ---- КОНЕЦ GIFT! ----*/

/* ---- Language Switcher ---- */
.language-switcher-dropdown {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #0A0915;
    color: #fff;
    border: 1px solid #292836;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
}

.lang-btn .arrow {
    margin-left: 5px;
    font-size: 10px;
}

.lang-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #16142D;
    min-width: 180px;
    border-radius: 10px;
    border: 1px solid #292836;
    z-index: 1000;
    padding: 0;
    margin: 5px 0 0 0;
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}

/* Скролл */
.lang-list.your-scroll::-webkit-scrollbar {
    width: 8px;
}

.lang-list.your-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.lang-list.your-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6A5CFF, #4E3EEA);
    border-radius: 8px;
}

.lang-list.your-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7A6FFF, #5A48F0);
}

.lang-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.lang-list li:hover {
    background: #292836;
}

.lang-list img.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

/* Отображение выпадающего меню при открытии */
.lang-list.show {
    display: block;
}







.profile {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    text-decoration: none;
}

/* ---- BURGER ---- */

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {

    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 220px;
        flex-direction: column;
        background: #0d0a1e;
        padding: 20px;
        gap: 15px;
        display: none;
        border-left: 1px solid rgba(255,255,255,0.1);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav.active {
        display: flex;
    }

    .burger {
        display: flex;
    }
}

        /* ---- Language Switcher ---- */
.language-switcher-dropdown {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #0A0915;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
}

.lang-btn .arrow {
    margin-left: 5px;
    font-size: 10px;
}

.lang-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #16142D;
    border-radius: 10px;
    border: 1px solid #292836;
    z-index: 1000;
    padding: 0;
    margin: 5px 0 0 0;
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}

/* Скролл */
.lang-list.your-scroll::-webkit-scrollbar {
    width: 8px;
}

.lang-list.your-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.lang-list.your-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6A5CFF, #4E3EEA);
    border-radius: 8px;
}

.lang-list.your-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7A6FFF, #5A48F0);
}

.lang-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.lang-list li:hover {
    background: #292836;
}

.lang-list img.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

    /* --- Дропдаун --- */
#auth-dropdown {
  display: inline-block;
  position: relative;
}

#auth-btn {
  background-color: #FFFFFF;
  color: black;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

#auth-list {
  display: none;
  position: absolute;
  top: 120%; /* чтобы был ниже кнопки и не прятался */
  left: 0;
  background: #16142D;
  border-radius: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 140px;
  z-index: 9999; /* выше хедера */
}

#auth-list li {
  padding: 10px 20px;
  cursor: pointer;
  color: white;
  transition: background 0.2s;
}

#auth-list li:hover {
  background: #2a2546;
}

/* Отображение выпадающего меню при открытии */
.lang-list.show {
    display: block;
}

@media (max-width: 480px) {
    

    
    .logo img {
        max-width: 50vw;
    }
    
    .dropdown-list{
        display: none;
    }
    
    .mobile-menu{
        display: none;
    }
    
    .active-menu{
        display: block !important; 
    }
    
    .header-right {
        display: none;
    }
    
    .dropdown-list2 {
        display: flex;
        flex-direction: column;
        
    }
    
    .giftmob {
    display: block !important;
}

.show2 {
    display: block;
}
}

