/* General Styles */
:root {
    --primary-color: #8A2BE2; /* Blue Violet */
    --secondary-color: #00FFFF; /* Aqua */
    --accent-color: #FFD700; /* Gold */
    --dark-bg: #1a1a2e; /* Dark Purple-Blue */
    --light-text: #e0e0e0;
    --dark-text: #333;
    --card-bg: #2a2a4a;
    --disclaimer-bg: #3a1a4a;
    --disclaimer-border: #FF4500; /* OrangeRed */
    --cookie-banner-bg: rgba(0, 0, 0, 0.85);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

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

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #9932CC; /* Darker Blue Violet */
    border-color: #9932CC;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.7);
}

.btn-outline-light {
    color: var(--light-text);
    border-color: var(--light-text);
}

.btn-outline-light:hover {
    background-color: var(--light-text);
    color: var(--dark-bg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

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

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

.age-verification-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.age-verification-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    max-width: 500px;
    width: 90%;
    color: var(--light-text);
    border: 2px solid var(--secondary-color);
}

.age-verification-content h2 {
    color: var(--accent-color);
    text-shadow: none;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--cookie-banner-bg);
    color: var(--light-text);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1050;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
    gap: 10px;
    transition: transform 0.3s ease-out;
}

.cookie-banner.hidden {
    transform: translateY(-100%);
}

.cookie-text {
    margin-bottom: 0;
    flex-grow: 1;
    text-align: center;
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-content {
    background-color: var(--card-bg);
    color: var(--light-text);
    border: 1px solid var(--primary-color);
}

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

#cookieSettingsModal .modal-title {
    color: var(--secondary-color);
}

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

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

#cookieSettingsModal .form-text {
    color: var(--light-text);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.hero-section .lead {
    font-size: 1.5rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
}

.logo-img {
    height: 80px;
    margin-right: 15px;
    vertical-align: middle;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    vertical-align: middle;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Us Section */
.about-section {
    background: linear-gradient(to bottom, var(--dark-bg), #20203a);
    color: var(--light-text);
}

.about-section img {
    max-height: 400px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

/* Our Games Section */
.games-section {
    background-color: #20203a;
    color: var(--light-text);
}

.game-card {
    background-color: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.game-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--primary-color);
}

.game-card .card-body {
    padding: 20px;
}

.game-card .card-title {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.game-card .card-text {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.game-card .play-now-btn {
    width: 100%;
    font-weight: bold;
}

/* Game Modal */
#gameModal .modal-content {
    background-color: var(--dark-bg);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.7);
}

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

#gameModal .modal-title {
    color: var(--accent-color);
}

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

#gameModal iframe {
    width: 100%;
    height: 80vh; /* Adjust as needed */
    display: block;
}

/* Features Section */
.features-section {
    background: linear-gradient(to top, var(--dark-bg), #20203a);
    color: var(--light-text);
}

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

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.6);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.feature-item h3 {
    color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-section {
    background-color: #20203a;
    color: var(--light-text);
}

.testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-height: 220px; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.testimonial-card h6 {
    color: var(--accent-color);
}

/* Disclaimer Section */
.disclaimer-section {
    background: #150f25; /* A slightly different dark background */
    padding: 60px 0;
    color: var(--light-text);
}

.disclaimer-content {
    background-color: var(--disclaimer-bg);
    border: 3px solid var(--disclaimer-border);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.6);
}

.disclaimer-title {
    color: var(--disclaimer-border);
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
}

.disclaimer-content h5 {
    color: var(--secondary-color);
    margin-top: 15px;
    margin-bottom: 8px;
}

.disclaimer-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--light-text);
}

.disclaimer-note {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 215, 0, 0.3);
}

/* Footer */
.footer {
    background-color: #0d0d1a !important; /* Even darker for footer */
    color: var(--light-text);
    padding-top: 40px;
    padding-bottom: 20px;
    border-top: 3px solid var(--primary-color);
}

