/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A1931; /* Dark Blue */
    color: #FFFFFF;
    line-height: 1.6;
    scroll-behavior: smooth;
}
section {
    overflow: hidden;
}
.text-turquoise {
    color: #00CED1 !important; /* Turquoise */
}

.bg-dark-blue {
    background-color: #0A1931 !important;
}
#disclaimer-block a {
    word-break: break-all;
}
.dark-bg-2 {
    background-color: #122842 !important; /* Slightly lighter dark blue for cards/sections */
}

.dark-bg-3 {
    background-color: #1A3459 !important; /* Even lighter dark blue for accordion items */
}

.btn-turquoise {
    background-color: #00CED1;
    border-color: #00CED1;
    color: #0A1931;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-turquoise:hover {
    background-color: #00B5B8;
    border-color: #00B5B8;
    color: #0A1931;
}

.btn-outline-turquoise {
    border-color: #00CED1;
    color: #00CED1;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-turquoise:hover {
    background-color: #00CED1;
    color: #0A1931;
}

.hover-turquoise:hover {
    color: #00CED1 !important;
}

/* Header */
header .logo {
    height: 40px; /* Adjust logo size */
    width: auto;
}

header .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(10, 25, 49, 0.8), rgba(10, 25, 49, 0.8)), url('static/content/abstract-gaming-bg.webp') no-repeat center center/cover;
    min-height: 80vh;
    padding-top: 100px; /* Offset for sticky header */
    padding-bottom: 50px;
}

.hero-section .img-fluid {
    max-height: 400px;
    object-fit: cover;
}

/* About Section */
#about .img-fluid {
    max-height: 450px;
    width: 100%;
    object-fit: cover;
}

/* Game Cards Section */
.game-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 206, 209, 0.2);
}

.game-card .card-img-top {
    height: 200px; /* Fixed height for images */
    object-fit: cover;
    width: 100%;
}

.game-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card .card-title {
    font-weight: 600;
}

.game-card .game-link {
    text-decoration: none;
    color: inherit;
}

/* How to Play Accordion */
.accordion-item {
    border: 1px solid #00CED1;
}

.accordion-button {
    background-color: #1A3459;
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 0.25rem;
}

.accordion-button:not(.collapsed) {
    color: #00CED1;
    background-color: #1A3459;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #00CED1;
}

.accordion-body {
    background-color: #122842;
    color: #E0F2F7;
}

/* Tournaments Teaser */
.tournament-card {
    border: 1px solid #00CED1;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 206, 209, 0.2);
}

.tournament-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Leaderboards */
.leaderboard-table {
    --bs-table-bg: #1A3459; /* Darker background for table */
    --bs-table-striped-bg: #122842; /* Even darker for striped rows */
    --bs-table-hover-bg: #0A1931; /* Darkest for hover */
    --bs-table-color: #FFFFFF;
    border: 1px solid #00CED1;
}

.leaderboard-table th, .leaderboard-table td {
    padding: 1rem;
    vertical-align: middle;
}

.leaderboard-table thead th {
    border-bottom: 2px solid #00CED1;
    color: #00CED1;
}

.sticky-user-row {
    position: sticky;
    top: 0;
    background-color: #0A1931; /* Ensure it's visible on scroll */
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    font-weight: bold;
}

/* Clans Section */
#clans {
    background: linear-gradient(rgba(10, 25, 49, 0.85), rgba(10, 25, 49, 0.85)), url('static/content/clans-bg_3.png') no-repeat center center/cover;
}

/* Testimonials */
.testimonial-card {
    border: 1px solid #00CED1;
    display: flex;
    flex-direction: column;
}

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

.testimonial-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #0A1931; /* Dark Blue */
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.disclaimer-content {
    background-color: #1A3459; /* Darker blue background for the block */
    border: 2px solid #DC3545; /* Red border for warning */
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.5);
}

.disclaimer-content h3 {
    color: #DC3545; /* Red color for heading */
    font-weight: 700;
}

/* Footer */
footer .logo {
    height: 30px;
    width: auto;
}

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

.online-players {
    font-size: 1.1rem;
    font-weight: 600;
    color: #E0F2F7;
}

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

.footer-org-logos .footer-logo {
    max-width: 120px; /* Consistent width for logos */
    height: auto;
    object-fit: contain;
    filter: brightness(0.9); /* Slightly dim to blend with dark background */
    transition: filter 0.3s ease;
}

.footer-org-logos .footer-logo-18plus {
    max-width: 60px;
    filter: none; /* Keep 18+ icon vibrant */
}

/* Age Verification Modal */
#ageVerificationModal .modal-content {
    background-color: #122842;
    border: 2px solid #00CED1;
    color: #FFFFFF;
    border-radius: 0.75rem;
}

#ageVerificationModal .modal-title {
    font-weight: 700;
}

