/* Небесный город - Основные стили */

body {
    background: linear-gradient(to bottom, #0f2259, #265999, #7192be);
    color: #f0f8ff;
    font-family: "Montserrat", serif;
}

.navbar {
    background: rgba(15, 34, 89, 0.7);
    backdrop-filter: blur(5px);
}

.navbar a {
    color: #e1ebff;
}

.navbar a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #fff, 0 0 20px #b9cdff;
}

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

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

h1 {
    background: linear-gradient(to right, #ffffff, #b9cdff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.casino-wrapper {
    background: url('https://via.placeholder.com/1600x900') center/cover no-repeat;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.casino-item {
    background: rgba(28, 28, 44, 0.8);
    border: 1px solid #7192be;
    backdrop-filter: blur(8px);
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.casino-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(113, 146, 190, 0.4);
    border-color: #ffffff;
}

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

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

.btn {
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.btn-red {
    background: #3a6ea5;
    color: white;
}

.btn-white {
    background: #e1ebff;
    color: #0f2259;
}

.btn-blue {
    background: #0f2259;
    color: white;
}

.btn-green {
    background: #7192be;
    color: #0f2259;
}

.btn-light-red {
    background: #98b9eb;
    color: #0f2259;
}

footer {
    background: rgba(15, 34, 89, 0.9);
    border: 1px solid #7192be;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.footer-info {
    border-bottom: 1px solid rgba(113, 146, 190, 0.3);
}

.footer-age {
    background: rgba(21, 21, 21, 0.5);
}

.logo-info img {
    filter: brightness(1.2);
}

.footer-links a {
    color: #b9cdff;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
}

.modal-overlay {
    background-color: rgba(15, 34, 89, 0.95);
    backdrop-filter: blur(5px);
}

.modal {
    background: linear-gradient(to bottom, #e1ebff, #b9cdff);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    color: #0f2259;
}

.modal .age-circle {
    background-color: #3a6ea5;
}

.modal button {
    background-color: #0f2259;
    color: #ffffff;
}

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

/* Добавление эффекта облаков и летящих перьев */
.container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/1600x900') center/cover no-repeat;
    opacity: 0.1;
    z-index: -2;
    animation: clouds 120s linear infinite;
    pointer-events: none;
}

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

/* Адаптивность */
@media screen and (max-width: 830px) {
    .navbar {
        background: rgba(15, 34, 89, 0.9);
    }

    .navbar .menu-items {
        background: rgba(15, 34, 89, 0.95);
        backdrop-filter: blur(10px);
    }
}

/* Небесный город - Расширенные атмосферные стили */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(185, 205, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(185, 205, 255, 0.8)); }
}

@keyframes wings {
    0% { transform: scaleX(1); }
    50% { transform: scaleX(1.05); }
    100% { transform: scaleX(1); }
}

@keyframes feathers {
    0% { opacity: 0; transform: translateY(0) rotate(0deg); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(100px) rotate(360deg); }
}

body {
    background: linear-gradient(135deg, #0f2259, #265999, #7192be, #98b9eb);
    background-size: 400% 400%;
    animation: skyGradient 30s ease infinite;
    color: #f0f8ff;
    font-family: "Montserrat", serif;
    position: relative;
    overflow-x: hidden;
}

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

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.3) 0%, transparent 20%),
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 20%),
            radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.2) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

