:root {
    /* Основные цвета */
    --color-background: #0B3B59; /* Глубокий синий цвет океана */
    --color-text: #E6F7FF; /* Светло-голубой для хорошей читаемости */
    --color-heading: #FF7E5F; /* Коралловый для заголовков */
    --color-link-hover: rgba(255, 255, 255, 0.8);

    /* Акцентные цвета */
    --color-accent-1: #26C6DA; /* Бирюзовый цвет воды */
    --color-accent-2: #5643CC; /* Глубокий фиолетовый (экзотические морские растения) */
    --color-accent-3: #7B24B3; /* Пурпурный (редкие кораллы) */

    /* Фоновые цвета */
    --color-background-dark: #072A40; /* Темный океанский фон */
    --color-background-darker: #051E2F; /* Очень глубокий океан */
    --color-background-light: rgba(64, 224, 208, 0.15); /* Полупрозрачный бирюзовый */
    --color-background-lighter: rgba(64, 224, 208, 0.25); /* Более светлый полупрозрачный бирюзовый */

    /* Цвета контролов */
    --color-control: #072A40; /* Темный синий */
    --color-control-border: #FF7E5F; /* Коралловый для рамок */

    /* Цвета кнопок */
    --color-button: #FF7E5F; /* Коралловый */
    --color-button-hover: #FFA387; /* Светлый коралловый при наведении */
    --color-button-gradient-start: #26C6DA; /* Бирюзовый */
    --color-button-gradient-end: #FF7E5F; /* Плавный переход в коралловый */

    /* Модальное окно */
    --color-modal-background: #E6F7FF; /* Светло-голубой фон */
    --color-modal-text: #072A40; /* Темно-синий текст */
    --color-modal-circle: #FF7E5F; /* Коралловый круг */
}

/* Дополнительные стили для создания атмосферы кораллового леса */

body {
    background-image: linear-gradient(to bottom, var(--color-background), var(--color-background-dark));
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    text-shadow: 0 0 10px rgba(255, 126, 95, 0.3);
    letter-spacing: 1px;
}

.logo img {
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(38, 198, 218, 0.7);
}

.header {
    background: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-background-dark) 100%);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 126, 95, 0.15) 0%, transparent 50%),
                     radial-gradient(circle at 80% 80%, rgba(38, 198, 218, 0.2) 0%, transparent 40%);
    z-index: 0;
}

.header-cont {
    position: relative;
    z-index: 1;
}

.main-button {
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.4);
    border: none;
    transform: translateY(0);
    transition: transform 0.3s, box-shadow 0.3s;
}

.main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.6);
}

.col-wrapper {
    position: relative;
}

.col-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-accent-1), transparent);
}

