body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A1931; /* Dark Blue */
    color: #E0E0E0; /* Light Gray for general text */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.bg-primary {
    background-color: #0A1931 !important; /* Dark Blue */
}

.bg-secondary {
    background-color: #1F3A5F !important; /* Slightly lighter dark blue */
}

.bg-light-blue {
    background-color: #122842 !important; /* Another shade of dark blue */
}

.text-primary {
    color: #4CAF50 !important; /* Green for accents */
}

.text-info {
    color: #00BCD4 !important; /* Cyan for links */
}

.btn-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    transition: background-color 0s, border-color 0s;
}

.btn-primary:hover {
    background-color: #388E3C;
    border-color: #388E3C;
}

.btn-secondary {
    background-color: #607D8B;
    border-color: #607D8B;
    color: #fff;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    transition: background-color 0s, border-color 0s;
}

.btn-secondary:hover {
    background-color: #455A64;
    border-color: #455A64;
}

.btn-outline-light {
    color: #E0E0E0;
    border-color: #E0E0E0;
    transition: background-color 0s, color 0s, border-color 0s;
}

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

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

.site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E0E0E0;
    white-space: nowrap;
}

.navbar-nav .nav-link {
    color: #E0E0E0 !important;
    font-weight: 600;
    transition: color 0s;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: #4CAF50 !important;
}

.offcanvas-header {
    background-color: #0A1931;
    color: #E0E0E0;
}

.offcanvas-title {
    color: #E0E0E0;
}

.offcanvas-body {
    overflow-x: auto;
}

.hero-section {
    position: relative;
    background-image: url('static/graphics/For-Futuristic-Sports-Concept-Arena-Ice-Photo-In-Winter-Glowing-Neon-Hockey-A-Players-Lit-Abstract.jpg');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-section h1 {
    margin-top: 50px;
    font-size: 2.5rem;
}

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

.play-now-btn {
    text-decoration: none;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4CAF50;
    position: relative;
    padding-bottom: 10px;
}

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

.bg-dark-blue .section-title::after {
    background-color: #00BCD4;
}

.bg-light-blue .section-title {
    color: #E0E0E0;
}

.bg-light-blue .section-title::after {
    background-color: #4CAF50;
}

.game-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.game-card .card-body {
    color: #E0E0E0;
}

.game-card .card-title {
    color: #00BCD4 !important;
}

.game-card .game-rating .bi-star-fill, .game-card .game-rating .bi-star-half {
    color: #FFC107;
}

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

.avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.how-to-play-list .list-group-item {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.how-to-play-list .list-group-item h5 {
    color: #00BCD4 !important;
}

.accordion-item {
    border: none;
}

.accordion-button {
    font-weight: 600;
    color: #E0E0E0 !important;
    background-color: #1F3A5F !important;
    border-radius: 0.25rem;
    transition: background-color 0s, color 0s;
}

.accordion-button:not(.collapsed) {
    background-color: #0A1931 !important;
    color: #00BCD4 !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    background-color: #1F3A5F;
    color: #E0E0E0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-label {
    color: #333;
    font-weight: 600;
}

.form-control {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #333;
}

.form-control:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

.disclaimer-block {
    background-color: #2c3e50; /* Darker background for emphasis */
    color: #E0E0E0;
    border-top: 5px solid #E74C3C; /* Red border for warning */
}

.disclaimer-block h3 {
    color: #E74C3C;
}

.disclaimer-block .text-info {
    color: #00BCD4 !important;
    text-decoration: underline;
}

.footer-partners {
    gap: 15px;
    justify-content: space-between !important;
}

.footer-partner-logo {
    max-width: 120px;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-partner-logo-18plus {
    max-width: 50px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Age Gate Pop-up */
.age-gate-overlay {
   position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none ;
}

.age-gate-content {
    background-color: #1F3A5F;
    color: #E0E0E0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}
#age-error-message {
    display: none;
}
/* Game Modal */
.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9990;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

.game-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9992;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    transition: background-color 0s;
}

.game-modal-close:hover {
    background-color: #fff;
}

.game-modal-content {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.game-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #000;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 9980;
    transform: translateY(100%);
    transition: transform 0s;
    background-color: #0A1931 !important;
    border-top: 1px solid #1F3A5F;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    color: #E0E0E0;
}

.cookie-banner a {
    color: #00BCD4 !important;
    text-decoration: underline;
}

#cookie-modal .modal-content {
    background-color: #1F3A5F;
    color: #E0E0E0;
    z-index: 9985; /* Higher than banner, lower than age-gate */
}

#cookie-modal .modal-header, #cookie-modal .modal-footer {
    border-color: #0A1931;
}

#cookie-modal .modal-title {
    color: #E0E0E0;
}

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

