body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0f0f0f;
}

.promo-img img{
    max-width: 100%;
}

.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 20px 20px 0px;
    background-color: #1a1a1a;
    color: #fff;
        position: fixed; 
        top: 0; 
        left: 0;  
        width: 100%; 
        z-index: 1000; 
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

section{
    margin: 15px 20px;
    display: grid;
    justify-items: stretch;
    line-height: 1.6;
}

main{

    margin: 90px auto 50px;
    line-height: 1.6;
    display: grid;
    justify-content: center;
    max-width: 1200px;
}

.header .nav .menu-item{
    transition: transform 0.2s, background-color 0.3s;
    margin: 0;
}

.header .nav .menu-item:hover {
    transform: scale(1.1);
    /* background-color: #e0e0e0; */
}

.header .auth-buttons .login-btn{
    transition: transform 0.2s, background-color 0.3s;
    margin: 0;
}
.header .auth-buttons .login-btn:hover {
    transform: scale(1.1);
    /* background-color: #e0e0e0; */
}

.header .auth-buttons .register-btn{
    transition: transform 0.2s, background-color 0.3s;
}
.header .auth-buttons .register-btn:hover {
    transform: scale(1.1);
    /* background-color: #e0e0e0; */
}

.header .logo-icon {
    transform: scale(1.1);
    /* background-color: #e0e0e0; */
}
.header .logo-icon:hover {
    transform: scale(1.1);
    /* background-color: #e0e0e0; */
}

.bonus-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.bonus-button {
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    color: #fff;
    background: linear-gradient(45deg, #e5fb2b, #000000);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bonus-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-45deg);
    transition: all 0.5s ease;
    pointer-events: none;
}

.bonus-button:hover::before {
    left: 100%;
}



.bonus-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.bonus-button:active {
    transform: scale(0.95);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon img {
    width: 50px;
    height: 50px;
    margin-left: 35px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.nav ul li a:hover {
    color: #ffcc00;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-buttons .login-btn,
.auth-buttons .register-btn {
    padding: 5px 15px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 15px;
}

.auth-buttons .login-btn {
    background-color: #fff;
    color: #000;
}

.auth-buttons .register-btn {
    background-color: #ffcc00;
    color: #000;
}

.auth-buttons .login-btn:hover,
.auth-buttons .register-btn:hover {
    opacity: 0.8;
}

.auth-buttons a {
    color: black;
    text-decoration: none;
}

.menu {
    display: block;
    position: absolute;
    left: -300px;
    width: 300px;
    background-color: #1a1a1a;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
    border-radius: 8px;
    top: 84px;
    height: 60vh;
}

.menu.open {
    position: fixed;
    left: 3px;
    z-index: 1;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu ul li {
    padding: 20px;
    border-bottom: 1px solid #efdd02;
    background-color: #1a1a1a;
    color: #fff;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.menu ul li:hover {
    background-color: #333;
}

.menu ul li a {
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-header {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #ffcc00;
    text-align: center;
    border-bottom: 1px solid #ffcc00;
}

.styled-table {
    width: 80%;
    border-collapse: collapse;
    margin: 20px auto;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
}

.styled-table thead tr {
    background-color: #333;
    color: #fff;
    text-align: left;
    font-weight: bold;
}

.styled-table th, .styled-table td {
    border: 1px solid #ffcc00;
    padding: 12px 15px;
    text-align: left;
}

.styled-table tbody tr {
    border-bottom: 1px solid #ffcc00;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #111;
}

.styled-table tbody tr:hover {
    background-color: #222;
    color: #ffcc00;
    transition: 0.3s ease;
}

.styled-table td {
    font-weight: normal;
    vertical-align: middle;
}

.casino-footer {
    background-color: #1a1a1a;
    color: #ffcc00;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffcc00;
    position: relative;
    animation: title-slide-in 1s ease-in-out;
}

.footer-title:before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ffcc00;
    animation: underline-appear 1.5s infinite;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    margin-bottom: 10px;
}

.animated-link {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.animated-link:hover {
    color: #f90;
    transform: translateX(5px);
}

.download-button {
    display: inline-block;
    background-color: #f90;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.download-button:hover {
    background-color: #ffcc00;
    transform: scale(1.1);
}

.social-media {
    text-align: center;
    margin-top: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.instagram-icon {
    background-image: url('path/to/instagram-icon.png');
}

.telegram-icon {
    background-image: url('path/to/telegram-icon.png');
}

.youtube-icon {
    background-image: url('path/to/youtube-icon.png');
}

.icon:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #999;
}

.social-icons img{
    width: 50px;
}

.faq-container {
    max-width: 600px;
    margin: 50px auto;
}

.faq-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
}

.faq-item {
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    color: #000000; /* Оранжевый цвет для текста */
    background-color: #f90; /* Темный серо-зеленый для фона */
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #94d1c9; /* Цвет при наведении */
}

.faq-answer {
    color: white;
    padding: 0 15px; /* Уменьшенный padding по умолчанию */
    font-size: 16px;
    background-color: rgb(41, 33, 33);
    max-height: 0; 
    transition: max-height 0.6s ease, padding 0.6s ease;
}

/* Когда ответ активен */
.active .faq-answer {
    padding: 15px; /* Появление внутреннего отступа */
}



img{
    max-width: 100%;
    border-radius: 20px;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1.2em;
    color: #fff;
}

/* Стили для всех заголовков */
h1, h2, h3, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: #fff;
    margin-bottom: 0.5em;
    text-align: center;
}

/* Стили для списков */
ul, ol {
    margin: 0;
    padding-left: 20px;
    color: #fff;
}

li {
    margin-bottom: 0.5em;
    color: #fff;
}

@keyframes title-slide-in {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes underline-appear {
    from {
        width: 0;
    }
    to {
        width: 50px;
    }
}


@media (max-width: 900px) {
    .menu-header {
        font-size: 16px;
    }
    .menu ul li{
        padding: 16px;
        font-size: 13px;
    }
    .menu{
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .header{
        padding: 10px 20px 20px 0px;
    }
    .menu {
        width: 250px;
    }
}

@media (max-width: 700px){
    .header{
        justify-content: space-evenly;
    }

    .menu-toggle {
        padding: 0;
        width: 18px;
        height: 18px;
    }
    .nav ul li a {
        font-size: 13px;
        }
    .auth-buttons {
        gap: 6px;
    }
    .auth-buttons .login-btn, .auth-buttons .register-btn{
        padding: 3px 8px;
        font-size: 14px;
    }
    
}

@media (max-width: 650px){
    .faq-container{
        margin: 50px 20px;
    }
}

@media (max-width: 600px){
    .auth-buttons .login-btn, .auth-buttons .register-btn{
        padding: 6px 16px;
        font-size: 15px;
        gap: 10px;
    }
    .nav{
        display: none;
    }
    .header{
        justify-content: space-around;
    }
}

@media (max-width: 540px){
    .logo-icon img{
        margin-left: 15px;
    }
    .bonus-button {
        font-size: 18px;
        font-weight: bold;
        padding: 7px 20px;
    }
    .nav ul {
        gap: 20px;
    }

}

@media (max-width: 400px){
    .nav ul li a{
        width: 75px;
    }
    .nav {
        width: 127px;
    }
    .nav ul {
        gap: 2px;
    }
}

@media (max-width: 366px){
    .auth-buttons .login-btn, .auth-buttons .register-btn{
        padding: 3px 4px;
        font-size: 13px;
    }
    .logo-icon img {
        width: 40px;
        height: 40px;
    }
}