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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #212529;
}

.site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
}

/* Responsive Typography for Headings */
.display-3, .section-title, .game-title {
    font-size: 2.5rem; /* Desktop */
}

@media (min-width: 768px) and (max-width: 1023px) {
    .display-3, .section-title, .game-title {
        font-size: 2.2rem; /* Tablet */
    }
    .site-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .display-3, .section-title, .game-title {
        font-size: 1.8rem; /* Mobile */
        line-height: 1.2;
    }
    .site-name {
        font-size: 1.25rem;
    }
    .display-3 {
        font-size: 20px; /* Specific mobile size for main heading */
    }
}

.lead {
    font-size: 1.15rem;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none !important;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

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

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

/* Top Bar */
.top-bar {
    background-color: #212529 !important;
    color: #fff !important;
    font-size: 0.85rem;
}

/* Header */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1030;
}

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

.navbar-nav .nav-link {
    color: #333;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.offcanvas-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.offcanvas-body {
    background-color: #ffffff;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

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

/* Game Section */
.game-section {
    background-color: #f0f2f5;
}

.game-iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (height / width * 100%) */
    background-color: #000;
    min-height: 350px;
}

.game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none; /* Hidden by default */
}

.game-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.game-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.game-poster:hover .game-poster-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

.game-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.game-description {
    font-size: 1.1rem;
    max-width: 800px;
    color: #eee;
}

/* Section Titles */
.section-title {
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #212529;
}

/* About Us Section */
.about-us-section p {
    font-size: 1.05rem;
    color: #555;
}

/* Approach Section */
.approach-section .card {
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
}

.icon-large {
    font-size: 3rem;
}

/* Why Choose Us Section */
.why-choose-us-section .feature-item {
    border-radius: 0.75rem;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us-section .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
}

.icon-medium {
    font-size: 2.5rem;
}

/* Contact Form Section */
.contact-form-section .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.contact-form-section .form-label {
    font-weight: 600;
    color: #495057;
}

.contact-form-section form {
    background-color: #ffffff;
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #fff3cd; /* Light yellow background */
    border-left: 5px solid #ffc107; /* Yellow border */
    color: #664d03; /* Dark yellow text */
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.disclaimer-block h4 {
    color: #ffc107;
}

.disclaimer-block .icon-large {
    font-size: 2.5rem;
    color: #ffc107;
}

/* Footer */
.footer {
    background-color: #212529;
    color: #f8f9fa;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

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

.footer .footer-brand .site-name {
    color: #f8f9fa;
    font-size: 1.5rem;
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-text {
    color: #adb5bd;
}

.footer-logos {
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-logo-link, .footer-logo-18plus {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px; /* Default width */
    height: auto;
}

.footer-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-logo-18plus {
    max-width: 60px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .footer-logos {
        justify-content: center;
        gap: 1rem;
    }
    .footer-logo-link, .footer-logo-18plus {
        width: 100px; /* Smaller width for mobile */
    }
    .footer-logo-18plus {
        max-width: 50px;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    z-index: 1050; /* Higher than age verification modal backdrop */
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none; /* Hidden by default */
}

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

.cookie-banner a {
    color: #007bff;
}

.cookie-banner .btn {
    border-radius: 0.3rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Cookie Settings Modal */
#cookieSettingsModal {
    z-index: 1060; /* Higher than cookie banner */
}

#cookieSettingsModal .modal-content {
    border-radius: 0.75rem;
}

#cookieSettingsModal .form-check-label {
    font-weight: 600;
}

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

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

/* Age Verification Modal */
#ageVerificationModal {
    z-index: 1070; /* Highest z-index */
}

#ageVerificationModal .modal-content {
    border-radius: 1rem;
    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

#ageVerificationModal .modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
}

#ageVerificationModal .modal-body p {
    font-size: 1.1rem;
    color: #555;
}

#ageVerificationModal .btn {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 0.6rem;
}

#ageVerificationModal .btn-primary {
    background-color: #28a745;
    border-color: #28a745;
}

#ageVerificationModal .btn-primary:hover {
    background-color: #218838;
    border-color: #218838;
}

#ageVerificationModal .btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

#ageVerificationModal .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

/* Mobile Specific Adjustments */
@media (max-width: 1199px) {
    .navbar-nav {
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
    }
    .navbar-nav .nav-item {
        flex-shrink: 0;
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        overflow-x: hidden;
    }
    .offcanvas-body {
        padding-right: 1rem;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-collapse {
        display: none;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        visibility: hidden;
    }
}
/*
 * New stock styles for .infoGuardBlock content.
 * Includes heading, paragraph, and list styles with moderate font sizes.
 */

/* Base padding for the .infoGuardBlock container */
.infoGuardBlock {
    padding-top: 25px;    /* Top padding for the content block */
    padding-bottom: 25px; /* Bottom padding for the content block */
    padding-left: 30px;   /* Left padding for the content block */
    padding-right: 30px;  /* Right padding for the content block */
}

/* Heading 1 styles - moderate size */
.infoGuardBlock h1 {
    font-size: 1.8rem;      /* Moderate font size for H1 */
    margin-top: 30px;       /* Top margin for separation from previous content */
    margin-bottom: 15px;    /* Bottom margin for separation from following content */
    font-weight: 700;       /* Bold font weight */
    line-height: 1.2;       /* Line height for readability */
}

/* Heading 2 styles - moderate size */
.infoGuardBlock h2 {
    font-size: 1.5rem;      /* Moderate font size for H2 */
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.2;
}

/* Heading 3 styles - moderate size */
.infoGuardBlock h3 {
    font-size: 1.3rem;      /* Moderate font size for H3 */
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

/* Heading 4 styles - moderate size */
.infoGuardBlock h4 {
    font-size: 1.1rem;      /* Moderate font size for H4 */
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
}

/* Heading 5 styles - moderate size */
.infoGuardBlock h5 {
    font-size: 1rem;        /* Standard font size for H5, not too small */
    margin-top: 15px;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.5;
}

/* Paragraph styles */
.infoGuardBlock p {
    font-size: 1rem;        /* Standard paragraph font size */
    line-height: 1.6;       /* Optimal line height for readability */
    margin-bottom: 1em;     /* Margin to separate paragraphs */
}

/* Unordered list styles */
.infoGuardBlock ul {
    list-style-type: disc;  /* Default disc bullets */
    padding-left: 25px;     /* Indentation for bullet points */
    margin-top: 1em;        /* Top margin for separation from previous content */
    margin-bottom: 1em;     /* Bottom margin for separation from following content */
}

/* List item styles */
.infoGuardBlock li {
    line-height: 1.5;       /* Line height for list items */
    margin-bottom: 0.5em;   /* Small margin between list items */
}

#hero h1{
    color: #fff;
}

footer h5{
    color: #fff !important;
}

@media (max-width: 575px){
    #cookieConsentBanner{
        left: 15px;
    }
}

.footer-brand {
    text-decoration: none;
}