* {
    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%);
}
/* Основная цветовая палитра восточного базара */
:root {
    --primary-dark: #5D3A1A;    /* Темное дерево базарных прилавков */
    --primary-light: #E8C39E;   /* Песочный цвет */
    --accent-gold: #D4AF37;     /* Золото специй */
    --accent-red: #9D2933;      /* Насыщенный красный (восточные ковры) */
    --accent-turquoise: #2A8580; /* Бирюзовый (традиционная керамика) */
    --text-light: #F5EFE7;      /* Светлый текст */
    --text-dark: #2D1E0F;       /* Темный текст */
    --ambient-dark: #1E120B;    /* Темный фон (тени базарных навесов) */
}

/* Основные стили */
body {
    background: var(--primary-dark);
    color: var(--text-light);
    font-family: "Montserrat", sans-serif;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
    color: var(--accent-gold);
    text-transform: uppercase;
}

/* Навигация */
.navbar {
    background: var(--ambient-dark);
}

.navbar a {
    color: var(--text-light);
}

.navbar-container .hamburger-lines .line {
    background: var(--text-light);
}

.navbar .menu-items {
    background: var(--ambient-dark);
    box-shadow: 5px 0 10px 0 rgba(30, 18, 11, 0.8);
}

/* Кнопки */
.button, button.spin {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B58C30 100%);
    color: var(--text-dark);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.main-button {
    background: linear-gradient(to right, var(--accent-gold), var(--accent-red));
    color: var(--text-dark);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.decrease, .increase {
    background: var(--ambient-dark);
    border: 1px solid var(--accent-gold);
    color: var(--text-light);
}


.header-cont {
    background: rgba(29, 18, 11, 0.7);
    border-radius: 10px;
    padding: 40px;
    border: 2px solid var(--accent-gold);
}

/* Секции */
.enter {
    background: url("../img/eastern-pattern-bg.jpg") no-repeat center center;
    background-size: cover;
}

.enter-wrapper {
    background: rgba(29, 18, 11, 0.8);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--accent-gold);
}

