* {
    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;
}

@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;
}





/* Основные цвета сайта */
body {
    background: #0F1E3D; /* Темно-синий цвет ночного неба */
    color: #E6E6FA; /* Светло-лавандовый цвет для текста */
    font-family: "Montserrat", sans-serif;
}

/* Заголовки */
h1, h2, h3, h4 {
    color: #9370DB; /* Средне-пурпурный цвет для заголовков */
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
}

h1 {
    font-size: 45px;
    margin-top: 0;
    text-shadow: 0 0 10px #9370DB; /* Мерцающий эффект */
}

h2 {
    color: #B19CD9; /* Светло-пурпурный */
    text-shadow: 0 0 5px #B19CD9; /* Мерцающий эффект */
}

h3 {
    color: #DDA0DD; /* Сливовый */
}

/* Кнопки */
.button, .main-button {
    background: linear-gradient(to right, #9370DB, #663399); /* Градиент от среднего к темному пурпурному */
    color: white;
    border-radius: 30px;
    padding: 10px 50px;
    font-weight: 500;
}

.main-button {
    background: linear-gradient(to right, #9370DB, #4B0082); /* Более насыщенный градиент */
    box-shadow: 0 0 15px #9370DB; /* Свечение вокруг кнопки */
}

/* Навигация */
.navbar {
    background: rgba(15, 30, 61, 0.8); /* Полупрозрачный фон */
}

.navbar a {
    color: #DDA0DD; /* Сливовый цвет для ссылок */
}

.navbar a:hover {
    color: #9370DB; /* Средне-пурпурный при наведении */
    opacity: 1;
}

.navbar-container .hamburger-lines .line {
    background: #DDA0DD; /* Сливовый цвет для линий меню */
}

/* Шапка */
.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: linear-gradient(to bottom, rgba(15, 30, 61, 0.7), rgba(75, 0, 130, 0.7)); /* Градиент поверх фона */
}

.header-cont {
    position: relative; /* Для отображения поверх градиента */
    z-index: 1;
}

/* Блок Age */
.age {
    background: #191970; /* Темно-синий */
    border: 1px solid #9370DB; /* Средне-пурпурная граница */
}

.age-cont {
    background: rgba(25, 25, 112, 0.8); /* Полупрозрачный темно-синий */
    border-radius: 15px;
    border: 1px solid #9370DB;
    color: #E6E6FA;
}

/* Секция с опытом */
.experience {
    background: #0F1E3D; /* Темно-синий фон */
}

.experience-item {
    background: rgba(70, 130, 180, 0.1); /* Полупрозрачный светло-голубой */
    border: 1px solid #9370DB;
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(147, 112, 219, 0.5);
}

/* Секция Enter */
.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(15, 30, 61, 0.7); /* Полупрозрачный темно-синий */
}

.enter-wrapper {
    position: relative;
    z-index: 1;
}

/* Контакты */
.contact-wrapper {
    border: 5px solid #4B0082; /* Индиго */
    background: rgba(75, 0, 130, 0.3); /* Полупрозрачный индиго */
}

/* Игровой автомат */
.slot-machine {
    background: #191970; /* Темно-синий */
    border: 2px solid #9370DB;
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
}

.grid {
    background: rgba(25, 25, 112, 0.5);
    border: 1px solid #9370DB;
}

.info {
    background: rgba(147, 112, 219, 0.2);
    border: 1px solid #9370DB;
}

.decrease, .increase {
    background: #4B0082; /* Индиго */
    border: 1px solid #9370DB;
}

