/* Осенний лес - Палитра:
   - Темно-коричневый: #2A1F0F (фон)
   - Богатый бордовый: #8C2F1B (акценты)
   - Золотистый: #D9A566 (основной цвет)
   - Теплый оранжевый: #BF6938 (акценты)
   - Приглушенный красный: #A64A2D (кнопки)
   - Темно-зеленый: #2D4F1E (дополнительный)
*/

body {
    background: #2A1F0F;
    color: #F2E3D5;
    font-family: "Montserrat", serif;
}

h1, h2, h3, h4 {
    color: #D9A566;
}

.navbar {
    background: #1F170C;
}

.navbar a {
    color: #D9A566;
}

.navbar a:hover {
    color: #BF6938;
    opacity: 1;
}

.navbar-container .hamburger-lines .line {
    background: #D9A566;
}

.menu-items {
    background: #1F170C;
}

/* Casino блок и карточки */
.casino-item {
    border: 1px solid #A64A2D;
    background: #3A2918;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.casino-item h4 {
    color: #D9A566;
}

.casino-item p {
    color: #F2E3D5;
}

/* Кнопки в осенней палитре */
.btn-red {
    background: #8C2F1B;
    color: #F2E3D5;
    border: none;
}

.btn-white {
    background: #D9A566;
    color: #2A1F0F;
    border: none;
}

.btn-blue {
    background: #2D4F1E;
    color: #F2E3D5;
    border: none;
}

.btn-green {
    background: #6B7F48;
    color: #F2E3D5;
    border: none;
}

.btn-light-red {
    background: #A64A2D;
    color: #F2E3D5;
    border: none;
}

/* Эффекты наведения для кнопок */
.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Футер */
footer {
    border: 1px solid #A64A2D;
    background: rgba(42, 31, 15, 0.8);
}

.footer-age {
    background: #1F170C;
}

.footer-links a {
    color: #D9A566;
}

.footer-links a:hover {
    color: #BF6938;
    text-decoration: underline;
}

/* Модальное окно */
.modal {
    background: #3A2918;
    color: #F2E3D5;
    border: 2px solid #A64A2D;
}

.modal .age-circle {
    background-color: #8C2F1B;
}

.modal h2 {
    color: #D9A566;
}

.modal button {
    background-color: #D9A566;
    color: #2A1F0F;
}

.modal button:hover {
    background-color: #BF6938;
}

/* Добавляем атмосферный фон с листьями */
#choose {
    background: linear-gradient(rgba(42, 31, 15, 0.9), rgba(42, 31, 15, 0.9)),
                url('https://cdnjs.cloudflare.com/ajax/libs/placeholder-img/1.1.0/autumn-leaves.jpg');
    background-size: cover;
    background-position: center;
}

