body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.6;
    box-sizing: border-box;
    overflow-x: hidden;
}

.text-muted-custom {
    color: #b0b0b0;
}

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

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

/* Header */
.navbar {
    background-color: #16213e !important;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.navbar-brand .site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e0e0e0;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    color: #e0e0e0 !important;
    font-weight: 600;
    margin-right: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #feb47b !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas {
    background-color: #16213e !important;
}

.offcanvas-header .offcanvas-title {
    color: #e0e0e0;
    font-weight: 700;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/media/hero-background_239.jpg') no-repeat center center / cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(22, 33, 62, 0.8), rgba(255, 126, 95, 0.2));
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
}

.hero-btn {
    background-color: #ff7e5f;
    border-color: #ff7e5f;
    font-weight: 600;
    padding: 0.75rem 2.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
    background-color: #feb47b;
    border-color: #feb47b;
    transform: translateY(-3px);
}

.game-card-stack {
    position: relative;
    width: 300px;
    height: 350px;
    perspective: 1000px;
}

.game-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    backface-visibility: hidden;
}

.game-card-1 {
    transform: translateZ(0) rotateY(15deg) rotateX(5deg);
    z-index: 3;
}

.game-card-2 {
    transform: translateZ(-20px) rotateY(-10deg) rotateX(-5deg);
    z-index: 2;
    opacity: 0.8;
}

.game-card-3 {
    transform: translateZ(-40px) rotateY(5deg) rotateX(10deg);
    z-index: 1;
    opacity: 0.6;
}

.game-card-stack:hover .game-card-1 {
    transform: translateZ(30px) rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 126, 95, 0.4);
}

.game-card-stack:hover .game-card-2 {
    transform: translateZ(0px) rotateY(-5deg) rotateX(-2deg) scale(1.02);
}

.game-card-stack:hover .game-card-3 {
    transform: translateZ(-20px) rotateY(0deg) rotateX(5deg) scale(1.01);
}

/* General Section Styling */
.section-title {
    color: #ff7e5f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-light-gray {
    background-color: #1a1a2e;
}

.bg-dark-gradient {
    background: linear-gradient(135deg, #16213e, #0f0f1a);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

/* About Game Section (Block 1) */
#about-game img {
    max-height: 400px;
    object-fit: cover;
}

/* Games Section (Block 3) */
.game-card-item {
    background-color: #16213e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.game-card-item .game-img {
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.game-card-item .game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card-item:hover .game-overlay {
    opacity: 1;
}

.game-card-item:hover .game-img {
    transform: scale(1.05);
}

.game-card-item .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #feb47b;
}

.game-card-item .card-text {
    font-size: 0.95rem;
}

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

#gameModal .modal-content {
    background-color: rgba(0, 0, 0, 0.9);
}

#gameModal .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1060;
    width: 100%;
    padding: 1rem;
}

#gameModal .modal-title {
    color: #fff;
    font-size: 1.8rem;
}

#gameModal .btn-close-white {
    filter: invert(1);
    font-size: 1.5rem;
    opacity: 1;
}

#gameModal .modal-body {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#gameModal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Player Statistics Section (Block 4) */
.stat-item {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.stat-item:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.stat-item h3 {
    color: #e0e0e0;
}

.stat-item p {
    color: #e0e0e0;
}

/* Testimonials Section (Block 5) */
.testimonial-card {
    background-color: #16213e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.testimonial-card h5 {
    color: #feb47b;
}

/* FAQ Section (Block 6) */
.accordion-item {
    margin-bottom: 1rem;
}

.accordion-button {
    font-size: 1.15rem;
    color: #feb47b !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ff7e5f !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

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

.accordion-body {
    background-color: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 0.5rem 0.5rem;
    color: #e0e0e0;
}

/* Contact Form Section (Block 7) */
.contact-form {
    background-color: #16213e;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .form-label {
    color: #e0e0e0;
}

.contact-form .form-control {
    background-color: #0f0f1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e0e0e0;
}

.contact-form .form-control::placeholder {
    color: #b0b0b0;
}

.contact-form .form-control:focus {
    background-color: #0f0f1a;
    border-color: #ff7e5f;
    box-shadow: 0 0 0 0.25rem rgba(255, 126, 95, 0.25);
    color: #e0e0e0;
}

.contact-form .btn-primary {
    background-color: #ff7e5f;
    border-color: #ff7e5f;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: #feb47b;
    border-color: #feb47b;
    transform: translateY(-2px);
}

.contact-form .invalid-feedback {
    color: #dc3545;
}

/* Disclaimer Section */
#disclaimer-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/media/disclaimer-bg_3.jpg') no-repeat center center / cover;
    padding: 5rem 0;
}

.disclaimer-box {
    background-color: rgba(22, 33, 62, 0.9);
    border: 2px solid #ff7e5f;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-box h3 {
    color: #ff7e5f;
}

.disclaimer-box .lead {
    font-size: 1.1rem;
}

.disclaimer-box a {
    color: #ff7e5f !important;
}

/* Footer */
.footer {
    background-color: #0f0f1a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .navbar-brand .logo-img {
    height: 35px;
}

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

.footer h5 {
    color: #feb47b;
    font-weight: 600;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff7e5f !important;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
    filter: brightness(0.8) contrast(1.2);
    transition: filter 0.3s ease;
    max-height: 100px;
}

.footer-logo-img.plus-icon {
    max-width: 50px;
    filter: none; /* Keep 18+ icon color as is */
}

/* Age Verification Modal */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
}

.age-verification-content {
    background-color: #16213e;
    color: #e0e0e0;
    max-width: 500px;
    border: 2px solid #ff7e5f;
}