button.spin {
    background: linear-gradient(to right, #9370DB, #4B0082);
    color: white;
    box-shadow: 0 0 10px #9370DB;
}

/* Модальное окно */
.modal {
    background: #191970; /* Темно-синий */
    color: #E6E6FA;
    border: 2px solid #9370DB;
}

.modal h2 {
    color: #B19CD9;
}

.modal .age-circle {
    background-color: #4B0082;
    border: 2px solid #9370DB;
}

.modal button {
    background-color: #9370DB;
    color: white;
}

.modal button:hover {
    background-color: #4B0082;
}

/* Футер */
.footer-logo {
    background: #191970; /* Темно-синий */
    border-top: 2px solid #9370DB;
}

.footer-wrapper {
    background: #0F1E3D; /* Темно-синий фон */
}

/* Основные цвета сайта */
body {
    background: #0F1E3D; /* Темно-синий цвет ночного неба */
    color: #E6E6FA; /* Светло-лавандовый цвет для текста */
    font-family: "Montserrat", sans-serif;
    position: relative;
}

/* Эффект "звездного неба" для фона */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size:
        100px 100px,
        200px 200px,
        300px 300px;
    animation: twinkling 8s infinite linear;
    z-index: -1;
}

@keyframes twinkling {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

/* Заголовки */
h1, h2, h3, h4 {
    color: #9370DB; /* Средне-пурпурный цвет для заголовков */
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    position: relative;
}

h1 {
    font-size: 45px;
    margin-top: 0;
    background: linear-gradient(90deg, #9370DB, #B19CD9, #9370DB);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(147, 112, 219, 0.7); /* Свечение вокруг текста */
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #9370DB, transparent);
}

h2 {
    color: #B19CD9; /* Светло-пурпурный */
    text-shadow: 0 0 8px rgba(177, 156, 217, 0.8); /* Более сильный мерцающий эффект */
    position: relative;
    display: inline-block;
}

h2::before, h2::after {
    content: '✧'; /* Стилизованная звездочка */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #9370DB;
    opacity: 0.7;
    animation: starTwinkle 2s infinite alternate;
}

h2::before {
    left: -30px;
    animation-delay: 0s;
}

h2::after {
    right: -30px;
    animation-delay: 0.5s;
}

@keyframes starTwinkle {
    0% { opacity: 0.2; transform: translateY(-50%) scale(0.8); }
    100% { opacity: 0.9; transform: translateY(-50%) scale(1.1); }
}

h3 {
    color: #DDA0DD; /* Сливовый */
    text-shadow: 0 0 6px rgba(221, 160, 221, 0.5);
    overflow: hidden;
    position: relative;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #DDA0DD, transparent);
    animation: lightMove 4s infinite linear;
}

@keyframes lightMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

h4 {
    color: #E6E6FA;
    border-bottom: 1px solid #9370DB;
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(147, 112, 219, 0.5);
}

/* Кнопки */
.button, .main-button {
    background: linear-gradient(to right, #9370DB, #663399); /* Градиент от среднего к темному пурпурному */
    color: white;
    border-radius: 30px;
    padding: 10px 50px;
    font-weight: 500;
}

.main-button {
    background: linear-gradient(to right, #9370DB, #4B0082); /* Более насыщенный градиент */
    box-shadow: 0 0 15px #9370DB; /* Свечение вокруг кнопки */
}

/* Навигация */
.navbar {
    background: rgba(15, 30, 61, 0.8); /* Полупрозрачный фон */
    backdrop-filter: blur(5px); /* Эффект размытия для большей глубины */
    border-bottom: 1px solid rgba(147, 112, 219, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    position: relative;
}

.navbar-container::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #9370DB, transparent);
}

.navbar a {
    color: #DDA0DD; /* Сливовый цвет для ссылок */
    position: relative;
    text-shadow: 0 0 5px rgba(221, 160, 221, 0.3);
    transition: all 0.4s ease;
}

.navbar a:hover {
    color: #E6E6FA; /* Светло-лавандовый при наведении */
    text-shadow: 0 0 10px rgba(230, 230, 250, 0.8);
    opacity: 1;
}

/* Эффект подсветки при наведении */
.navbar a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #9370DB;
    transition: width 0.3s ease;
}

.navbar a:hover::before {
    width: 100%;
}

.menu-items li {
    position: relative;
}

/* Стилизация иконки меню */
.navbar-container .hamburger-lines .line {
    background: #DDA0DD; /* Сливовый цвет для линий меню */
    box-shadow: 0 0 5px rgba(221, 160, 221, 0.5);
    height: 3px;
    border-radius: 2px;
}

.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(147, 112, 219, 0.6));
}

/* Шапка */
.header {
    background: url("../img/header-bg.webp") no-repeat center center fixed;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 30, 61, 0.7), rgba(75, 0, 130, 0.7)); /* Градиент поверх фона */
}