.navbar {
    background: rgba(15, 34, 89, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar a {
    color: #e1ebff;
    position: relative;
}

.navbar a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

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

.navbar a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #fff, 0 0 20px #b9cdff;
}

.logo {
    animation: glow 4s ease-in-out infinite;
}

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

h1, h2, h3, h4 {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(185, 205, 255, 0.7);
    position: relative;
}

h1 {
    background: linear-gradient(to right, #ffffff, #b9cdff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
}

h1::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #ffffff, transparent);
}

.casino-wrapper {
    background: rgba(15, 34, 89, 0.3);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.casino-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            url('https://via.placeholder.com/1600x900') center/cover no-repeat,
            linear-gradient(135deg, rgba(113, 146, 190, 0.1), rgba(15, 34, 89, 0.3));
    opacity: 0.4;
    z-index: -1;
}

.casino-item {
    background: rgba(28, 28, 44, 0.6);
    border: 1px solid rgba(113, 146, 190, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.casino-item::before {
    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.5s;
    transform: rotate(30deg);
    pointer-events: none;
}

.casino-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 35px rgba(113, 146, 190, 0.5);
    border-color: #ffffff;
}

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

.casino-item h4 {
    color: #b9cdff;
    position: relative;
    display: inline-block;
}

.casino-item h4::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 25%;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, transparent, #7192be, transparent);
}

.casino-item p {
    color: #e1ebff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.casino img {
    transition: all 0.5s;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.casino img:hover {
    transform: scale(1.1);
    animation: wings 2s ease-in-out infinite;
}

.btn {
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    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: all 0.6s;
    z-index: -1;
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.btn-red {
    background: linear-gradient(to right, #3a6ea5, #265999);
    color: white;
}

.btn-white {
    background: linear-gradient(to right, #e1ebff, #b9cdff);
    color: #0f2259;
}

.btn-blue {
    background: linear-gradient(to right, #0f2259, #1a3580);
    color: white;
}

.btn-green {
    background: linear-gradient(to right, #7192be, #98b9eb);
    color: #0f2259;
}

.btn-light-red {
    background: linear-gradient(to right, #98b9eb, #b9cdff);
    color: #0f2259;
}

footer {
    background: rgba(15, 34, 89, 0.7);
    border: 1px solid rgba(113, 146, 190, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/1600x900') center/cover no-repeat;
    opacity: 0.05;
    z-index: -1;
}

.footer-info {
    border-bottom: 1px solid rgba(113, 146, 190, 0.2);
}

.footer-age {
    background: rgba(21, 21, 21, 0.3);
    backdrop-filter: blur(5px);
}

.logo-info img {
    filter: brightness(1.2);
    transition: all 0.3s;
}

.logo-info img:hover {
    filter: brightness(1.5) drop-shadow(0 0 5px rgba(185, 205, 255, 0.7));
    transform: scale(1.1);
}

.footer-links a {
    color: #b9cdff;
    transition: all 0.3s;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s;
}

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

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(185, 205, 255, 0.7);
}

.modal-overlay {
    background-color: rgba(15, 34, 89, 0.8);
    backdrop-filter: blur(10px);
}

.modal {
    background: linear-gradient(135deg, #e1ebff, #b9cdff);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    color: #0f2259;
    overflow: hidden;
    position: relative;
}

.modal::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
    transform: rotate(30deg);
    opacity: 0.2;
}

.modal .age-circle {
    background: linear-gradient(to bottom right, #3a6ea5, #265999);
    box-shadow: 0 0 15px rgba(58, 110, 165, 0.5);
}

.modal button {
    background: linear-gradient(to right, #0f2259, #1a3580);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.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: all 0.6s;
}

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

.modal button:hover {
    background: linear-gradient(to right, #1a3580, #0f2259);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(15, 34, 89, 0.3);
}

/* Добавление динамических эффектов облаков и летящих перьев */
.container {
    position: relative;
}

.container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/1600x900') center/cover no-repeat;
    opacity: 0.1;
    z-index: -2;
    animation: clouds 120s linear infinite;
    pointer-events: none;
}

/* Эффект парящих элементов */
.col, .col-3 {
    transition: transform 0.5s;
}

.col:hover, .col-3:hover {
    transform: translateY(-10px);
}

/* Эффект летящих перьев */
body::after {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image:
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 10%),
            radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
            radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 15%);
    animation: feathers 15s linear infinite;
}

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

/* Адаптивность */
@media screen and (max-width: 830px) {
    .navbar {
        background: rgba(15, 34, 89, 0.9);
    }

    .navbar .menu-items {
        background: rgba(15, 34, 89, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .casino-item:hover {
        transform: translateY(-5px);
    }
}

/* Красивые декоративные элементы */
.info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 30% 20%, rgba(113, 146, 190, 0.1) 0%, transparent 30%),
            radial-gradient(circle at 70% 60%, rgba(113, 146, 190, 0.1) 0%, transparent 20%);
    z-index: -1;
}

section::after {
    content: "";
    display: block;
    width: 70%;
    height: 1px;
    margin: 30px auto;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-age::after{
    display: none;
}