body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 70px; /* Adjust for fixed navbar */
}

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
}

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

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

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: background-color 0.1s ease, border-color 0.1s ease;
}

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

.navbar-brand .h3 {
    font-weight: 700;
}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.1s ease;
}

.nav-link:hover {
    color: #fff;
}

/* Responsive Typography */
h1 {
    font-size: 2.5rem; /* Desktop */
}

h2 {
    font-size: 2rem; /* Desktop */
}

h3 {
    font-size: 1.75rem; /* Desktop */
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 2.2rem; /* Tablet */
    }
    h2 {
        font-size: 1.8rem; /* Tablet */
    }
    h3 {
        font-size: 1.5rem; /* Tablet */
    }
    .navbar-brand .h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.75rem; /* Mobile */
    }
    h2 {
        font-size: 1.5rem; /* Mobile */
    }
    h3 {
        font-size: 1.25rem; /* Mobile */
    }
    .navbar-brand .h3 {
        font-size: 1.25rem;
    }
    .navbar-brand img {
        height: 30px !important;
    }
    .navbar-toggler {
        margin-left: auto;
    }
    .navbar-collapse {
        background-color: var(--dark-color);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.25rem;
    }
    .nav-item {
        text-align: center;
    }
    .badge {
        display: none !important;
    }
    body {
        padding-top: 60px;
    }
}

/* Hero Section */
.hero-section {
    background-image: url('images/pics/hero-background_222.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.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 .container {
    z-index: 1;
}

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

/* Games Section */
.game-card {
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2) !important;
}

.game-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

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

.play-game-btn {
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
}

/* Game Modal */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1060;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

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

/* FAQ Section */
.faq-question {
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    transition: color 0.1s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

.faq-item .collapse:not(.show) {
    display: none;
}

/* Contact Form */
#contactForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

#contactForm .btn {
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: var(--warning-color);
    color: var(--dark-color);
    border-top: 5px solid #e0a800;
    border-bottom: 5px solid #e0a800;
    padding: 2rem 0;
    margin-top: 3rem;
}

.disclaimer-section h3 {
    color: var(--dark-color);
}

/* Footer */
footer {
    background-color: var(--dark-color) !important;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer .navbar-brand .h5 {
    font-weight: 700;
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.1s ease;
}

footer a:hover {
    color: #fff;
}

footer img {
    max-width: 150px;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    footer .col-md-4 {
        text-align: center !important;
    }
    footer .d-flex.justify-content-md-end {
        justify-content: center !important;
    }
    footer .navbar-brand {
        justify-content: center !important;
    }
    footer img {
        max-width: 100px;
    }
}

/* Age Verification Modal */
.age-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 1080;
}
.no-scroll { overflow: hidden; }

.age-modal-content {
    background-color: var(--dark-color);
    padding: 3rem;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1040;
    background-color: #000 !important;
}

.cookie-banner p {
    font-size: 0.9rem;
}

.cookie-banner .btn {
    text-decoration: none;
    white-space: nowrap;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-settings-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Utility for scroll blocking */
.no-scroll {
    overflow: hidden;
}/* Parent block styling for general layout and spacing */
.legalDomeBlock {
    margin-top: 40px; /* Top margin to separate from elements above */
    margin-left: auto; /* Center the block horizontally */
    margin-right: auto; /* Center the block horizontally */
    max-width: 800px; /* Maximum width for content readability */
    padding: 20px 30px; /* Internal padding for content from block edges */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

/* Heading 1 style */
.legalDomeBlock h1 {
    font-size: 2em; /* Moderate size for a main heading */
    margin-top: 1.5em; /* Space above the heading */
    margin-bottom: 0.8em; /* Space below the heading */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Line height for better readability */
    color: #333; /* Darker color for headings */
}

/* Heading 2 style */
.legalDomeBlock h2 {
    font-size: 1.6em; /* Slightly smaller than h1 */
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    font-weight: 600;
    line-height: 1.25;
    color: #333;
}

/* Heading 3 style */
.legalDomeBlock h3 {
    font-size: 1.4em; /* Smaller than h2 */
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

/* Heading 4 style */
.legalDomeBlock h4 {
    font-size: 1.2em; /* Smaller than h3 */
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 500; /* Slightly less bold */
    line-height: 1.35;
    color: #333;
}

/* Heading 5 style */
.legalDomeBlock h5 {
    font-size: 1.1em; /* Smallest heading, slightly larger than body text */
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
}

/* Paragraph style */
.legalDomeBlock p {
    font-size: 1em; /* Base font size for paragraphs */
    line-height: 1.6; /* Generous line height for readability */
    margin-bottom: 1em; /* Space between paragraphs */
    color: #444; /* Slightly lighter than headings for body text */
}

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

/* List item style */
.legalDomeBlock li {
    font-size: 1em; /* Base font size for list items */
    line-height: 1.5; /* Line height for list items */
    margin-bottom: 0.5em; /* Space between individual list items */
    color: #444;
}
