:root {
    --primary-bg-dark: #1a0f2b;
    --secondary-bg-dark: #0d0714;
    --accent-purple: #6a0dad;
    --neon-green: #00f260;
    --neon-blue: #00c6ff;
    --neon-pink: #ff007f;
    --text-light: #e0e0e0;
    --text-white: #ffffff;
    --border-color: #331e50;
    --card-bg: #281a3d;
    --overlay-dark: rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--primary-bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
    margin-top: 70px; /* Offset for fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    font-weight: 700;
}

a {
    color: var(--neon-blue);
    text-decoration: none;
}

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

.text-neon-link {
    color: var(--neon-blue) !important;
}

.text-neon-link:hover {
    color: var(--neon-green) !important;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
}

/* Buttons */
.btn-primary-neon {
    background-color: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--secondary-bg-dark);
    font-weight: 600;
    font-size: 14px;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    transition: background-color 0.1s ease, border-color 0.1s ease, transform 0.1s ease;
}
small{
    color: white;
}
.btn-primary-neon:hover {
    background-color: var(--neon-blue);
    border-color: var(--neon-blue);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-secondary-dark {
     font-size: 14px;
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-light);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: background-color 0.1s ease, border-color 0.1s ease, transform 0.1s ease;
}

.btn-secondary-dark:hover {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-outline-neon {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    background-color: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: background-color 0.1s ease, color 0.1s ease, border-color 0.1s ease;
}

.btn-outline-neon:hover {
    background-color: var(--neon-blue);
    color: var(--secondary-bg-dark);
    border-color: var(--neon-blue);
}

/* Header */
.main-header {
    background-color: var(--secondary-bg-dark);
    border-bottom: 1px solid var(--border-color);
    z-index: 1030;
}

.header-logo {
    height: 40px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.nav-link-item {
    color: var(--text-light);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: color 0.1s ease, background-color 0.1s ease;
}

.nav-link-item:hover {
    color: var(--neon-green);
    background-color: rgba(0, 242, 96, 0.1);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--neon-blue);
    font-size: 1.8rem;
    cursor: pointer;
    display: none; /* Hidden on desktop */
}

.mobile-menu {
    background-color: var(--secondary-bg-dark);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    z-index: 1020;
}

.mobile-menu.active {
    display: flex;
}

.nav-links-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links-mobile li {
    text-align: center;
    padding: 0.5rem 0;
}

.nav-link-item-mobile {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    font-weight: 600;
    transition: background-color 0.1s ease, color 0.1s ease;
}

.nav-link-item-mobile:hover {
    background-color: rgba(0, 198, 255, 0.1);
    color: var(--neon-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px; /* Adjust for fixed header */
}

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

.hero-section h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(0, 242, 96, 0.7);
}

.hero-section p.lead {
    font-size: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    background-color: var(--secondary-bg-dark);
}

.about-section img {
    border: 2px solid var(--accent-purple);
    box-shadow: 0 0 20px rgba(106, 13, 173, 0.5);
}

/* Games Section */
.games-section {
    background-color: var(--primary-bg-dark);
}

.game-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.game-card-img {
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.game-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-card-title {
    color: var(--neon-blue);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.game-card-description {
    font-size: 0.95rem;
    color: var(--text-light);
    flex-grow: 1;
}

.btn-play-game {
    align-self: flex-start;
}

.game-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* Features Section */
.features-section {
    background-color: var(--secondary-bg-dark);
}

.feature-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: background-color 0.1s ease, border-color 0.1s ease;
}

.feature-item:hover {
    background-color: var(--accent-purple);
    border-color: var(--neon-blue);
}

.feature-icon {
    font-size: 3rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 242, 96, 0.5);
}

.feature-title {
    color: var(--text-white);
    margin-top: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--primary-bg-dark);
}

.testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.4);
}

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

.testimonial-name {
    color: var(--neon-pink);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary-bg-dark);
}

.contact-form-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.form-label {
    color: var(--neon-blue);
    font-weight: 600;
}

.form-control {
    background-color: var(--primary-bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    background-color: var(--primary-bg-dark);
    border-color: var(--neon-green);
    box-shadow: 0 0 0 0.25rem rgba(0, 242, 96, 0.25);
    color: var(--text-white);
}

.form-control::placeholder {
    color: rgba(224, 224, 224, 0.6);
}

.invalid-feedback {
    color: var(--neon-pink);
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: var(--accent-purple);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 3px solid var(--neon-pink);
    border-bottom: 3px solid var(--neon-pink);
}

.disclaimer-content {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.5);
}

.disclaimer-icon {
    font-size: 3rem;
    color: var(--neon-pink);
}

.disclaimer-title {
    color: var(--text-white);
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.7);
}

.disclaimer-content p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Footer */
.main-footer {
    background-color: var(--secondary-bg-dark);
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.footer-logo {
    height: 50px;
}

.footer-heading {
    color: var(--neon-blue);
    font-weight: 700;
    font-size: 1.3rem;
}

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

.footer-link-item {
    color: var(--text-light);
    transition: color 0.1s ease;
}

.footer-link-item:hover {
    color: var(--neon-green);
}

.footer-divider {
    border-color: var(--border-color);
}

.responsible-gaming-logos {
    gap: 1.5rem;
}

.footer-logo-item {
    max-width: 130px;
    height: auto;
    display: block;
}

.age-18-plus .badge {
    background-color: #dc3545 !important;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 700;
}

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

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

.modal-content-age, .modal-content-cookie {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    border: 2px solid var(--neon-blue);
}

.modal-overlay.show .modal-content-age, .modal-overlay.show .modal-content-cookie {
    transform: translateY(0);
}

.modal-content-age h2 {
    color: var(--neon-green);
    margin-bottom: 1.5rem;
}

.modal-content-age p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.age-logo {
    height: 60px;
    width: auto;
}

.cookie-overlay .modal-content-cookie {
    border: 2px solid var(--neon-pink);
}

.cookie-overlay h3 {
    color: var(--neon-pink);
}

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

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

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 242, 96, 0.25);
}

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

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

