:root {
    --primary-bg: #003333; /* Very Dark Teal */
    --secondary-bg: #004d40; /* Dark Teal */
    --accent-color: #00CC99; /* Vibrant Teal Green */
    --text-color: #E0FFFF; /* Light Cyan */
    --heading-color: #CCEEFF; /* Lighter Blue-Green */
    --light-text-50: rgba(224, 255, 255, 0.7);
    --border-color: rgba(224, 255, 255, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 600;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-bg);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--heading-color);
    border-color: var(--heading-color);
    transform: translateY(-2px);
    color: var(--primary-bg);
}

.btn-outline-light {
    border-color: var(--text-color);
    color: var(--text-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--text-color);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

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

.text-light-50 {
    color: var(--light-text-50) !important;
}

/* Header */
.header {
    background-color: rgba(0, 51, 51, 0.95); /* Slightly transparent dark teal */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1030;
}

.logo-link {
    text-decoration: none;
}

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

.logo-text {
    color: var(--heading-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-link {
    color: var(--light-text-50);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-collapse {
    background-color: var(--secondary-bg);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1020;
}

.navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    color: var(--text-color);
}

.navbar-nav .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-image: url('visuals/graphics/hero-background_37.jpg'); /* Example background image */
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 51, 0.7); /* Dark teal overlay */
    z-index: 0;
}

.hero-btn {
    min-width: 200px;
}

/* About Section */
.about-section {
    background-color: var(--secondary-bg);
    padding: 80px 0;
}

.about-card {
    background-color: var(--primary-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
}

/* Games Showcase */
.games-showcase {
    padding: 80px 0;
    background: linear-gradient(145deg, var(--primary-bg), darken(var(--primary-bg), 5%));
}

.games-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.game-card {
    background-color: var(--secondary-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    width: 100%;
    max-width: 350px; /* Limit card width */
}

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

.game-img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: fill;
    display: block;
}

.game-info {
    padding: 15px;
    text-align: center;
}

.game-title {
    color: var(--heading-color);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.play-game-btn {
    width: 100%;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--accent-color) !important;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem !important;
}

.swiper-pagination-bullet {
    background-color: var(--light-text-50);
}

.swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

/* Game Modal */
#gameModal .modal-content {
    background-color: var(--primary-bg);
}

#gameModal .modal-header {
    border-bottom: 1px solid var(--border-color);
}

#gameIframe {
    width: 100%;
    height: 70vh !important; /* Responsive height */
    min-height: 400px; /* Minimum height */
    background-color: #000;
    border-radius: 0 0 10px 10px;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--secondary-bg);
    padding: 80px 0;
}

.benefit-item {
    background-color: var(--primary-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.benefit-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
}

/* Contact Form */
.contact-section {
    background: linear-gradient(145deg, var(--primary-bg), darken(var(--primary-bg), 5%));
    padding: 80px 0;
}

.contact-form {
    background-color: var(--secondary-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.contact-form .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.contact-form .form-control::placeholder {
    color: var(--light-text-50);
    opacity: 0.7;
}

.contact-form .form-control:focus {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 204, 153, 0.25);
    color: var(--text-color);
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form .invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
}

/* Call to Action */
.cta-section {
    background-image: url('visuals/graphics/cta-background_6.jpg'); /* Example CTA background */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 51, 0.75); /* Dark teal overlay */
    z-index: 0;
}

.cta-section > .container {
    position: relative;
    z-index: 1;
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #330000; /* Dark Reddish background for warning */
    border-top: 5px solid #ffcc00; /* Amber border */
    padding: 40px 0;
    color: #ffe0b2; /* Lighter text for contrast */
    font-size: 0.95rem;
    line-height: 1.5;
}

.disclaimer-icon {
    font-size: 3rem;
    color: #ffcc00; /* Amber icon */
    margin-bottom: 15px;
}

.disclaimer-text {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--primary-bg);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

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

.footer .logo-text {
    font-size: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    white-space: nowrap;
}

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

.footer-logos {
    gap: 20px;
}

.footer-partner-logo {
    max-width: 130px; /* Adjusted from 100-150 to 130 for 4 logos */
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-partner-logo:hover {
    transform: scale(1.05);
}

.18plus-icon {
    max-width: 60px; /* Smaller for 18+ icon */
    height: auto;
    vertical-align: middle;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 51, 51, 0.95); /* Dark Teal */
    color: white;
    padding: 10px 0;
    z-index: 1040;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin-bottom: 0;
}

.cookie-banner .btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
}