/* Анимированные падающие звезды */
.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.9) 100%, transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.8) 100%, transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(255, 255, 255, 0.7) 100%, transparent),
        radial-gradient(2px 2px at 80% 60%, rgba(255, 255, 255, 0.6) 100%, transparent);
    background-repeat: repeat;
    background-size: 500px 500px;
    animation: fallingStars 15s linear infinite;
    pointer-events: none;
}

@keyframes fallingStars {
    0% { background-position: 0px 0px, 0px 0px, 0px 0px, 0px 0px; }
    100% { background-position: 500px 500px, 400px 400px, 300px 300px, 200px 200px; }
}

.header-cont {
    position: relative; /* Для отображения поверх градиента */
    z-index: 2;
    padding: 30px;
    backdrop-filter: blur(2px);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(75, 0, 130, 0.5);
    background: rgba(25, 25, 112, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.3);
    animation: headerGlow 5s infinite alternate;
}

@keyframes headerGlow {
    0% { box-shadow: 0 0 20px rgba(75, 0, 130, 0.4); }
    100% { box-shadow: 0 0 40px rgba(75, 0, 130, 0.7); }
}

/* Магические частицы */
@keyframes floatParticle {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Блок Age */
.age {
    background: #191970; /* Темно-синий */
    border: 1px solid #9370DB; /* Средне-пурпурная граница */
}

.age-cont {
    background: rgba(25, 25, 112, 0.8); /* Полупрозрачный темно-синий */
    border-radius: 15px;
    border: 1px solid #9370DB;
    color: #E6E6FA;
}

/* Секция с опытом */
.experience {
    background: #0F1E3D; /* Темно-синий фон */
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(147, 112, 219, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.1) 0%, transparent 40%);
}

.experience-wrapper {
    position: relative;
    z-index: 1;
}

.experience-item {
    background: rgba(25, 25, 112, 0.4); /* Темно-синий прозрачный */
    border: 1px solid #9370DB;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.experience-item:hover {

/* Секция Enter */
.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(15, 30, 61, 0.7); /* Полупрозрачный темно-синий */
}

.enter-wrapper {
    position: relative;
    z-index: 1;
}

/* Контакты */
.contact-wrapper {
    border: 5px solid #4B0082; /* Индиго */
    background: rgba(75, 0, 130, 0.3); /* Полупрозрачный индиго */
    box-shadow: 0 0 20px rgba(75, 0, 130, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.contact-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.7);
}

/* Эффект мерцающей границы */
.contact-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        transparent,
        transparent,
        #9370DB
    );
    animation: rotate 4s linear infinite;
}

.contact-wrapper::after {
    content: '';
    position: absolute;
    inset: 5px;
    background: rgba(75, 0, 130, 0.3);
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-wrapper a {
    text-decoration: none;
    color: #DDA0DD;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-wrapper a:hover {
    color: #E6E6FA;
    text-shadow: 0 0 10px rgba(230, 230, 250, 0.8);
}

.contact-wrapper a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #9370DB;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.contact-wrapper a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

#contact, #contacts {
    position: relative;
}

#contact::before, #contacts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(147, 112, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(147, 112, 219, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Игровой автомат */
.slot-machine {
    background: linear-gradient(135deg, #191970 0%, #0D1B2A 100%); /* Градиентный фон */
    border: 2px solid #9370DB;
    box-shadow: 0 0 25px rgba(147, 112, 219, 0.7);
    position: relative;
    overflow: hidden;
}

/* Магический туман вокруг автомата */
.slot-machine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(147, 112, 219, 0.2) 0%, transparent 70%);
    animation: fogRotate 20s infinite linear;
    z-index: 0;
    pointer-events: none;
}

