body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

* {
    box-sizing: border-box;
}

main {
    flex-grow: 1;
}

.site-name, .site-name-footer {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.site-logo, .site-logo-footer {
    height: 40px;
    width: auto;
}

.navbar-brand .site-name {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    transition: color 0.3s ease;
}
.iframe-wrapper{
      width: 100%;
    height: 100%;
}
#game-iframe{
    width: 100%;
    height: 100%;
}
.navbar-nav .nav-link:hover {
    color: #fff;
}

.offcanvas-header {
    background-color: #212529;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-title {
    color: #fff;
}

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

.hero-section {
    height: 80vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    padding-top: 80px; 
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

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

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p.lead {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.input-group .form-control {
    border-radius: 0.5rem 0 0 0.5rem;
    border-color: #feb47b;
}

.input-group .btn-primary {
    background-color: #feb47b;
    border-color: #feb47b;
    border-radius: 0 0.5rem 0.5rem 0;
}

.input-group .btn-primary:hover {
    background-color: #ff7e5f;
    border-color: #ff7e5f;
}

.filter-btn {
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #ff7e5f;
    border-color: #ff7e5f;
    color: #fff;
}

.display-5 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h2, h3, h4 {
    color: #343a40;
}

#about-platform img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.game-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.game-card .card-body {
    padding: 1.5rem;
}

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

.game-card .btn-primary {
    background-color: #ff7e5f;
    border-color: #ff7e5f;
    width: 100%;
    padding: 0.75rem 0;
    font-weight: 600;
    text-decoration: none;
}

.game-card .btn-primary:hover {
    background-color: #feb47b;
    border-color: #feb47b;
}

.achievement-card, .challenge-card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.achievement-card .progress, .quest-progress .progress {
    height: 8px;
    border-radius: 0.5rem;
}

.achievement-card .progress-bar, .quest-progress .progress-bar {
    border-radius: 0.5rem;
    font-size: 0.75rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-group-item {
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
}

.list-group-item:last-child {
    margin-bottom: 0;
}

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

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 126, 95, 0.25);
}

.accordion-button {
    font-weight: 600;
}

.testimonial-card {
    border: none;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.avatar-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #ff7e5f;
}

#contact-form-section .card {
    border-radius: 1rem;
}

#contact-form-section .form-control:focus {
    border-color: #feb47b;
    box-shadow: 0 0 0 0.25rem rgba(254, 180, 123, 0.25);
}

#contact-form-section .btn-primary {
    background-color: #ff7e5f;
    border-color: #ff7e5f;
}

#contact-form-section .btn-primary:hover {
    background-color: #feb47b;
    border-color: #feb47b;
}

#disclaimer-block {
    background-color: #fff3cd; /* Light yellow background for warning */
    border-radius: 0.75rem;
    margin: 2rem 0;
    padding: 2rem;
}

#disclaimer-block h3 {
    color: #dc3545; /* Red color for warning text */
}

footer {
    background-color: #212529 !important;
    color: #adb5bd;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

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

footer a:hover {
    color: #fff;
}

.footer-logos {
    gap: 1.5rem;
}

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

.footer-18plus {
    width: 80px;
    height: auto;
    background-color: #dc3545;
    border-radius: 5px;
    padding: 5px;
}

.age-disclaimer-bar {
    background-color: #dc3545 !important;
    font-weight: 600;
    position: relative;
}

/* Age Verification Modal */
#ageVerificationModal .modal-content {
    border-radius: 1rem;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.5);
}

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

#ageVerificationModal .lead {
    font-size: 1.1rem;
}

#ageVerificationModal .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Game Iframe Modal */
.game-iframe-modal .modal-content {
    background-color: rgba(0, 0, 0, 0.95);
}

.game-iframe-modal .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1060;
    width: auto;
}

.game-iframe-modal .btn-close-white {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e) center/1em auto no-repeat;
    opacity: 1;
    font-size: 1.5rem;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

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

.game-iframe-modal .modal-body {
    position: relative;
    height: 100%;
    width: 100%;
    padding-top: 50px; /* Space for the close button */
}

.game-iframe-modal .iframe-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Responsive Typography */
@media (max-width: 1199.98px) {
    .navbar-brand .site-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand .site-name {
        font-size: 1.25rem;
    }
    .offcanvas-body {
        text-align: center;
    }
    .hero-section {
        height: auto;
        min-height: 450px;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    .hero-section h1 {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }
    .hero-section p.lead {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    .display-5 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
    .footer-logos {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand .site-name {
        font-size: 1.1rem;
    }
    .site-logo {
        height: 30px;
    }
    .hero-section h1 {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }
    .hero-section p.lead {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }
    .input-group .form-control, .input-group .btn-primary {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    .display-5 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .game-card .card-img-top {
        height: 180px;
    }
    .game-card .card-title {
        font-size: 1.1rem;
    }
    .game-card .btn-primary {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }
    .testimonial-card .avatar-img {
        width: 60px;
        height: 60px;
    }
    .testimonial-card .card-title {
        font-size: 1rem;
    }
    #ageVerificationModal .modal-title {
        font-size: 1.25rem;
    }
    #ageVerificationModal .lead {
        font-size: 1rem;
    }
    #ageVerificationModal .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    .footer-logo {
        max-width: 100px;
    }
    .footer-18plus {
        max-width: 40px;
    }
    .game-iframe-modal .modal-body {
        padding-top: 40px; /* Adjust for smaller close button */
    }
    .game-iframe-modal .btn-close-white {
        font-size: 1.2rem;
        width: 1.8em;
        height: 1.8em;
    }
}/* Main container for compliance vault content */
.complianceVaultNode {
    padding: 20px 25px; /* Top/bottom padding 20px, left/right padding 25px */
    /* You can add margin-top here if you need space above the whole block, e.g., margin-top: 30px; */
}

/* Heading 1 styles within compliance vault node */
.complianceVaultNode h1 {
    font-size: 28px; /* Reduced font size for h1 */
    margin-top: 25px; /* Top margin for spacing */
    margin-bottom: 15px; /* Bottom margin for spacing */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Improved line height for readability */
}

/* Heading 2 styles within compliance vault node */
.complianceVaultNode h2 {
    font-size: 24px; /* Reduced font size for h2 */
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.25;
}

/* Heading 3 styles within compliance vault node */
.complianceVaultNode h3 {
    font-size: 20px; /* Reduced font size for h3 */
    margin-top: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

/* Heading 4 styles within compliance vault node */
.complianceVaultNode h4 {
    font-size: 18px; /* Reduced font size for h4 */
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 600; /* Slightly less bold than h1-h3 */
    line-height: 1.35;
}

/* Heading 5 styles within compliance vault node */
.complianceVaultNode h5 {
    font-size: 16px; /* Reduced font size for h5, often same as body text but bold */
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.4;
}

/* Paragraph styles within compliance vault node */
.complianceVaultNode p {
    margin-top: 0; /* Reset default top margin to control spacing with adjacent elements */
    margin-bottom: 1em; /* Standard bottom margin for paragraphs */
    line-height: 1.6; /* Improved readability for body text */
}

/* Unordered list styles within compliance vault node */
.complianceVaultNode ul {
    margin-top: 0.5em; /* Top margin for list */
    margin-bottom: 1em; /* Bottom margin for list */
    padding-left: 25px; /* Indentation for bullet points */
    list-style-type: disc; /* Default bullet style */
}

/* List item styles within compliance vault node */
.complianceVaultNode li {
    margin-bottom: 0.5em; /* Spacing between list items */
    line-height: 1.5; /* Line height for list item text */
}
