body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Global Styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #003366;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Desktop: 2.5rem, Tablet: 2.2rem, Mobile: 1.8rem */
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

/* Top Info Bar */
.top-info-bar {
    background-color: #003366;
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}

/* Navbar */
.navbar {
    background-color: #003366;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.navbar-brand .site-name {
    color: #fff;
    font-size: clamp(1.2rem, 4vw, 1.8rem); /* Desktop: 1.8rem, Tablet: 1.8rem, Mobile: 1.25rem */
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #66ccff;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.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%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas {
    background-color: #003366;
}

.offcanvas .offcanvas-title {
    color: #fff;
}

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

.offcanvas .nav-link {
    padding: 10px 15px;
    display: block;
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-color: #0056b3;
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Offset for sticky header */
}

.hero-background-img {
    z-index: 0;
    filter: brightness(0.4);
}

.hero-overlay {
    background: linear-gradient(45deg, rgba(0, 51, 102, 0.7), rgba(0, 123, 255, 0.5));
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem); /* Desktop: 3.5rem, Tablet: 3rem, Mobile: 2.5rem */
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p.lead {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #e0f2f7;
}

.hero-features li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #e0f2f7;
}

.hero-features li i {
    color: #66ccff;
}

.play-now-btn {
    background-color: #66ccff;
    border-color: #66ccff;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.play-now-btn:hover {
    background-color: #33bbff;
    border-color: #33bbff;
}

/* About Section */
.about-features li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* Games Section */
.bg-primary-subtle {
    background-color: #e3f2fd !important; /* Light blue */
}

.game-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

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

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

.game-card .card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #003366;
}

.game-card .card-text {
    color: #555;
}

