* {
    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;
}


/* Yokai and Kitsune Theme */
body {
    background: linear-gradient(135deg, #1A0F1F 0%, #2C1810 100%); /* Тёмный градиент в стиле ночного леса */
    color: #E5DCD5; /* Цвет рисовой бумаги */
}

h1, h2, h3, h4 {
    color: #FF7E3D; /* Огненно-рыжий, как хвост кицунэ */
    text-shadow: 0 0 15px rgba(255, 126, 61, 0.3);
    font-family: "Montserrat", sans-serif;
}

.button {
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    color: #1A0F1F;
    border: 1px solid #FF7E3D;
    box-shadow: 0 0 10px rgba(255, 126, 61, 0.3);
}

.button:hover {
    background: #FF7E3D;
    box-shadow: 0 0 20px rgba(255, 126, 61, 0.5);
}

.age {
    background: #2D2016; /* Тёмное дерево */
    color: #E5DCD5;
    border: 1px solid #8C6C5B;
}

.footer-age, .footer-logo {
    background: #2D2016;
    border-top: 1px solid #8C6C5B;
}

.main-button {
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    color: #1A0F1F;
    box-shadow: 0 0 15px rgba(255, 126, 61, 0.3);
    border: 1px solid rgba(255, 126, 61, 0.5);
}

.experience-item {
    background: #2D2016;
    border: 1px solid #8C6C5B;
    box-shadow: 0 0 20px rgba(140, 108, 91, 0.2);
}

.contact-wrapper {
    border: 2px solid #FF7E3D;
    background: #2D2016;
    box-shadow: 0 0 30px rgba(255, 126, 61, 0.1);
}

.slot-machine {
    background: #2D2016;
    border: 1px solid #8C6C5B;
    box-shadow: 0 0 20px rgba(140, 108, 91, 0.3);
}

.decrease, .increase {
    background: #1A0F1F;
    border: 1px solid #FF7E3D;
    color: #E5DCD5;
}

.bet {
    background: rgba(140, 108, 91, 0.2);
    border: 1px solid #8C6C5B;
}

button.spin {
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    color: #1A0F1F;
    border: none;
    box-shadow: 0 0 15px rgba(255, 126, 61, 0.3);
}

button.spin:hover {
    box-shadow: 0 0 25px rgba(255, 126, 61, 0.5);
}

.navbar-container .hamburger-lines .line {
    background: #FF7E3D;
}

.info {
    background: rgba(45, 32, 22, 0.8);
    border: 1px solid #8C6C5B;
}

.navbar .menu-items {
    background: rgba(26, 15, 31, 0.95);
    border-right: 1px solid #8C6C5B;
}

/* Modal styles */
.modal {
    background: #2D2016;
    color: #E5DCD5;
    border: 1px solid #8C6C5B;
    box-shadow: 0 0 40px rgba(255, 126, 61, 0.2);
}

.modal h2 {
    color: #FF7E3D;
}

.modal button {
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    color: #1A0F1F;
}

.modal button:hover {
    box-shadow: 0 0 15px rgba(255, 126, 61, 0.5);
}

.logo img {
    filter: drop-shadow(0 0 10px rgba(255, 126, 61, 0.3));
}

/* Additional mystical elements */
.footer-wrapper {
    border-top: 1px solid #8C6C5B;
}

.navbar {
    background: rgba(26, 15, 31, 0.95);
    border-bottom: 1px solid #8C6C5B;
}

.navbar a {
    color: #E5DCD5;
    text-shadow: 0 0 5px rgba(229, 220, 213, 0.3);
}

.navbar a:hover {
    color: #FF7E3D;
    text-shadow: 0 0 10px rgba(255, 126, 61, 0.5);
}

/* Grid and cells styling */
.grid {
    border: 1px solid #8C6C5B;
    background: rgba(45, 32, 22, 0.3);
    box-shadow: inset 0 0 30px rgba(140, 108, 91, 0.2);
}

.cell {
    border: 1px solid rgba(140, 108, 91, 0.3);
    background: rgba(26, 15, 31, 0.4);
}

/* Mystical animations */
@keyframes foxfire {
    0% { box-shadow: 0 0 10px rgba(255, 126, 61, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 126, 61, 0.5); }
    100% { box-shadow: 0 0 10px rgba(255, 126, 61, 0.3); }
}

@keyframes spiritGlow {
    0% { border-color: rgba(140, 108, 91, 0.3); }
    50% { border-color: rgba(255, 126, 61, 0.5); }
    100% { border-color: rgba(140, 108, 91, 0.3); }
}

.button, .main-button, button.spin {
    animation: foxfire 3s infinite;
}

.experience-item:hover {
    animation: spiritGlow 2s infinite;
}

/* Paper texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/png;base64,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");
    opacity: 0.02;
    pointer-events: none;
    z-index: 999999;
}
.button, .main-button, button.spin {
    animation: shimmer 2s infinite;
}
.background-blue{
background: #2D2016;
color: #E5DCD5;
}
.logo img{
width: 100px;
background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
}
/* Основные цвета и фоны */
body {
    background: #1A1423;
    color: #E5DCD5;
    font-family: "Montserrat", sans-serif;
}

/* Заголовки */
h1, h2, h3, h4 {
    color: #C7B8EA;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
}

/* Навигация */
.navbar {
    background: rgba(17, 10, 26, 0.8);
}

.navbar a {
    color: #E5DCD5;
}

.navbar a:hover {
    opacity: 0.7;
    color: #C7B8EA;
}

.navbar-container .hamburger-lines .line {
    background: #E5DCD5;
}

/* Кнопки */
.button {
    background: linear-gradient(135deg, #8A4FFF 0%, #4B2A98 100%);
    color: #E5DCD5;
    border-radius: 5px;
}

.main-button {
    background: linear-gradient(135deg, #8A4FFF 0%, #4B2A98 100%);
    color: #E5DCD5;
    border-radius: 30px;
}

/* Хедер */
.header {
    background: url("../img/header-bg.webp") no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 20, 35, 0.7);
}

.header-cont {
    position: relative;
    color: #E5DCD5;
}

/* Секции */
.age {
    background: #332640;
    color: #E5DCD5;
}

.age-cont {
    background: rgba(42, 31, 58, 0.8);
    border-radius: 15px;
    color: #E5DCD5;
}

.enter {
    background: url("../img/bg-2.png") no-repeat center center;
    background-size: cover;
    position: relative;
}

.enter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 20, 35, 0.8);
}

