body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #0b0f1a;
    color: #fff;
}

.age-banner {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ff0000;
    color: #fff;
    text-align: center;
    padding: 5px;
    z-index: 1001;
}

/* Header */
/* Хедер */
.site-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 98%;
    margin-top: 20px;
    position: fixed;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 10px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #00aeff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #fff;
}

/* Бургер меню */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    margin-top: 10px;
    margin-right: 15px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #00aeff;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    top: -8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

/* Адаптив */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgb(0, 0, 0);
        backdrop-filter: blur(10px);
        border-radius: 0 0 15px 15px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease-in-out;
    }

    .main-nav a {
        padding: 15px 0;
        text-align: center;
    }

    /* Когда чекбокс активен */
    .nav-toggle:checked + .nav-toggle-label + .main-nav {
        max-height: 300px; /* регулируется по количеству ссылок */
    }
}


.popup {
    display: none;
    position: fixed;
    top:0; left:0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: #111;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
}

.site-header, .site-footer {
    background: #111;
    padding: 20px;
    text-align: center;
}

.footer-links a {
    color: #00aeff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.site-footer p {
    font-size: 0.9rem;
    color: #ccc;
}

.slot-section img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}


.footer-logos img {
    height: 50px;
    margin: 0 10px;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 80vh;
    background: linear-gradient(135deg, #1a1a2e, #162447, #1f4068);
    position: relative;
    padding: 20px;
    color: #fff;
}

.hero-content {
    background: rgba(255, 255, 255, 0.1); /* полупрозрачный стеклянный фон */
    backdrop-filter: blur(10px); /* эффект размытия фона */
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: background 0.3s;
}

.hero-btn:hover {
    background: #e60000;
}

.slot-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #000000, #4272ac);
    text-align: center;
    color: #fff;
}

.slot-section h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.slot-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ddd;
}

.slots-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.slot-card-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    width: 60%;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    border: 2px solid transparent;
}

.slot-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 174, 255, 0.7);
    border: 2px solid #00aeff;
}

.slot-card-horizontal .slot-img {
    width: 30%;
    border-radius: 10px;
    object-fit: cover;
}

.slot-card-horizontal .slot-text {
    width: 50%;
    color: #fff;
    text-align: left;
}

.slot-card-horizontal h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.slot-card-horizontal .slot-description {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #ccc;
}

.slot-card-horizontal .slot-info {
    font-size: 0.9rem;
    color: #aaa;
}

.slot-card-horizontal .play-btn {
    width: 15%;
    padding: 12px 10px;
    background: #ff0000;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.slot-card-horizontal .play-btn:hover {
    background: #e60000;
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .slot-card-horizontal {
        flex-direction: column;
        width: 80%;
        text-align: center;
    }
    .slot-card-horizontal .slot-img,
    .slot-card-horizontal .slot-text,
    .slot-card-horizontal .play-btn {
        width: 100%;
    }
    .slot-card-horizontal .play-btn {
        margin-top: 15px;
    }
}

@media (max-width: 600px) {
    .slot-card-horizontal {
        width: 95%;
    }
}


.why-us-section {
    padding: 80px 20px;
    background: linear-gradient(0deg, #000000, #4272ac);
    text-align: center;
    color: #fff;
}

.why-us-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.why-us-section p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #ccc;
}

.why-us-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 20px;
    width: 280px;
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    border: 2px solid transparent;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 174, 255, 0.7);
    border: 2px solid #00aeff;
}

.why-us-emoji {
    font-size: 50px;
    margin-bottom: 15px;
}

.why-us-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.why-us-card p {
    font-size: 1rem;
    color: #ccc;
}

/* Адаптив */
@media (max-width: 992px) {
    .why-us-card {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .why-us-card {
        width: 90%;
    }
}

.how-to-start-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #000000, #4272ac);
    text-align: center;
    color: #fff;
}

.how-to-start-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.how-to-start-section p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #ccc;
}

.how-to-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.how-to-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 20px;
    width: 280px;
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    border: 2px solid transparent;
}

.how-to-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 174, 255, 0.7);
    border: 2px solid #00aeff;
}

.how-to-emoji {
    font-size: 50px;
    margin-bottom: 15px;
}