.age-verification-content h2 {
    color: #ff7e5f;
    font-size: 2.5rem;
}

.age-verification-content p {
    font-size: 1.1rem;
}

.age-verification-content .btn-primary {
    background-color: #ff7e5f;
    border-color: #ff7e5f;
}

.age-verification-content .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Cookie Consent Modal */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
}

.cookie-consent-content {
    background-color: #16213e;
    color: #e0e0e0;
    max-width: 550px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10000; /* Ensure it's above the overlay */
}

#cookieSettings {
    background-color: #0f0f1a;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#cookieSettings h4 {
    color: #feb47b;
}

.cookie-consent-content .btn-primary {
    background-color: #ff7e5f;
    border-color: #ff7e5f;
}

.cookie-consent-content .btn-outline-secondary {
    color: #e0e0e0;
    border-color: #e0e0e0;
}

.cookie-consent-content .btn-outline-info {
    color: #feb47b;
    border-color: #feb47b;
}

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

/* Responsive Typography */
@media (min-width: 1024px) {
    .site-title {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 4.5rem;
    }
    .section-title {
        font-size: 3.5rem;
    }
    .modal-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 3.8rem;
    }
    .section-title {
        font-size: 3rem;
    }
    .modal-title {
        font-size: 2rem;
    }
    .navbar-nav .nav-link {
        margin-right: 1rem;
    }
}

@media (max-width: 767px) {
    .site-title {
        font-size: 1.5rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .modal-title {
        font-size: 1.5rem;
    }
    .navbar-brand .logo-img {
        height: 30px;
    }
    .navbar-nav {
        text-align: center;
    }
    .navbar-nav .nav-link {
        margin-right: 0;
        padding: 0.75rem 0;
    }
    .hero-section {
        min-height: 90vh;
    }
    .hero-cards-container {
        margin-top: 3rem;
    }
    .game-card-stack {
        width: 250px;
        height: 300px;
    }
    .stat-item h3 {
        font-size: 2.5rem;
    }
    .stat-item p {
        font-size: 0.9rem;
    }
    .testimonial-card .avatar-img {
        width: 50px;
        height: 50px;
    }
    .accordion-button {
        font-size: 1rem;
    }
    .disclaimer-box {
        padding: 1.5rem;
    }
    .disclaimer-box .lead {
        font-size: 0.95rem;
    }
    .footer-logo-img {
        max-width: 80px;
    }
    .footer-logo-img.plus-icon {
        max-width: 40px;
    }
    .cookie-consent-content {
        max-width: 90%;
    }
}

@media (max-width: 1100px) {
    .navbar-toggler {
        display: block; /* Show burger icon */
    }
}

@media (min-width: 1101px) {
    .navbar-nav {
        display: flex !important; /* Ensure nav is visible on desktop */
    }
    .navbar-toggler {
        display: none; /* Hide burger icon */
    }
    .offcanvas-body {
        display: flex;
        justify-content: flex-end;
    }
}

/* Ensure buttons don't cut text */
.btn {
    white-space: normal;
    word-break: break-word;
    text-align: center;
}
/*
 * New stock styles for common HTML elements within .regShieldWrap
 * These styles provide basic typography, spacing, and readability.
 */

.regShieldWrap {
    margin-top: 1.5rem;    /* Top margin for the main container */
    margin-left: 1.5rem;   /* Left margin for the main container */
    margin-right: 1.5rem;  /* Right margin for the main container */
}

.regShieldWrap h1 {
    font-size: 1.8rem;     /* Moderately sized main heading */
    font-weight: 700;      /* Bold font weight */
    line-height: 1.2;      /* Tighter line spacing for headings */
    margin-top: 1.5rem;    /* Space above the heading */
    margin-bottom: 0.75rem;/* Space below the heading */
}

.regShieldWrap h2 {
    font-size: 1.5rem;     /* Sub-heading */
    font-weight: 600;      /* Slightly less bold than h1 */
    line-height: 1.2;
    margin-top: 1.2rem;
    margin-bottom: 0.75rem;
}

.regShieldWrap h3 {
    font-size: 1.25rem;    /* Section title */
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1rem;
    margin-bottom: 0.6rem;
}

.regShieldWrap h4 {
    font-size: 1.1rem;     /* Sub-section title */
    font-weight: 500;      /* Medium font weight */
    line-height: 1.3;
    margin-top: 0.8rem;
    margin-bottom: 0.5rem;
}

.regShieldWrap h5 {
    font-size: 1rem;       /* Minor heading, similar to body text size but distinct */
    font-weight: 500;
    line-height: 1.4;
    margin-top: 0.7rem;
    margin-bottom: 0.4rem;
}

.regShieldWrap p {
    font-size: 1rem;       /* Standard paragraph text size */
    line-height: 1.6;      /* Good line spacing for readability */
    margin-top: 0;         /* No top margin to avoid double spacing with previous elements */
    margin-bottom: 1rem;   /* Space between paragraphs */
}

.regShieldWrap ul {
    list-style-type: disc; /* Default bullet points */
    margin-top: 0;         /* No top margin to avoid double spacing */
    margin-bottom: 1rem;   /* Space below the list */
    padding-left: 1.5rem;  /* Indentation for bullet points */
}

.regShieldWrap li {
    font-size: 1rem;       /* List item text size */
    line-height: 1.6;      /* Good line spacing for readability */
    margin-bottom: 0.5rem; /* Space between list items */
}
#ageVerificationModal {
    display: flex;
}
section.bg-primary-gradient .section-title {
    color: #a92504;
}