/* Подводная тематика - Основная палитра */
body {
    background: linear-gradient(180deg, #041E42 0%, #0A3A7A 50%, #0F5CAD 100%);
    color: #E0F2F7;
    font-family: "Montserrat", serif;
}

h1, h2, h3, h4 {
    color: #7EEAFF;
    text-shadow: 0 0 10px rgba(0, 220, 255, 0.5);
}

/* Навигация */
.navbar {
    background: linear-gradient(90deg, rgba(4, 30, 66, 0.8) 0%, rgba(10, 58, 122, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(126, 234, 255, 0.3);
}

.navbar a {
    color: #7EEAFF;
}

.navbar a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 15px #7EEAFF;
    opacity: 1;
}

.navbar-container .hamburger-lines .line {
    background: #7EEAFF;
}

/* Секции и контейнеры */
.container {
    position: relative;
}

section {
    position: relative;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Ccircle cx='25' cy='25' r='3' fill='rgba(255, 255, 255, 0.1)'/%3E%3Ccircle cx='75' cy='75' r='2' fill='rgba(255, 255, 255, 0.1)'/%3E%3Ccircle cx='125' cy='125' r='4' fill='rgba(255, 255, 255, 0.1)'/%3E%3Ccircle cx='175' cy='175' r='2' fill='rgba(255, 255, 255, 0.1)'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

/* Карточки казино (используем для любых карточек) */
.casino-wrapper {
    background: rgba(4, 30, 66, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(126, 234, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.casino-item {
    background: rgba(10, 58, 122, 0.5);
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.casino-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(126, 234, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.casino-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.casino-item h4 {
    color: #7EEAFF;
}

.casino-item p {
    color: #E0F2F7;
}

/* Кнопки */
.btn {
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-red {
    background: linear-gradient(135deg, #034D8F 0%, #0577D0 100%);
    border: 1px solid #7EEAFF;
}

.btn-white {
    background: linear-gradient(135deg, #7EEAFF 0%, #49B6FF 100%);
    color: #041E42;
    font-weight: 700;
}

.btn-blue {
    background: linear-gradient(135deg, #041E42 0%, #0A3A7A 100%);
    border: 1px solid #7EEAFF;
}

.btn-green {
    background: linear-gradient(135deg, #0B8DA8 0%, #05B3C4 100%);
}

.btn-light-red {
    background: linear-gradient(135deg, #0577D0 0%, #49B6FF 100%);
}

/* Футер */
footer {
    background: rgba(4, 30, 66, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(126, 234, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.footer-age {
    background: rgba(4, 20, 46, 0.8);
    border-radius: 10px;
}

.footer-links a {
    color: #7EEAFF;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px #7EEAFF;
}

/* Модальное окно */
.modal-overlay {
    backdrop-filter: blur(5px);
    background-color: rgba(4, 30, 66, 0.85);
}

.modal {
    background: linear-gradient(135deg, #0A3A7A 0%, #0F5CAD 100%);
    border: 1px solid rgba(126, 234, 255, 0.5);
    color: #E0F2F7;
    box-shadow: 0 0 30px rgba(126, 234, 255, 0.3);
}

.modal .age-circle {
    background: linear-gradient(135deg, #034D8F 0%, #0577D0 100%);
    border: 2px solid #7EEAFF;
    box-shadow: 0 0 15px rgba(126, 234, 255, 0.5);
}

.modal h2 {
    color: #7EEAFF;
}

.modal button {
    background: linear-gradient(135deg, #7EEAFF 0%, #49B6FF 100%);
    color: #041E42;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.modal button:hover {
    background: linear-gradient(135deg, #49B6FF 0%, #7EEAFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4);
}

/* Эффекты для особых элементов */
.logo img {
    filter: drop-shadow(0 0 5px rgba(126, 234, 255, 0.5));
}

img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: all 0.5s ease;
}

.casino img:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* Подводная тематика - Основная палитра */
body {
    background: linear-gradient(180deg, #041E42 0%, #0A3A7A 50%, #0F5CAD 100%);
    color: #E0F2F7;
    font-family: "Montserrat", serif;
    position: relative;
    overflow-x: hidden;
}

/* Эффект градиента глубины воды */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(0deg, rgba(10, 58, 122, 0.3) 0%, transparent 20%),
            linear-gradient(90deg, rgba(4, 30, 66, 0.3) 0%, transparent 20%, transparent 80%, rgba(4, 30, 66, 0.3) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Эффект подводных лучей света */
@keyframes lightRays {
    0%, 100% { opacity: 0.5; transform: rotate(0deg) translate(0, -3px); }
    50% { opacity: 0.7; transform: rotate(0deg) translate(0, 3px); }
}

.container::before {
    content: "";
    position: fixed;
    top: -30%;
    left: 55%;
    transform: translateX(-50%);
    width: 150%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(126, 234, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    animation: lightRays 15s infinite ease-in-out;
}

h1, h2, h3, h4 {
    color: #7EEAFF;
    text-shadow: 0 0 10px rgba(0, 220, 255, 0.5);
}

/* Навигация */
.navbar {
    background: linear-gradient(90deg, rgba(4, 30, 66, 0.8) 0%, rgba(10, 58, 122, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(126, 234, 255, 0.3);
}

.navbar a {
    color: #7EEAFF;
}

.navbar a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 15px #7EEAFF;
    opacity: 1;
}

.navbar-container .hamburger-lines .line {
    background: #7EEAFF;
}

/* Секции и контейнеры */
.container {
    position: relative;
}

section {
    position: relative;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Ccircle cx='25' cy='25' r='3' fill='rgba(255, 255, 255, 0.1)'/%3E%3Ccircle cx='75' cy='75' r='2' fill='rgba(255, 255, 255, 0.1)'/%3E%3Ccircle cx='125' cy='125' r='4' fill='rgba(255, 255, 255, 0.1)'/%3E%3Ccircle cx='175' cy='175' r='2' fill='rgba(255, 255, 255, 0.1)'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

/* Карточки казино (используем для любых карточек) */
.casino-wrapper {
    background: rgba(4, 30, 66, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(126, 234, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.casino-item {
    background: rgba(10, 58, 122, 0.5);
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.casino-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(126, 234, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.casino-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.casino-item h4 {
    color: #7EEAFF;
}

.casino-item p {
    color: #E0F2F7;
}

/* Кнопки */
.btn {
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 0 rgba(126, 234, 255, 0);
    transition: all 0.4s ease, box-shadow 0.6s ease;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(126, 234, 255, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover::after {
    opacity: 1;
    animation: btnGlow 2s infinite;
}

@keyframes btnGlow {
    0% { opacity: 0.2; }
    50% { opacity: 0.6; }
    100% { opacity: 0.2; }
}

.btn-red {
    background: linear-gradient(135deg, #034D8F 0%, #0577D0 100%);
    border: 1px solid #7EEAFF;
}

.btn-white {
    background: linear-gradient(135deg, #7EEAFF 0%, #49B6FF 100%);
    color: #041E42;
    font-weight: 700;
}

.btn-blue {
    background: linear-gradient(135deg, #041E42 0%, #0A3A7A 100%);
    border: 1px solid #7EEAFF;
}

.btn-green {
    background: linear-gradient(135deg, #0B8DA8 0%, #05B3C4 100%);
}

.btn-light-red {
    background: linear-gradient(135deg, #0577D0 0%, #49B6FF 100%);
}

/* Футер */
footer {
    background: rgba(4, 30, 66, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(126, 234, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.footer-age {
    background: rgba(4, 20, 46, 0.8);
    border-radius: 10px;
}

.footer-links a {
    color: #7EEAFF;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px #7EEAFF;
}

/* Модальное окно */
.modal-overlay {
    backdrop-filter: blur(8px);
    background-color: rgba(4, 30, 66, 0.85);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: linear-gradient(135deg, #0A3A7A 0%, #0F5CAD 100%);
    border: 1px solid rgba(126, 234, 255, 0.5);
    color: #E0F2F7;
    box-shadow: 0 0 30px rgba(126, 234, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: modalAppear 0.5s ease-out;
}

@keyframes modalAppear {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: modalGlow 8s infinite linear;
    pointer-events: none;
}

@keyframes modalGlow {
    0% { transform: translate(-30%, -30%) rotate(0deg); }
    100% { transform: translate(-30%, -30%) rotate(360deg); }
}

.modal .age-circle {
    background: linear-gradient(135deg, #034D8F 0%, #0577D0 100%);
    border: 2px solid #7EEAFF;
    box-shadow: 0 0 15px rgba(126, 234, 255, 0.5);
    position: relative;
    overflow: hidden;
    animation: pulse 3s infinite;
}

.modal .age-circle::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: circleGlow 3s infinite;
}

@keyframes circleGlow {
    0%, 100% { opacity: 0.1; transform: rotate(0deg); }
    50% { opacity: 0.3; transform: rotate(180deg); }
}

.modal h2 {
    color: #7EEAFF;
    text-shadow: 0 0 10px rgba(126, 234, 255, 0.5);
}

.modal button {
    background: linear-gradient(135deg, #7EEAFF 0%, #49B6FF 100%);
    color: #041E42;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modal button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.modal button:hover {
    background: linear-gradient(135deg, #49B6FF 0%, #7EEAFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(126, 234, 255, 0.5);
}

.modal button:hover::before {
    left: 100%;
}

/* Эффекты для особых элементов */
.logo img {
    filter: drop-shadow(0 0 5px rgba(126, 234, 255, 0.5));
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.9; filter: drop-shadow(0 0 5px rgba(126, 234, 255, 0.5)); }
    50% { opacity: 1; filter: drop-shadow(0 0 12px rgba(126, 234, 255, 0.8)); }
    100% { opacity: 0.9; filter: drop-shadow(0 0 5px rgba(126, 234, 255, 0.5)); }
}

img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: all 0.5s ease;
}

.casino img:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4)) brightness(1.2);
}

/* Анимация волн для заголовков */
h1, h2 {
    position: relative;
    overflow: hidden;
    animation: textShadowPulse 4s infinite alternate;
}

@keyframes textShadowPulse {
    0% { text-shadow: 0 0 8px rgba(0, 220, 255, 0.4); }
    50% { text-shadow: 0 0 18px rgba(0, 220, 255, 0.7), 0 0 30px rgba(0, 100, 255, 0.3); }
    100% { text-shadow: 0 0 8px rgba(0, 220, 255, 0.4); }
}

/* Эффект плавающих частиц для фона */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 5%),
            radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 5%);
    z-index: -2;
    animation: bubbleRise 30s infinite linear;
    pointer-events: none;
}

@keyframes bubbleRise {
    0% { transform: translateY(100%) scale(1); }
    100% { transform: translateY(-100%) scale(0.8); }
}

/* Эффект волн внизу секций */
section::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%237EEAFF'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%237EEAFF'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%237EEAFF' opacity='.25'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* Эффект свечения для ссылок */
a:not(.btn) {
    position: relative;
    transition: all 0.3s ease;
}

a:not(.btn)::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 50%;
    background: #7EEAFF;
    box-shadow: 0 0 10px 1px rgba(126, 234, 255, 0.8);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

a:not(.btn):hover::after {
    width: 100%;
}

/* Эффект движения для карточек */
.casino-item {
    animation: floating 6s infinite ease-in-out;
    animation-delay: calc(var(--i, 0) * 1s);
}

.casino-wrapper .casino-item:nth-child(1) { --i: 0; }
.casino-wrapper .casino-item:nth-child(2) { --i: 1; }
.casino-wrapper .casino-item:nth-child(3) { --i: 2; }
.casino-wrapper .casino-item:nth-child(4) { --i: 3; }

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
    100% { transform: translateY(0); }
}

/* Эффект подсветки при наведении на карточки */
.casino-item::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(126, 234, 255, 0.2) 0%, transparent 30%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.casino-item:hover::after {
    opacity: 1;
}

/* Подводная тематика - Основная палитра */
body {
    background: linear-gradient(180deg, #041E42 0%, #0A3A7A 50%, #0F5CAD 100%);
    color: #E0F2F7;
    font-family: "Montserrat", serif;
    position: relative;
    overflow-x: hidden;
}

/* Эффект градиента глубины воды */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(0deg, rgba(10, 58, 122, 0.3) 0%, transparent 20%),
            linear-gradient(90deg, rgba(4, 30, 66, 0.3) 0%, transparent 20%, transparent 80%, rgba(4, 30, 66, 0.3) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Эффект подводных лучей света */
@keyframes lightRays {
    0%, 100% { opacity: 0.5; transform: rotate(0deg) translate(0, -3px); }
    50% { opacity: 0.7; transform: rotate(0deg) translate(0, 3px); }
}

.container::before {
    content: "";
    position: fixed;
    top: -30%;
    left: 55%;
    transform: translateX(-50%);
    width: 150%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(126, 234, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    animation: lightRays 15s infinite ease-in-out;
}

h1, h2, h3, h4 {
    color: #7EEAFF;
    text-shadow: 0 0 10px rgba(0, 220, 255, 0.5);
}

/* Навигация */
.navbar {
    background: linear-gradient(90deg, rgba(4, 30, 66, 0.8) 0%, rgba(10, 58, 122, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(126, 234, 255, 0.3);
    position: relative;
}

.navbar::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background:
            linear-gradient(90deg, transparent 0%, rgba(126, 234, 255, 0.05) 25%, rgba(126, 234, 255, 0.05) 75%, transparent 100%),
            radial-gradient(circle at 20% 50%, rgba(126, 234, 255, 0.1) 0%, transparent 30%),
            radial-gradient(circle at 80% 50%, rgba(126, 234, 255, 0.1) 0%, transparent 30%);
    opacity: 0;
    pointer-events: none;
    animation: navbarGlow 10s infinite ease-in-out;
}

@keyframes navbarGlow {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-30px); }
}

.navbar a {
    color: #7EEAFF;
    position: relative;
    z-index: 1;
}

.navbar a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 50%;
    background: #7EEAFF;
    box-shadow: 0 0 8px 1px rgba(126, 234, 255, 0.8);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    z-index: -1;
}

.navbar a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 15px #7EEAFF;
    opacity: 1;
}

.navbar a:hover::before {
    width: 100%;
}

.menu-items {
    position: relative;
}

.menu-items::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(126, 234, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 30px;
}

.menu-items:hover::before {
    opacity: 1;
}

.navbar-container .hamburger-lines .line {
    background: #7EEAFF;
    box-shadow: 0 0 5px rgba(126, 234, 255, 0.5);
    transition: all 0.3s ease;
}

/* Секции и контейнеры */
.container {
    position: relative;
    z-index: 1;
}

.container::after {
    content: "";
    position: absolute;
    top: 10%;
    left: -10%;
    width: 120%;
    height: 40%;
    background: radial-gradient(ellipse at center, rgba(126, 234, 255, 0.03) 0%, transparent 70%);
    opacity: 0.8;
    pointer-events: none;
    z-index: -1;
    transform: rotate(-3deg);
}

section {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Ccircle cx='25' cy='25' r='3' fill='rgba(255, 255, 255, 0.1)'/%3E%3Ccircle cx='75' cy='75' r='2' fill='rgba(255, 255, 255, 0.1)'/%3E%3Ccircle cx='125' cy='125' r='4' fill='rgba(255, 255, 255, 0.1)'/%3E%3Ccircle cx='175' cy='175' r='2' fill='rgba(255, 255, 255, 0.1)'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
    animation: sectionParticlesMove 60s infinite linear;
}

@keyframes sectionParticlesMove {
    0% { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}

/* Добавляем плавающие элементы декора в каждой секции */
section::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%237EEAFF'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%237EEAFF'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%237EEAFF' opacity='.25'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    animation: waveFlow 20s infinite linear;
}

@keyframes waveFlow {
    0% { background-position-x: 0; }
    100% { background-position-x: 1200px; }
}

/* Специальные водоросли декор */
.flex-cont {
    position: relative;
}

.flex-cont::before,
.flex-cont::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 150'%3E%3Cpath d='M25,0 C20,30 30,60 25,90 C20,120 30,150 25,150' stroke='rgba(126, 234, 255, 0.2)' fill='none' stroke-width='2' /%3E%3Cpath d='M15,0 C10,40 20,80 15,120 C10,150 15,150 15,150' stroke='rgba(126, 234, 255, 0.15)' fill='none' stroke-width='1.5' /%3E%3Cpath d='M35,0 C30,40 40,80 35,120 C30,150 35,150 35,150' stroke='rgba(126, 234, 255, 0.15)' fill='none' stroke-width='1.5' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
    animation: seaweedMove 8s infinite ease-in-out;
}

.flex-cont::before {
    left: -20px;
    bottom: 0;
    animation-delay: 0s;
}

.flex-cont::after {
    right: -20px;
    bottom: 0;
    animation-delay: 0.5s;
    transform: scaleX(-1);
}

@keyframes seaweedMove {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

/* Карточки казино (используем для любых карточек) */
.casino-wrapper {
    background: rgba(4, 30, 66, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(126, 234, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.casino-wrapper::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background:
            radial-gradient(circle at 30% 30%, rgba(126, 234, 255, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 70% 70%, rgba(126, 234, 255, 0.05) 0%, transparent 50%);
    opacity: 0.7;
    animation: cardLightMove 20s infinite linear;
    pointer-events: none;
}

@keyframes cardLightMove {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.casino-item {
    background: rgba(10, 58, 122, 0.5);
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    z-index: 1;
}

.casino-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(126, 234, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.casino-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(126, 234, 255, 0.2), transparent);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: -1;
}

.casino-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(126, 234, 255, 0.3);
}

.casino-item:hover::after {
    left: 150%;
}

.casino-item h4 {
    color: #7EEAFF;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(126, 234, 255, 0.5);
}

.casino-item h4::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #7EEAFF;
    box-shadow: 0 0 5px #7EEAFF;
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

.casino-item:hover h4::after {
    width: 80%;
}

.casino-item p {
    color: #E0F2F7;
    position: relative;
    z-index: 1;
}

/* Добавим пузырьки к карточкам */
.casino-item .bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 60%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    animation: bubbleFloat 5s infinite ease-in-out;
    animation-delay: var(--delay, 0s);
}

.casino-item:nth-child(1)::before { --delay: 0s; }
.casino-item:nth-child(2)::before { --delay: 1s; }
.casino-item:nth-child(3)::before { --delay: 2s; }
.casino-item:nth-child(4)::before { --delay: 3s; }

.casino-item:hover .bubble {
    opacity: 0.2;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 0.2; }
    50% { transform: translate(-20px, -30px) scale(1.2); opacity: 0.1; }
    90% { opacity: 0; }
    100% { transform: translate(-30px, -60px) scale(0.8); opacity: 0; }
}

/* Кнопки */
.btn {
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 0 rgba(126, 234, 255, 0);
    transition: all 0.4s ease, box-shadow 0.6s ease;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(126, 234, 255, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover::after {
    opacity: 1;
    animation: btnGlow 2s infinite;
}

@keyframes btnGlow {
    0% { opacity: 0.2; }
    50% { opacity: 0.6; }
    100% { opacity: 0.2; }
}

.btn-red {
    background: linear-gradient(135deg, #034D8F 0%, #0577D0 100%);
    border: 1px solid #7EEAFF;
}

.btn-white {
    background: linear-gradient(135deg, #7EEAFF 0%, #49B6FF 100%);
    color: #041E42;
    font-weight: 700;
}

.btn-blue {
    background: linear-gradient(135deg, #041E42 0%, #0A3A7A 100%);
    border: 1px solid #7EEAFF;
}

.btn-green {
    background: linear-gradient(135deg, #0B8DA8 0%, #05B3C4 100%);
}

.btn-light-red {
    background: linear-gradient(135deg, #0577D0 0%, #49B6FF 100%);
}

/* Футер */
footer {
    background: rgba(4, 30, 66, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(126, 234, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cpath d='M0,50 Q50,30 100,50 T200,50 V100 Q150,70 100,100 T0,100 Z' fill='rgba(126, 234, 255, 0.03)'/%3E%3C/svg%3E");
    background-size: 100% 50%;
    animation: footerWaves 15s infinite linear;
    z-index: -1;
    opacity: 0.6;
}

@keyframes footerWaves {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.footer-age {
    background: rgba(4, 20, 46, 0.8);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.footer-age::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
            radial-gradient(circle at 30% 30%, rgba(126, 234, 255, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 70% 70%, rgba(126, 234, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.7;
    animation: footerLightMove 30s infinite linear;
    z-index: -1;
}

@keyframes footerLightMove {
    0% { transform: translate(-30%, -30%) rotate(0deg); }
    100% { transform: translate(-30%, -30%) rotate(360deg); }
}

.footer-links a {
    color: #7EEAFF;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    margin: 0 5px;
}

.footer-links a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(126, 234, 255, 0);
    transition: all 0.3s ease;
    transform: scaleX(0);
    transform-origin: center;
}

.footer-links a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px #7EEAFF;
}

.footer-links a:hover::before {
    background: rgba(126, 234, 255, 0.5);
    transform: scaleX(1);
    box-shadow: 0 0 5px rgba(126, 234, 255, 0.5);
}

.logo-info {
    position: relative;
}

.logo-info::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 234, 255, 0.3), transparent);
}

.copyright {
    font-family: "Arimo", system-ui;
    font-weight: bold;
    color: rgba(224, 242, 247, 0.7);
    position: relative;
    overflow: hidden;
}

.copyright::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(126, 234, 255, 0.1), transparent);
    animation: copyrightSweep 8s infinite;
}

@keyframes copyrightSweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Модальное окно */
.modal-overlay {
    backdrop-filter: blur(8px);
    background-color: rgba(4, 30, 66, 0.85);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: linear-gradient(135deg, #0A3A7A 0%, #0F5CAD 100%);
    border: 1px solid rgba(126, 234, 255, 0.5);
    color: #E0F2F7;
    box-shadow: 0 0 30px rgba(126, 234, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: modalAppear 0.5s ease-out;
}

@keyframes modalAppear {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: modalGlow 8s infinite linear;
    pointer-events: none;
}

@keyframes modalGlow {
    0% { transform: translate(-30%, -30%) rotate(0deg); }
    100% { transform: translate(-30%, -30%) rotate(360deg); }
}

.modal .age-circle {
    background: linear-gradient(135deg, #034D8F 0%, #0577D0 100%);
    border: 2px solid #7EEAFF;
    box-shadow: 0 0 15px rgba(126, 234, 255, 0.5);
    position: relative;
    overflow: hidden;
    animation: pulse 3s infinite;
}

.modal .age-circle::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: circleGlow 3s infinite;
}

@keyframes circleGlow {
    0%, 100% { opacity: 0.1; transform: rotate(0deg); }
    50% { opacity: 0.3; transform: rotate(180deg); }
}

.modal h2 {
    color: #7EEAFF;
    text-shadow: 0 0 10px rgba(126, 234, 255, 0.5);
}

.modal button {
    background: linear-gradient(135deg, #7EEAFF 0%, #49B6FF 100%);
    color: #041E42;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modal button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.modal button:hover {
    background: linear-gradient(135deg, #49B6FF 0%, #7EEAFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(126, 234, 255, 0.5);
}

.modal button:hover::before {
    left: 100%;
}

/* Эффекты для особых элементов */
.logo img {
    filter: drop-shadow(0 0 5px rgba(126, 234, 255, 0.5));
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.9; filter: drop-shadow(0 0 5px rgba(126, 234, 255, 0.5)); }
    50% { opacity: 1; filter: drop-shadow(0 0 12px rgba(126, 234, 255, 0.8)); }
    100% { opacity: 0.9; filter: drop-shadow(0 0 5px rgba(126, 234, 255, 0.5)); }
}

img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: all 0.5s ease;
}

.casino img:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4)) brightness(1.2);
}

/* Анимация волн для заголовков */
h1, h2 {
    position: relative;
    overflow: hidden;
    animation: textShadowPulse 4s infinite alternate;
}

@keyframes textShadowPulse {
    0% { text-shadow: 0 0 8px rgba(0, 220, 255, 0.4); }
    50% { text-shadow: 0 0 18px rgba(0, 220, 255, 0.7), 0 0 30px rgba(0, 100, 255, 0.3); }
    100% { text-shadow: 0 0 8px rgba(0, 220, 255, 0.4); }
}

/* Адаптив под мобильные устройства с сохранением подводных эффектов */
@media screen and (max-width: 830px) {
    body::after,
    body::before {
        opacity: 0.7;
    }

    /* Улучшаем навигацию для мобильных */
    .navbar .menu-items {
        padding-top: 100px;
        background: linear-gradient(135deg, rgba(4, 30, 66, 0.95) 0%, rgba(10, 58, 122, 0.95) 100%);
        backdrop-filter: blur(10px);
        border-right: 1px solid rgba(126, 234, 255, 0.2);
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(126, 234, 255, 0.1);
    }

    .navbar .menu-items li {
        position: relative;
        transition: all 0.3s ease;
    }

    .navbar .menu-items li::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #7EEAFF, transparent);
        transition: width 0.3s ease;
    }

    .navbar .menu-items li:hover::after {
        width: 100%;
    }

    .navbar-container .hamburger-lines .line {
        transition: transform 0.3s ease-in-out, background 0.3s ease;
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line {
        background: #7EEAFF;
        box-shadow: 0 0 8px rgba(126, 234, 255, 0.7);
    }

    /* Карточки адаптивны */
    .casino-item {
        width: 100%;
        animation-duration: 4s;
    }

    /* Упрощаем некоторые тяжелые эффекты для мобильных */
    .container::after,
    .container::before,
    section::after {
        animation-duration: 40s;
    }

    /* Модальное окно на мобильных */
    .modal {
        width: 85%;
        max-width: 320px;
    }

    /* Уменьшаем количество пузырьков на мобильных */
    @keyframes bubbleRise {
        0% { transform: translateY(100%) translateX(0) scale(1); opacity: 0.3; }
        100% { transform: translateY(-100%) translateX(calc(var(--r, 0) * 10px)) scale(0.6); opacity: 0; }
    }

    /* Адаптивные стили для оформления контента на мобильных */
    h1 {
        font-size: 56px;
        text-shadow: 0 0 15px rgba(126, 234, 255, 0.7);
    }

    h2 {
        font-size: 28px;
        text-shadow: 0 0 10px rgba(126, 234, 255, 0.6);
    }
}

/* Эффекты планктона в воде */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 5%),
            radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 5%);
    z-index: -2;
    animation: bubbleRise 30s infinite linear;
    pointer-events: none;
}

/* Текстовые эффекты для заголовков */
h1, h2, h3 {
    position: relative;
}

h1::before, h2::before, h3::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    text-shadow: 0 0 15px rgba(126, 234, 255, 0.5);
    animation: shimmerText 6s infinite;
    pointer-events: none;
}

@keyframes shimmerText {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.7; }
}

/* Особые эффекты свечения для всех изображений */
.casino {
    position: relative;
}

.casino::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(126, 234, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.casino:hover::before {
    opacity: 1;
}

/* Дополнительный эффект аквариума */
.container {
    position: relative;
}

.container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    rgba(4, 30, 66, 0.05) 0%,
    transparent 20%,
    transparent 80%,
    rgba(4, 30, 66, 0.05) 100%
    );
    pointer-events: none;
    z-index: -1;
}

/* Эффект волн внизу секций */
section::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%237EEAFF'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%237EEAFF'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%237EEAFF' opacity='.25'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* Эффект свечения для ссылок */
a:not(.btn) {
    position: relative;
    transition: all 0.3s ease;
}

a:not(.btn)::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 50%;
    background: #7EEAFF;
    box-shadow: 0 0 10px 1px rgba(126, 234, 255, 0.8);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

a:not(.btn):hover::after {
    width: 100%;
}

/* Эффект движения для карточек */
.casino-item {
    animation: floating 6s infinite ease-in-out;
    animation-delay: calc(var(--i, 0) * 1s);
}

.casino-wrapper .casino-item:nth-child(1) { --i: 0; }
.casino-wrapper .casino-item:nth-child(2) { --i: 1; }
.casino-wrapper .casino-item:nth-child(3) { --i: 2; }
.casino-wrapper .casino-item:nth-child(4) { --i: 3; }

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
    100% { transform: translateY(0); }
}

/* Эффект подсветки при наведении на карточки */
.casino-item::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(126, 234, 255, 0.2) 0%, transparent 30%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.casino-item:hover::after {
    opacity: 1;
}