.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;
    display: block; /* Ensure iframe takes full space */
}

.game-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1070; /* Always on top */
    transition: background-color 0.1s ease;
}

.game-modal-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Scroll lock */
body.modal-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section p.lead {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .menu-toggle {
        display: block;
    }
    .main-header .nav-links {
        display: none;
    }
    body {
        margin-top: 60px; /* Adjust for smaller header */
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 80vh;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .game-card-img {
        height: 180px;
    }
    .game-card-title {
        font-size: 1.5rem;
    }
    .modal-content-age, .modal-content-cookie {
        padding: 1.5rem;
    }
    .modal-content-age h2 {
        font-size: 1.8rem;
    }
    .modal-content-age p {
        font-size: 1rem;
    }
    .btn-primary-neon, .btn-secondary-dark, .btn-outline-neon {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    .responsible-gaming-logos {
        gap: 1rem;
    }
    .footer-logo-item {
        max-width: 100px;
    }
    .disclaimer-icon {
        font-size: 2.5rem;
    }
    .disclaimer-title {
        font-size: 1.5rem;
    }
    .disclaimer-content p {
        font-size: 0.9rem;
    }
}
/* New styles for .rightsCloudWrap and its children */

/* Wrapper for legal content or similar, providing padding and max-width */
.rightsCloudWrap {
    padding: 4rem 2rem; /* Top/bottom and side padding for the content block */
    max-width: 960px; /* Max width for better readability on large screens */
    margin-left: auto; /* Center the wrapper horizontally */
    margin-right: auto; /* Center the wrapper horizontally */
    background-color: var(--secondary-bg-dark); /* Background color for the content block */
    border-radius: 10px; /* Slightly rounded corners for the block */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4); /* Subtle shadow for depth */
    margin-top: 3rem; /* Space above the content block */
    margin-bottom: 3rem; /* Space below the content block */
}

/* Heading 1 styles within the wrapper */
.rightsCloudWrap h1 {
    font-size: 2.5rem; /* Moderate size for main section title */
    line-height: 1.2; /* Improved readability for headings */
    margin-top: 0; /* No top margin for the very first element in the wrapper */
    margin-bottom: 1.5rem; /* Space below the heading */
    color: var(--text-white); /* White color for headings */
    font-family: 'Montserrat', sans-serif; /* Consistent heading font */
    font-weight: 700; /* Bold font weight */
}

/* Heading 2 styles within the wrapper */
.rightsCloudWrap h2 {
    font-size: 2rem; /* Standard size for sub-sections */
    line-height: 1.3;
    margin-top: 2rem; /* Space above the heading */
    margin-bottom: 1.25rem;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Heading 3 styles within the wrapper */
.rightsCloudWrap h3 {
    font-size: 1.75rem; /* Smaller sub-heading size */
    line-height: 1.4;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Heading 4 styles within the wrapper */
.rightsCloudWrap h4 {
    font-size: 1.5rem; /* Even smaller sub-heading size */
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Heading 5 styles within the wrapper */
.rightsCloudWrap h5 {
    font-size: 1.25rem; /* Smallest heading size */
    line-height: 1.6;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Paragraph styles within the wrapper */
.rightsCloudWrap p {
    font-size: 1.1rem; /* Slightly larger for better readability of body text */
    line-height: 1.8; /* Generous line spacing for comfort */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: var(--text-light); /* Light text color for body content */
}

/* Unordered list styles within the wrapper */
.rightsCloudWrap ul {
    list-style: disc; /* Standard disc bullet points */
    padding-left: 1.5rem; /* Indent for list markers */
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1rem; /* Space below the list */
    color: var(--text-light); /* Text color for list items */
}

/* List item styles within the wrapper */
.rightsCloudWrap li {
    font-size: 1.1rem; /* Consistent font size with paragraphs */
    line-height: 1.8; /* Consistent line spacing with paragraphs */
    margin-bottom: 0.5rem; /* Space between individual list items */
    color: var(--text-light); /* Text color for list items */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .rightsCloudWrap {
        padding: 2.5rem 1.5rem; /* Reduced padding on smaller screens */
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .rightsCloudWrap h1 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    .rightsCloudWrap h2 {
        font-size: 1.7rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    .rightsCloudWrap h3 {
        font-size: 1.4rem;
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
    }
    .rightsCloudWrap h4 {
        font-size: 1.2rem;
        margin-top: 1rem;
        margin-bottom: 0.6rem;
    }
    .rightsCloudWrap h5 {
        font-size: 1.1rem;
        margin-top: 0.8rem;
        margin-bottom: 0.4rem;
    }
    .rightsCloudWrap p,
    .rightsCloudWrap li {
        font-size: 1rem; /* Slightly smaller text for mobile */
        line-height: 1.7;
        margin-bottom: 0.8rem;
    }
    .rightsCloudWrap ul {
        padding-left: 1.2rem; /* Slightly less indent for lists on mobile */
    }
}
.form-check {
    display: flex!important;
    gap: 20px;
}