/* Game Modal */
#gameModal .modal-content {
    background-color: rgba(10, 25, 49, 0.95); /* Darker, slightly transparent */
    border: none;
    border-radius: 0;
}

#gameModal .modal-header {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1051; /* Above iframe */
}

#gameModal .btn-close {
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white background for visibility */
    border-radius: 50%;
    padding: 0.6rem;
    opacity: 1;
    transition: background-color 0.3s ease;
}

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

#gameModal .modal-body {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gameModal iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1070; /* Above other modals */
    border-top: 1px solid #00CED1;
    background-color: #1A3459 !important;
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-content {
    background-color: #122842;
    border: 2px solid #00CED1;
    color: #FFFFFF;
    border-radius: 0.75rem;
}

#cookieSettingsModal .form-check-input:checked {
    background-color: #00CED1;
    border-color: #00CED1;
}

#cookieSettingsModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 206, 209, 0.25);
}

/* Utility for scroll locking */
body.modal-open {
    overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }
    .hero-section .text-lg-start {
        text-align: center !important;
    }
    .hero-section .img-fluid {
        max-height: 300px;
    }
    .footer-links {
        justify-content: center !important;
    }
    .footer-org-logos {
        justify-content: center !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .hero-section .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    .footer-links li {
        flex-basis: 45%; /* Two links per row */
    }
}
/* Styles for the complianceVaultNode container */
.complianceVaultNode {
    padding-top: 3rem; /* Top padding for the section */
    padding-left: 1.5rem; /* Left padding for the section */
    padding-right: 1.5rem; /* Right padding for the section */
    padding-bottom: 3rem; /* Bottom padding for the section */
    max-width: 1200px; /* Max width to prevent content from stretching too wide */
    margin-left: auto; /* Center the container */
    margin-right: auto; /* Center the container */
}

/* Heading 1 styles */
.complianceVaultNode h1 {
    font-size: 2.25rem; /* Moderate size for main headings */
    font-weight: 700; /* Bold font weight */
    margin-bottom: 1.5rem; /* Space below the heading */
    line-height: 1.2; /* Line height for readability */
    color: #00CED1; /* Turquoise color for main headings */
}

/* Heading 2 styles */
.complianceVaultNode h2 {
    font-size: 1.875rem; /* Slightly smaller than h1 */
    font-weight: 600; /* Semi-bold font weight */
    margin-bottom: 1.25rem; /* Space below the heading */
    line-height: 1.3; /* Line height for readability */
    color: #E0F2F7; /* Light blue color */
}

/* Heading 3 styles */
.complianceVaultNode h3 {
    font-size: 1.5rem; /* Moderate size for sub-headings */
    font-weight: 600; /* Semi-bold font weight */
    margin-bottom: 1rem; /* Space below the heading */
    line-height: 1.4; /* Line height for readability */
    color: #E0F2F7; /* Light blue color */
}

/* Heading 4 styles */
.complianceVaultNode h4 {
    font-size: 1.25rem; /* Smaller heading size */
    font-weight: 500; /* Medium font weight */
    margin-bottom: 0.75rem; /* Space below the heading */
    line-height: 1.5; /* Line height for readability */
    color: #E0F2F7; /* Light blue color */
}

/* Heading 5 styles */
.complianceVaultNode h5 {
    font-size: 1.125rem; /* Smallest heading size */
    font-weight: 500; /* Medium font weight */
    margin-bottom: 0.5rem; /* Space below the heading */
    line-height: 1.5; /* Line height for readability */
    color: #E0F2F7; /* Light blue color */
}

/* Paragraph styles */
.complianceVaultNode p {
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1rem; /* Space below paragraphs */
    line-height: 1.7; /* Increased line height for better readability */
    color: #F0F8FF; /* Off-white color for body text */
}

/* Unordered list styles */
.complianceVaultNode ul {
    list-style: disc; /* Default disc bullet points */
    padding-left: 1.5rem; /* Indent list items */
    margin-bottom: 1rem; /* Space below the list */
    color: #F0F8FF; /* Off-white color for list text */
}

/* List item styles */
.complianceVaultNode ul li {
    font-size: 1rem; /* Standard list item font size */
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.6; /* Line height for readability */
}

/* Specific style for the last paragraph/list item to remove bottom margin */
.complianceVaultNode p:last-child,
.complianceVaultNode ul:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .complianceVaultNode {
        padding-top: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 2rem;
    }

    .complianceVaultNode h1 {
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }

    .complianceVaultNode h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .complianceVaultNode h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .complianceVaultNode h4 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

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

    .complianceVaultNode p,
    .complianceVaultNode ul li {
        font-size: 0.9375rem; /* Slightly smaller text on mobile */
        margin-bottom: 0.75rem;
    }
}
