/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

*,
::before,
::after {
	box-sizing: border-box;
}

html {
	/* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
	font-family:
		system-ui,
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
	line-height: 1.15; /* 1. Correct the line height in all browsers. */
	-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
	-moz-tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
	-o-tab-size: 4;
	   tab-size: 4; /* 3 */
}

/*
Sections
========
*/

body {
	margin: 0; /* Remove the margin in all browsers. */
}

/*
Grouping content
================
*/

/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/

hr {
	height: 0; /* 1 */
	color: inherit; /* 2 */
}

/*
Text-level semantics
====================
*/

/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[title] {
	-webkit-text-decoration: underline dotted;
	        text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/

b,
strong {
	font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
	font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
	font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
	text-transform: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
}

/**
Remove the inner border and padding in Firefox.
*/

::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
Restore the focus styles unset by the previous rule.
*/

:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/

:-moz-ui-invalid {
	box-shadow: none;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
	padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
	vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

summary {
	display: list-item;
}

:root {
    --light-primary: #fff;
    --accent-color: #5206bf;
    --accent-color-secondarily: #5319a4;
    --dark-primary: #000000;
    --gray-primary: #898585;
    --border-color: #ddd;
    --bg-td:#f4f4f4;
    --td-hover:#f9f9f9;
    --btn-color:#fcd804;
    --btn-hover:#d2d1db;
    --bg-gradient: linear-gradient(to bottom, #666666, #dddddd);
    
}

*:where( :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

/* Preferred box-sizing value */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Fix mobile Safari increase font-size on landscape mode */

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Reapply the pointer cursor for anchor tags */

a,
button {
    cursor: revert;
    text-decoration: none;
    
}

/* Remove list styles (bullets/numbers) */

ol,
ul,
menu {
    list-style: none;
}

/* For images to not be able to exceed their container */

img {
    max-inline-size: 100%;
    max-block-size: 100%;
}

input,
textarea {
    -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */

textarea {
    white-space: revert;
}

/* minimum style to allow to style meter element */

meter {
    -webkit-appearance: revert;
    -moz-appearance: revert;
         appearance: revert;
}

/* preformatted text - use only for this feature */

:where(pre) {
    all: revert;
    box-sizing: border-box;
}

/* reset default text opacity of input placeholder */

::-moz-placeholder {
    color: unset;
}

::placeholder {
    color: unset;
}

/* remove default dot (•) sign */

::marker {
    content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */

:where([hidden]) {
    display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */

:where([draggable="true"]) {
    -webkit-user-drag: element;
}

/* Revert Modal native behavior */

:where(dialog:modal) {
    all: revert;
    box-sizing: border-box;
}

* {
    scrollbar-width: none;       /* прячет вертикальную полосу */
    scrollbar-color: transparent transparent;
}

body{
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto, "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;;
    font-size: 17px;
    line-height: 20px;
    line-height: 1.5;
    box-sizing: border-box;
    overflow-x: hidden;
}

h1,h2{
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
}

h3{
    font-weight: 600;
    font-size: 20px;
    margin-top:15px;
    margin-bottom: 15px;
}

video{
    display: block;

    width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 15px auto 15px auto;
    max-width: 700px;
}

.section{
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-top{
    padding-top: 120px;
}

.hero-item-mob{
    width: 100%;
    margin: 5px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 15px 10px;
  background: linear-gradient(145deg, #f74b57, #e40310);
  border-radius: 0.75rem;
  transition: all 0.1s ease;
  max-width: 350px;
  height: 60px;
  color: var(--light-primary);
  margin: 17px auto;
}

.button:hover {
  background: linear-gradient(145deg, #e73844, #c7020f);
}

.button:active {
  letter-spacing: 0px;
  transform: skew(-10deg) translateY(6px); 
  background: linear-gradient(145deg, #c7020f, #a0020d); 
}

.btn-stake{
 max-width: 320px; 
 margin-bottom: 15px;
}

.img-box {
  width: 100%;
  height: auto; 
  overflow: hidden;
  margin: 0px auto 15px auto;
  
    & img {
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
         object-fit: cover;
      -o-object-position: center;
         object-position: center;
      display: block;
    }
}

.no-scroll {
    overflow: hidden;
  }

.hidden {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

strong{
  margin: 10px 0px;
  display: block;
}

.header {
    position: fixed;
    background-color: var(--light-primary);
    width: 100%;
   padding: 15px 20px 15px 1px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, .3);
  z-index: 998;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;

    @media(min-width:992px){
     padding: 0px 20px;
    }
}

.nav-box{
    display: flex;
    align-items: center;
    gap: 90px;
}

.nav-mob.is-visible {
    transform: translateY(0);
}

.nav-list {
    display: none;
 }

@media (min-width: 992px) {
    .nav-list {
       display: flex;
       gap: 60px;
    }
 }

.nav-item {
transition: all 0.3s ease;
position: relative;

    &:hover{
        color: var(--btn-color);
    }
}

.burger-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    top: 43px;
    right: 20px;


    @media (min-width:992px) {
        display: none;
    }
}

.top-line, .middle-line,.bottom-line {
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 15px;
    background-color: black;
}

.nav-mob {
    transform: translateY(-200%);
    background-color: var(--btn-color);
    color: var(--light-primary);
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-btn-close{
position: absolute;
top: 35px;
right: 35px;

}

.nav-list-mob {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--dark-primary);
    font-size: 24px;
    font-weight: 600;
}

.nav-link {
    text-transform: uppercase;
    font-weight: 600;
}

.nav-link.active {
    border-bottom: 2px solid var(--btn-color);
    color: var(--btn-color);
    
}

.nav-link-mob.active {
  border-bottom: 2px solid var(--bg-td);
  color: var(--bg-td);
  position: relative;
}

.flex-box{
    display: flex;
    gap: 20px;
    align-items: center;

    @media (max-width: 768px) {
        flex-direction: column;
        gap: 15px;
        
    }
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--light-primary);
}

.questions-item {
    border-radius: 25px;
    overflow: hidden;
}

.questions-content-box {
    background: linear-gradient(145deg, var(--accent-color), var(--accent-color-secondarily));
    padding: 12px 42px;
}

.questions-title {
    display: grid;
    grid-template-columns: 1fr 20px;
    cursor: pointer;
    align-items: center;
    font-size: 22px;
}

.icon {
    width: 30px;
    height: 25px;
    fill: var(--light-primary);
}

.questions-content {
    display: none;
}

@media (min-width:992px) {
    .hero-cover{
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
        }
        
        .hero-box {
            width: 50%;
        }
}

.hero-mob-text{
    font-weight: 600;
    margin-top: 10px;
    @media (min-width:768px) {
        display: none;
     }
}

.hero-list-mob {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;

    @media (min-width:768px) {
        display: none;
     }
}

.hero-text{
    font-weight: 600;
    margin-bottom: 15px;
    @media (max-width:768px) {
        display: none;
     } 
}

.hero-list {
  
    margin-top: 20px;

    @media (max-width:768px) {
       display: none;
    }
}

.hero-img-box{
    border-radius: 15px;
    overflow: hidden;
    margin-top: 15px;
    max-width: 300px;
    margin: 15px auto 0px auto;
    
    & img {
       width: 100%;
       display: block;
       margin: 0 auto;
    }

  }

.list {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 15px;
    padding: 20px 0px 0px 40px;
    margin-bottom: 15px;
}

.list-item{
    position: relative;
    padding: 10px 25px 10px 40px;
    border-radius: 10px;
    background: var(--btn-color);
    color: var(--dark-primary);

    &::before {
        content: attr(data-title);
        position: absolute;
        top: 50%;
        left: -20px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        font-weight: 700;
        font-size: 38px;
        background: linear-gradient(145deg, var(--accent-color), var(--accent-color-secondarily));
        border-radius: 50%;
        z-index: 2;
        color: var(--light-primary);
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2),
                    inset 0px -3px 6px rgba(0, 0, 0, 0.3),
                    inset 0px 3px 6px rgba(255, 255, 255, 0.3);
    }
}

.list-ol{
margin: 15px 0px; 
list-style-type: disc; 
padding-left: 20px;

& > li{
    margin-bottom: 10px;
}
}

table {
    text-indent: 0;
	border-color: inherit; 
    border-collapse: collapse;
    width: 100%; 
    margin-top: 15px;
     text-align: center; 
    vertical-align: middle;

    @media screen and (max-width: 768px) {
     font-size: 12px;
        
    }
}

th, td {
    padding: 12px; 
    text-align: left; 
    border-bottom: 1px solid var(--border-color);
    text-align: center; 
    vertical-align: middle;
}

th {
    background-color: var(--bg-td);
    font-weight: bold;
}

tbody tr:hover {
    background-color: var(--td-hover);
}

.hidden {
    display: none;
}

tbody tr>td:nth-child(odd) {
    background-color: var(--bg-td);
}

.table-p > th, td {

        padding: 5px; 
        font-size: 12px;
}

table.table-p th,
table.table-p td {
width: 20%;
}

@media screen and (max-width: 768px) {
    .table-p  th, td {

        font-size: 10px;
}
  
}
.footer{
    width: 100%;
    padding: 25px;
    text-align: center;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .3);
    background:var( --bg-gradient);
    color: var(--dark-primary);
}

.footer-text{
font-size: 12px;
}

.footer-payment-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.footer-payment-list {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}

/*  */
.footer-logo{
    margin-bottom: 25px;
}

.footer-social-list {
    display: flex;
    gap: 35px;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;

}

.social-link {
    display: block;
    transition: all 0.3s ease;
}

.footer-partners__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-links {
    margin-bottom: 35px;
    flex: 1;
}

.footer-links__group:not(:last-child) {
    margin-bottom: 35px;
}

.footer-links__group {
    display: flex;
    flex-direction: column;
    gap: 10px;

    & a{
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    & a:hover{
        color: var(--accent-color);
    }
}

@media screen and (min-width: 768px) {
    .footer-cover {
        display: flex;
        justify-content: space-between;
        align-items: center;
       
    }

    .social-link:hover{
       transform: scale(1.1);
    }
    
}

@media screen and (min-width: 992px) {
    .footer-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 70px;

    }
    
    .footer-links__group:not(:last-child) {
        margin-bottom: 0px;
    }
    
}

/* demo */
.iframe-bwb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #171515ff;
    margin-bottom: 15px;
}

.iframe-bwb__bg-image {
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(50%) blur(6px);
    background-image: url(./assets/main1_11zon.webp);

}

.iframe-bwb__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}

.iframe-bwb__button-box{
    position: absolute;
    top: 40%;
    left: 50%;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 15px;
}



.iframe-bwb__button {
    transform: translate(-50%, -50%);
    font-size: 1.1em;
    line-height: 48px;
    min-width: 250px;
    border: 0;
    margin: 0;
    box-shadow: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 2px;
    padding: 4px 10px;
    color: var(--dark-primary);
    background: #c2c0cf;;
    border-radius: 0.75rem;
    transition: all 0.1s ease;
  font-weight: 700;
}

.iframe-bwb__button:hover {
    background: var(--btn-hover);
  }

  .iframe-bwb__red{
    background: linear-gradient(145deg, #f7da57, #ffd000);
    transition: all 0.3s ease;
  }

  .iframe-bwb__red:hover{
    background: linear-gradient(145deg, #fded3f, #ffd000);
  }
  

  #game-container {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    height: 400px; 
    display: none; 

    margin-bottom: 15px; 
     background-image:url(./main1_11zon.webp); 
     background-position: center; 
     background-repeat: no-repeat; 
     background-size: cover;
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.stake-img{
    display: block;
    margin: 20px auto;
}

.stake-num{
    font-size: 18px;
    font-weight: 600;
    color: #ffcc29;
}

.stake-box-item{
    display: flex;
    gap: 5px;
}

/* vidio */
.main-icon-uoutube{
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 98px; 
    height: 68px; 
    background: url('./youtubelogo.svg') no-repeat center center; 
    background-size: contain;

    @media (min-width:768px) {
        width: 155px;
        height: 104px;
    }
}

.link {
  color: var(--btn-color);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: underline;
}

.link:hover{
    color: var(--accent-color);
    text-decoration: none;
}

/* news */

.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px auto 0px auto;
}

@media screen and (min-width: 600px) {
    .news-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-news{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius: 15px;
    background-color: #f3f2f7;
    transition: all 0.3s ease;
   
    &:hover{
        background-color: #e6e5ea;
        transform: translateY(-5px);
        box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    }
}

.img-news{
background-size: cover;
background-repeat: no-repeat;
height: 15.5rem;
border-radius: 15px;
width: 100%;

}

.label {
    background-color: #fff;
    color: #7a1dff;
    text-transform: uppercase;
    border-radius: .5rem;
    justify-content: center;
    align-items: center;
    min-height: 2.125rem;
    padding: .563rem .75rem;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1rem;
    display: inline-block;
    overflow: hidden;
}

.news-date{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #17161c;
}

.news-title{
    font-size: 1.333rem;
    line-height: 1.467rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ---news page--- */

.author-block{
    background-color: #f3f2f7;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.news-page-btn{
    margin-bottom: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    max-width: 130px;
    gap: 10px;
}

.news-page-btn:hover .icon-black,
.news-page-btn:focus .icon-black {
    fill: #7a1dff;
}

.news-page-btn:hover span,
.news-page-btn:focus span {
    color: #7a1dff;
}

.news-date-box{
    display: flex;
    align-items: center;
    gap: 10px;

    & p{
        font-size: 1.067rem;
        line-height: 1.6rem;
    }

}

.author{
font-size: 22px;
margin: 0;
}

.author-block__author-name{
    margin: 3px 0px;
}

.author-block__author{
    display: flex;
    align-items: center;
    gap: 25px;
}

.author-block__photo{
overflow: hidden;
border-radius: 50%;
}

.text-link {
    text-decoration:underline; 
    font-weight: 700;
    color: #7a1dff;
}

.text-link:hover,
.text-link:focus {
    color: #ad77f8;

}

.text-weight{
    font-weight: 700
}

@media (max-width: 600px) {
    .news-list.news-page-list {
      grid-template-columns: 1fr;
      grid-template-areas: 
        "item1"
        "item2"
        "item3";
    }
  }

@media screen and (min-width:600px) {
    .news-list.news-page-list {
        
        display: grid;
  grid-template-columns: 75% 25%;
  grid-template-rows: auto auto;
  grid-template-areas: 
    "item1 item1"
    "item2 item3";
  gap: 10px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
    } 

    .card-news.height{
        min-height: 490px;
    }

    .card-news.news-page{
        flex-direction: row;
    
        & .img-news {
            max-width: 276px;
        }
    }
}

.item1 {
    grid-area: item1;
  }
  
  .item2 {
    grid-area: item2;
  }
  
  .item3 {
    grid-area: item3;
  }

  .news-item.item3 {
    background-color: #ffcc29;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    display: flex
}

  .news-page-link{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 600;
    width: 100%;
    height: 80px;

    @media screen and (min-width:600px){
        height: 100%;
    }
  }

  .age-modal {
    display: none;
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1000; 
    justify-content: center; 
    align-items: center;
}

.age-modal-box {
    background: #fff; 
    padding: 40px 20px; 
    max-width: 400px; 
    text-align: center; 
    border-radius: 8px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.age-modal-text {
    color: var(--gray-primary);
    margin-bottom: 20px; 
    font-size: 14px;
}

.age-modal-btn {
    margin-right: 10px; 
    padding: 10px 30px;
    background-color: var(--btn-color);
    width: 230px;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;

    &:hover {
        background-color: var(--btn-hover);
        color: var(--light-primary);
    }
}

#btn-no{
    margin-bottom: 15px;
    background-color: var(--bg-td);

    &:hover{
        background-color: var(--gray-primary);
        color: var(--light-primary);
    }
}


.language-btn-open{
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.language-btn-open.dn{
    @media screen and (max-width: 991.9px){
        display: none;
        
    }
}

#language-btn-open-mob{
    position: absolute;
    top: 35px;
    left: 35px;
    color: var(--dark-primary);
}

  .language-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
  }
  
  .language-modal.open {
    opacity: 1;
    visibility: visible;
  }
  
  .language-modal-box {
    background: #fff;
    padding: 40px 20px 30px 20px;
    border-radius: 8px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 320px;

    @media ((min-width: 768px)){
        max-width: 420px;
        
    }
  }
  .language-modal.open .language-modal-box {
    transform: scale(1);
  }
  /* Стили для списка языков */
  .language-modal ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .language-modal li {
    margin: 5px;
  }
  .language-modal a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }

  .language-modal a:hover{
    transform: scale(1.1);
  }
  /* Стили для кнопки закрытия */
  .language-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

/* ================= */

.lang-switcher {
    position: relative;
    display: none;
  }

  @media screen and (min-width: 991.9px) {
    .lang-switcher {
        display: inline-block;
    }
    
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .lang-dropdown {
    position: absolute;  
    top: 100%;
    right: 0;              
    margin-top: 6px; 

    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    padding: 12px 22px;
    scrollbar-width: none; 
  }

    .lang-dropdown::-webkit-scrollbar {
        display: none; 
    }

    .lang-dropdown__title {
        margin: 8px 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

  .lang-section + .lang-section {
    margin-top: 12px;
  }

  .lang-section__title {
    margin: 8px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-primary);;
  }
  .lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .lang-item {
    cursor: pointer;
    margin: 4px 0;
    
  }
  .lang-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 6px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eaeaea;
  }
  .lang-link:hover {
    background: #f5f5f5;
  }

  .lang-link-header{
    border-bottom: 2px solid #eaeaea;
  }

  .lang-flag {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    flex-shrink: 0;
  }
  .lang-text {
    flex: 1;
  }

  .lang-text-bottom{
    font-size: 10px;
    color: var(--gray-primary);
  }

  .lang-check{
    margin-left: auto;
    display: none;
  }

  .lang-name {
    display: block;
    font-size: 15px;
    font-weight: 500;
  }
  .lang-subname {
    display: block;
    font-size: 13px;
    color: #666;
  }
  .lang-item--active .lang-link {
    background: #e6f0ff;
  }
  .lang-item--active .lang-link .lang-name {
    font-weight: 600;
  }
  .lang-item--active .lang-check {
    display: inline-block;
  }