/* Дополнительные декоративные элементы */
.casino-wrapper {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

/* Градиентный текст для заголовков */
h1 {
    background: linear-gradient(45deg, #D9A566, #BF6938, #A64A2D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Стилизация изображений */
img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Анимация при наведении для элементов */
.casino-item:hover {
    transform: translateY(-5px);
    border-color: #D9A566;
}

/* Стили для секций */
section {
    border-bottom: 1px solid rgba(191, 105, 56, 0.3);
}

/* Осенний лес - Палитра:
   - Темно-коричневый: #2A1F0F (фон)
   - Богатый бордовый: #8C2F1B (акценты)
   - Золотистый: #D9A566 (основной цвет)
   - Теплый оранжевый: #BF6938 (акценты)
   - Приглушенный красный: #A64A2D (кнопки)
   - Темно-зеленый: #2D4F1E (дополнительный)
*/

body {
    background: #2A1F0F;
    color: #F2E3D5;
    font-family: "Montserrat", serif;
}

h1, h2, h3, h4 {
    color: #D9A566;
}

.navbar {
    background: #1F170C;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #D9A566 20%,
        #BF6938 50%,
        #8C2F1B 80%,
        transparent 100%
    );
}

.navbar a {
    color: #D9A566;
    position: relative;
    padding-bottom: 5px;
}

.navbar a:hover {
    color: #BF6938;
    opacity: 1;
}

.navbar a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #A64A2D;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.navbar a:hover::after {
    width: 100%;
}

.navbar-container .hamburger-lines .line {
    background: #D9A566;
}

.menu-items {
    background: #1F170C;
}

/* Casino блок и карточки */
.casino-item {
    border: 1px solid #A64A2D;
    background: #3A2918;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.casino-item h4 {
    color: #D9A566;
}

.casino-item p {
    color: #F2E3D5;
}

/* Кнопки в осенней палитре */
.btn-red {
    background: #8C2F1B;
    color: #F2E3D5;
    border: none;
}

.btn-white {
    background: #D9A566;
    color: #2A1F0F;
    border: none;
}

.btn-blue {
    background: #2D4F1E;
    color: #F2E3D5;
    border: none;
}

.btn-green {
    background: #6B7F48;
    color: #F2E3D5;
    border: none;
}

.btn-light-red {
    background: #A64A2D;
    color: #F2E3D5;
    border: none;
}

/* Эффекты наведения для кнопок */
.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Футер */
footer {
    border: 1px solid #A64A2D;
    background: rgba(42, 31, 15, 0.8);
}

.footer-age {
    background: #1F170C;
}

.footer-links a {
    color: #D9A566;
}

.footer-links a:hover {
    color: #BF6938;
    text-decoration: underline;
}

/* Модальное окно */
.modal {
    background: #3A2918;
    color: #F2E3D5;
    border: 2px solid #A64A2D;
}

.modal .age-circle {
    background-color: #8C2F1B;
}

.modal h2 {
    color: #D9A566;
}

.modal button {
    background-color: #D9A566;
    color: #2A1F0F;
}

.modal button:hover {
    background-color: #BF6938;
}

/* Добавляем атмосферный фон с листьями */
#choose {
    background: linear-gradient(rgba(42, 31, 15, 0.85), rgba(42, 31, 15, 0.9)),
                url('https://cdnjs.cloudflare.com/ajax/libs/placeholder-img/1.1.0/autumn-leaves.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Анимированные падающие листья */
@keyframes falling {
    0% {
        transform: translateY(-50px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

@keyframes swaying {
    0%, 100% {
        transform: translateX(-15px);
    }
    50% {
        transform: translateX(15px);
    }
}

#choose::before,
#choose::after {
    content: "";
    position: absolute;
    top: -50px;
    left: 15%;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 40%, #D9A566, #A64A2D);
    border-radius: 30% 70% 40% 60%;
    opacity: 0.3;
    z-index: -1;
    animation: falling 15s infinite linear, swaying 4s infinite ease-in-out;
}

#choose::after {
    left: 75%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 40% 30%, #BF6938, #8C2F1B);
    border-radius: 60% 40% 50% 30%;
    animation: falling 12s infinite linear 3s, swaying 3s infinite ease-in-out;
}

/* Дополнительные листья через псевдоэлементы на дочерних элементах */
#choose .container::before,
#choose .container::after {
    content: "";
    position: fixed;
    top: -50px;
    left: 35%;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle at 45% 35%, #BF6938, #A64A2D);
    border-radius: 40% 60% 30% 70%;
    opacity: 0.3;
    z-index: -1;
    animation: falling 20s infinite linear 1s, swaying 5s infinite ease-in-out 1s;
}

#choose .container::after {
    left: 55%;
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 35% 45%, #D9A566, #BF6938);
    border-radius: 50% 50% 30% 70%;
    animation: falling 17s infinite linear 2s, swaying 4.5s infinite ease-in-out 0.5s;
}

/* Дополнительные декоративные элементы */
.casino-wrapper {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

/* Градиентный текст для заголовков */
h1 {
    background: linear-gradient(45deg, #D9A566, #BF6938, #A64A2D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #D9A566, #BF6938, #A64A2D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    overflow: hidden;
    animation: typing 6s infinite;
    white-space: nowrap;
    border-right: 3px solid #D9A566;
}

@keyframes typing {
    0%, 90%, 100% {
        width: 0;
    }
    30%, 60% {
        width: 100%;
    }
}

/* Стилизация изображений */
img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Анимация при наведении для элементов */
.casino-item:hover {
    transform: translateY(-5px);
    border-color: #D9A566;
}

/* Стили для секций */
section {
    border-bottom: 1px solid rgba(191, 105, 56, 0.3);
    position: relative;
    overflow: hidden;
}

/* Декоративный элемент - стилизованный лист */
section::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, #D9A566, #A64A2D);
    opacity: 0.1;
    border-radius: 40% 70% 40% 60%;
    top: -50px;
    right: -50px;
    z-index: -1;
    transform: rotate(15deg);
}

/* Эффект падающих листьев для ховера на элементы */
.casino-item::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 50% 50%, #D9A566, #8C2F1B);
    opacity: 0;
    border-radius: 40% 60% 60% 40%;
    z-index: -1;
    transition: all 0.5s ease;
}

.casino-item:hover::after {
    opacity: 0.2;
    transform: rotate(45deg) translate(-15px, -10px);
}

/* Анимация для кнопок */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease-out;
}