.enter-wrapper {
    position: relative;
}

.experience-item {
    background: rgba(42, 31, 58, 0.5);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    background: rgba(58, 41, 82, 0.7);
}

.contact-wrapper {
    border: 5px solid #4B2A98;
    background: rgba(58, 41, 82, 0.7);
    border-radius: 7px;
}

/* Игровой автомат */
.slot-machine {
    background: #241734;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(138, 79, 255, 0.3);
}

.grid {
    background: rgba(26, 20, 35, 0.7);
    border-radius: 10px;
}

.info {
    background: rgba(75, 42, 152, 0.3);
    border-radius: 10px;
}

.decrease, .increase {
    background: #332640;
    border: 1px solid #8A4FFF;
    border-radius: 20px;
    color: #E5DCD5;
}

.bet {
    background: rgba(75, 42, 152, 0.3);
    color: #E5DCD5;
}

button.spin {
    background: linear-gradient(135deg, #8A4FFF 0%, #4B2A98 100%);
    color: #E5DCD5;
    border-radius: 50px;
}

/* Модальное окно */
.modal {
    background: #241734;
    color: #E5DCD5;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(138, 79, 255, 0.3);
}

.modal .age-circle {
    background-color: #4B2A98;
    color: #E5DCD5;
}

.modal h2 {
    color: #C7B8EA;
}

.modal button {
    background: linear-gradient(135deg, #8A4FFF 0%, #4B2A98 100%);
    color: #E5DCD5;
}

/* Футер */
.footer-age {
    background: #332640;
    color: #E5DCD5;
}

.footer-logo {
    background: rgba(75, 42, 152, 0.5);
}

.background-blue {
    background: #332640;
    color: #E5DCD5;
}

/* Дополнительные эффекты */
.col img, .img-col img {
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(138, 79, 255, 0.3);
}

.logo img {
    background: linear-gradient(135deg, #8A4FFF 0%, #4B2A98 100%);
}

/* Анимация для элементов секции опыта */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.experience-item {
    animation: floating 6s ease-in-out infinite;
}

.experience-item:nth-child(2) {
    animation-delay: 1s;
}

.experience-item:nth-child(3) {
    animation-delay: 2s;
}

/* Основные цвета и фоны */
body {
    background: #1A1423;
    color: #E5DCD5;
    font-family: "Montserrat", sans-serif;
}

/* Заголовки */
h1, h2, h3, h4 {
    color: #C7B8EA;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
}

/* Навигация */
.navbar {
    background: rgba(17, 10, 26, 0.8);
}

.navbar a {
    color: #E5DCD5;
}

.navbar a:hover {
    opacity: 0.7;
    color: #C7B8EA;
}

.navbar-container .hamburger-lines .line {
    background: #E5DCD5;
}

/* Кнопки */
.button {
    background: linear-gradient(135deg, #8A4FFF 0%, #4B2A98 100%);
    color: #E5DCD5;
    border-radius: 5px;
}

.main-button {
    background: linear-gradient(135deg, #8A4FFF 0%, #4B2A98 100%);
    color: #E5DCD5;
    border-radius: 30px;
}

/* Хедер */
.header {
    background: url("../img/header-bg.webp") no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 20, 35, 0.7);
}

.header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1.5' fill='rgba(229, 220, 213, 0.2)'/%3E%3C/svg%3E");
    background-size: 150px 150px;
    pointer-events: none;
    opacity: 0.4;
    animation: starsFloat 120s linear infinite;
}

@keyframes starsFloat {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
}

.header-cont {
    position: relative;
    color: #E5DCD5;
    animation: fadeUpIn 1.2s ease-out forwards;
}

@keyframes fadeUpIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.header h1 {
    position: relative;
    overflow: hidden;
}

.header h1::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    animation: lightSweep 5s linear infinite;
}

@keyframes lightSweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Секции */
.age {
    background: #332640;
    color: #E5DCD5;
}

.age-cont {
    background: rgba(42, 31, 58, 0.8);
    border-radius: 15px;
    color: #E5DCD5;
}

.enter {
    background: url("../img/bg-2.png") no-repeat center center;
    background-size: cover;
    position: relative;
}

.enter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 20, 35, 0.8);
}