.experience-item {
    background: var(--color-background-light);
    border: 1px solid var(--color-background-lighter);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-wrapper {
    background: linear-gradient(135deg, var(--color-accent-3) 0%, var(--color-accent-2) 100%);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slot-machine {
    background: linear-gradient(to bottom, var(--color-background-dark), var(--color-background-darker));
    border: 1px solid var(--color-accent-1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.grid {
    background: rgba(7, 42, 64, 0.7);
    box-shadow: inset 0 0 20px rgba(38, 198, 218, 0.2);
}

.cell {
    background: rgba(38, 198, 218, 0.1);
    border: 1px solid rgba(38, 198, 218, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cell:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(38, 198, 218, 0.3);
}

.info {
    background: linear-gradient(to right, rgba(38, 198, 218, 0.1), rgba(255, 126, 95, 0.1));
    border: 1px solid rgba(38, 198, 218, 0.2);
}

button.spin {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    border: none;
    box-shadow: 0 5px 15px rgba(38, 198, 218, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

button.spin:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(38, 198, 218, 0.6);
}

.decrease, .increase {
    background: var(--color-control);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.decrease:hover, .increase:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.age {
    background: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-background-dark) 100%);
}

.age-cont {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-age {
    background: var(--color-accent-1);
}

/* Анимация для создания эффекта подводных течений */
@keyframes waterFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.background-accent {
    background: linear-gradient(270deg, var(--color-accent-1), var(--color-accent-2));
    background-size: 200% 200%;
    animation: waterFlow 10s ease infinite;
}

/* Стилизация модального окна */
.modal {
    border: 2px solid var(--color-accent-1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.modal .age-circle {
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.4);
}

.modal button {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    box-shadow: 0 3px 10px rgba(255, 126, 95, 0.3);
}

:root {
    /* Основные цвета */
    --color-background: #0B3B59; /* Глубокий синий цвет океана */
    --color-text: #E6F7FF; /* Светло-голубой для хорошей читаемости */
    --color-heading: #FF7E5F; /* Коралловый для заголовков */
    --color-link-hover: rgba(255, 255, 255, 0.8);

    /* Акцентные цвета */
    --color-accent-1: #26C6DA; /* Бирюзовый цвет воды */
    --color-accent-2: #5643CC; /* Глубокий фиолетовый (экзотические морские растения) */
    --color-accent-3: #7B24B3; /* Пурпурный (редкие кораллы) */

    /* Фоновые цвета */
    --color-background-dark: #072A40; /* Темный океанский фон */
    --color-background-darker: #051E2F; /* Очень глубокий океан */
    --color-background-light: rgba(64, 224, 208, 0.15); /* Полупрозрачный бирюзовый */
    --color-background-lighter: rgba(64, 224, 208, 0.25); /* Более светлый полупрозрачный бирюзовый */

    /* Цвета контролов */
    --color-control: #072A40; /* Темный синий */
    --color-control-border: #FF7E5F; /* Коралловый для рамок */

    /* Цвета кнопок */
    --color-button: #FF7E5F; /* Коралловый */
    --color-button-hover: #FFA387; /* Светлый коралловый при наведении */
    --color-button-gradient-start: #26C6DA; /* Бирюзовый */
    --color-button-gradient-end: #FF7E5F; /* Плавный переход в коралловый */

    /* Модальное окно */
    --color-modal-background: #E6F7FF; /* Светло-голубой фон */
    --color-modal-text: #072A40; /* Темно-синий текст */
    --color-modal-circle: #FF7E5F; /* Коралловый круг */
}

/* Дополнительные эффекты для подвала */
.footer-wrapper {
    position: relative;
    overflow: hidden;
}

/* Эффект морского дна для подвала */
.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(0deg, var(--color-background-darker) 0%, transparent 100%),
        radial-gradient(circle at 20% 50%, rgba(38, 198, 218, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 126, 95, 0.05) 0%, transparent 50%);
    z-index: -1;
}

/* Стилизация ссылок в подвале */
.footer-links-wrapper a {
    position: relative;
    transition: color 0.3s;
}

.footer-links-wrapper a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 50%;
    background: var(--color-accent-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-links-wrapper a:hover::after {
    width: 100%;
}

.footer-links-wrapper a:hover {
    color: var(--color-accent-1);
}

/* Анимация для логотипов в подвале */
.footer-logo-wrapper img {
    transition: transform 0.3s, filter 0.3s;
    filter: brightness(0.9);
}

.footer-logo-wrapper img:hover {
    transform: scale(1.05) rotate(3deg);
    filter: brightness(1.1) drop-shadow(0 0 5px rgba(38, 198, 218, 0.5));
}

.footer-age {
    background: var(--color-accent-1);
    position: relative;
    overflow: hidden;
}

/* Волнистый эффект для подвала */
.footer-age::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 10px;
    top: -5px;
    left: -50%;
    background-image:
        radial-gradient(ellipse at center, transparent 0%, transparent 70%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0.2) 100%);
    background-size: 20px 10px;
    animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* Эффект пузырьков в фоне */
body {
    background-image: linear-gradient(to bottom, var(--color-background), var(--color-background-dark));
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(38, 198, 218, 0.05) 0%, transparent 50px),
        radial-gradient(circle at 20% 40%, rgba(38, 198, 218, 0.05) 0%, transparent 40px),
        radial-gradient(circle at 40% 70%, rgba(38, 198, 218, 0.05) 0%, transparent 30px),
        radial-gradient(circle at 70% 90%, rgba(38, 198, 218, 0.05) 0%, transparent 60px);
    pointer-events: none;
    z-index: -1;
    animation: bubbleFloat 20s ease-in-out infinite alternate;
}

/* Анимация пузырьков */
@keyframes bubbleFloat {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 5% 10%, -5% 20%, 8% 30%, -8% 15%;
    }
}

h1, h2, h3, h4 {
    text-shadow: 0 0 10px rgba(255, 126, 95, 0.3);
    letter-spacing: 1px;
    position: relative;
}

/* Светящийся эффект для заголовков */
h1::after, h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-heading), transparent);
    transform: translateX(-50%);
    transition: width 0.6s ease;
}

h1:hover::after, h2:hover::after {
    width: 80%;
}

/* Стилизация акцентов для текста */
p {
    position: relative;
    z-index: 1;
}

p strong, p em {
    color: var(--color-accent-1);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(38, 198, 218, 0.3);
}

.logo img {
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(38, 198, 218, 0.7);
    animation: glowPulse 3s infinite alternate;
}

/* Пульсирующее свечение для логотипа */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 15px rgba(38, 198, 218, 0.7);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 126, 95, 0.8);
    }
}