.btn:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Эффект глубины для изображений */
img {
    transition: all 0.5s ease;
    filter: saturate(1.1) contrast(1.05);
}

img:hover {
    filter: saturate(1.3) contrast(1.1) brightness(1.05);
    transform: scale(1.02);
}

/* Стилизованная полоса прокрутки */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #2A1F0F;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#D9A566, #A64A2D);
    border-radius: 6px;
    border: 3px solid #2A1F0F;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#BF6938, #8C2F1B);
}

/* Текстурный фон */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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='%23d9a566' fill-opacity='0.05'%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");
    pointer-events: none;
    z-index: -2;
    opacity: 0.4;
}

/* Анимация появления элементов */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casino-item {
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
    opacity: 0;
}

/* Стилизация модального окна с эффектом стекла */
.modal {
    backdrop-filter: blur(8px);
    background: rgba(58, 41, 24, 0.85);
    border: 1px solid rgba(217, 165, 102, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                inset 0 0 10px rgba(217, 165, 102, 0.1);
}

/* Эффект тумана для футера */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(31, 23, 12, 0.4), transparent);
    z-index: -1;
}
/* Осенний лес - Палитра:
   - Темно-коричневый: #2A1F0F (фон)
   - Богатый бордовый: #8C2F1B (акценты)
   - Золотистый: #D9A566 (основной цвет)
   - Теплый оранжевый: #BF6938 (акценты)
   - Приглушенный красный: #A64A2D (кнопки)
   - Темно-зеленый: #2D4F1E (дополнительный)
*/

body {
    background: #2A1F0F;
    color: #F2E3D5;
    font-family: "Montserrat", serif;
}

h1, h2, h3, h4 {
    color: #D9A566;
}

.navbar {
    background: #1F170C;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #D9A566 20%,
        #BF6938 50%,
        #8C2F1B 80%,
        transparent 100%
    );
}

.navbar a {
    color: #D9A566;
    position: relative;
    padding-bottom: 5px;
}

.navbar a:hover {
    color: #BF6938;
    opacity: 1;
}

.navbar a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #A64A2D;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.navbar a:hover::after {
    width: 100%;
}

.navbar-container .hamburger-lines .line {
    background: #D9A566;
}

.menu-items {
    background: #1F170C;
}

/* Стилизация карточек casino с эффектами стекла и теней */
.casino-item {
    border: 1px solid rgba(166, 74, 45, 0.5);
    background: linear-gradient(135deg, rgba(58, 41, 24, 0.9), rgba(42, 31, 15, 0.8));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25),
                inset 0 0 0 1px rgba(217, 165, 102, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
    opacity: 0;
    overflow: hidden;
}

.casino-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(217, 165, 102, 0.1) 30%,
        rgba(217, 165, 102, 0.2) 40%,
        transparent 50%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    pointer-events: none;
}

.casino-item:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.casino-item h4 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #D9A566, #BF6938);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}

.casino-item:hover h4 {
    transform: scale(1.05);
}