/* Cookie Modal */
#cookieModal .modal-content {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

#cookieModal .modal-header {
    border-bottom: 1px solid var(--border-color);
}

#cookieModal .modal-title {
    color: var(--heading-color);
}

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

#cookieModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 204, 153, 0.25);
}
.text-muted {
    color: var(--accent-color)!important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .header .container {
        flex-wrap: wrap;
    }
    .header .btn {
        margin-top: 10px;
        width: 100%;
    }
    .hero-section {
        min-height: 80vh;
        padding-top: 80px;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .about-section, .games-showcase, .benefits-section, .contact-section, .cta-section, .disclaimer-block, .footer {
        padding: 60px 0;
    }
    .about-card, .benefit-item, .game-card {
        padding: 20px;
    }
    .feature-icon, .benefit-icon {
        font-size: 2.8rem;
    }
    .game-img {
        height: 180px;
    }
    .swiper-button-next, .swiper-button-prev {
        display: none !important; /* Hide navigation buttons on smaller screens */
    }
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner .d-flex {
        margin-top: 10px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 60px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 0.9rem;
    }
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    .about-section, .games-showcase, .benefits-section, .contact-section, .cta-section, .disclaimer-block, .footer {
        padding: 40px 0;
    }
    .game-img {
        height: 160px;
    }
    #gameIframe {
        height: 60vh;
    }
    .footer-logos {
        gap: 15px;
    }
    .footer-partner-logo {
        max-width: 100px;
    }
    .18plus-icon {
        max-width: 50px;
    }
}
/* Styles for content within the privacyNestZone container */
.privacyNestZone {
    padding-top: 60px; /* Top padding for the section */
    padding-bottom: 60px; /* Bottom padding for the section */
    padding-left: 15px; /* Left padding for the section */
    padding-right: 15px; /* Right padding for the section */
    max-width: 960px; /* Max width for content readability */
    margin-left: auto; /* Center the container */
    margin-right: auto; /* Center the container */
}

.privacyNestZone h1 {
    font-size: 2.2rem; /* Moderate size for main headings */
    margin-bottom: 1.5rem; /* Space below heading */
    color: var(--heading-color); /* Inherit heading color */
}

.privacyNestZone h2 {
    font-size: 1.8rem; /* Slightly smaller than h1 */
    margin-top: 2.5rem; /* Space above heading to separate sections */
    margin-bottom: 1.2rem; /* Space below heading */
    color: var(--heading-color); /* Inherit heading color */
}

.privacyNestZone h3 {
    font-size: 1.5rem; /* Sub-section headings */
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1rem; /* Space below heading */
    color: var(--heading-color); /* Inherit heading color */
}

.privacyNestZone h4 {
    font-size: 1.25rem; /* Minor headings */
    margin-top: 1.5rem; /* Space above heading */
    margin-bottom: 0.8rem; /* Space below heading */
    color: var(--heading-color); /* Inherit heading color */
}

.privacyNestZone h5 {
    font-size: 1.1rem; /* Smallest headings, often for lists or definitions */
    margin-top: 1.2rem; /* Space above heading */
    margin-bottom: 0.6rem; /* Space below heading */
    color: var(--heading-color); /* Inherit heading color */
}

.privacyNestZone p {
    font-size: 1rem; /* Standard paragraph text size */
    line-height: 1.7; /* Increased line height for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: var(--text-color); /* Inherit body text color */
}

.privacyNestZone ul {
    list-style: disc; /* Default disc for unordered lists */
    margin-left: 25px; /* Indent list items */
    padding-left: 0; /* No extra padding */
    margin-bottom: 1rem; /* Space below the entire list */
    color: var(--text-color); /* Inherit body text color */
}

.privacyNestZone ol {
    list-style: decimal; /* Default decimal for ordered lists */
    margin-left: 25px; /* Indent list items */
    padding-left: 0; /* No extra padding */
    margin-bottom: 1rem; /* Space below the entire list */
    color: var(--text-color); /* Inherit body text color */
}

.privacyNestZone li {
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.6; /* Line height for list items */
    color: var(--text-color); /* Inherit body text color */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .privacyNestZone {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .privacyNestZone h1 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .privacyNestZone h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .privacyNestZone h3 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .privacyNestZone h4 {
        font-size: 1.1rem;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .privacyNestZone h5 {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .privacyNestZone p,
    .privacyNestZone li {
        font-size: 0.9rem;
    }

    .privacyNestZone ul,
    .privacyNestZone ol {
        margin-left: 20px;
    }
}
