* {
    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;
}

.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%);
}
/* Deep Sea Horror Theme */
body {
    background: #020D15;
    color: #A9BFD1;
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: #05D9FF;
    text-shadow: 0 0 10px rgba(5, 217, 255, 0.6);
}

h1 {
    font-size: 45px;
}

h2 {
    color: #05D9FF;
}

a {
    color: #05D9FF;
    transition: all 0.5s ease;
}

a:hover {
    color: #76FBFF;
    text-shadow: 0 0 15px #05D9FF;
    opacity: 1;
}

.button {
    background: linear-gradient(135deg, #05D9FF 0%, #034B91 100%);
    color: #020D15;
    border: 1px solid #05D9FF;
    box-shadow: 0 0 15px rgba(5, 217, 255, 0.5);
}

.button:hover {
    background: linear-gradient(135deg, #76FBFF 0%, #05D9FF 100%);
    box-shadow: 0 0 20px rgba(5, 217, 255, 0.8);
}

.main-button {
    background: linear-gradient(to right, #05D9FF, #034B91);
    color: #020D15;
    box-shadow: 0 0 20px rgba(5, 217, 255, 0.6);
}

.navbar {
    background: rgba(2, 13, 21, 0.7);
    backdrop-filter: blur(5px);
}

.menu-items li {
    position: relative;
}

.menu-items li a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #05D9FF;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #05D9FF;
}

.menu-items li a:hover::before {
    width: 100%;
}

.navbar-container .hamburger-lines .line {
    background: #05D9FF;
    box-shadow: 0 0 5px #05D9FF;
}

.navbar .menu-items {
    background: rgba(2, 13, 21, 0.9);
    box-shadow: 0 0 20px rgba(5, 217, 255, 0.3);
}

.header {
    background: url("../img/deep-sea-bg.webp") no-repeat center center fixed;
    background-size: cover;
}

.header-cont {
    background: rgba(2, 13, 21, 0.6);
    backdrop-filter: blur(3px);
    border-radius: 10px;
    border: 1px solid rgba(5, 217, 255, 0.2);
    box-shadow: 0 0 30px rgba(5, 217, 255, 0.2);
}

.enter {
    background: url("../img/abyss-bg.png") no-repeat center center;
    background-size: cover;
}

.experience-item {
    background: rgba(3, 40, 77, 0.4);
    border: 1px solid rgba(5, 217, 255, 0.3);
    box-shadow: 0 0 15px rgba(5, 217, 255, 0.2);
    transition: all 0.4s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(5, 217, 255, 0.4);
}

.contact-wrapper {
    background: rgba(3, 40, 77, 0.4);
    border: 1px solid rgba(5, 217, 255, 0.3);
    box-shadow: 0 0 20px rgba(5, 217, 255, 0.3);
}

.age {
    background: rgba(3, 40, 77, 0.7);
    color: #A9BFD1;
}

.age-cont {
    background: linear-gradient(145deg, rgba(3, 40, 77, 0.7), rgba(5, 217, 255, 0.1));
    border: 1px solid rgba(5, 217, 255, 0.3);
    box-shadow: 0 0 15px rgba(5, 217, 255, 0.2);
}

.footer-age {
    background: linear-gradient(145deg, #034B91, #020D15);
    color: #A9BFD1;
}

.footer-logo {
    background: linear-gradient(145deg, #034B91, #020D15);
}

.slot-machine {
    background: #010A11;
    border: 1px solid rgba(5, 217, 255, 0.3);
    box-shadow: 0 0 30px rgba(5, 217, 255, 0.3);
}

.grid {
    background: rgba(1, 10, 17, 0.7);
    border: 1px solid rgba(5, 217, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(5, 217, 255, 0.2);
}

.cell {
    background: rgba(3, 40, 77, 0.4);
    border: 1px solid rgba(5, 217, 255, 0.2);
    box-shadow: 0 0 10px rgba(5, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.cell:hover {
    box-shadow: 0 0 15px rgba(5, 217, 255, 0.4);
}

.info {
    background: rgba(3, 40, 77, 0.5);
    border: 1px solid rgba(5, 217, 255, 0.2);
}

.decrease, .increase {
    background: #010A11;
    border: 1px solid #05D9FF;
    color: #05D9FF;
    box-shadow: 0 0 10px rgba(5, 217, 255, 0.2);
}

.decrease:hover, .increase:hover {
    background: rgba(5, 217, 255, 0.2);
    box-shadow: 0 0 15px rgba(5, 217, 255, 0.4);
}

.bet {
    background: rgba(3, 40, 77, 0.5);
    border: 1px solid rgba(5, 217, 255, 0.3);
    color: #05D9FF;
}

button.spin {
    background: linear-gradient(145deg, #05D9FF, #034B91);
    box-shadow: 0 0 20px rgba(5, 217, 255, 0.5);
    transition: all 0.3s ease;
}

button.spin:hover {
    background: linear-gradient(145deg, #76FBFF, #05D9FF);
    box-shadow: 0 0 30px rgba(5, 217, 255, 0.7);
    transform: scale(1.05);
}

.controls {
    background: rgba(3, 40, 77, 0.3);
    border: 1px solid rgba(5, 217, 255, 0.2);
}

.modal {
    background: #010A11;
    border: 2px solid #05D9FF;
    box-shadow: 0 0 30px rgba(5, 217, 255, 0.6);
}

.modal h2 {
    color: #05D9FF;
}

.modal .age-circle {
    background: linear-gradient(145deg, #034B91, #05D9FF);
    box-shadow: 0 0 15px rgba(5, 217, 255, 0.5);
}

.modal button {
    background: linear-gradient(145deg, #05D9FF, #034B91);
    color: #010A11;
    box-shadow: 0 0 10px rgba(5, 217, 255, 0.4);
}

.modal button:hover {
    background: linear-gradient(145deg, #76FBFF, #05D9FF);
    box-shadow: 0 0 15px rgba(5, 217, 255, 0.6);
}

.background-blue {
    background: #010A11;
    color: #A9BFD1;
    border: 1px solid rgba(5, 217, 255, 0.2);
    box-shadow: 0 0 20px rgba(5, 217, 255, 0.2);
}

.logo img {
    background: linear-gradient(135deg, #05D9FF 0%, #034B91 100%);
    box-shadow: 0 0 15px rgba(5, 217, 255, 0.6);
    border-radius: 5px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 10px rgba(5, 217, 255, 0.2); }
    50% { box-shadow: 0 0 20px rgba(5, 217, 255, 0.6); }
    100% { box-shadow: 0 0 10px rgba(5, 217, 255, 0.2); }
}

.button, .main-button, button.spin, .logo img {
    animation: pulse 3s infinite;
}
/* Дополнительные эффекты для глубоководной тематики */

/* Эффект мерцания для особых элементов */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    25% { opacity: 0.7; }
    50% { opacity: 0.9; }
    75% { opacity: 0.8; }
}

/* Эффект волнообразного движения */
@keyframes wave {
    0% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-5px) rotate(1deg); }
    100% { transform: translateY(0) rotate(-1deg); }
}

/* Эффект частиц в воде */
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-5px) translateX(10px); }
    75% { transform: translateY(5px) translateX(5px); }
}

/* Применение эффектов к элементам */
h1 {
    position: relative;
    animation: flicker 6s infinite alternate;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #05D9FF, transparent);
    animation: pulse 4s infinite;
}

.col img, .img-col img {
    filter: brightness(0.8) saturate(1.3) contrast(1.2);
    transition: all 0.6s ease;
}

.col img:hover, .img-col img:hover {
    filter: brightness(1.1) saturate(1.5) contrast(1.3);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(5, 217, 255, 0.7);
}

/* Добавляем псевдоэлемент с эффектом "плавающих частиц" */
.header::before, .enter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(5, 217, 255, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 70% 60%, rgba(5, 217, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(5, 217, 255, 0.05) 3px, transparent 3px),
        radial-gradient(circle at 80% 10%, rgba(5, 217, 255, 0.05) 2px, transparent 2px);
    background-size: 300px 300px;
    animation: float 15s infinite linear;
    z-index: 1;
    pointer-events: none;
}

.experience-wrapper {
    position: relative;
    z-index: 1;
}

.experience-item {
    position: relative;
    overflow: hidden;
}

.experience-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(5, 217, 255, 0.03) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    animation: wave 8s infinite linear;
    z-index: -1;
}

.experience-item h4 {
    position: relative;
}

.experience-item h4::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #05D9FF;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px #05D9FF;
}

.experience-item:hover h4::after {
    width: 50%;
}

/* Эффект свечения для активных элементов */
.spin:active, .button:active, .main-button:active {
    box-shadow: 0 0 30px rgba(5, 217, 255, 0.9);
}

/* Стилизация таблицы слотов с эффектом глубины */
.grid .column {
    backdrop-filter: blur(2px);
    position: relative;
}

.cell {
    position: relative;
    overflow: hidden;
}

.cell::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 217, 255, 0.1), transparent 70%);
    z-index: 1;
}

/* Эффект глубоководных существ с зубами для кнопок */
.spin, .main-button {
    position: relative;
    clip-path: polygon(
        0% 20%, 5% 0%, 95% 0%, 100% 20%,
        100% 80%, 95% 100%, 5% 100%, 0% 80%
    );
}

/* Эффект мерцающего текста для важной информации */
.age-cont p, .contact-wrapper h3 {
    animation: flicker 8s infinite alternate;
}

/* Стилизация навигации с эффектом "щупалец" */
.menu-items li {
    transform-origin: left center;
}

.menu-items li:hover {
    animation: wave 2s infinite;
}

/* Стилизация модального окна с эффектом бездны */
.modal-overlay {
    backdrop-filter: blur(3px);
}

.modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(5, 217, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(5, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s infinite linear;
    z-index: -1;
    opacity: 0.5;
    border-radius: 10px;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #010A11;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#05D9FF, #034B91);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#76FBFF, #05D9FF);
    box-shadow: 0 0 10px rgba(5, 217, 255, 0.7);
}

/* Эффект глубоководного давления для ховера элементов */
.menu-items li a:hover, .footer-links-wrapper a:hover {
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(5, 217, 255, 0.8);
    letter-spacing: 1px;
}

/* Эффект бегущей волны для footer */
.footer-wrapper {
    position: relative;
    overflow: hidden;
}

.footer-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(5, 217, 255, 0.5), transparent);
    animation: wave-footer 5s infinite linear;
}

@keyframes wave-footer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Эффект глубоководных пузырей на фоне */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 10%, rgba(5, 217, 255, 0.02) 8px, transparent 8px),
                radial-gradient(circle at 10% 30%, rgba(5, 217, 255, 0.02) 6px, transparent 6px),
                radial-gradient(circle at 30% 70%, rgba(5, 217, 255, 0.02) 10px, transparent 10px),
                radial-gradient(circle at 70% 90%, rgba(5, 217, 255, 0.02) 5px, transparent 5px);
    background-size: 600px 600px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
    animation: float 30s infinite linear;
}