* {
    box-sizing: border-box;
    transition: 0.4s ease all;
    margin: 0;
}
a{
    text-decoration: none;
}
a:hover {
    opacity: 0.8;
}
body {
    margin: 0;
    font-family: "Inter", sans-serif;
    line-height: 1.4;
    background: #113C44;
    color: white;
    font-size: 14px;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #FFD700;
}
h3{
    font-size: 23px;
}
p{
    font-weight: 300;

}

h1{
    font-size: 45px;
    margin-top: 0;
}
h2{
    font-size: 35px;
    text-transform: uppercase;
    text-align: center;
}
h3{
    padding-bottom: 30px;
}

img{
    display: block;
    width: 100%;
    height: auto;
}
.container {
    max-width: 1000px;
    margin: auto;
    padding: 0 10px;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
    display: none;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    color: white;
    z-index: 100;
    padding: 20px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.menu-items {
    order: 2;
    display: flex;
    gap: 52px;
}

.logo {
    order: 1;
}
.logo{
    max-width: 180px;
}

.menu-items li {
    list-style: none;
    font-size: 18px;
    text-transform: uppercase;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover {
    opacity: 0.7;
    transition: 1s;
}

.button {
    display: inline-block;
    padding: 10px 40px;
    font-weight: bold;
    background: #FFD700;
    color: black;
    margin-top: 30px;
    border-radius: 5px;
}

.col-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 30px 0;
}
.col{
    width: 48%;
}
.col-100{
width:100%;
}
.img-col{
    width: 48%;
}
.img-col img{
    border-radius: 10px;
}
.col p:not(:last-child), .contact-wrapper p:not(:last-child){
    padding-bottom: 15px;
}
.age{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #77C7CE;
    color: black;
}
.age-cont, .header-cont{
    width: 60%;
    max-width: 800px;
}
.age-cont{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 90%;
    padding: 30px 50px;
    border-radius: 15px;
    color: black;
}
.age-cont p{
    display: block;
    width: 87%;
}
.age-cont svg{
    display: block;
    width: 10%;
}
.footer-age{
    background: #FFD700;
    color:black;
}

.footer-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #FFD700;
    margin-bottom: 20px;
}
.footer-logo-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.footer-logo-wrapper img{
    max-height: 50px;
    width: auto;
}
.footer-logo-wrapper a{
    display: block;
}
.footer-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 30px;
}
.footer-links-wrapper{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.footer-links-wrapper a{
    color: white;
    text-decoration: none;
}


@media screen and (max-width: 1200px) {
    .menu-items li {
        font-size: 15px;
    }

    .menu-items {
        gap: 25px;
    }

    .logo img {
        max-width: 200px;
    }

    .navbar {
        padding: 8px 0;
    }
}


/*nav*/
@media (max-width: 830px) {
    .footer-logo-wrapper{
        flex-wrap: wrap;
        justify-content: center;
    }
    h2{
        font-size: 25px;
    }
    header{
        padding-bottom: 60px;
    }
    .logo img {
        max-width: 150px;
    }

    .navbar {
        opacity: 0.95;
        padding: 0;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }

    .navbar-container {
        display: block;
        position: relative;
        padding: 3px 0;
        height: 64px;
    }

    .navbar-container input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines {
        height: 28px;
        width: 35px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line {
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 10px;
        background: #ffffff;
    }

    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0 0;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar .menu-items {
        padding-top: 100px;
        background: #113C44;
        height: calc(100vh + 10px);
        max-width: 300px;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin: -10px 0 0 -40px;
        padding-left: 60px;
        transition: transform 0.5s ease-in-out;
        box-shadow: 5px 0 10px 0 #0b272c;
        overflow: scroll;
    }

    .navbar .menu-items li {
        margin-bottom: 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .logo {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
    }

    .navbar-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }

}


@media (max-width: 500px) {
    .navbar-container input[type="checkbox"]:checked ~ .logo {
        display: none;
    }
    #feedback {
        padding: 0 20px 71px;
    }
}
h1{
    padding-bottom: 20px;
}
h2{
    padding-bottom: 40px;
}
.header{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: url("../img/header-bg.webp") no-repeat center center fixed;
    background-size: cover;
    padding: 100px 0;
}
.header-cont{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
}
.main-button{
    margin: 20px;
    padding: 10px 50px;
    border-radius: 30px;
    color: black;
    font-weight: 500;
    background: linear-gradient(to right, #F6FE06, #FF8800);
}

.enter{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 10px 20px;
    background: url("../img/bg-2.png") no-repeat center center;
    background-size: cover;
    min-height: 80vh;
}
.enter-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.experience{
    padding: 40px 0;
}
.experience-wrapper{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.experience-item{
    text-align: center;
    border-radius: 10px;
    padding: 20px;
}

.experience-item h4{
    padding-bottom: 10px;
}
#contact{
    padding: 40px 10%;
}
.contact-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    text-align: center;
    border-radius: 7px;
    border: 5px solid #02390B;
    background: #224F22;
}

.contact-wrapper a{
    text-decoration: none;
    color: white;
}
#contacts{
    padding: 40px 10px;
}
.img-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}
.img-wrapper img{
    max-width: 140px;
}
.background-blue{
    background: #77C7CE;
    color: black;
}
@media (max-width: 830px) {
    header{
        padding: 0;
    }
    h1{
        font-size: 35px;
    }

    .col-wrapper, .experience-wrapper {
        flex-wrap: wrap;
    }

    .col, .experience-item, .age-cont, .header-cont {
        width: 100%;
    }
    .age{
        padding: 30px 10px;
    }
    .header-cont{
        padding: 10px;
    }
    .col-wrapper .col:not(:last-child){
        padding-bottom: 20px;
    }
}
.terms{
    padding: 40px 10px;
}
.terms a{
    text-decoration: underline;
    color: white;
}
header{
    padding-bottom: 80px;
}
h2{
    text-align: center;
}
body {
    background-color: #113C44;
    min-height: 100vh;
}
header{
    padding-bottom: 100px;
}
.game-container{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 10px;
}
.slot-machine {
    width: 100%;
    max-width: 900px;
    text-align: center;
    background: #002830;
    padding: 40px 30px;
    border-radius: 10px;
}

.grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;

}
.balance-wrapper{
    min-width: 100px;
    color: white;
}
.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: none;
    width: 19%;
}

.cell {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.cell img {
    max-width: 100%;
    max-height: 100%;
}
.info{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgb(255 255 255 / 15%);
    padding: 10px;
    border-radius: 10px;
    color: white;
}
.info-wrapper span{
    display: block;
    font-weight: bold;
    padding-top: 10px;
}
.decrease, .increase{
    padding: 10px;
    color: white;
    background: #0D1B2A;
    border-radius: 20px;
    border: 1px solid #FFD700;
}
.bet{
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    background: rgb(255 255 255 / 15%);
}
/* Анимация вращения колонок */
@keyframes spin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-300%);
    }
}

button.spin {
    background: #FFD700;
    color: black;
    font-size: 20px;
    font-weight: bold;
    border: none;
    padding: 20px 30px;
    border-radius: 50px;
    cursor: pointer;
}

.navbar-container .hamburger-lines .line{
    background: black;
}
.controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
}
.controls-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
@media (max-width: 473px) {
    .controls{
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .balance-wrapper, .controls-wrapper{
        width: 100%;
    }
    .controls-wrapper{
        justify-content: center;
    }
    button.spin{
        padding: 10px 43px;
    }
}

/*modal*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 300px;
    position: relative;
    color: black;
}

.modal .age-circle {
    background-color: #D50000;
    color: white;
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.modal h2 {
    font-size: 18px;
    padding-bottom: 10px;
    color: black;
}


.modal button {
    background-color: #FFD700;
    border: none;
    color: black;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.modal button:hover {
    background-color: #e0a800;
}

.background-blue{
background: #2D2016;
color: #E5DCD5;
}
.logo img{
width: 100px;
background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
}
/* Основная цветовая палитра */
body {
    background: #0F0F17;
    color: #C4C4D8;
    font-family: "Montserrat", sans-serif;
}

/* Заголовки */
h1, h2, h3, h4 {
    color: #7B1FA2;
    text-shadow: 0 0 10px #BD6EDB;
}

/* Навигация */
.navbar {
    background: rgba(15, 15, 23, 0.9);
}

.navbar a {
    color: #C4C4D8;
}

.navbar a:hover {
    color: #7B1FA2;
    opacity: 1;
}

.navbar-container .hamburger-lines .line {
    background: #C4C4D8;
}

/* Кнопка */
.button {
    background: #7B1FA2;
    color: #E1D9F0;
    box-shadow: 0 0 15px #BD6EDB;
    border: 1px solid #9C4DCC;
}

.button:hover {
    background: #5E1A76;
}

/* Главная секция */
.header {
    background: linear-gradient(rgba(15, 15, 23, 0.7), rgba(15, 15, 23, 0.9)), url("../img/header-bg.webp");
    min-height: 90vh;
}

.header-cont {
    color: #C4C4D8;
}

.main-button {
    background: linear-gradient(to right, #7B1FA2, #3F1052);
    color: #E1D9F0;
    box-shadow: 0 0 20px #BD6EDB;
}

/* Разделы */
.enter {
    background: linear-gradient(rgba(15, 15, 23, 0.8), rgba(15, 15, 23, 0.95)), url("../img/bg-2.png");
}

.experience-item {
    background: rgba(35, 35, 43, 0.6);
    border: 1px solid #3F1052;
    box-shadow: 0 0 10px rgba(189, 110, 219, 0.3);
}

.experience-item h4 {
    color: #BD6EDB;
}

/* Контакты */
.contact-wrapper {
    border: 5px solid #3F1052;
    background: #1A1A24;
}

.contact-wrapper a {
    color: #BD6EDB;
}

/* Возрастное ограничение */
.age {
    background: #1A1A24;
    color: #C4C4D8;
}

.age-cont {
    background: rgba(59, 35, 69, 0.7);
    border: 1px solid #7B1FA2;
}

/* Футер */
.footer-age {
    background: #3F1052;
    color: #C4C4D8;
}

.footer-logo {
    background: #3F1052;
}

.footer-links-wrapper a {
    color: #BD6EDB;
}

.footer-links-wrapper a:hover {
    color: #7B1FA2;
}

/* Слот-машина */
.slot-machine {
    background: #1A1A24;
    border: 1px solid #7B1FA2;
    box-shadow: 0 0 20px rgba(189, 110, 219, 0.3);
}

.grid {
    background: rgba(15, 15, 23, 0.8);
}

.info {
    background: rgba(35, 35, 43, 0.6);
}

.bet {
    background: rgba(35, 35, 43, 0.6);
}

.decrease, .increase {
    background: #3F1052;
    border: 1px solid #7B1FA2;
}

button.spin {
    background: linear-gradient(to right, #7B1FA2, #3F1052);
    color: #E1D9F0;
    box-shadow: 0 0 15px rgba(189, 110, 219, 0.5);
}

/* Модальное окно */
.modal {
    background: #1A1A24;
    color: #C4C4D8;
    border: 1px solid #7B1FA2;
}

.modal h2 {
    color: #BD6EDB;
}

.modal .age-circle {
    background-color: #7B1FA2;
    color: #E1D9F0;
}

.modal button {
    background-color: #7B1FA2;
    color: #E1D9F0;
}

.modal button:hover {
    background-color: #5E1A76;
}

/* Дополнительные классы */
.background-blue {
    background: #1A1A24;
    color: #C4C4D8;
}

.logo img {
    background: linear-gradient(135deg, #7B1FA2 0%, #3F1052 100%);
}
/* Основная цветовая палитра */
body {
    background: #0F0F17;
    color: #C4C4D8;
    font-family: "Montserrat", sans-serif;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(123, 31, 162, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 70% 60%, rgba(61, 15, 81, 0.1) 0%, transparent 30%);
}

/* Заголовки */
h1, h2, h3, h4 {
    color: #7B1FA2;
    text-shadow: 0 0 10px #BD6EDB, 0 0 20px rgba(123, 31, 162, 0.4);
}

h1 {
    animation: pulsate 3s infinite alternate;
}

@keyframes pulsate {
    0% { text-shadow: 0 0 10px #BD6EDB, 0 0 20px rgba(123, 31, 162, 0.4); }
    100% { text-shadow: 0 0 15px #BD6EDB, 0 0 30px rgba(123, 31, 162, 0.7), 0 0 40px rgba(189, 110, 219, 0.3); }
}

/* Навигация */
.navbar {
    background: rgba(15, 15, 23, 0.9);
}

.navbar a {
    color: #C4C4D8;
}

.navbar a:hover {
    color: #7B1FA2;
    opacity: 1;
}

.navbar-container .hamburger-lines .line {
    background: #C4C4D8;
}

/* Кнопка */
.button {
    background: #7B1FA2;
    color: #E1D9F0;
    box-shadow: 0 0 15px #BD6EDB;
    border: 1px solid #9C4DCC;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button:hover {
    background: #5E1A76;
    transform: translateY(-3px);
    box-shadow: 0 0 25px #BD6EDB;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(189, 110, 219, 0.3), transparent);
    transition: 0.7s;
    z-index: -1;
}

.button:hover::before {
    left: 100%;
}

/* Главная секция */
.header {
    background: linear-gradient(rgba(15, 15, 23, 0.7), rgba(15, 15, 23, 0.9)), url("../img/header-bg.webp");
    min-height: 90vh;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(123, 31, 162, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(61, 15, 81, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23BD6EDB' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.header-cont {
    color: #C4C4D8;
    position: relative;
    z-index: 2;
}

.main-button {
    background: linear-gradient(to right, #7B1FA2, #3F1052);
    color: #E1D9F0;
    box-shadow: 0 0 20px #BD6EDB;
}

/* Разделы */
.enter {
    background: linear-gradient(rgba(15, 15, 23, 0.8), rgba(15, 15, 23, 0.95)), url("../img/bg-2.png");
    position: relative;
    overflow: hidden;
}

.enter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(123, 31, 162, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 70% 80%, rgba(61, 15, 81, 0.15) 0%, transparent 25%);
    animation: fogEffect 15s infinite alternate;
    pointer-events: none;
}

@keyframes fogEffect {
    0% { opacity: 0.5; transform: translateX(-5px) translateY(0); }
    50% { opacity: 0.7; transform: translateX(0) translateY(-5px); }
    100% { opacity: 0.5; transform: translateX(5px) translateY(0); }
}

.experience-item {
    background: rgba(35, 35, 43, 0.6);
    border: 1px solid #3F1052;
    box-shadow: 0 0 10px rgba(189, 110, 219, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(189, 110, 219, 0.5);
    background: rgba(47, 47, 61, 0.7);
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(123, 31, 162, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.experience-item:hover::before {
    opacity: 1;
}

.experience-item h4 {
    color: #BD6EDB;
    position: relative;
}

.experience-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #BD6EDB, transparent);
    transition: width 0.4s ease;
}

.experience-item:hover h4::after {
    width: 50%;
}

/* Контакты */
.contact-wrapper {
    border: 5px solid #3F1052;
    background: #1A1A24;
}

.contact-wrapper a {
    color: #BD6EDB;
}

/* Возрастное ограничение */
.age {
    background: #1A1A24;
    color: #C4C4D8;
}

.age-cont {
    background: rgba(59, 35, 69, 0.7);
    border: 1px solid #7B1FA2;
}

/* Футер */
.footer-age {
    background: #3F1052;
    color: #C4C4D8;
}

.footer-logo {
    background: #3F1052;
}

.footer-links-wrapper a {
    color: #BD6EDB;
}

.footer-links-wrapper a:hover {
    color: #7B1FA2;
}

/* Слот-машина */
.slot-machine {
    background: #1A1A24;
    border: 1px solid #7B1FA2;
    box-shadow: 0 0 20px rgba(189, 110, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.slot-machine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background:
        radial-gradient(circle at center, rgba(123, 31, 162, 0.05) 0%, transparent 70%);
    transform: rotate(0deg);
    animation: rotateBackground 60s linear infinite;
    pointer-events: none;
}

@keyframes rotateBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.grid {
    background: rgba(15, 15, 23, 0.8);
}

.info {
    background: rgba(35, 35, 43, 0.6);
}

.bet {
    background: rgba(35, 35, 43, 0.6);
}

.decrease, .increase {
    background: #3F1052;
    border: 1px solid #7B1FA2;
}

button.spin {
    background: linear-gradient(to right, #7B1FA2, #3F1052);
    color: #E1D9F0;
    box-shadow: 0 0 15px rgba(189, 110, 219, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: pulseButton 3s infinite alternate;
}

@keyframes pulseButton {
    0% { box-shadow: 0 0 15px rgba(189, 110, 219, 0.5); }
    100% { box-shadow: 0 0 25px rgba(189, 110, 219, 0.8), 0 0 40px rgba(123, 31, 162, 0.4); }
}

button.spin::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(189, 110, 219, 0.3) 0%, transparent 70%);
    animation: rotateSpinButton 10s linear infinite;
    z-index: -1;
}

@keyframes rotateSpinButton {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Модальное окно */
.modal {
    background: #1A1A24;
    color: #C4C4D8;
    border: 1px solid #7B1FA2;
}

.modal h2 {
    color: #BD6EDB;
}

.modal .age-circle {
    background-color: #7B1FA2;
    color: #E1D9F0;
}

.modal button {
    background-color: #7B1FA2;
    color: #E1D9F0;
}

.modal button:hover {
    background-color: #5E1A76;
}

/* Дополнительные классы */
.background-blue {
    background: #1A1A24;
    color: #C4C4D8;
    position: relative;
    overflow: hidden;
}

.background-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%237B1FA2' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

.logo img {
    background: linear-gradient(135deg, #7B1FA2 0%, #3F1052 100%);
    filter: drop-shadow(0 0 8px rgba(189, 110, 219, 0.7));
    transition: all 0.4s ease;
}

.logo img:hover {
    filter: drop-shadow(0 0 12px rgba(189, 110, 219, 0.9));
    transform: scale(1.05);
}

/* Эффект наведения для навигации */
.menu-items li a {
    position: relative;
}

.menu-items li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, #7B1FA2, transparent);
    transition: width 0.4s ease;
}

.menu-items li a:hover::after {
    width: 100%;
}

/* Добавление тумана на фон страницы */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%237B1FA2' fill-opacity='0.02'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}