body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A1931; /* Dark Blue */
    color: #F8F9FA; /* White */
    scroll-behavior: smooth;
}

.bg-dark-blue {
    background-color: #0A1931;
}

.bg-secondary-dark {
    background-color: #1A2E4C !important;
}

.bg-dark-gradient {
    background: linear-gradient(180deg, #0A1931 0%, #1A2E4C 100%);
}

.bg-warning-dark {
    background-color: #3D0C02; /* Darker red/brown for warning */
    border-top: 3px solid #FFC107; /* Yellow border */
}

.text-white {
    color: #F8F9FA !important;
}

.text-white-75 {
    color: rgba(248, 249, 250, 0.75) !important;
}

.text-white-50 {
    color: rgba(248, 249, 250, 0.5) !important;
}

.btn-primary {
    background-color: #007BFF;
    border-color: #007BFF;
    color: #fff;
    text-decoration: none;
    transition: none; /* No animation */
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #fff;
}

.btn-outline-light {
    border-color: #F8F9FA;
    color: #F8F9FA;
    text-decoration: none;
    transition: none; /* No animation */
}

.btn-outline-light:hover {
    background-color: #F8F9FA;
    color: #0A1931;
}

.btn-secondary {
    background-color: #6C757D;
    border-color: #6C757D;
    color: #fff;
    text-decoration: none;
    transition: none; /* No animation */
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    color: #fff;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-footer {
    height: 30px;
    width: auto;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-image: url('graphics/uploads/hero-social-games-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section h2 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
}

.hero-cta-btn, .join-cta-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Game Cards */
.game-card {
    background-color: #1A2E4C;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure equal height */
}

.game-card img {
    width: 100%;
    height: 200px; /* Fixed height for images */
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.game-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.game-card .card-text {
    margin-bottom: 15px;
}

.game-card .btn {
    width: 100%;
    text-decoration: none;
}

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

/* Game Modal */
.game-modal .modal-dialog {
    margin: 0;
    max-width: 100vw;
    height: 100vh;
}

.game-modal .modal-content {
    background-color: rgba(0, 0, 0, 0.9);
    height: 100%;
    border-radius: 0;
}

.game-modal .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100% - 50px); /* Adjust for close button */
}

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

.game-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1050;
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: none; /* No animation */
}

.game-modal-close-btn:hover {
    opacity: 0.5;
}

/* Accordion (How to Play & FAQ Social) */
.accordion-item {
    background-color: #1A2E4C;
    border: none;
    margin-bottom: 15px;
    border-radius: 8px;
}

.accordion-button {
    background-color: #1A2E4C !important;
    color: #F8F9FA !important;
    font-weight: 600;
    border-radius: 8px !important;
    text-decoration: none;
    transition: none; /* No animation */
}

.accordion-button:not(.collapsed) {
    background-color: #0A1931 !important;
    color: #F8F9FA !important;
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    color: rgba(248, 249, 250, 0.75);
    padding-top: 0;
}

/* Testimonials */
.testimonial-card {
    background-color: #1A2E4C;
    border: none;
    border-radius: 10px;
    padding: 20px;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
}

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

.testimonial-card .card-text {
    font-style: italic;
}

.testimonial-card .bi-star-fill, .testimonial-card .bi-star {
    font-size: 1.2rem;
}

/* Disclaimer Section */
.disclaimer-section {
    border-top: 5px solid #FFC107;
    padding: 40px 0;
    background-color: #1A0A02; /* Darker background for contrast */
    color: #F8F9FA;
}

.disclaimer-section h4 {
    color: #FFC107 !important; /* Yellow for warning title */
}

.disclaimer-section .bi-exclamation-triangle-fill {
    color: #FFC107 !important; /* Yellow for warning icon */
}

.disclaimer-section ul {
    list-style: none;
    padding-left: 0;
}

.disclaimer-section a {
    color: #F8F9FA;
    text-decoration: underline;
    transition: none; /* No animation */
}

.disclaimer-section a:hover {
    color: #007BFF;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #0A1931;
    color: rgba(248, 249, 250, 0.5);
    font-size: 0.85rem;
}