#cookie-modal .form-check-label {
    color: #E0E0E0;
}

#cookie-modal .form-check-input:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

/* Responsive Typography */
.navbar-brand .site-name {
    font-size: 1.25rem; /* Mobile */
}

.hero-section h1 {
    font-size: 1.8rem; /* Mobile */
}

.section-title {
    font-size: 1.5rem; /* Mobile */
}

@media (min-width: 768px) {
    .navbar-brand .site-name {
        font-size: 1.8rem; /* Tablet */
    }

    .hero-section h1 {
        font-size: 2.2rem; /* Tablet */
    }

    .section-title {
        font-size: 1.8rem; /* Tablet */
    }

    .game-card .card-img-top {
        height: 220px;
    }
}

@media (min-width: 1024px) {
    .navbar-brand .site-name {
        font-size: 2.2rem; /* Desktop */
    }

    .hero-section h1 {
        font-size: 2.8rem; /* Desktop */
    }

    .section-title {
        font-size: 2.2rem; /* Desktop */
    }

    .game-card .card-img-top {
        height: 250px;
    }
}

@media (min-width: 1100px) {
    .navbar-expand-lg .offcanvas {
        position: static;
        width: auto;
        height: auto;
        visibility: visible;
        background-color: transparent !important;
        transform: none;
        border: none;
    }

    .navbar-expand-lg .offcanvas-body {
        display: flex;
        flex-grow: 1;
        padding: 0;
        overflow-x: visible;
    }

    .navbar-expand-lg .offcanvas-header {
        display: none;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .navbar-nav .nav-item {
        margin-left: 1rem;
    }
}
/*
 * New stock styles for content within .trustPillarUnit
 * Includes heading, paragraph, and list styles with appropriate sizing and spacing.
 */

/* Parent container padding */
.trustPillarUnit {
    padding-top: 30px;    /* Top padding for the unit */
    padding-bottom: 30px; /* Bottom padding for the unit */
    padding-left: 25px;   /* Left padding for the unit */
    padding-right: 25px;  /* Right padding for the unit */
}

/* Heading styles */
.trustPillarUnit h1 {
    word-break: break-all;
    font-size: 28px;      /* Main heading, not excessively large */
    line-height: 1.2;     /* Line height for readability */
    margin-top: 30px;     /* Space above the heading */
    margin-bottom: 15px;  /* Space below the heading */
    font-weight: bold;    /* Bold font weight */
    color: #ffffff;          /* Dark grey color for headings */
}

.trustPillarUnit h2 {
     word-break: break-all;
    font-size: 24px;      /* Second level heading */
    line-height: 1.3;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: bold;
    color: #ffffff;
}

.trustPillarUnit h3 {
     word-break: break-all;
    font-size: 20px;      /* Third level heading */
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffffff;
}

.trustPillarUnit h4 {
     word-break: break-all;
    font-size: 18px;      /* Fourth level heading */
    line-height: 1.5;
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffffff;
}

.trustPillarUnit h5 {
     word-break: break-all;
    font-size: 16px;      /* Fifth level heading, similar to body text but bold */
    line-height: 1.5;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ffffff;
}

/* Paragraph styles */
.trustPillarUnit p {
    font-size: 16px;      /* Standard body text size */
    line-height: 1.6;     /* Generous line height for readability */
    margin-top: 0;        /* No top margin by default to prevent double margins with headings */
    margin-bottom: 1em;   /* Space between paragraphs */
    color: #ffffff;          /* Slightly softer text color */
}

/* Unordered list styles */
.trustPillarUnit ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1em;       /* Space above the list */
    margin-bottom: 1em;    /* Space below the list */
    padding-left: 20px;    /* Indentation for bullet points */
    color: #ffffff;
}

/* List item styles */
.trustPillarUnit li {
    font-size: 16px;      /* Font size for list items */
    line-height: 1.5;     /* Line height for readability within list items */
    margin-bottom: 0.5em; /* Space between individual list items */
    color: #ffffff;
}
section {
    overflow: hidden;
}
.age-gate-btn button{
    margin: 10px;
}
.popup {
  
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #000;
    background: rgb(0 0 0 / 96%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}