.play-game-btn {
    background-color: #007bff;
    border-color: #007bff;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.play-game-btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* 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: 1050;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

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

.game-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-game-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1060;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.close-game-modal:hover {
    background-color: #007bff;
    color: #fff;
}

/* Featured Game Section */
.star-rating i {
    font-size: 1.2rem;
}

.featured-game-points li {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

/* Statistics Section */
.bg-primary {
    background-color: #007bff !important;
}

.statistic-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.statistic-item i {
    color: #66ccff;
}

.statistic-item h3 {
    color: #fff;
}

/* Testimonials Section */
.testimonial-card {
    border: none;
    border-radius: 10px;
    background-color: #fff;
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #007bff;
}

.testimonial-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #003366;
}

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

/* FAQ Section */
.accordion-item {
    border: none;
    background-color: #fff;
}

.accordion-button {
    font-weight: 600;
    color: #003366;
    padding: 1.2rem 1.5rem;
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: #007bff;
    background-color: #e3f2fd;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

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

.accordion-body {
    padding: 1.5rem;
    color: #555;
}

/* Contact Section */
.form-label {
    font-weight: 600;
    color: #003366;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.btn-lg {
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #003366;
    color: #e0f2f7;
    padding: 4rem 0;
}

.disclaimer-content {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #007bff;
    backdrop-filter: blur(5px);
}

.disclaimer-content i {
    color: #ffc107;
}

.disclaimer-content h3 {
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 2rem); /* Desktop: 2rem, Tablet: 1.8rem, Mobile: 1.5rem */
}

/* Footer */
.footer-section {
    background-color: #001a33 !important;
    color: #e0f2f7;
}

.footer-section .navbar-brand .logo-img {
    height: 35px;
}

.footer-section .navbar-brand .site-name {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #fff;
}

.footer-links li a {
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #66ccff;
}

.footer-org-logos {
    gap: 1.5rem;
}

.footer-org-logos .footer-logo {
    max-width: 120px;
    height: auto;
    display: block;
}

.footer-org-logos .footer-18plus-icon {
    max-width: 50px;
    height: auto;
    filter: grayscale(0);
}

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

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

.modal-content-age-verification {
    background-color: #fff;
    color: #333;
    max-width: 500px;
    padding: 2rem;
    border-radius: 15px;
}

.modal-content-age-verification h2 {
    color: #003366;
    font-size: clamp(1.8rem, 5vw, 2.2rem); /* Desktop: 2.2rem, Tablet: 2rem, Mobile: 1.8rem */
}

.modal-content-age-verification p {
    font-size: 1.1rem;
}

.modal-content-age-verification .age-icon {
    width: 80px;
    height: auto;
}

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

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

.modal-content-cookie-consent {
    background-color: #fff;
    color: #333;
    max-width: 600px;
    padding: 2rem;
    border-radius: 15px;
}

.modal-content-cookie-consent h3 {
    color: #003366;
    font-size: clamp(1.5rem, 4vw, 2rem); /* Desktop: 2rem, Tablet: 1.8rem, Mobile: 1.5rem */
}

.modal-content-cookie-consent p {
    font-size: 0.95rem;
}

.modal-content-cookie-consent .form-check-label {
    font-weight: 500;
}

.modal-content-cookie-consent .btn {
    font-weight: 600;
}

@media (max-width: 1199.98px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-brand .site-name {
        font-size: 1.5rem;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand .site-name {
        font-size: 1.25rem;
    }
    .hero-section {
        min-height: 70vh;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1.1rem;
    }
    .hero-features li {
        font-size: 1rem;
    }
    .play-now-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer-org-logos .footer-logo {
        max-width: 100px;
    }
}

@media (max-width: 767.98px) {
    .top-info-bar {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    .navbar-brand .logo-img {
        height: 35px;
    }
    .navbar-brand .site-name {
        font-size: 1.1rem;
    }
    .hero-section {
        min-height: 60vh;
        padding : 80px 0 30px;
    }
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem !important;
    }
    .hero-section p.lead {
        font-size: 0.95rem;
        margin-bottom: 2rem !important;
    }
    .hero-features li {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    .play-now-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
    .game-card .card-img-top {
        height: 180px;
    }
    .game-card .card-title {
        font-size: 1.2rem;
    }
    .statistic-item h3 {
        font-size: 2.5rem;
    }
    .statistic-item p.lead {
        font-size: 1rem;
    }
    .testimonial-card .avatar {
        width: 50px;
        height: 50px;
    }
    .testimonial-card h5 {
        font-size: 1rem;
    }
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    .disclaimer-content h3 {
        font-size: 1.5rem;
    }
    .disclaimer-content p {
        font-size: 0.9rem;
    }
    .footer-section .navbar-brand .site-name {
        font-size: 1.1rem;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .footer-links li a {
        font-size: 0.85rem;
    }
    .footer-org-logos {
        gap: 0.8rem;
    }
    .footer-org-logos .footer-logo {
        max-width: 80px;
    }
    .modal-content-age-verification h2 {
        font-size: 1.8rem;
    }
    .modal-content-age-verification p {
        font-size: 1rem;
    }
    .modal-content-cookie-consent h3 {
        font-size: 1.5rem;
    }
    .modal-content-cookie-consent p {
        font-size: 0.85rem;
    }
    .modal-content-cookie-consent .btn {
        width: 100%;
    }
}
/*
 * New stock styles for content within .privacyNestZone
 * This section provides basic typography and spacing for common elements.
 */

/* Parent container styling for spacing */
.privacyNestZone {
    padding: 24px; /* Internal padding for content */
    margin-top: 24px; /* Space above the zone */
    margin-bottom: 24px; /* Space below the zone */
    /* You might want to add max-width and margin: 0 auto; here for centering */
    /* max-width: 960px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading styles */
.privacyNestZone h1 {
    font-size: 28px; /* Relatively small H1 */
    font-weight: 600; /* Semi-bold */
    line-height: 1.2; /* Tighter line height for headings */
    margin-top: 1.8em; /* Space above H1, relative to font size */
    margin-bottom: 0.8em; /* Space below H1 */
}

.privacyNestZone h2 {
    font-size: 24px; /* H2 slightly smaller */
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.6em;
    margin-bottom: 0.7em;
}

.privacyNestZone h3 {
    font-size: 20px; /* H3 smaller */
    font-weight: 500; /* Medium weight */
    line-height: 1.4;
    margin-top: 1.4em;
    margin-bottom: 0.6em;
}

.privacyNestZone h4 {
    font-size: 18px; /* H4 closer to body text */
    font-weight: 500;
    line-height: 1.5;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

.privacyNestZone h5 {
    font-size: 16px; /* H5, same as body text but slightly bolder */
    font-weight: 500;
    line-height: 1.6;
    margin-top: 1em;
    margin-bottom: 0.4em;
}

/* Paragraph styles */
.privacyNestZone p {
    font-size: 16px; /* Standard body text size */
    line-height: 1.6; /* Good readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

/* Unordered list styles */
.privacyNestZone ul {
    list-style-type: disc; /* Default bullet points */
    padding-left: 24px; /* Indent for bullets */
    margin-bottom: 1em; /* Space after the list */
    margin-top: 1em; /* Space before the list */
}

/* List item styles */
.privacyNestZone li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.6; /* Consistent line height */
}

/* Optional: Ordered list styles (often used with ul) */
.privacyNestZone ol {
    list-style-type: decimal; /* Numbered list */
    padding-left: 24px; /* Indent for numbers */
    margin-bottom: 1em; /* Space after the list */
    margin-top: 1em; /* Space before the list */
}