.footer .logo-img-footer {
    height: 60px;
    margin-right: 10px;
    vertical-align: middle;
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.footer .logo-text {
    font-size: 2rem;
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.footer-links a {
    color: var(--light-text);
    margin: 0 8px;
    transition: color 0.3s ease;
}

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

.footer-logos {
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-img {
    max-width: 120px; /* Adjust based on number of images */
    height: auto;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.3));
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section .lead {
        font-size: 1.2rem;
    }
    .logo-img {
        height: 60px;
    }
    .logo-text {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 60px 0;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .logo-img {
        height: 50px;
    }
    .logo-text {
        font-size: 1.8rem;
    }
    .about-section img {
        margin-top: 30px;
    }
    .game-card .card-img-top {
        height: 180px;
    }
    #gameModal iframe {
        height: 70vh;
    }
    .disclaimer-content {
        padding: 30px;
    }
    .disclaimer-title {
        font-size: 1.7rem;
    }
    .footer-links a {
        display: block;
        margin: 5px 0;
    }
    .footer-logos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-img {
        max-width: 100px;
        margin: 5px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .lead {
        font-size: 0.9rem;
    }
    .logo-img {
        height: 40px;
    }
    .logo-text {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .age-verification-content {
        padding: 30px;
    }
    .game-card .card-img-top {
        height: 150px;
    }
    #gameModal iframe {
        height: 60vh;
    }
    .disclaimer-content {
        padding: 20px;
    }
    .disclaimer-title {
        font-size: 1.5rem;
    }
}
/* New styles for .complianceVaultNode and its children */
.complianceVaultNode {
    /* Padding for the container itself, providing space from edges */
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 25px;
    padding-right: 25px;
    /* Max-width for better readability on wide screens, centering the content */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    /* Ensure background and text color consistency with the overall theme */
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.complianceVaultNode h1 {
    /* Heading 1 styles: moderately sized for content, not hero section */
    font-size: 2.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color); /* Using theme color for consistency */
    font-family: 'Orbitron', sans-serif; /* Consistent with other headings */
    line-height: 1.2;
}

.complianceVaultNode h2 {
    /* Heading 2 styles */
    font-size: 1.8rem;
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    color: var(--secondary-color);
    font-family: 'Orbitron', sans-serif;
    line-height: 1.3;
}

.complianceVaultNode h3 {
    /* Heading 3 styles */
    font-size: 1.5rem;
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--accent-color); /* Using accent color for sub-headings */
    font-family: 'Orbitron', sans-serif;
    line-height: 1.4;
}

.complianceVaultNode h4 {
    /* Heading 4 styles */
    font-size: 1.3rem;
    margin-top: 1.4rem;
    margin-bottom: 0.7rem;
    color: var(--light-text); /* Standard text color for smaller headings */
    font-family: 'Orbitron', sans-serif;
    line-height: 1.5;
}

.complianceVaultNode h5 {
    /* Heading 5 styles */
    font-size: 1.1rem;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--light-text);
    font-family: 'Orbitron', sans-serif;
    line-height: 1.6;
}

.complianceVaultNode p {
    /* Paragraph styles for standard body text */
    font-size: 1rem;
    line-height: 1.7; /* Good for readability */
    margin-bottom: 1rem; /* Space after each paragraph */
    color: var(--light-text);
}

.complianceVaultNode ul {
    /* Unordered list styles */
    list-style-type: disc; /* Default disc style for bullet points */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 25px; /* Indentation for list items */
    color: var(--light-text);
}

.complianceVaultNode ol {
    /* Ordered list styles (added for common "stock" elements) */
    list-style-type: decimal; /* Default decimal style for numbered lists */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 25px;
    color: var(--light-text);
}

.complianceVaultNode li {
    /* List item styles */
    margin-bottom: 0.5rem; /* Spacing between individual list items */
    line-height: 1.6; /* Ensure readability for list items */
    color: var(--light-text);
}

/* Responsive adjustments for content within .complianceVaultNode */
@media (max-width: 768px) {
    .complianceVaultNode {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .complianceVaultNode h1 {
        font-size: 2rem;
    }
    .complianceVaultNode h2 {
        font-size: 1.6rem;
    }
    .complianceVaultNode h3 {
        font-size: 1.3rem;
    }
    .complianceVaultNode h4 {
        font-size: 1.1rem;
    }
    .complianceVaultNode h5 {
        font-size: 1rem;
    }
    .complianceVaultNode p {
        font-size: 0.95rem;
    }
    .complianceVaultNode ul,
    .complianceVaultNode ol {
        padding-left: 20px;
    }
}

@media (max-width: 576px) {
    .complianceVaultNode {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .complianceVaultNode h1 {
        font-size: 1.8rem;
    }
    .complianceVaultNode h2 {
        font-size: 1.5rem;
    }
    .complianceVaultNode h3 {
        font-size: 1.2rem;
    }
    .complianceVaultNode h4 {
        font-size: 1rem;
    }
    .complianceVaultNode h5 {
        font-size: 0.95rem;
    }
    .complianceVaultNode p {
        font-size: 0.9rem;
    }
}