.experience-item {
    background: linear-gradient(145deg, rgba(93, 58, 26, 0.8) 0%, rgba(45, 30, 15, 0.95) 100%);
    border-left: 3px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-wrapper {
    background: var(--ambient-dark);
    border: 3px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.age {
    background: var(--primary-dark);
}

.age-cont {
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid var(--accent-gold);
}

.background-blue {
    background: var(--primary-dark);
    color: var(--text-light);
}

/* Игровой автомат */
.slot-machine {
    background: linear-gradient(145deg, rgba(43, 28, 14, 0.9) 0%, rgba(29, 18, 11, 0.95) 100%);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.info {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-gold);
}

.bet {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-gold);
}

.controls {
    background: linear-gradient(145deg, rgba(93, 58, 26, 0.4) 0%, rgba(45, 30, 15, 0.6) 100%);
    border: 1px solid var(--accent-gold);
}

/* Лого */
.logo img {
    background: linear-gradient(135deg, var(--accent-red) 0%, #7A1E1D 100%);
    border-radius: 5px;
}

.footer-logo {
    background: var(--accent-gold);
}

/* Модальное окно */
.modal {
    background: var(--text-light);
    border: 3px solid var(--accent-gold);
}

.modal .age-circle {
    background-color: var(--accent-red);
    color: var(--text-light);
}

.modal h2 {
    color: var(--text-dark);
}

.modal button {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.modal button:hover {
    background-color: #B58C30;
}

/* Адаптивные части */
@media (max-width: 830px) {
    .age {
        background: var(--primary-dark);
    }
    .navbar .menu-items {
        background: var(--ambient-dark);
    }
}

/* Основная цветовая палитра восточного базара */
:root {
    --primary-dark: #5D3A1A;    /* Темное дерево базарных прилавков */
    --primary-light: #E8C39E;   /* Песочный цвет */
    --accent-gold: #D4AF37;     /* Золото специй */
    --accent-red: #9D2933;      /* Насыщенный красный (восточные ковры) */
    --accent-turquoise: #2A8580; /* Бирюзовый (традиционная керамика) */
    --accent-orange: #E67E22;   /* Оранжевый (апельсины, мандарины) */
    --accent-purple: #8E44AD;   /* Пурпурный (шелковые ткани) */
    --text-light: #F5EFE7;      /* Светлый текст */
    --text-dark: #2D1E0F;       /* Темный текст */
    --ambient-dark: #1E120B;    /* Темный фон (тени базарных навесов) */
}

/* Основные стили */
body {
    background: var(--primary-dark);
    color: var(--text-light);
    font-family: "Montserrat", sans-serif;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zm-24.596 0L12.15 6.485l1.414 1.414 7.9-7.9h-2.83zm16.353 0L41.556 7.07 42.97 5.657 39.313 2 38.5 1.187 30.142 0h2.93zM20 0L0 20h2.83L20 2.83 37.17 20H40L20 0zm0 18.186L2.243 36.243 3.657 37.657 20 21.313l16.343 16.344 1.414-1.414L20 18.186zM15.414 0L0 15.414v2.83L14.142 0h1.272zM0 52.284l1.414 1.414 20-20-1.414-1.414-20 20zM30.142 60l4.95-4.95-1.414-1.414L30 57.314 26.314 60h3.828zm-11.314 0l-4.95-4.95 1.414-1.414L20 57.314 23.685 60h-4.856zm-5.657-2.83l-2.83 2.83h5.657l-2.827-2.83zm-5.657 0l-4.243 4.243L0 58.627v-5.657l4.242 4.242zm16.97 0L30 52.728 40.728 60H34.97l-5.656-5.657-5.657 5.657h-5.75L20 57.313zm22.627 0l4.243 4.243L60 58.627v-5.657L55.757 57.2zm-4.242-4.243L40 56.97l-3.03-3.03 7.03-7.03-1.415-1.414-7.03 7.03L30 45.97l-5.556 5.556-1.414-1.414L30 42.143l8.97 8.97 7.03-7.03 5.657 5.657 5.657-5.657-1.414-1.414-5.657 5.657-5.657-5.657-1.416 1.415L40 46.142l-1.03-1.03-7.03 7.03-1.414-1.414 7.03-7.03-1.414-1.414-7.03 7.03-2.83-2.83-5.656 5.657 2.828 2.83L20 52.485 17.172 55.313l-1.415-1.415-2.828 2.83L15.758 60h2.828l1.414-1.414 1.414 1.414h5.657l1.414-1.414 1.414 1.414h2.83L30 57.27l-3.03 3.03-1.414-1.413 3.03-3.03 3.03 3.03-1.414 1.414 3.03-3.03L30 53.556l-2.83 2.83-1.413-1.414L30 50.728l8.97 8.97 4.243-4.242L40 52.24l-5.657-5.657-5.657 5.657-1.414-1.414L30 47.57l1.414 1.415 1.414-1.415zm-5.656 5.657L40 53.5l1.414-1.414-2.828-2.828L40 47.9l2.83 2.83-2.83 2.83zM40 46.485L36.97 43.456l1.414-1.414L40 43.657l4.242-4.243-1.414-1.414L40 41.243 38.586 39.83l-1.414 1.414 2.83 2.828-1.414 1.414L35.76 42.656l-1.415 1.415 5.656 5.656 1.414-1.414-1.414-1.83z' fill='rgba(212, 175, 55, 0.07)' fill-rule='evenodd'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
    color: var(--accent-gold);
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Навигация */
.navbar {
    background: linear-gradient(to bottom, var(--ambient-dark) 80%, transparent 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.navbar a {
    color: var(--text-light);
    position: relative;
    padding-bottom: 5px;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    color: var(--accent-gold);
    opacity: 1;
}

.navbar-container .hamburger-lines .line {
    background: var(--text-light);
    transition: all 0.3s ease;
}

.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1,
.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    background: var(--accent-gold);
}

.navbar .menu-items {
    background: var(--ambient-dark);
    box-shadow: 5px 0 20px 0 rgba(0, 0, 0, 0.8);
    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='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.menu-items li {
    position: relative;
    transition: all 0.3s ease;
}

.menu-items li:hover {
    transform: translateX(5px);
}

/* Кнопки */
.button, button.spin {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B58C30 100%);
    color: var(--text-dark);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.button::before, button.spin::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.button:hover::before, button.spin:hover::before {
    opacity: 1;
    animation: shine 1.5s ease forwards;
}

.button:hover, button.spin:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.main-button {
    background: linear-gradient(to right, var(--accent-gold), var(--accent-red));
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.main-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, var(--accent-red), var(--accent-orange));
    transition: width 0.4s ease;
    z-index: -1;
}

.main-button:hover::after {
    width: 100%;
}

.decrease, .increase {
    background: var(--ambient-dark);
    border: 1px solid var(--accent-gold);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.decrease:hover, .increase:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

/* Хедер */
.header {
    background: url("../img/eastern-market-bg.jpg") no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

.header-cont {
    background: rgba(29, 18, 11, 0.7);
    border-radius: 10px;
    padding: 40px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(5px);
    animation: pulse 6s infinite alternate;
}

@keyframes pulse {
    0% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.2); }
    100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(212, 175, 55, 0.4); }
}

/* Секции */
.enter {
    background: url("../img/eastern-pattern-bg.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
}

.enter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.08'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.enter-wrapper {
    background: rgba(29, 18, 11, 0.8);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--accent-gold);
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.enter-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent 0%, rgba(212, 175, 55, 0.1) 50%, transparent 100%);
    transform: rotate(45deg);
    animation: borderGlow 8s linear infinite;
    z-index: -1;
}

.experience-item {
    background: linear-gradient(145deg, rgba(93, 58, 26, 0.8) 0%, rgba(45, 30, 15, 0.95) 100%);
    border-left: 3px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.experience-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.05) 0%, transparent 50%, rgba(212, 175, 55, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
    border-left: 3px solid var(--accent-turquoise);
}

.experience-item:hover::after {
    opacity: 1;
}

@keyframes borderGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-wrapper {
    background: var(--ambient-dark);
    border: 3px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.age {
    background: var(--primary-dark);
}

.age-cont {
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid var(--accent-gold);
}

.background-blue {
    background: var(--primary-dark);
    color: var(--text-light);
}

/* Игровой автомат */
.slot-machine {
    background: linear-gradient(145deg, rgba(43, 28, 14, 0.9) 0%, rgba(29, 18, 11, 0.95) 100%);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    backdrop-filter: blur(5px);
}

.slot-machine::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg,
        var(--accent-gold) 0%,
        transparent 20%,
        transparent 80%,
        var(--accent-gold) 100%);
    z-index: -1;
    border-radius: 15px;
    opacity: 0.3;
    animation: frameGlow 3s ease-in-out infinite alternate;
}