.how-to-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.how-to-card p {
    font-size: 1rem;
    color: #ccc;
}

/* Адаптив */
@media (max-width: 992px) {
    .how-to-card {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .how-to-card {
        width: 90%;
    }
}

.disclaimer-section {
    padding: 60px 20px;
    background: rgb(0, 0, 0);
    border-radius: 20px;
    margin: 50px auto;
    max-width: 900px;
    text-align: center;
    color: #fff;
    border: 2px solid rgb(114, 1, 1);
    transition: box-shadow 0.3s, border 0.3s;
}

.disclaimer-section:hover {
    box-shadow: 0 0 25px rgb(255, 0, 0);
    border: 2px solid #ff0000;
}

.disclaimer-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.disclaimer-section p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
}

.faq-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #000000, #4272ac);
    text-align: center;
    color: #fff;
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.faq-section p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #ccc;
}

.faq-grid {
    display: flex;
    flex-direction: column; /* один блок на ряд */
    align-items: center;
    gap: 30px;
}

/* Карточка FAQ */
.faq-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    border-radius: 15px;
    width: 60%;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    border: 2px solid transparent;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 174, 255, 0.7);
    border: 2px solid #00aeff;
}

.faq-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.faq-card p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
}

/* Адаптив */
@media (max-width: 992px) {
    .faq-card {
        width: 80%;
    }
}

@media (max-width: 600px) {
    .faq-card {
        width: 95%;
    }
}


/* Общие стили для Legal/Privacy/Cookies */
.legal-section, .privacy-section, .cookies-section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 150px auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    text-align: center;
    color: #fff;
    border: 2px solid transparent;
    transition: box-shadow 0.3s, border 0.3s;

}

.legal-section:hover, .privacy-section:hover, .cookies-section:hover {
    box-shadow: 0 0 25px rgba(0, 174, 255, 0.7);
    border: 2px solid #00aeff;
}

.legal-section h1, .privacy-section h1, .cookies-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.legal-section p, .privacy-section p, .cookies-section p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
}

.contact-section {
    padding: 80px 20px;
    background: linear-gradient(0deg, #000000, #4272ac);
    text-align: center;
    color: #fff;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    padding: 10px 40px;
}

.contact-form label {
    text-align: left;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 1rem;
    width: 100%;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.contact-form textarea{
  max-width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ddd;
}

.contact-form button {
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: #00aeff;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
    background: #0095d6;
    transform: scale(1.05);
}

/* Адаптив */
@media (max-width: 600px) {
    .contact-form {
        padding: 20px;
    }
}




.game-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #162447, #1f4068);
    text-align: center;
    color: #fff;
}

.game-container {
    max-width: 900px;
    margin: 50px auto;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 20px;
    border: 2px solid transparent;
    transition: box-shadow 0.3s, border 0.3s;
}

.game-container:hover {
    box-shadow: 0 0 25px rgba(0,174,255,0.7);
    border: 2px solid #00aeff;
}

.game-container h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.game-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.iframe-placeholder {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 30px;
    color: #00aeff;
    font-weight: bold;
}

.back-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 10px;
    background: #00aeff;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.back-btn:hover {
    background: #0095d6;
    transform: scale(1.05);
}


/* Попап фон */
.popup {
    display: none; /* скрыт по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8); /* тёмный полупрозрачный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Контент попапа */
.popup-content {
    background: rgba(255,255,255,0.05); /* стеклянный фон */
    backdrop-filter: blur(10px); /* размытие фона */
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    color: #fff;
    border: 2px solid rgba(0,174,255,0.7); /* тонкая рамка */
    box-shadow: 0 0 30px rgba(0,174,255,0.5); /* лёгкий неоновый эффект */
}

/* Заголовок */
.popup-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #00aeff;
}

/* Текст */
.popup-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #ccc;
}

/* Кнопка */
.popup-content button {
    padding: 12px 25px;
    border-radius: 10px;
    border: none;
    background: #00aeff;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.popup-content button:hover {
    background: #0095d6;
    transform: scale(1.05);
}

/* Адаптив */
@media (max-width: 500px) {
    .popup-content {
        padding: 30px 20px;
    }
    .popup-content h2 {
        font-size: 1.5rem;
    }
    .popup-content p {
        font-size: 0.95rem;
    }
}
