/* Основная цветовая палитра пустынной ночи */
body {
    background: #0A0F24; /* Глубокий ночной синий */
    color: #E8D9B5; /* Песочный оттенок для текста */
}

/* Навигация */
.navbar {
    background: linear-gradient(to bottom, #0A0F24, rgba(10, 15, 36, 0.7));
}

.navbar a {
    color: #E8D9B5;
}

.navbar a:hover {
    color: #F7B75D; /* Цвет пламени/заката */
}

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

/* Заголовки */
h1, h2, h3, h4 {
    color: #F7B75D; /* Оттенок золота/песка */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Контейнеры и разделы */
.casino-item {
    background: linear-gradient(145deg, #12182E 0%, #0A0F24 100%);
    border: 1px solid #493D26; /* Темный песочный для границы */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.casino-item p {
    color: #C4B59C; /* Светлый песочный для текста */
}

.casino-item h4 {
    color: #F7B75D;
}

/* Кнопки */
.btn-red {
    background: #8B3E2F; /* Темно-терракотовый */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-white {
    background: #E8D9B5; /* Песочный */
    color: #0A0F24;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-blue {
    background: #1E3F66; /* Темно-синий */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-green {
    background: #4A5D23; /* Оливковый */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-light-red {
    background: #A24936; /* Терракотовый */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Футер */
footer {
    border: 1px solid #493D26;
    background: linear-gradient(to bottom, rgba(10, 15, 36, 0.7), #0A0F24);
}

.footer-age {
    background: #0C1326; /* Темнее основного фона */
}

/* Модальное окно */
.modal {
    background: #12182E;
    color: #E8D9B5;
    border: 1px solid #493D26;
}

.modal h2 {
    color: #F7B75D;
}

.modal .age-circle {
    background-color: #8B3E2F;
}

.modal button {
    background-color: #F7B75D;
    color: #0A0F24;
}

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

/* Эффекты и анимации */
* {
    transition: 0.5s ease all;
}

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

/* Дополнительные эффекты для создания атмосферы пустыни */
.casino-wrapper {
    background: linear-gradient(rgba(10, 15, 36, 0.5), rgba(10, 15, 36, 0.5)),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23F7B75D' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

#choose {
    background: linear-gradient(rgba(10, 15, 36, 0.7), rgba(10, 15, 36, 0.7)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F7B75D' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Основная цветовая палитра пустынной ночи */
body {
    background: #0A0F24; /* Глубокий ночной синий */
    color: #E8D9B5; /* Песочный оттенок для текста */
}

/* Навигация */
.navbar {
    background: linear-gradient(to bottom, #0A0F24, rgba(10, 15, 36, 0.7));
}

.navbar a {
    color: #E8D9B5;
}

.navbar a:hover {
    color: #F7B75D; /* Цвет пламени/заката */
}

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

/* Заголовки */
h1, h2, h3, h4 {
    color: #F7B75D; /* Оттенок золота/песка */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Контейнеры и разделы */
.casino-item {
    background: linear-gradient(145deg, #12182E 0%, #0A0F24 100%);
    border: 1px solid #493D26; /* Темный песочный для границы */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.casino-item p {
    color: #C4B59C; /* Светлый песочный для текста */
}

.casino-item h4 {
    color: #F7B75D;
}

/* Кнопки */
.btn-red {
    background: #8B3E2F; /* Темно-терракотовый */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-white {
    background: #E8D9B5; /* Песочный */
    color: #0A0F24;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-blue {
    background: #1E3F66; /* Темно-синий */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-green {
    background: #4A5D23; /* Оливковый */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-light-red {
    background: #A24936; /* Терракотовый */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Футер */
footer {
    border: 1px solid #493D26;
    background: linear-gradient(to bottom, rgba(10, 15, 36, 0.7), #0A0F24);
}

.footer-age {
    background: #0C1326; /* Темнее основного фона */
}

/* Модальное окно */
.modal {
    background: #12182E;
    color: #E8D9B5;
    border: 1px solid #493D26;
    box-shadow: 0 0 30px rgba(247, 183, 93, 0.2);
    backdrop-filter: blur(5px);
    animation: modalAppear 0.5s ease-out;
}

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

.modal h2 {
    color: #F7B75D;
    text-align: center;
    position: relative;
}

.modal h2::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, #F7B75D, transparent);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.modal .age-circle {
    background-color: #8B3E2F;
    box-shadow: 0 0 15px rgba(139, 62, 47, 0.5);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 10px rgba(139, 62, 47, 0.5); }
    to { box-shadow: 0 0 20px rgba(139, 62, 47, 0.8); }
}

.modal button {
    background-color: #F7B75D;
    color: #0A0F24;
    border: none;
    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.2), transparent);
    transition: left 0.7s;
    z-index: -1;
}

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

.modal button:hover {
    background-color: #E6A64C;
    transform: scale(1.05);
}

/* Эффекты и анимации */
* {
    transition: 0.5s ease all;
}

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

/* Эффект мерцания звезд для заголовков */
h1, h2 {
    animation: starTwinkle 5s infinite alternate;
}

@keyframes starTwinkle {
    0% { text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); }
    50% { text-shadow: 0 0 10px #F7B75D, 0 0 20px rgba(247, 183, 93, 0.5); }
    100% { text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); }
}

/* Эффект песчаной бури при наведении на элементы */
.casino-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    background: linear-gradient(145deg, #1A2240 0%, #0E1428 100%);
    border-color: #F7B75D;
}

/* Анимация для ссылок меню */
.navbar a {
    position: relative;
    overflow: hidden;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #F7B75D;
    transition: width 0.5s ease;
}

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

/* Анимация пульсации для кнопок */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 200%;
    height: 200%;
}

/* Дополнительные эффекты для создания атмосферы пустыни */
.casino-wrapper {
    background: linear-gradient(rgba(10, 15, 36, 0.5), rgba(10, 15, 36, 0.5)),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23F7B75D' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
}

/* Эффект мерцающих звезд на фоне */
.casino-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(1px 1px at 25% 15%, white, transparent),
            radial-gradient(1px 1px at 50% 40%, white, transparent),
            radial-gradient(2px 2px at 15% 55%, white, transparent),
            radial-gradient(1.5px 1.5px at 75% 70%, white, transparent),
            radial-gradient(2px 2px at 35% 85%, white, transparent),
            radial-gradient(1px 1px at 85% 30%, white, transparent);
    background-repeat: repeat;
    background-size: 250px 250px;
    opacity: 0.15;
    animation: twinkling 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes twinkling {
    0% { opacity: 0.05; }
    50% { opacity: 0.2; }
    100% { opacity: 0.05; }
}

/* Эффект песчаной дюны */
#choose {
    background: linear-gradient(rgba(10, 15, 36, 0.7), rgba(10, 15, 36, 0.7)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F7B75D' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    position: relative;
}

#choose::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(transparent, #0A0F24 90%);
    opacity: 0.8;
    z-index: -1;
}

/* Эффект миража для контейнеров */
.container {
    position: relative;
}

.container::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(247, 183, 93, 0.2) 0%, transparent 70%);
    filter: blur(5px);
}

/* Эффект лунной пыли для изображений */
.logo img, .casino img {
    filter: drop-shadow(0 0 5px rgba(247, 183, 93, 0.3));
    transition: filter 0.5s ease;
}

.logo img:hover, .casino img:hover {
    filter: drop-shadow(0 0 8px rgba(247, 183, 93, 0.5));
}

/* Основная цветовая палитра пустынной ночи */
body {
    background: #0A0F24; /* Глубокий ночной синий */
    color: #E8D9B5; /* Песочный оттенок для текста */
    background-image:
            linear-gradient(to bottom, rgba(10, 15, 36, 0.9) 0%, rgba(10, 15, 36, 1) 100%),
            url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F7B75D' fill-opacity='0.03'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    animation: subtleShift 120s ease-in-out infinite alternate;
}

@keyframes subtleShift {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Навигация */
.navbar {
    background: linear-gradient(to bottom, #0A0F24, rgba(10, 15, 36, 0.7));
    border-bottom: 1px solid rgba(73, 61, 38, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.navbar a {
    color: #E8D9B5;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.navbar a:hover {
    color: #F7B75D; /* Цвет пламени/заката */
    text-shadow: 0 0 8px rgba(247, 183, 93, 0.5);
}

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

/* Добавляем эффект пустынного миража для мобильного меню */
.navbar .menu-items {
    background: linear-gradient(135deg, rgba(10, 15, 36, 0.95) 0%, rgba(18, 24, 46, 0.95) 100%);
    backdrop-filter: blur(5px);
    border-right: 1px solid rgba(73, 61, 38, 0.3);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.7);
}

/* Эффект "песчаной дорожки" в меню при чекбоксе */
.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1,
.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    background: linear-gradient(to right, #F7B75D, #E8D9B5);
}

/* Анимация появления логотипа */
.logo {
    position: relative;
    animation: logoGlow 5s infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 0px rgba(247, 183, 93, 0)); }
    50% { filter: drop-shadow(0 0 5px rgba(247, 183, 93, 0.4)); }
    100% { filter: drop-shadow(0 0 0px rgba(247, 183, 93, 0)); }
}

/* Заголовки */
h1, h2, h3, h4 {
    color: #F7B75D; /* Оттенок золота/песка */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Особый эффект для h1 - "песчаный" текст */
h1 {
    background: linear-gradient(to bottom, #F7B75D, #C4B59C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    position: relative;
    letter-spacing: 2px;
    animation: desertWind 15s ease infinite;
}

@keyframes desertWind {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom, #F7B75D, #C4B59C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(10px);
    opacity: 0.5;
}

/* Эффект "песчаного ветра" для h2 */
h2 {
    position: relative;
    overflow: hidden;
}

h2::before {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(247, 183, 93, 0.1), transparent);
    width: 100%;
    height: 1px;
    bottom: 0;
    animation: sandWave 8s infinite linear;
}

@keyframes sandWave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Контейнеры и разделы */
.casino-item {
    background: linear-gradient(145deg, #12182E 0%, #0A0F24 100%);
    border: 1px solid #493D26; /* Темный песочный для границы */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

/* Эффект движущихся дюн внутри карточек */
.casino-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(247, 183, 93, 0.03) 40%,
    rgba(247, 183, 93, 0.05) 50%,
    rgba(247, 183, 93, 0.03) 60%,
    transparent 100%
    );
    transform: skewX(-20deg);
    animation: desertShimmer 7s infinite linear;
    pointer-events: none;
}

@keyframes desertShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.casino-item p {
    color: #C4B59C; /* Светлый песочный для текста */
    position: relative;
    z-index: 2;
}

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

/* Эффект оазиса при наведении */
.casino-item:hover::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(30, 63, 102, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    animation: oasisGlow 2s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes oasisGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* Эффект мерцания для изображений в карточках */
.casino img {
    filter: drop-shadow(0 0 5px rgba(247, 183, 93, 0.2));
    animation: starLight 6s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

@keyframes starLight {
    0% { filter: drop-shadow(0 0 5px rgba(247, 183, 93, 0.2)); }
    50% { filter: drop-shadow(0 0 8px rgba(247, 183, 93, 0.4)); }
    100% { filter: drop-shadow(0 0 5px rgba(247, 183, 93, 0.2)); }
}

/* Кнопки */
.btn {
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

/* Общий эффект свечения для всех кнопок */
.btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
    #F7B75D,
    transparent,
    #F7B75D,
    transparent,
    #F7B75D);
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-red {
    background: linear-gradient(135deg, #8B3E2F, #A24936);
    box-shadow: 0 5px 15px rgba(139, 62, 47, 0.5);
}

.btn-white {
    background: linear-gradient(135deg, #E8D9B5, #C4B59C);
    color: #0A0F24;
    box-shadow: 0 5px 15px rgba(232, 217, 181, 0.3);
}

.btn-blue {
    background: linear-gradient(135deg, #1E3F66, #172A4A);
    box-shadow: 0 5px 15px rgba(30, 63, 102, 0.5);
}

.btn-green {
    background: linear-gradient(135deg, #4A5D23, #374815);
    box-shadow: 0 5px 15px rgba(74, 93, 35, 0.5);
}

.btn-light-red {
    background: linear-gradient(135deg, #A24936, #8B3E2F);
    box-shadow: 0 5px 15px rgba(162, 73, 54, 0.5);
}

/* Эффект песчаной волны при наведении */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent);
    transform: translateX(-100%);
    z-index: -1;
    animation: sandDrift 3s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

@keyframes sandDrift {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Футер */
footer {
    border: 1px solid #493D26;
    background: linear-gradient(to bottom, rgba(10, 15, 36, 0.7), #0A0F24);
    position: relative;
    overflow: hidden;
}

/* Эффект "песчаных дюн" в футере */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
    transparent 0%,
    #493D26 10%,
    #F7B75D 20%,
    #493D26 30%,
    transparent 40%,
    transparent 60%,
    #493D26 70%,
    #F7B75D 80%,
    #493D26 90%,
    transparent 100%
    );
    opacity: 0.5;
    animation: sandFlow 20s linear infinite;
}

@keyframes sandFlow {
    0% { background-position: 0px; }
    100% { background-position: 1000px; }
}

.footer-age {
    background: #0C1326; /* Темнее основного фона */
    position: relative;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

/* Созвездия в футере */
.footer-age::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(1px 1px at 10% 20%, white, transparent),
            radial-gradient(1px 1px at 30% 50%, white, transparent),
            radial-gradient(1px 1px at 50% 30%, white, transparent),
            radial-gradient(1px 1px at 70% 60%, white, transparent),
            radial-gradient(1px 1px at 90% 40%, white, transparent);
    opacity: 0.1;
    pointer-events: none;
}

.footer-links a {
    position: relative;
    transition: color 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #F7B75D, transparent);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #F7B75D;
}

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

.copyright {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    animation: textPulse 4s infinite alternate;
}

@keyframes textPulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Модальное окно */
.modal {
    background: #12182E;
    color: #E8D9B5;
    border: 1px solid #493D26;
    box-shadow: 0 0 30px rgba(247, 183, 93, 0.2);
    backdrop-filter: blur(5px);
    animation: modalAppear 0.5s ease-out;
}

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

.modal h2 {
    color: #F7B75D;
    text-align: center;
    position: relative;
}

.modal h2::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, #F7B75D, transparent);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.modal .age-circle {
    background-color: #8B3E2F;
    box-shadow: 0 0 15px rgba(139, 62, 47, 0.5);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 10px rgba(139, 62, 47, 0.5); }
    to { box-shadow: 0 0 20px rgba(139, 62, 47, 0.8); }
}

.modal button {
    background-color: #F7B75D;
    color: #0A0F24;
    border: none;
    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.2), transparent);
    transition: left 0.7s;
    z-index: -1;
}

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

.modal button:hover {
    background-color: #E6A64C;
    transform: scale(1.05);
}

/* Эффекты и анимации */
* {
    transition: 0.5s ease all;
}

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

/* Эффект мерцания звезд для заголовков */
h1, h2 {
    animation: starTwinkle 5s infinite alternate;
}

@keyframes starTwinkle {
    0% { text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); }
    50% { text-shadow: 0 0 10px #F7B75D, 0 0 20px rgba(247, 183, 93, 0.5); }
    100% { text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); }
}

/* Эффект песчаной бури при наведении на элементы */
.casino-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    background: linear-gradient(145deg, #1A2240 0%, #0E1428 100%);
    border-color: #F7B75D;
}

/* Анимация для ссылок меню */
.navbar a {
    position: relative;
    overflow: hidden;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #F7B75D;
    transition: width 0.5s ease;
}

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

/* Анимация пульсации для кнопок */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 200%;
    height: 200%;
}

/* Дополнительные эффекты для создания атмосферы пустыни */
.casino-wrapper {
    background: linear-gradient(rgba(10, 15, 36, 0.5), rgba(10, 15, 36, 0.5)),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23F7B75D' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
}

/* Эффект мерцающих звезд на фоне */
.casino-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(1px 1px at 25% 15%, white, transparent),
            radial-gradient(1px 1px at 50% 40%, white, transparent),
            radial-gradient(2px 2px at 15% 55%, white, transparent),
            radial-gradient(1.5px 1.5px at 75% 70%, white, transparent),
            radial-gradient(2px 2px at 35% 85%, white, transparent),
            radial-gradient(1px 1px at 85% 30%, white, transparent);
    background-repeat: repeat;
    background-size: 250px 250px;
    opacity: 0.15;
    animation: twinkling 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes twinkling {
    0% { opacity: 0.05; }
    50% { opacity: 0.2; }
    100% { opacity: 0.05; }
}

/* Эффект песчаной дюны */
#choose {
    background: linear-gradient(rgba(10, 15, 36, 0.7), rgba(10, 15, 36, 0.7)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F7B75D' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    position: relative;
}

#choose::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(transparent, #0A0F24 90%);
    opacity: 0.8;
    z-index: -1;
}

/* Эффект миража для контейнеров */
.container {
    position: relative;
}

.container::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(247, 183, 93, 0.2) 0%, transparent 70%);
    filter: blur(5px);
}

/* Эффект лунной пыли для изображений */
.logo img, .casino img {
    filter: drop-shadow(0 0 5px rgba(247, 183, 93, 0.3));
    transition: filter 0.5s ease;
}

.logo img:hover, .casino img:hover {
    filter: drop-shadow(0 0 8px rgba(247, 183, 93, 0.5));
}