.casino-item img {
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: saturate(1.1) contrast(1.05) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.casino-item:hover img {
    transform: translateY(-8px) scale(1.03);
    filter: saturate(1.3) contrast(1.1) brightness(1.05) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

/* Кнопки в осенней палитре */
.btn-red {
    background: #8C2F1B;
    color: #F2E3D5;
    border: none;
}

.btn-white {
    background: #D9A566;
    color: #2A1F0F;
    border: none;
}

.btn-blue {
    background: #2D4F1E;
    color: #F2E3D5;
    border: none;
}

.btn-green {
    background: #6B7F48;
    color: #F2E3D5;
    border: none;
}

.btn-light-red {
    background: #A64A2D;
    color: #F2E3D5;
    border: none;
}

/* Эффекты наведения для кнопок */
.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Футер */
footer {
    border: 1px solid #A64A2D;
    background: rgba(42, 31, 15, 0.8);
}

.footer-age {
    background: #1F170C;
}

.footer-links a {
    color: #D9A566;
}

.footer-links a:hover {
    color: #BF6938;
    text-decoration: underline;
}

/* Модальное окно */
.modal {
    background: #3A2918;
    color: #F2E3D5;
    border: 2px solid #A64A2D;
}

.modal .age-circle {
    background-color: #8C2F1B;
}

.modal h2 {
    color: #D9A566;
}

.modal button {
    background-color: #D9A566;
    color: #2A1F0F;
}

.modal button:hover {
    background-color: #BF6938;
}

/* Добавляем атмосферный фон с листьями */
#choose {
    background: linear-gradient(rgba(42, 31, 15, 0.85), rgba(42, 31, 15, 0.9)),
                url('https://cdnjs.cloudflare.com/ajax/libs/placeholder-img/1.1.0/autumn-leaves.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Анимированные падающие листья */
@keyframes falling {
    0% {
        transform: translateY(-50px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

@keyframes swaying {
    0%, 100% {
        transform: translateX(-15px);
    }
    50% {
        transform: translateX(15px);
    }
}

#choose::before,
#choose::after {
    content: "";
    position: absolute;
    top: -50px;
    left: 15%;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 40%, #D9A566, #A64A2D);
    border-radius: 30% 70% 40% 60%;
    opacity: 0.3;
    z-index: -1;
    animation: falling 15s infinite linear, swaying 4s infinite ease-in-out;
}

#choose::after {
    left: 75%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 40% 30%, #BF6938, #8C2F1B);
    border-radius: 60% 40% 50% 30%;
    animation: falling 12s infinite linear 3s, swaying 3s infinite ease-in-out;
}

/* Дополнительные листья через псевдоэлементы на дочерних элементах */
#choose .container::before,
#choose .container::after {
    content: "";
    position: fixed;
    top: -50px;
    left: 35%;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle at 45% 35%, #BF6938, #A64A2D);
    border-radius: 40% 60% 30% 70%;
    opacity: 0.3;
    z-index: -1;
    animation: falling 20s infinite linear 1s, swaying 5s infinite ease-in-out 1s;
}

#choose .container::after {
    left: 55%;
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 35% 45%, #D9A566, #BF6938);
    border-radius: 50% 50% 30% 70%;
    animation: falling 17s infinite linear 2s, swaying 4.5s infinite ease-in-out 0.5s;
}

/* Дополнительные декоративные элементы */
.casino-wrapper {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

/* Градиентный текст для заголовков */
h1 {
    background: linear-gradient(45deg, #D9A566, #BF6938, #A64A2D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #D9A566, #BF6938, #A64A2D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    overflow: hidden;
    animation: typing 6s infinite;
    white-space: nowrap;
    border-right: 3px solid #D9A566;
}

@keyframes typing {
    0%, 90%, 100% {
        width: 0;
    }
    30%, 60% {
        width: 100%;
    }
}

/* Стилизация изображений */
img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Анимация при наведении для элементов */
.casino-item:hover {
    transform: translateY(-5px);
    border-color: #D9A566;
}

/* Стили для секций */
section {
    border-bottom: 1px solid rgba(191, 105, 56, 0.3);
    position: relative;
    overflow: hidden;
}

/* Декоративный элемент - стилизованный лист */
section::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, #D9A566, #A64A2D);
    opacity: 0.1;
    border-radius: 40% 70% 40% 60%;
    top: -50px;
    right: -50px;
    z-index: -1;
    transform: rotate(15deg);
}

/* Эффект падающих листьев для ховера на элементы */
.casino-item::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 50% 50%, #D9A566, #8C2F1B);
    opacity: 0;
    border-radius: 40% 60% 60% 40%;
    z-index: -1;
    transition: all 0.5s ease;
}

.casino-item:hover::after {
    opacity: 0.2;
    transform: rotate(45deg) translate(-15px, -10px);
}

/* Анимация для кнопок */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease-out;
}

.btn:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Эффект глубины для изображений */
img {
    transition: all 0.5s ease;
    filter: saturate(1.1) contrast(1.05);
}

img:hover {
    filter: saturate(1.3) contrast(1.1) brightness(1.05);
    transform: scale(1.02);
}

/* Стилизованная полоса прокрутки */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #2A1F0F;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#D9A566, #A64A2D);
    border-radius: 6px;
    border: 3px solid #2A1F0F;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#BF6938, #8C2F1B);
}

