/* Основная палитра цветов:
   - Основной фон: глубокий фиолетово-синий (#0A0028)
   - Акцент 1: серебристо-голубой, как лунный свет (#A4B8E0)
   - Акцент 2: глубокий пурпурный (#5E1B5B)
   - Акцент 3: мерцающий индиго (#4A3F6F)
   - Акцент 4: светящийся бирюзовый (#00D4D4)
   - Текст: серебристо-белый (#E0E6F0)
*/

/* Основные стили */
body {
    background: linear-gradient(135deg, #0A0028 0%, #1F0942 100%);
    color: #E0E6F0;
    font-family: "Montserrat", serif;
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    color: #A4B8E0;
    text-shadow: 0 0 10px rgba(164, 184, 224, 0.5);
}

h1 {
    color: #E0E6F0;
    text-shadow: 0 0 15px #00D4D4, 0 0 25px rgba(164, 184, 224, 0.7);
}

/* Навигация */
.navbar {
    background: rgba(10, 0, 40, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(164, 184, 224, 0.2);
}

.navbar a {
    color: #A4B8E0;
}

.navbar a:hover {
    color: #00D4D4;
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 212, 212, 0.7);
}

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

/* Блоки казино */
.casino-wrapper {
    background: rgba(10, 0, 40, 0.3);
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.casino-item {
    background: rgba(30, 10, 66, 0.7);
    border: 1px solid rgba(164, 184, 224, 0.3);
    transition: all 0.4s ease;
}

.casino-item:hover {
    background: rgba(74, 63, 111, 0.8);
    border: 1px solid rgba(0, 212, 212, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 212, 212, 0.3);
}

.casino-item h4 {
    color: #00D4D4;
}

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

/* Кнопки */
.btn {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.btn-red {
    background: #5E1B5B;
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-red:hover {
    background: #7A2379;
}

.btn-white {
    background: rgba(164, 184, 224, 0.9);
    color: #0A0028;
}

.btn-white:hover {
    background: #A4B8E0;
}

.btn-blue {
    background: #4A3F6F;
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-blue:hover {
    background: #5A4F8F;
}

.btn-green {
    background: #326B8F;
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-green:hover {
    background: #3D7DA6;
}

.btn-light-red {
    background: #8F3064;
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-light-red:hover {
    background: #A53875;
}

/* Футер */
footer {
    background: rgba(10, 0, 40, 0.6);
    border: 1px solid rgba(164, 184, 224, 0.2);
    backdrop-filter: blur(5px);
}

.footer-info {
    color: #A4B8E0;
}

.footer-age {
    background: rgba(30, 10, 66, 0.7);
}

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

.footer-links a:hover {
    color: #00D4D4;
    text-shadow: 0 0 8px rgba(0, 212, 212, 0.7);
    text-decoration: none;
}

/* Модальное окно */
.modal-overlay {
    backdrop-filter: blur(5px);
}

.modal {
    background: #0A0028;
    border: 1px solid #4A3F6F;
    color: #E0E6F0;
    box-shadow: 0 0 20px rgba(0, 212, 212, 0.3);
}

.modal .age-circle {
    background-color: #5E1B5B;
}

.modal h2 {
    color: #A4B8E0;
}

.modal button {
    background-color: #00D4D4;
    color: #0A0028;
}

.modal button:hover {
    background-color: #4BE5E5;
}

/* Анимация свечения для создания эффекта мерцания фейной пыльцы */
@keyframes fairy-dust {
    0% {
        text-shadow: 0 0 8px rgba(0, 212, 212, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 212, 212, 0.7), 0 0 25px rgba(164, 184, 224, 0.5);
    }
    100% {
        text-shadow: 0 0 8px rgba(0, 212, 212, 0.3);
    }
}

h1, h2 {
    animation: fairy-dust 4s infinite alternate;
}

/* Дополнительные эффекты для фоновых элементов */
.col:hover, .col-2:hover, .col-3:hover {
    transform: translateY(-5px);
}

/* Кастомные стили для секций */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 212, 0.05), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Основная палитра цветов:
   - Основной фон: глубокий фиолетово-синий (#0A0028)
   - Акцент 1: серебристо-голубой, как лунный свет (#A4B8E0)
   - Акцент 2: глубокий пурпурный (#5E1B5B)
   - Акцент 3: мерцающий индиго (#4A3F6F)
   - Акцент 4: светящийся бирюзовый (#00D4D4)
   - Текст: серебристо-белый (#E0E6F0)
*/

/* Основные стили */
body {
    background: linear-gradient(135deg, #0A0028 0%, #1F0942 100%);
    color: #E0E6F0;
    font-family: "Montserrat", serif;
    background-attachment: fixed;
    position: relative;
}

h1, h2, h3, h4 {
    color: #A4B8E0;
    text-shadow: 0 0 10px rgba(164, 184, 224, 0.5);
    position: relative;
}

h1 {
    color: #E0E6F0;
    text-shadow: 0 0 15px #00D4D4, 0 0 25px rgba(164, 184, 224, 0.7);
    position: relative;
}

h1::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00D4D4, transparent);
    opacity: 0.6;
}

h1::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00D4D4, transparent);
    opacity: 0.6;
}

/* Навигация */
.navbar {
    background: rgba(10, 0, 40, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(164, 184, 224, 0.2);
}

.navbar a {
    color: #A4B8E0;
}

.navbar a:hover {
    color: #00D4D4;
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 212, 212, 0.7);
}

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

/* Блоки казино */
.casino-wrapper {
    background: rgba(10, 0, 40, 0.3);
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.casino-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 63, 111, 0.1) 0%, transparent 70%);
    opacity: 0.4;
    animation: rotating 20s linear infinite;
    pointer-events: none;
}

@keyframes rotating {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.casino-item {
    background: rgba(30, 10, 66, 0.7);
    border: 1px solid rgba(164, 184, 224, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.casino-item::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(135deg,
    rgba(0, 212, 212, 0) 0%,
    rgba(0, 212, 212, 0.1) 50%,
    rgba(0, 212, 212, 0) 100%);
    transform: rotate(45deg);
    transition: all 0.8s ease;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

.casino-item:hover::after {
    top: -20%;
    left: -20%;
    opacity: 1;
}

.casino-item:hover {
    background: rgba(74, 63, 111, 0.8);
    border: 1px solid rgba(0, 212, 212, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 212, 212, 0.3),
    inset 0 0 20px rgba(0, 212, 212, 0.1);
}

.casino-item h4 {
    color: #00D4D4;
    position: relative;
    z-index: 2;
}

.casino-item p {
    color: #A4B8E0;
    position: relative;
    z-index: 2;
}

.casino {
    position: relative;
}

.casino::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 212, 212, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    animation: floating 10s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

/* Кнопки */
.btn {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.btn-red {
    background: #5E1B5B;
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-red:hover {
    background: #7A2379;
}

.btn-white {
    background: rgba(164, 184, 224, 0.9);
    color: #0A0028;
}

.btn-white:hover {
    background: #A4B8E0;
}

.btn-blue {
    background: #4A3F6F;
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-blue:hover {
    background: #5A4F8F;
}

.btn-green {
    background: #326B8F;
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-green:hover {
    background: #3D7DA6;
}

.btn-light-red {
    background: #8F3064;
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-light-red:hover {
    background: #A53875;
}

/* Футер */
footer {
    background: rgba(10, 0, 40, 0.6);
    border: 1px solid rgba(164, 184, 224, 0.2);
    backdrop-filter: blur(5px);
}

.footer-info {
    color: #A4B8E0;
}

.footer-age {
    background: rgba(30, 10, 66, 0.7);
}

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

.footer-links a:hover {
    color: #00D4D4;
    text-shadow: 0 0 8px rgba(0, 212, 212, 0.7);
    text-decoration: none;
}

/* Модальное окно */
.modal-overlay {
    backdrop-filter: blur(5px);
}

.modal {
    background: #0A0028;
    border: 1px solid #4A3F6F;
    color: #E0E6F0;
    box-shadow: 0 0 20px rgba(0, 212, 212, 0.3);
}

.modal .age-circle {
    background-color: #5E1B5B;
}

.modal h2 {
    color: #A4B8E0;
}

.modal button {
    background-color: #00D4D4;
    color: #0A0028;
}

.modal button:hover {
    background-color: #4BE5E5;
}

/* Анимации и эффекты */

/* Анимация свечения для создания эффекта мерцания фейной пыльцы */
@keyframes fairy-dust {
    0% {
        text-shadow: 0 0 8px rgba(0, 212, 212, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 212, 212, 0.7), 0 0 25px rgba(164, 184, 224, 0.5);
    }
    100% {
        text-shadow: 0 0 8px rgba(0, 212, 212, 0.3);
    }
}

/* Анимация парящих движений для элементов */
@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Анимация вспышек звёзд */
@keyframes starlight {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

/* Анимация пульсации для кнопок */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 212, 212, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 212, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 212, 212, 0); }
}

/* Мерцающие заголовки */
h1, h2 {
    animation: fairy-dust 4s infinite alternate;
}

/* Эффект парения для блоков при наведении */
.col:hover, .col-2:hover, .col-3:hover {
    transform: translateY(-5px);
    transition: transform 0.4s ease;
}

/* Звёздный фон для секций */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 212, 0.05), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Эффект феиных крыльев для ключевых элементов */
.logo, .casino img, h1::after {
    position: relative;
}

.logo::after, .casino img::after, h1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(164, 184, 224, 0.1), transparent);
    animation: floating 6s ease-in-out infinite;
    pointer-events: none;
}

/* Эффект лунного ореола вокруг изображений */
.casino img {
    filter: drop-shadow(0 0 8px rgba(164, 184, 224, 0.5));
    animation: floating 8s ease-in-out infinite;
}

/* Пульсация для кнопок при наведении */
.btn:hover {
    animation: pulse 1.5s infinite;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Эффект росы для всех изображений */
img:not(.logo img) {
    position: relative;
    filter: brightness(1.1) contrast(1.1);
}

img:not(.logo img)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 212, 212, 0.2), transparent 20%),
    radial-gradient(circle at 70% 30%, rgba(164, 184, 224, 0.2), transparent 20%);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Эффект звёздного неба для фона */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(1px 1px at 10% 10%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 20% 50%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 30% 30%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 50% 20%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 60% 40%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 70% 80%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 90% 90%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
    background-size: 100% 100%;
    opacity: 0.2;
    z-index: -2;
    animation: starlight 6s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Основная палитра цветов:
   - Основной фон: глубокий фиолетово-синий (#0A0028)
   - Акцент 1: серебристо-голубой, как лунный свет (#A4B8E0)
   - Акцент 2: глубокий пурпурный (#5E1B5B)
   - Акцент 3: мерцающий индиго (#4A3F6F)
   - Акцент 4: светящийся бирюзовый (#00D4D4)
   - Текст: серебристо-белый (#E0E6F0)
*/

/* Основной фон с магическими частицами */
body {
    background: linear-gradient(135deg, #0A0028 0%, #1F0942 100%);
    color: #E0E6F0;
    font-family: "Montserrat", serif;
    background-attachment: fixed;
    position: relative;
}

/* Эффект звёздного неба и фейной пыльцы */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(1px 1px at 10% 10%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 20% 50%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 30% 30%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 50% 20%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 60% 40%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 70% 80%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
            radial-gradient(1px 1px at 90% 90%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
    background-size: 100% 100%;
    opacity: 0.2;
    z-index: -2;
    animation: starlight 8s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Создаем эффект северного сияния в фоне */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(90deg, transparent 0%, rgba(124, 100, 200, 0.03) 20%, rgba(0, 212, 212, 0.03) 40%,
            rgba(94, 27, 91, 0.03) 60%, rgba(0, 212, 212, 0.03) 80%, transparent 100%);
    background-size: 200% 100%;
    z-index: -1;
    opacity: 0.5;
    animation: aurora 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes aurora {
    0% {
        background-position: 0% 0%;
        opacity: 0.3;
    }
    50% {
        background-position: 100% 0%;
        opacity: 0.7;
    }
    100% {
        background-position: 0% 0%;
        opacity: 0.3;
    }
}

/* Эффект "портала в мир снов" при загрузке страницы */
@keyframes dream-portal {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Применяем эффект портала к основному контенту */
.container {
    animation: dream-portal 1.2s ease-out;
}

/* Уникальная анимация для появления каждого последующего блока */
@keyframes fade-slide-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Магическая аура для всех изображений */
img:not(.logo img) {
    position: relative;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.5s ease;
}

img:not(.logo img):hover {
    filter: brightness(1.2) contrast(1.2) saturate(1.2);
    transform: scale(1.02);
}

/* Добавляем эффект мерцающего ореола при наведении на изображения */
img:not(.logo img)::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: radial-gradient(ellipse, rgba(0, 212, 212, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

img:not(.logo img):hover::after {
    opacity: 0.8;
}

/* Навигация */
.navbar {
    background: rgba(10, 0, 40, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(164, 184, 224, 0.2);
    position: relative;
    overflow: hidden;
}

.navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 212, 212, 0.2) 20%,
    rgba(164, 184, 224, 0.5) 50%,
    rgba(0, 212, 212, 0.2) 80%,
    transparent 100%);
}

.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(164, 184, 224, 0.05) 50%,
    transparent 100%);
    animation: navbar-light 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes navbar-light {
    0% { left: -100%; }
    100% { left: 100%; }
}

.navbar-container {
    position: relative;
    z-index: 2;
}

.menu-items {
    position: relative;
}

.menu-items li {
    position: relative;
    overflow: hidden;
}

.menu-items li::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: rgba(0, 212, 212, 0.7);
    transition: width 0.3s ease;
}

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

.navbar a {
    color: #A4B8E0;
    position: relative;
    display: inline-block;
}

.navbar a:hover {
    color: #00D4D4;
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 212, 212, 0.7);
}

.navbar-container .hamburger-lines .line {
    background: #A4B8E0;
    position: relative;
}

.navbar-container .hamburger-lines .line::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 212, 212, 0.3);
    filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-container:hover .hamburger-lines .line::before {
    opacity: 1;
}

/* Блоки казино */
.casino-wrapper {
    background: rgba(10, 0, 40, 0.3);
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.casino-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 63, 111, 0.1) 0%, transparent 70%);
    opacity: 0.4;
    animation: rotating 20s linear infinite;
    pointer-events: none;
}

@keyframes rotating {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.casino-item {
    background: rgba(30, 10, 66, 0.7);
    border: 1px solid rgba(164, 184, 224, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.casino-item::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(135deg,
    rgba(0, 212, 212, 0) 0%,
    rgba(0, 212, 212, 0.1) 50%,
    rgba(0, 212, 212, 0) 100%);
    transform: rotate(45deg);
    transition: all 0.8s ease;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

.casino-item:hover::after {
    top: -20%;
    left: -20%;
    opacity: 1;
}

.casino-item:hover {
    background: rgba(74, 63, 111, 0.8);
    border: 1px solid rgba(0, 212, 212, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 212, 212, 0.3),
    inset 0 0 20px rgba(0, 212, 212, 0.1);
}

.casino-item h4 {
    color: #00D4D4;
    position: relative;
    z-index: 2;
}

.casino-item p {
    color: #A4B8E0;
    position: relative;
    z-index: 2;
}

.casino {
    position: relative;
}

.casino::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 212, 212, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    animation: floating 10s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

/* Кнопки */
.btn {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    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.2),
    transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -2;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

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

.btn:hover::after {
    opacity: 1;
}

.btn-red {
    background: linear-gradient(135deg, #5E1B5B 0%, #7A2379 100%);
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-red:hover {
    background: linear-gradient(135deg, #7A2379 0%, #983096 100%);
}

.btn-white {
    background: linear-gradient(135deg, rgba(164, 184, 224, 0.9) 0%, rgba(190, 210, 240, 0.9) 100%);
    color: #0A0028;
}

.btn-white:hover {
    background: linear-gradient(135deg, rgba(190, 210, 240, 0.9) 0%, rgba(220, 230, 255, 0.9) 100%);
}

.btn-blue {
    background: linear-gradient(135deg, #4A3F6F 0%, #5A4F8F 100%);
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-blue:hover {
    background: linear-gradient(135deg, #5A4F8F 0%, #6A5FAF 100%);
}

.btn-green {
    background: linear-gradient(135deg, #326B8F 0%, #3D7DA6 100%);
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-green:hover {
    background: linear-gradient(135deg, #3D7DA6 0%, #4D90C0 100%);
}

.btn-light-red {
    background: linear-gradient(135deg, #8F3064 0%, #A53875 100%);
    border: 1px solid rgba(164, 184, 224, 0.3);
}

.btn-light-red:hover {
    background: linear-gradient(135deg, #A53875 0%, #BD4186 100%);
}

/* Футер */
footer {
    background: rgba(10, 0, 40, 0.6);
    border: 1px solid rgba(164, 184, 224, 0.2);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 50%, rgba(74, 63, 111, 0.3) 0%, transparent 30%),
            radial-gradient(circle at 80% 30%, rgba(94, 27, 91, 0.3) 0%, transparent 30%);
    pointer-events: none;
}

footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 212, 212, 0.3) 20%,
    rgba(164, 184, 224, 0.7) 50%,
    rgba(0, 212, 212, 0.3) 80%,
    transparent 100%);
    pointer-events: none;
}

.footer-info {
    color: #A4B8E0;
    position: relative;
}

.footer-age {
    background: rgba(30, 10, 66, 0.7);
    position: relative;
    overflow: hidden;
}

.footer-age::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 212, 0.3), transparent);
    pointer-events: none;
}

.footer-links a {
    color: #A4B8E0;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 5px;
}

.footer-links a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00D4D4;
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:hover {
    color: #00D4D4;
    text-shadow: 0 0 8px rgba(0, 212, 212, 0.7);
    text-decoration: none;
}

/* Модальное окно */
.modal-overlay {
    backdrop-filter: blur(8px);
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: linear-gradient(135deg, #0A0028 0%, #1F0942 100%);
    border: 1px solid #4A3F6F;
    color: #E0E6F0;
    box-shadow: 0 0 30px rgba(0, 212, 212, 0.3), inset 0 0 20px rgba(74, 63, 111, 0.3);
    position: relative;
    overflow: hidden;
    animation: modal-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 212, 0.5), transparent);
}

.modal::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 212, 0.5), transparent);
}

.modal .age-circle {
    background: radial-gradient(circle, #8F3064 0%, #5E1B5B 100%);
    box-shadow: 0 0 15px rgba(143, 48, 100, 0.5), inset 0 0 8px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.modal .age-circle::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.modal h2 {
    color: #A4B8E0;
    position: relative;
    display: inline-block;
}

.modal h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 212, 0.7), transparent);
}

.modal button {
    background: linear-gradient(135deg, #00D4D4 0%, #00A0A0 100%);
    color: #0A0028;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.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: left 0.5s ease;
}

.modal button:hover {
    background: linear-gradient(135deg, #00E5E5 0%, #00B1B1 100%);
    box-shadow: 0 0 15px rgba(0, 212, 212, 0.5);
    transform: translateY(-2px);
}

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

/* Магическая типография */
h1, h2, h3, h4 {
    color: #A4B8E0;
    text-shadow: 0 0 10px rgba(164, 184, 224, 0.5);
    position: relative;
    letter-spacing: 1px;
}

h1 {
    color: #E0E6F0;
    text-shadow: 0 0 15px #00D4D4, 0 0 25px rgba(164, 184, 224, 0.7);
    position: relative;
    letter-spacing: 2px;
}

h1::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00D4D4, transparent);
    opacity: 0.6;
}

h1::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00D4D4, transparent);
    opacity: 0.6;
}

/* Создаем эффект мистической тени для заголовков */
h2, h3 {
    position: relative;
    overflow: hidden;
}

h2::before, h3::before {
    content: "";
    position: absolute;
    top: 70%;
    left: 0;
    width: 100%;
    height: 30%;
    background: rgba(0, 212, 212, 0.05);
    filter: blur(10px);
    z-index: -1;
    transform: translateY(5px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

h2:hover::before, h3:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* Живая анимация для заголовков */
@keyframes magic-glow {
    0% {
        text-shadow: 0 0 8px rgba(0, 212, 212, 0.3);
    }
    25% {
        text-shadow: 0 0 12px rgba(94, 27, 91, 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 212, 212, 0.7), 0 0 25px rgba(164, 184, 224, 0.5);
    }
    75% {
        text-shadow: 0 0 12px rgba(94, 27, 91, 0.5);
    }
    100% {
        text-shadow: 0 0 8px rgba(0, 212, 212, 0.3);
    }
}

h1, h2 {
    animation: magic-glow 8s infinite;
}

/* Эффект плавного появления текста */
p {
    opacity: 0;
    animation: text-fade-in 1.5s ease forwards;
    animation-delay: 0.5s;
}

@keyframes text-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Стилизация всех текстовых элементов */
p, li, a {
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* Декоративные линии между параграфами */
.col p:not(:last-child), .col-2 p:not(:last-child), .col-3 p:not(:last-child) {
    margin-bottom: 25px;
    position: relative;
}

.col p:not(:last-child)::after, .col-2 p:not(:last-child)::after, .col-3 p:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 212, 212, 0.1) 30%,
    rgba(164, 184, 224, 0.2) 50%,
    rgba(0, 212, 212, 0.1) 70%,
    transparent 100%);
}