.header {
    background: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-background-dark) 100%);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 126, 95, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(38, 198, 218, 0.2) 0%, transparent 40%);
    z-index: 0;
    animation: underwaterLights 15s ease infinite alternate;
}

/* Имитация движения света сквозь воду */
@keyframes underwaterLights {
    0% {
        background-position: 0% 0%, 0% 0%;
        opacity: 0.7;
    }
    50% {
        background-position: 2% 10%, -5% 15%;
        opacity: 1;
    }
    100% {
        background-position: -2% 5%, 5% 20%;
        opacity: 0.7;
    }
}

/* Плавающие элементы в заголовке */
.header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 10px),
        radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 15px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 8px),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 12px),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 10px);
    z-index: 0;
    animation: floatingParticles 20s linear infinite;
}

@keyframes floatingParticles {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 0% 100%, 100% 100%, 50% 100%, 75% 100%, 25% 100%;
    }
}

.header-cont {
    position: relative;
    z-index: 1;
}

.main-button {
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.4);
    border: none;
    transform: translateY(0);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.main-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmerEffect 3s infinite;
}

@keyframes shimmerEffect {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.6);
}

.col-wrapper {
    position: relative;
}

.col-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-accent-1), transparent);
}

.experience-item {
    background: var(--color-background-light);
    border: 1px solid var(--color-background-lighter);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        145deg,
        transparent 20%,
        rgba(38, 198, 218, 0.05) 40%,
        rgba(86, 67, 204, 0.05) 60%,
        transparent 80%
    );
    z-index: -1;
    transition: transform 3s ease;
}

.experience-item:hover::before {
    transform: rotate(180deg);
}

.experience-item::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-accent-1) 0%, transparent 70%);
    opacity: 0.2;
    top: -15px;
    right: -15px;
    animation: floatBubble 3s infinite ease-in-out alternate;
}

@keyframes floatBubble {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-5px, 5px) scale(1.2);
    }
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-wrapper {
    background: linear-gradient(135deg, var(--color-accent-3) 0%, var(--color-accent-2) 100%);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Эффект "морского течения" */
.contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, transparent 90%, rgba(255, 255, 255, 0.07) 100%),
        linear-gradient(135deg, transparent 80%, rgba(255, 255, 255, 0.07) 100%),
        linear-gradient(225deg, transparent 80%, rgba(255, 255, 255, 0.07) 100%),
        linear-gradient(315deg, transparent 90%, rgba(255, 255, 255, 0.07) 100%);
    z-index: 0;
    animation: oceanCurrents 10s infinite linear;
}