.enter-wrapper {
    position: relative;
}

.experience-item {
    background: rgba(42, 31, 58, 0.5);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    background: rgba(58, 41, 82, 0.7);
}

.contact-wrapper {
    border: 5px solid #4B2A98;
    background: rgba(58, 41, 82, 0.7);
    border-radius: 7px;
}

/* Игровой автомат */
.slot-machine {
    background: #241734;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(138, 79, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.slot-machine::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='rgba(199, 184, 234, 0.15)'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.grid {
    background: rgba(26, 20, 35, 0.7);
    border-radius: 10px;
    position: relative;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.cell {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.cell:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.info {
    background: rgba(75, 42, 152, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(138, 79, 255, 0.1);
}

.decrease, .increase {
    background: #332640;
    border: 1px solid #8A4FFF;
    border-radius: 20px;
    color: #E5DCD5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.decrease:hover, .increase:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.bet {
    background: rgba(75, 42, 152, 0.3);
    color: #E5DCD5;
    text-shadow: 0 0 5px rgba(229, 220, 213, 0.5);
}

button.spin {
    background: linear-gradient(135deg, #8A4FFF 0%, #4B2A98 100%);
    color: #E5DCD5;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px rgba(138, 79, 255, 0.5); }
    100% { box-shadow: 0 0 20px rgba(138, 79, 255, 0.8); }
}

button.spin::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    animation: spinGlow 5s linear infinite;
}

@keyframes spinGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Модальное окно */
.modal {
    background: #241734;
    color: #E5DCD5;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(138, 79, 255, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(138, 79, 255, 0.2);
    animation: modalAppear 0.5s ease forwards;
}

@keyframes modalAppear {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal .age-circle {
    background-color: #4B2A98;
    color: #E5DCD5;
    position: relative;
    overflow: hidden;
}

.modal .age-circle::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(199, 184, 234, 0.3) 0%, rgba(199, 184, 234, 0) 70%);
    animation: circleGlow 3s linear infinite;
}

@keyframes circleGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal h2 {
    color: #C7B8EA;
    text-shadow: 0 0 5px rgba(199, 184, 234, 0.5);
}

.modal button {
    background: linear-gradient(135deg, #8A4FFF 0%, #4B2A98 100%);
    color: #E5DCD5;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modal button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    transition: all 0.5s;
    opacity: 0;
}

.modal button:hover::after {
    opacity: 1;
    left: 100%;
    transition: all 0.5s;
}

/* Футер */
.footer-age {
    background: #332640;
    color: #E5DCD5;
}

.footer-logo {
    background: rgba(75, 42, 152, 0.5);
}

.background-blue {
    background: #332640;
    color: #E5DCD5;
}

/* Дополнительные эффекты */
.col img, .img-col img {
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(138, 79, 255, 0.3);
    filter: brightness(0.85) saturate(1.2);
}

.logo img {
    background: linear-gradient(135deg, #8A4FFF 0%, #4B2A98 100%);
    filter: drop-shadow(0 0 8px rgba(138, 79, 255, 0.6));
}

/* Мерцающий текст для заголовков */
h1, h2 {
    text-shadow: 0 0 8px rgba(199, 184, 234, 0.6);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 8px rgba(199, 184, 234, 0.3); }
    100% { text-shadow: 0 0 15px rgba(199, 184, 234, 0.8); }
}

/* Анимация для элементов секции опыта */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.experience-item {
    animation: floating 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.experience-item:nth-child(2) {
    animation-delay: 1s;
}

.experience-item:nth-child(3) {
    animation-delay: 2s;
}

/* Эффект дымки для элементов */
.experience-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 79, 255, 0.1) 0%, rgba(138, 79, 255, 0) 70%);
    animation: mistMove 15s linear infinite;
    pointer-events: none;
}

@keyframes mistMove {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Подсветка для интерактивных элементов */
.button:hover, .main-button:hover, button.spin:hover, .navbar a:hover {
    box-shadow: 0 0 15px rgba(138, 79, 255, 0.7);
    text-shadow: 0 0 5px rgba(229, 220, 213, 0.9);
    transition: all 0.3s ease;
}

/* Появление элементов при скролле */
.col, .img-col, .age-cont, .contact-wrapper {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}