/* Текстурный фон */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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='%23d9a566' fill-opacity='0.05'%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");
    pointer-events: none;
    z-index: -2;
    opacity: 0.4;
}

/* Анимация появления элементов */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casino-item {
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
    opacity: 0;
}

/* Стилизация модального окна с эффектом стекла */
.modal {
    backdrop-filter: blur(8px);
    background: rgba(58, 41, 24, 0.85);
    border: 1px solid rgba(217, 165, 102, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                inset 0 0 10px rgba(217, 165, 102, 0.1);
}

/* Эффект тумана для футера */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(31, 23, 12, 0.4), transparent);
    z-index: -1;
}
/* Осенний лес - Палитра:
   - Темно-коричневый: #2A1F0F (фон)
   - Богатый бордовый: #8C2F1B (акценты)
   - Золотистый: #D9A566 (основной цвет)
   - Теплый оранжевый: #BF6938 (акценты)
   - Приглушенный красный: #A64A2D (кнопки)
   - Темно-зеленый: #2D4F1E (дополнительный)
*/

body {
    background: #2A1F0F;
    color: #F2E3D5;
    font-family: "Montserrat", serif;
}

h1, h2, h3, h4 {
    color: #D9A566;
}

.navbar {
    background: #1F170C;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #D9A566 20%,
        #BF6938 50%,
        #8C2F1B 80%,
        transparent 100%
    );
}

.navbar a {
    color: #D9A566;
    position: relative;
    padding-bottom: 5px;
}

.navbar a:hover {
    color: #BF6938;
    opacity: 1;
}

.navbar a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #A64A2D;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.navbar a:hover::after {
    width: 100%;
}

.navbar-container .hamburger-lines .line {
    background: #D9A566;
}

.menu-items {
    background: #1F170C;
}

/* Стилизация карточек casino с эффектами стекла и теней */
.casino-item {
    border: 1px solid rgba(166, 74, 45, 0.5);
    background: linear-gradient(135deg, rgba(58, 41, 24, 0.9), rgba(42, 31, 15, 0.8));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25),
                inset 0 0 0 1px rgba(217, 165, 102, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
    opacity: 0;
    overflow: hidden;
}

.casino-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(217, 165, 102, 0.1) 30%,
        rgba(217, 165, 102, 0.2) 40%,
        transparent 50%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    pointer-events: none;
}

.casino-item:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.casino-item h4 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #D9A566, #BF6938);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}

.casino-item:hover h4 {
    transform: scale(1.05);
}