.contact-wrapper > * {
    position: relative;
    z-index: 1;
}

@keyframes oceanCurrents {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 20px 20px, 20px 20px, 20px 20px, 20px 20px;
    }
}

/* Светящиеся точки глубоководных созданий */
.contact-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 85% 7%, rgba(255, 255, 255, 0.5) 0%, transparent 5px),
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 3px),
        radial-gradient(circle at 40% 90%, rgba(255, 255, 255, 0.4) 0%, transparent 4px),
        radial-gradient(circle at 95% 85%, rgba(255, 255, 255, 0.3) 0%, transparent 3px);
    z-index: 0;
    animation: bioluminescence 4s infinite alternate;
}

@keyframes bioluminescence {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.8;
    }
}

.slot-machine {
    background: linear-gradient(to bottom, var(--color-background-dark), var(--color-background-darker));
    border: 1px solid var(--color-accent-1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Эффект подводных лучей света */
.slot-machine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(30deg, transparent 45%, rgba(38, 198, 218, 0.03) 50%, transparent 55%),
        linear-gradient(150deg, transparent 45%, rgba(255, 126, 95, 0.03) 50%, transparent 55%);
    animation: underwaterRays 8s linear infinite;
    pointer-events: none;
}

@keyframes underwaterRays {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.grid {
    background: rgba(7, 42, 64, 0.7);
    box-shadow: inset 0 0 20px rgba(38, 198, 218, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

/* Эффект водных волн для ячеек */
.grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 10px,
            rgba(38, 198, 218, 0.02) 10px,
            rgba(38, 198, 218, 0.02) 20px
        );
    pointer-events: none;
    animation: waterWave 20s linear infinite;
}

@keyframes waterWave {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100px;
    }
}

.cell {
    background: rgba(38, 198, 218, 0.1);
    border: 1px solid rgba(38, 198, 218, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

/* Эффект биолюминесценции для ячеек */
.cell::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(38, 198, 218, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cell:hover::before {
    opacity: 1;
}

.cell:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(38, 198, 218, 0.3);
}

/* Мерцающий эффект для SVG внутри ячеек */
.cell svg {
    filter: drop-shadow(0 0 2px rgba(38, 198, 218, 0.5));
    transition: filter 0.3s;
}

.cell:hover svg {
    filter: drop-shadow(0 0 5px rgba(38, 198, 218, 0.8));
    animation: glowingIcon 1.5s infinite alternate;
}

@keyframes glowingIcon {
    0% {
        filter: drop-shadow(0 0 2px rgba(38, 198, 218, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 8px rgba(255, 126, 95, 0.8));
    }
}

.info {
    background: linear-gradient(to right, rgba(38, 198, 218, 0.1), rgba(255, 126, 95, 0.1));
    border: 1px solid rgba(38, 198, 218, 0.2);
}

button.spin {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    border: none;
    box-shadow: 0 5px 15px rgba(38, 198, 218, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Светящийся эффект для кнопки вращения */
button.spin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: -1;
}

button.spin:hover::before {
    transform: translateX(100%);
}

/* Эффект пульсации */
button.spin::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 70%, rgba(255, 255, 255, 0.3) 100%);
    opacity: 0;
    z-index: -2;
    animation: spinPulse 2s infinite;
}

@keyframes spinPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

button.spin:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(38, 198, 218, 0.6);
}

.decrease, .increase {
    background: var(--color-control);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

/* Волновой эффект нажатия */
.decrease::after, .increase::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.decrease:active::after, .increase:active::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(8, 8);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(30, 30);
    }
}

.decrease:hover, .increase:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, var(--color-control), var(--color-background-darker));
}

.age {
    background: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-background-dark) 100%);
}

