body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

:root {
    --primary-color: #DAA520; /* Goldenrod */
    --secondary-color: #E6E6FA; /* Lavender */
    --dark-bg: #212529;
    --text-color: #333;
    --light-text-color: #f8f9fa;
}

.bg-gold {
    background-color: var(--primary-color) !important;
}

.text-gold {
    color: var(--primary-color) !important;
}

.bg-light-purple {
    background-color: var(--secondary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #C18D00;
    border-color: #C18D00;
    color: var(--dark-bg);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    color: #fff;
}

/* Responsive Typography */
h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.5rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .site-title, .site-title-footer {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    .site-title, .site-title-footer {
        font-size: 1.25rem;
    }
    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}

/* Top Disclaimer Bar */
.top-disclaimer {
    position: relative;
    width: 100%;
    z-index: 1050;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Age Verification Modal */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-verification-overlay.show {
    opacity: 1;
    visibility: visible;
}

.age-verification-content {
    background-color: var(--dark-bg);
    color: var(--light-text-color);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
}

.age-verification-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Navbar */
.navbar {
    background-color: var(--dark-bg);
    padding-top: 2rem;
    padding-bottom: 0.5rem;
    z-index: 1040;
}
.small-navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .site-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--light-text-color) !important;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28218, 165, 32, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.offcanvas-header {
    background-color: var(--dark-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-title {
    color: var(--light-text-color);
}

.btn-close {
    filter: invert(1);
}

.offcanvas-body .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
}

.offcanvas-body .nav-item {
    width: auto;
    text-align: left;
}

.offcanvas-body .nav-link {
    padding: 0.75rem 1rem;
    margin: 0;
}

@media (min-width: 1100px) {
    .navbar-expand-lg .offcanvas {
        visibility: visible;
        background-color: transparent !important;
        border: none;
        transform: none;
        width: auto;
    }
    .navbar-expand-lg .offcanvas-body {
        display: flex !important;
        flex-grow: 1;
        padding: 0;
    }
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .navbar-expand-lg .navbar-nav .nav-item {
        flex-shrink: 0;
        width: auto;
    }
    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
    .navbar-brand .logo-img {
        height: 50px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('assets/content/Of-A-Playing-Person-3d-Cartoon-In-Casino-Rendering.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-section .dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section .container {
    z-index: 1;
}

.game-cards-stack {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-card-item {
    position: absolute;
    width: 70%;
    max-width: 300px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.game-card-item.card-1 {
    transform: rotate(-10deg) translateX(-20px);
    z-index: 3;
    top: 20px;
    left: 10%;
}

.game-card-item.card-2 {
    transform: rotate(0deg);
    z-index: 4;
}

.game-card-item.card-3 {
    transform: rotate(10deg) translateX(20px);
    z-index: 2;
    bottom: 20px;
    right: 10%;
}

.game-card-item:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

/* Games Section */
.game-card {
    background-color: #fff;
    border: 1px solid #ddd;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.game-card .game-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card .card-body {
    padding: 1.25rem;
}

.game-card .card-title {
    color: var(--dark-bg);
    font-weight: 600;
}

.game-card .card-text {
    font-size: 0.95rem;
    color: #555;
}

.game-rating {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.game-rating i {
    margin-right: 5px;
}

.game-trigger {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Game Modal */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-modal.show {
    opacity: 1;
    visibility: visible;
}

.game-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 9999;
    padding: 0;
}

.game-modal-close:hover {
    color: var(--primary-color);
}

.game-modal iframe {
    width: 95%;
    height: 95%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
    .game-modal-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }
    .game-modal iframe {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

/* Why Popular Section */
.feature-box {
    background-color: #fff;
    border: 1px solid #ddd;
    text-align: center;
}

.feature-box h4 {
    color: var(--dark-bg);
    font-weight: 600;
}

/* Testimonials Section */
.testimonial-card {
    background-color: #fff;
    border: 1px solid #ddd;
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.testimonial-card h5 {
    color: var(--dark-bg);
    font-weight: 600;
}

.testimonial-card small {
    color: #888 !important;
}

/* FAQ Section */
.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.accordion-button {
    background-color: var(--dark-bg);
    color: var(--light-text-color);
    font-weight: 600;
    border-radius: 0;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: none;
}

.accordion-body {
    background-color: #fff;
    color: var(--text-color);
    padding: 1.25rem;
}

/* Contact Form Section */
.contact-form-container {
    background-color: #fff;
    border: 1px solid #ddd;
}

.form-label {
    font-weight: 600;
    color: var(--dark-bg);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(218, 165, 32, 0.25);
}

/* Responsible Gaming Disclaimer */
.responsible-gaming-disclaimer {
    background-color: #ffe0b2; /* Light orange/peach to stand out */
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--primary-color);
    padding: 3rem 0;
    margin-top: 3rem;
    color: #4a4a4a;
}

.responsible-gaming-disclaimer h3 {
    color: var(--dark-bg);
    font-weight: 700;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text-color);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.site-title-footer {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-logos {
    margin-top: 1rem;
}

.footer-logo {
    height: auto;
    max-width: 120px;
    width: 100%;
    object-fit: contain;
    margin: 5px;
}

.footer-18plus-icon {
    max-width: 50px;
    height: auto;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    z-index: 1060;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cookie-banner a {
    color: var(--primary-color);
}

@media (max-width: 576px) {
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Cookie Settings Modal */
.modal-content {
    border: 1px solid var(--primary-color);
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.form-check-label {
    color: var(--light-text-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(218, 165, 32, 0.25);
}
/* Parent container styles */
.secureTermsHub {
    margin-top: 40px; /* Top margin for spacing from elements above */
    padding: 40px 20px; /* Vertical and horizontal padding for content */
    /* You might want to add a max-width and margin: 0 auto; here for better content centering on large screens,
       but sticking strictly to requested 'отступов вверх и побокам'. */
}

/* Heading styles */
.secureTermsHub h1 {
    font-size: 28px; /* Moderately sized main heading */
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
    color: #333; /* Dark grey for readability */
}

.secureTermsHub h2 {
    font-size: 24px; /* Sub-heading */
    line-height: 1.3;
    margin-top: 1.4em;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #333;
}

.secureTermsHub h3 {
    font-size: 20px; /* Section heading */
    line-height: 1.4;
    margin-top: 1.3em;
    margin-bottom: 0.4em;
    font-weight: 600;
    color: #333;
}

.secureTermsHub h4 {
    font-size: 18px; /* Sub-section heading */
    line-height: 1.5;
    margin-top: 1.2em;
    margin-bottom: 0.3em;
    font-weight: 500;
    color: #333;
}

.secureTermsHub h5 {
    font-size: 16px; /* Minor heading */
    line-height: 1.5;
    margin-top: 1.1em;
    margin-bottom: 0.2em;
    font-weight: 500;
    color: #333;
}

/* Paragraph styles */
.secureTermsHub p {
    font-size: 16px; /* Standard paragraph text size */
    line-height: 1.6; /* Good readability for body text */
    margin-bottom: 1em; /* Space between paragraphs */
    color: #444; /* Slightly lighter grey for body text */
}

/* Unordered list styles */
.secureTermsHub ul {
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 25px; /* Indentation for bullet points */
    list-style-type: disc; /* Default bullet style */
    color: #444;
}

/* List item styles */
.secureTermsHub li {
    font-size: 16px; /* List item text size */
    line-height: 1.5; /* Line height for list items */
    margin-bottom: 0.5em; /* Space between list items */
    color: #444;
}


@media screen and (min-width: 768px) {
    .big-img  {
        max-width: 600px;
    }
}