@keyframes fogRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.grid {
    background: rgba(25, 25, 112, 0.5);
    border: 1px solid #9370DB;
    box-shadow: inset 0 0 15px rgba(147, 112, 219, 0.4);
    position: relative;
    z-index: 1;
}

.cell {
    transition: all 0.3s ease;
}

.cell:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.info {
    background: rgba(147, 112, 219, 0.2);
    border: 1px solid #9370DB;
    box-shadow: 0 0 10px rgba(147, 112, 219, 0.3);
    backdrop-filter: blur(2px);
}

.info-wrapper span {
    text-shadow: 0 0 5px #9370DB;
}

.decrease, .increase {
    background: #4B0082; /* Индиго */
    border: 1px solid #9370DB;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.decrease:hover, .increase:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #9370DB;
}

/* Эффект рябь при клике */
.decrease:active, .increase:active {
    transform: scale(0.98);
}

.decrease::after, .increase::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(147, 112, 219, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    opacity: 0;
}

.decrease:active::after, .increase:active::after {
    width: 150px;
    height: 150px;
    opacity: 1;
}

.bet {
    background: rgba(75, 0, 130, 0.3);
    border: 1px solid #9370DB;
    box-shadow: inset 0 0 5px #9370DB;
    color: #DDA0DD;
    font-weight: bold;
}

button.spin {
    background: linear-gradient(to right, #9370DB, #4B0082);
    color: white;
    box-shadow: 0 0 10px #9370DB;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 1;
}

button.spin:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #9370DB;
}

/* Эффект сияющей границы при наведении */
button.spin::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(315deg, #9370DB, #4B0082, #9370DB);
    background-size: 400% 400%;
    animation: spinBorderGlow 3s ease infinite;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

button.spin:hover::before {
    opacity: 1;
}

@keyframes spinBorderGlow {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Модальное окно */
.modal {
    background: #191970; /* Темно-синий */
    color: #E6E6FA;
    border: 2px solid #9370DB;
    box-shadow: 0 0 30px rgba(147, 112, 219, 0.8); /* Свечение вокруг модального окна */
    animation: modalGlow 3s infinite alternate; /* Анимация свечения */
}

@keyframes modalGlow {
    from { box-shadow: 0 0 20px rgba(147, 112, 219, 0.6); }
    to { box-shadow: 0 0 40px rgba(147, 112, 219, 0.9); }
}

.modal h2 {
    color: #B19CD9;
    text-shadow: 0 0 5px #B19CD9; /* Мерцающий эффект */
}

.modal .age-circle {
    background-color: #4B0082;
    border: 2px solid #9370DB;
    box-shadow: 0 0 15px #9370DB; /* Свечение */
}

.modal button {
    background: linear-gradient(to right, #9370DB, #4B0082);
    color: white;
    transition: all 0.3s ease;
}

.modal button:hover {
    background: linear-gradient(to right, #4B0082, #9370DB);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(147, 112, 219, 0.8);
}

.modal-overlay {
    backdrop-filter: blur(5px); /* Размытие заднего фона для магического эффекта */
    background-color: rgba(15, 30, 61, 0.8); /* Темно-синий полупрозрачный фон */
}

/* Футер */
.footer-logo {
    background: #191970; /* Темно-синий */
    border-top: 2px solid #9370DB;
    position: relative;
    overflow: hidden;
}

.footer-logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent, #9370DB, transparent);
    animation: lightTrail 3s infinite linear;
}

@keyframes lightTrail {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-wrapper {
    background: #0F1E3D; /* Темно-синий фон */
    padding: 40px 0;
    position: relative;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(147, 112, 219, 0.1) 1px, transparent 1px);
    background-size: 20px 20px; /* Размер "звезд" */
    animation: twinkle 4s infinite alternate; /* Мерцание звезд */
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.footer-links-wrapper a {
    color: #B19CD9;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links-wrapper a:hover {
    color: #DDA0DD;
    text-shadow: 0 0 8px #DDA0DD;
}

.footer-links-wrapper a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #9370DB;
    transition: width 0.3s ease;
}

.footer-links-wrapper a:hover::after {
    width: 100%;
}
.logo img{
width: 100px;
background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
}












