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

}
html{
    scroll-behavior: smooth;
}
body {
    color: white;
    background: #3E3E40;
    font-size: 18px;
    font-family: Arial, Helvetica, Verdana, sans-serif;
    scroll-behavior: smooth;
}
ul,ol{
    margin-top: 20px;
    margin-bottom: 20px;
}
ul{
    margin-left: 15px;
}
ol{
    margin-left: 20px;  
}
.container {
    max-width: 1310px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 16px;
}

.header {
    background: #595959;
    position: fixed;
    width: 100%;
    top: 0;
    height: 70px;
    z-index: 1;
}
.header__logo{
    min-width: 33%;
}
.header__menu{
    min-width: 33%;
    display: flex;
    justify-content: center;
}
.header__logo img{
    height: 36px;
    cursor: pointer;
}
.header__btns{
    min-width: 33%;
}
@media only screen and (max-width: 768px) {
    .header__logo img{
        height: 28px;
    } 
    .main__title {
        font-size: 35px!important;
       text-align: center;
        
    }
    h1,h2,h3,h4,h5,h6{
        text-align: center;
    }
}
.header__menu-list li{
    cursor: pointer;
}

.header__menu-list {
    list-style: none;
    display: flex;
    gap: 40px;
}

.header__btns {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* gap: 15px; */
}

.main {
    margin-top: 70px;
    margin-bottom: 70px;
}

.main__title {
    font-size: 35px;
    margin: 15px 0;
    
}

.main .container {
    flex-direction: column;
}

.header__login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    white-space: nowrap;
    height: 42px;
    border-radius: 6px;
    font-size: 16px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    background: #404040;
    margin-right: 15px; 
}

@media only screen and (max-width: 768px) {
    .footer__content{
        flex-direction: column;
    }
    .footer__bottom-imgs{
        flex-wrap: wrap;
    }
    .header .container{
        width: initial;
    }
     .container{
        width: auto;

    }
    .pulse__btn.main__btn{
        height: 59px!important;
    }
    .header__menu-list{
        /* background: #595959; */
        display: flex;
        flex-direction: column;
        padding-left: 15px;
        border-top: 1px solid white;
        gap: 0;
    
    }
    .header__menu-list li{
        text-transform: uppercase;
        padding: 20px 0;
    }
    .footer__menu li {
        text-align: center;
    }
    .header__login {
        height: 38px;
        max-width: none;
        width: auto;
        padding: 0 10px;
        white-space: normal;
        text-align: center;
        margin-right: 5px;
    }
    .header__mobile-menu{
        margin-left: 5px!important;
    }
    .pulse__btn{
        height: 38px!important;
        max-width: none;
        width: auto;
        padding: 0 10px;
        white-space: normal;
        text-align: center;
    }
    /* html,body{
        overflow-x: hidden;
    } */
}
.pulse__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    white-space: nowrap;
    height: 42px;
    border-radius: 6px;
    font-size: 16px;
    color: #090909;
    text-decoration: none;
    cursor: pointer;
    -webkit-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
    background: #FFDA16;
    font-weight: 600;
}
/* .pulse__btn:hover{
    background:  #fff61e;
    transition: 0.3s ease-in-out;
} */

.main__banner{
    cursor: pointer;
}
.main__text{
    color: var(--text-color);
    font-size: 20px;
    line-height: 140%;
    margin: 15px 0px;
}
.main__btn{
    max-width: 300px;
    height: 60px;
    width: 100%;
    font-size: 18px;
}
.footer{
    background: #595959;
    padding: 20px 0;
}
.footer .container{
    flex-direction: column;
}
.footer__bottom-imgs{
    display: flex;
    list-style-type: none;
    gap: 20px;
    margin-bottom: 10px;
}
.footer__copyright{
    text-align: center;
    color: white;
    font-size: 13px;
}
.footer__content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 25px 0; 
}
.footer__menu ul{
    list-style: none;
}
.footer__logo img{
    height: 60px;
    cursor: pointer;
}
.footer__menu li{
    margin: 15px 0;
}