.footer-links .list-inline-item a {
    color: rgba(248, 249, 250, 0.5);
    text-decoration: none;
    padding: 0 10px;
    transition: none; /* No animation */
}

.footer-links .list-inline-item a:hover {
    color: #F8F9FA;
}

.footer-links .list-inline-item:not(:last-child)::after {
    content: '|';
    margin-left: 10px;
    color: rgba(248, 249, 250, 0.3);
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

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

@media (max-width: 576px) {
    .footer-logo-img {
        max-width: 100px;
    }
}

/* Age Verification Modal */
.age-modal-content {
    background-color: #1A2E4C;
    color: #F8F9FA;
    border-radius: 10px;
    padding: 20px;
}

.age-verify-btn, .age-deny-btn {
    text-decoration: none;
}

/* Cookie Banner */
#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#cookieBanner p {
    flex-grow: 1;
}

@media (max-width: 767.98px) {
    #cookieBanner {
        flex-direction: column;
        text-align: center;
    }
    #cookieBanner p {
        margin-bottom: 10px !important;
    }
    #cookieBanner .d-flex {
        width: 100%;
        justify-content: center;
    }
    #cookieBanner .btn {
        flex-grow: 1;
    }
    #cookieBanner .btn:first-child {
        margin-right: 5px !important;
    }
    #cookieBanner .btn:last-child {
        margin-left: 5px !important;
    }
}

/* Cookie Settings Modal */
.cookie-modal-content {
    background-color: #1A2E4C;
    color: #F8F9FA;
    border-radius: 10px;
}

.form-check-input:checked {
    background-color: #007BFF;
    border-color: #007BFF;
}

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

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

/* General text and link styles */
h1, h2, h3, h4, h5, h6 {
    color: #F8F9FA;
}

p {
    color: rgba(248, 249, 250, 0.85);
}

a {
    color: #007BFF;
    text-decoration: none;
    transition: none; /* No animation */
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Override Bootstrap default link underline on buttons */
.btn {
    text-decoration: none !important;
}
/*
 * New stock styles for .dataTrustFrame container and its content elements.
 * These styles aim for a clean, readable, and non-overpowering default look.
 */

.dataTrustFrame {
    /* Container padding for top and sides, as requested. Added bottom padding for completeness. */
    padding: 30px;
}

.dataTrustFrame h1 {
    /* Heading 1: Not excessively large, with appropriate vertical spacing. */
    font-size: 1.8em;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    line-height: 1.2; /* Tighter line-height for headings */
    font-weight: bold; /* Ensure it's bold */
}

.dataTrustFrame h2 {
    /* Heading 2: Slightly smaller than H1. */
    font-size: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    line-height: 1.3;
    font-weight: bold;
}

.dataTrustFrame h3 {
    /* Heading 3: Further reduction in size. */
    font-size: 1.3em;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    line-height: 1.4;
    font-weight: bold;
}

.dataTrustFrame h4 {
    /* Heading 4: Closer to body text size, but still distinct. */
    font-size: 1.1em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.5;
    font-weight: bold;
}

.dataTrustFrame h5 {
    /* Heading 5: Often used for sub-headings or smaller emphasized text. */
    font-size: 1em; /* Same as body text but typically bold */
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.5;
    font-weight: bold;
}

.dataTrustFrame p {
    /* Paragraph text: Standard font size with good line-height and vertical spacing. */
    font-size: 1em; /* Assumes base font size is 1em */
    margin-top: 0; /* Let headings or other elements define top spacing */
    margin-bottom: 1em;
    line-height: 1.6; /* Improved readability for blocks of text */
}

.dataTrustFrame ul {
    /* Unordered list: Default bullet points with proper indentation and spacing. */
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 25px; /* Indentation for bullet points */
    list-style-type: disc; /* Explicitly set default bullet style */
}

.dataTrustFrame ol {
    /* Ordered list: Default numbering with proper indentation and spacing. */
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 25px; /* Indentation for numbering */
    list-style-type: decimal; /* Explicitly set default numbering style */
}

.dataTrustFrame li {
    /* List item: Spacing between individual list items. */
    margin-bottom: 0.5em;
    line-height: 1.6; /* Consistent line-height with paragraphs */
}