.age-cont {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-age {
    background: var(--color-accent-1);
}

/* Эффекты для всего сайта */
@keyframes waterFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.background-accent {
    background: linear-gradient(270deg, var(--color-accent-1), var(--color-accent-2));
    background-size: 200% 200%;
    animation: waterFlow 10s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Эффект волн для фона */
.background-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(0deg, transparent 80%, rgba(255, 255, 255, 0.1) 100%),
        linear-gradient(60deg, transparent 80%, rgba(255, 255, 255, 0.08) 100%),
        linear-gradient(120deg, transparent 80%, rgba(255, 255, 255, 0.08) 100%);
    animation: waterSurface 15s linear infinite;
    pointer-events: none;
}

@keyframes waterSurface {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 100px 0, 50px 0, -50px 0;
    }
}

/* Плавающие микрочастицы для фона */
.background-accent::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 6px),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 4px),
        radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 5px),
        radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.05) 0%, transparent 3px);
    animation: microParticles 30s linear infinite alternate;
    pointer-events: none;
}

@keyframes microParticles {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 30px 30px, -20px 40px, 15px -15px, -10px -30px;
    }
}

/* Анимация для плавающих пузырьков (абсолютно позиционированные) */
body::after {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999;
    animation: bubbleRise 60s linear infinite;
    background-image:
        radial-gradient(circle at 85% 7%, rgba(255, 255, 255, 0.15) 0%, transparent 10px),
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 15px),
        radial-gradient(circle at 40% 90%, rgba(255, 255, 255, 0.12) 0%, transparent 20px),
        radial-gradient(circle at 95% 85%, rgba(255, 255, 255, 0.08) 0%, transparent 12px),
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 14px),
        radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.04) 0%, transparent 8px);
}

@keyframes bubbleRise {
    from {
        transform: translateY(100vh);
    }
    to {
        transform: translateY(-100%);
    }
}

/* Переливающиеся эффекты для всех ссылок */
a {
    position: relative;
    z-index: 1;
}

a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, var(--color-accent-1), var(--color-heading));
    transition: width 0.4s ease;
    z-index: -1;
}

a:hover::before {
    width: 100%;
}

/* Эффект двойной тени для всех изображений */
img {
    transition: filter 0.5s;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

img:hover {
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.3)) brightness(1.05);
}

/* Красивый стиль для кнопки */
.button {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(38, 198, 218, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: -1;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(38, 198, 218, 0.4);
}

.button:hover::before {
    transform: translateX(100%);
}

/* Интерактивные эффекты для информационных секций */
.info {
    position: relative;
    overflow: hidden;
}

.info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(38, 198, 218, 0.05), transparent);
    transform: translateX(-100%) rotate(45deg);
    animation: infoGlare 5s infinite;
}

@keyframes infoGlare {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    20%, 100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Глобальный эффект для интерактивных элементов */
button, .button, .decrease, .increase, .spin {
    transform-style: preserve-3d;
    transform: perspective(1000px) translateZ(0);
    transition: transform 0.3s, box-shadow 0.3s;
}

button:hover, .button:hover, .decrease:hover, .increase:hover, .spin:hover {
    transform: perspective(1000px) translateZ(10px);
}
.modal-overlay {
    backdrop-filter: blur(5px);
    transition: backdrop-filter 0.5s ease;
}

.modal {
    border: 2px solid var(--color-accent-1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(38, 198, 218, 0.4);
    transform: translateY(20px);
    opacity: 0;
    animation: modalAppear 0.5s forwards;
}

@keyframes modalAppear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal .age-circle {
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.4);
    position: relative;
    overflow: hidden;
}

/* Пульсирующий эффект для возрастного круга */
.modal .age-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulsateCircle 2s infinite alternate;
}

@keyframes pulsateCircle {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.modal button {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    box-shadow: 0 3px 10px rgba(255, 126, 95, 0.3);
    position: relative;
    overflow: hidden;
}

/* Эффект блеска для кнопки */
.modal button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: buttonShimmer 3s infinite;
}

@keyframes buttonShimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}