.accordion-container {
    width: 100%;
    margin-top: 35px;
  }
  
  .accordion-item {
    background-color: #FFFFFF; /* White background for items */
    border: 1px solid #E0E0E0; /* Light border */
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    height: fit-content;
  }
  
  .accordion-header {
    background-color: #595959; /* Soft purple */
    padding: 20px 32px;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    color: white;
    font-family: Arial, Helvetica, Verdana, sans-serif;  
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }
  
  .accordion-header:hover {
    /* background: #FFDA16; */
    color: black;
  }
  .accordion-header:hover .icon {
    color: white;
    opacity: 1;
  }
  
  .accordion-content {
    background-color: #595959; /* Very light grey for content */
    overflow: hidden;
    padding: 0 32px;
    max-height: 0;
    transition: max-height 0.3s ease;

  }
  
  .accordion-content p {
    margin: 15px 0;
    line-height: 1.5;
  }
  
  .icon {
    transition: transform 0.3s ease;
    font-weight: 100;
    opacity: 0.6;
    font-size: 33px;
  }
  
  .active .icon {
    transform: rotate(45deg);
  }
  
  .accordion-header.active {
    /* background: #FFDA16; */
    color: black;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .accordion-header.active .icon {
    opacity: 1;
  }
  .accordion-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 8px;
}
h2{
    margin: 15px 0;
    padding-bottom: 12px;
    position: relative;
    display: block;
    width: 100%;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
}
p{
    margin: 10px 0;
}
table{
    border: 1px solid white;
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
caption{
    padding: 15px;
    border: 1px solid white;
    display: table-caption;
    text-align: center;
}
td{
    border: 1px solid white;
    padding: 10px;
}
th{
    border: 1px solid white;
    padding: 10px;
}

/* Стили для десктопа */
/* .header__menu {
    display: block;
} */

.header__mobile-menu {
    display: none;
    cursor: pointer;
    position: relative;
    width: 24px;
    height: 24px;
    margin-left: 15px;
}

.burger, .burger:before, .burger:after {
    content: '';
    position: absolute;
    background-color: #333;
    width: 100%;
    height: 3px;
    transition: all 0.3s ease;
}

.burger {
    top: 50%;
    transform: translateY(-50%);
}

.burger:before {
    top: -8px;
}

.burger:after {
    top: 8px;
}

.burger.active {
    background-color: transparent;
}

.burger.active:before {
    top: 0;
    transform: rotate(45deg);
}

.burger.active:after {
    top: 0;
    transform: rotate(-45deg);
}

/* Скрываем меню на мобильных устройствах */
@media only screen and (max-width: 768px) {
    .header__menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    .footer__content{
       text-align: center;
       gap: 20px!important;
    }
    .header__menu.active {
        display: block;
    }

    .header__mobile-menu {
        display: block;
    }
    .main__banner img{
        max-width: 100%;
        object-fit: contain;
        height: auto;
    }
    .accordion-container {
        grid-template-columns: 1fr;
    }
}
.header__menu-list{
    margin: initial;
}
.main img{
    max-width: 100%;
    height: auto;
}
.footer__content{
    gap: 40px;
}
.main{
    overflow-x: hidden;
}
.secondary__text{
    max-width: 1310px;
    width: 100%;
    margin-bottom: 30px;
}
.table-wrap{
    overflow-x: auto;
}

.casinos__item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
    padding: 24px 32px;
    border-radius: 8px;
background: var(--Main-White, #FFF);
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 8px 16px rgba(0, 0, 0, 0.08);
}
.casinos__info{
    display: flex;
    align-items: center;
    gap: 24px;
    width: 40%;
}
.casinos__image img{
    display: flex;
    width: 140px;
    height: 92px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 8px;
    object-fit: cover;
        
}
.casinos__image{
    overflow: hidden;
}
.casinos__wrap{
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px auto;
}
.casinos__button button{
    display: flex;
    width: 200px;
    height: 52px;
    padding: 18px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    border: none;
    color: var(--Main-White, #FFF);
/* Mountserrat/Bold/18 */
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.casinos__button button:hover{
    filter: brightness(0.85);
}
.casinos__bonus{
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 133.333% */
    width: 40%;
}
.casinos__number{
    border-radius: 4px;
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* .top-casino .casinos__number::after {
    content: '⭐';
    position: absolute;
    top: -8px;
    right: -4px;
    font-size: 16px;
} */

/* Топ-3 казино - золотой ободок */
.casinos__item.top-casino {
    border: 2px solid #FFD700;
    box-shadow: 0px 4px 8px rgba(255, 215, 0, 0.4), 0px 8px 20px rgba(255, 215, 0, 0.25);
}
.casinos__title{
    color: var(--Main-Back, #000);
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}
.casinos__rait{
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}

.casinos__rait img {
    filter: brightness(0) saturate(100%) invert(76%) sepia(94%) saturate(1615%) hue-rotate(360deg) brightness(105%) contrast(103%);
}

.casinos__rating-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border-radius: 8px;
    border: 1px solid #EFF2F5;
    background: #F5F8FB;
    color: rgba(0, 0, 0, 0.40);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
 }

.casinos__rating-value {
    color: var(--Main-Back, #000);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

@media only screen and (max-width: 768px) {
    .casinos__item{
        flex-direction: column;
        padding: 16px;
        position: relative;
    }
    .casinos__info{
        width: 100%;
        align-items: flex-start;
    }
    .casinos__bonus{
        width: 100%;
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px; /* 125% */
    }
    .casinos__rait{
        justify-content: center;
    }
    .casinos{
        padding: 0 30px;
    }
    .casinos__number{
        position: absolute;
        width: 32px;
        height: 32px;
        top: 6px;
        left: 6px;
    }

    /* .top-casino .casinos__number::after {
        font-size: 14px;
        top: -3px;
        right: -3px;
    } */

    .casinos__image img {
        width: 100px;
        height: 64px;
    }
    .casinos__title{
        color: var(--Main-Back, #000);
        font-size: 18px;
        font-style: normal;
        font-weight: 900;
        line-height: normal;
    }
    .casinos__rait{
        justify-content: flex-start;
    }
    .casinos__button {
        width: 100%;
    }
    .casinos__button a{
        width: 100%;
    }
    .casinos__button button{
        width: 100%;
        font-size: 18px;
    }
    .form-wrap{
        flex-direction: column;
        margin: 0 0 0 0!important;
        gap: 5px!important;
    }
    .form-wrap .main__text{
        margin: 0;
    }
    .contact-form{
        max-width: 80%!important;
        margin:20px auto;
    }
}
.redirect-js{
    cursor: pointer;
}
.banner__info{
    display: flex;
    flex-direction: column;
    margin-top: 70px;
}
.secondary__text{
    margin:  30px 0;
}
.container.banner__info {
    flex-direction: column;
    margin-top: 70px;
}
.author{
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 15px 0 0 0;
    width: 100%;
}
.author img{
    height: 60px;
    width: 60px;
    border-radius: 50%;
}
.author__date{
    opacity: 0.6;
    font-style: italic;
}
.author__name{
    font-style: italic;
}
.author__info{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.author img img{
    object-fit: cover;
}
.form-wrap{
    display: flex;
    gap: 30px;
    margin: 25px 0;
}
    .contact-form {
      background: #fff;
      padding: 20px 30px;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      width: 100%;
      max-width: 400px;
    }
    .contact-form h2 {
      margin-bottom: 15px;
      color: #333;
      font-size: 1.5rem;
      text-align: center;
    }
    .contact-form label {
      display: block;
      margin-bottom: 5px;
      color: #555;
    }
    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 1rem;
      box-sizing: border-box;
    }
    .contact-form textarea {
      resize: vertical;
      height: 100px;
    }
    .contact-form button {
      background-color: #4CAF50;
      color: #fff;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 1rem;
      transition: background 0.3s ease;
      width: 100%;
    }
    .contact-form button:hover {
      background-color: #45a049;
    }