.info {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-gold);
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.info:hover {
    background: rgba(212, 175, 55, 0.25);
}

.bet {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-gold);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.bet:hover {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.grid {
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.cell {
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
}

.cell:hover {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

@keyframes frameGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.controls {
    background: linear-gradient(145deg, rgba(93, 58, 26, 0.4) 0%, rgba(45, 30, 15, 0.6) 100%);
    border: 1px solid var(--accent-gold);
}

/* Лого */
.logo img {
    background: linear-gradient(135deg, var(--accent-red) 0%, #7A1E1D 100%);
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(157, 41, 51, 0.5);
    transition: all 0.4s ease;
    position: relative;
}

.logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.logo img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo img:hover::after {
    opacity: 1;
    animation: logoGlow 1s ease-in-out;
}

.footer-logo {
    background: linear-gradient(to right, var(--accent-gold), #DFC55C, var(--accent-gold));
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.footer-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: footerShine 4s ease-in-out infinite;
}

@keyframes logoGlow {
    0% { opacity: 0; }
    50% { opacity: 0.5; }
    100% { opacity: 0; }
}

@keyframes footerShine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

/* Модальное окно */
.modal {
    background: var(--text-light);
    border: 3px solid var(--accent-gold);
}

.modal .age-circle {
    background-color: var(--accent-red);
    color: var(--text-light);
}

.modal h2 {
    color: var(--text-dark);
}

.modal button {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.modal button:hover {
    background-color: #B58C30;
}

/* Адаптивные части */
@media (max-width: 830px) {
    .age {
        background: var(--primary-dark);
    }
    .navbar .menu-items {
        background: var(--ambient-dark);
    }
}