.casino-item img {
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: saturate(1.1) contrast(1.05) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.casino-item:hover img {
    transform: translateY(-8px) scale(1.03);
    filter: saturate(1.3) contrast(1.1) brightness(1.05) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

/* Кнопки в осенней палитре */
.btn-red {
    background: #8C2F1B;
    color: #F2E3D5;
    border: none;
}

.btn-white {
    background: #D9A566;
    color: #2A1F0F;
    border: none;
}

.btn-blue {
    background: #2D4F1E;
    color: #F2E3D5;
    border: none;
}

.btn-green {
    background: #6B7F48;
    color: #F2E3D5;
    border: none;
}

.btn-light-red {
    background: #A64A2D;
    color: #F2E3D5;
    border: none;
}

/* Эффекты наведения для кнопок */
.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Футер */
footer {
    border: 1px solid #A64A2D;
    background: rgba(42, 31, 15, 0.8);
}

.footer-age {
    background: #1F170C;
}

.footer-links a {
    color: #D9A566;
}

.footer-links a:hover {
    color: #BF6938;
    text-decoration: underline;
}

/* Модальное окно */
.modal {
    background: #3A2918;
    color: #F2E3D5;
    border: 2px solid #A64A2D;
}

.modal .age-circle {
    background-color: #8C2F1B;
}

.modal h2 {
    color: #D9A566;
}

.modal button {
    background-color: #D9A566;
    color: #2A1F0F;
}

.modal button:hover {
    background-color: #BF6938;
}

/* Добавляем атмосферный фон с листьями */
#choose {
    background: linear-gradient(rgba(42, 31, 15, 0.85), rgba(42, 31, 15, 0.9)),
                url('https://cdnjs.cloudflare.com/ajax/libs/placeholder-img/1.1.0/autumn-leaves.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Анимированные падающие листья */
@keyframes falling {
    0% {
        transform: translateY(-50px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

@keyframes swaying {
    0%, 100% {
        transform: translateX(-15px);
    }
    50% {
        transform: translateX(15px);
    }
}

#choose::before,
#choose::after {
    content: "";
    position: absolute;
    top: -50px;
    left: 15%;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 40%, #D9A566, #A64A2D);
    border-radius: 30% 70% 40% 60%;
    opacity: 0.3;
    z-index: -1;
    animation: falling 15s infinite linear, swaying 4s infinite ease-in-out;
}

#choose::after {
    left: 75%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 40% 30%, #BF6938, #8C2F1B);
    border-radius: 60% 40% 50% 30%;
    animation: falling 12s infinite linear 3s, swaying 3s infinite ease-in-out;
}

/* Дополнительные листья через псевдоэлементы на дочерних элементах */
#choose .container::before,
#choose .container::after {
    content: "";
    position: fixed;
    top: -50px;
    left: 35%;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle at 45% 35%, #BF6938, #A64A2D);
    border-radius: 40% 60% 30% 70%;
    opacity: 0.3;
    z-index: -1;
    animation: falling 20s infinite linear 1s, swaying 5s infinite ease-in-out 1s;
}

#choose .container::after {
    left: 55%;
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 35% 45%, #D9A566, #BF6938);
    border-radius: 50% 50% 30% 70%;
    animation: falling 17s infinite linear 2s, swaying 4.5s infinite ease-in-out 0.5s;
}

/* Дополнительные декоративные элементы */
.casino-wrapper {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

/* Градиентный текст для заголовков */
h1 {
    background: linear-gradient(45deg, #D9A566, #BF6938, #A64A2D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #D9A566, #BF6938, #A64A2D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    overflow: hidden;
    animation: typing 6s infinite;
    white-space: nowrap;
    border-right: 3px solid #D9A566;
}

@keyframes typing {
    0%, 90%, 100% {
        width: 0;
    }
    30%, 60% {
        width: 100%;
    }
}

/* Стилизация изображений */
img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Анимация при наведении для элементов */
.casino-item:hover {
    transform: translateY(-5px);
    border-color: #D9A566;
}

/* Стили для секций */
section {
    border-bottom: 1px solid rgba(191, 105, 56, 0.3);
    position: relative;
    overflow: hidden;
}

/* Декоративный элемент - стилизованный лист */
section::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, #D9A566, #A64A2D);
    opacity: 0.1;
    border-radius: 40% 70% 40% 60%;
    top: -50px;
    right: -50px;
    z-index: -1;
    transform: rotate(15deg);
}

/* Эффект падающих листьев для ховера на элементы */
.casino-item::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 50% 50%, #D9A566, #8C2F1B);
    opacity: 0;
    border-radius: 40% 60% 60% 40%;
    z-index: -1;
    transition: all 0.5s ease;
}

.casino-item:hover::after {
    opacity: 0.2;
    transform: rotate(45deg) translate(-15px, -10px);
}

/* Анимация для кнопок */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease-out;
}

.btn:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Эффект глубины для изображений */
img {
    transition: all 0.5s ease;
    filter: saturate(1.1) contrast(1.05);
}

img:hover {
    filter: saturate(1.3) contrast(1.1) brightness(1.05);
    transform: scale(1.02);
}

/* Стилизованная полоса прокрутки */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #2A1F0F;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#D9A566, #A64A2D);
    border-radius: 6px;
    border: 3px solid #2A1F0F;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#BF6938, #8C2F1B);
}

/* Текстурный фон */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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='%23d9a566' fill-opacity='0.05'%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");
    pointer-events: none;
    z-index: -2;
    opacity: 0.4;
}

/* Анимация появления элементов */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casino-item {
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
    opacity: 0;
}

/* Стилизация модального окна с эффектом стекла */
.modal {
    backdrop-filter: blur(8px);
    background: rgba(58, 41, 24, 0.85);
    border: 1px solid rgba(217, 165, 102, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                inset 0 0 10px rgba(217, 165, 102, 0.1);
}

/* Эффект тумана для футера */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(31, 23, 12, 0.4), transparent);
    z-index: -1;
}