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

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

html {
    scroll-behavior: smooth;
}

/* Global Styles */
.bg-dark {
    background-color: #2a0047 !important;
}

.bg-secondary {
    background-color: #3f006b !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #2a0047 0%, #3f006b 100%) !important;
}

.text-primary {
    color: #00e6e6 !important; /* Neon Cyan */
}

.btn-primary {
    background-color: #00e6e6;
    border-color: #00e6e6;
    color: #2a0047;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #00cccc;
    border-color: #00cccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 230, 230, 0.4);
}

.btn-outline-primary {
    color: #00e6e6;
    border-color: #00e6e6;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #00e6e6;
    color: #2a0047;
    box-shadow: 0 4px 15px rgba(0, 230, 230, 0.4);
}

.btn-success {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

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

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.card {
    border-radius: 1rem;
    overflow: hidden;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.2) !important;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 230, 230, 0.5);
}

.hover-primary:hover {
    color: #00e6e6 !important;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1030;
}

.navbar-brand .site-title {
    font-size: 16px;
    font-weight: 700;
    color: #00e6e6;
    text-shadow: 0 0 5px rgba(0, 230, 230, 0.7);
}

.navbar-nav .nav-link {
    color: #e0e0e0;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #00e6e6;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    color: #00e6e6;
}

.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='%2300e6e6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas {
    background-color: #2a0047 !important;
}

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

.offcanvas-title {
    color: #00e6e6;
    font-weight: 700;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

@media (max-width: 1199.98px) {
    .navbar-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-nav .nav-item {
        flex-shrink: 0;
    }
}

/* Hero Section */
.hero-section {
    min-height: 800px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px; /* Adjust for fixed navbar */
}

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

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 0 0 15px rgba(0, 230, 230, 0.7);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .form-control {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-color: #00e6e6;
    color: #fff;
}

.hero-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-filter {
    border-width: 2px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-filter:hover,
.btn-filter.active {
    background-color: #00e6e6;
    color: #2a0047;
    border-color: #00e6e6;
    box-shadow: 0 0 15px rgba(0, 230, 230, 0.5);
}

/* Game Selection Grid */
.game-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 230, 230, 0.3) !important;
}

.game-card-wrapper .card-img-top {
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

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

.game-card .card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.game-card .card-text {
    font-size: 0.95rem;
    color: #c0c0c0;
}

.game-card .badge {
    font-size: 0.85rem;
    padding: 0.5em 0.8em;
    border-radius: 0.3rem;
}

.game-card .btn-play {
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.game-link {
    display: block;
    position: relative;
}

.game-link .overlay-game-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

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

/* Game Modal */
.game-modal .modal-dialog {
    margin: 0;
    max-width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-modal .modal-content {
    background-color: rgba(0, 0, 0, 0.95);
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.game-modal .modal-header {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1051;
    padding: 0;
}

.game-modal .btn-close {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
    transition: background-color 0.3s ease;
}

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

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

.game-modal iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* About Section */
.about-section ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
}

.about-section ul li .fa-li {
    position: absolute;
    left: 0;
    top: 0.2rem;
}

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

/* How to Play Section */
.accordion-item {
    border: none;
    background-color: #3f006b;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
}

.accordion-button {
    background-color: #3f006b;
    color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    color: #00e6e6;
    background-color: #3f006b;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button::after {
    filter: brightness(0) saturate(100%) invert(87%) sepia(35%) saturate(3065%) hue-rotate(139deg) brightness(101%) contrast(101%); /* Adjust for neon color */
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(87%) sepia(35%) saturate(3065%) hue-rotate(139deg) brightness(101%) contrast(101%);
}

.accordion-body {
    background-color: #4a007d;
    color: #e0e0e0;
    padding: 1.5rem;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

/* Achievements Section */
.achievement-item {
    border-radius: 0.75rem;
    background-color: #3f006b;
}

.achievement-item .progress {
    background-color: rgba(0, 230, 230, 0.2);
    border-radius: 50px;
}

.achievement-item .progress-bar {
    background-color: #00e6e6;
    border-radius: 50px;
    transition: width 0.6s ease;
}

/* Daily Challenges Section */
.challenge-card {
    border-radius: 0.75rem;
    background-color: #3f006b;
}

.challenge-card .progress {
    background-color: rgba(0, 230, 230, 0.2);
    border-radius: 50px;
}

.challenge-card .progress-bar {
    background-color: #00e6e6;
    border-radius: 50px;
    transition: width 0.6s ease;
}

/* Clans Section */
.clan-item {
    background-color: #3f006b !important;
    border-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.clan-item:hover {
    background-color: #4a007d !important;
    transform: translateX(5px);
}

.clan-item img {
    object-fit: cover;
}

/* Testimonials Section */
.testimonials-section .carousel-item {
    padding: 2rem 1rem;
}

.testimonials-section blockquote {
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-section .blockquote-footer {
    font-size: 0.9rem;
}

.testimonials-section .carousel-control-prev-icon,
.testimonials-section .carousel-control-next-icon {
    filter: brightness(0) saturate(100%) invert(87%) sepia(35%) saturate(3065%) hue-rotate(139deg) brightness(101%) contrast(101%);
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #ffe082 !important; /* Light yellow to stand out */
    color: #333 !important;
    border-top: 5px solid #ffc107;
    border-bottom: 5px solid #ffc107;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.disclaimer-section .disclaimer-title {
    color: #dc3545;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.disclaimer-section a {
    color: #007bff;
}

.disclaimer-section a:hover {
    color: #0056b3;
}

/* Footer */
footer {
    background-color: #1a0033 !important;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer h5 {
    font-weight: 700;
    color: #00e6e6;
}

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

footer a:hover {
    color: #00e6e6;
}

.game-card-small img {
    object-fit: cover;
    border-radius: 0.5rem;
}

.game-card-small h6 {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #e0e0e0;
}

.game-card-small a:hover h6 {
    color: #00e6e6;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

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

.footer-logo-18plus {
    max-width: 60px;
    height: auto;
    display: block;
}

/* Age Verification Modal */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.age-verification-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.age-verification-content {
    background: linear-gradient(135deg, #2a0047 0%, #3f006b 100%);
    border: 2px solid #00e6e6;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(0, 230, 230, 0.7);
}

.age-btn {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
footer .row {
    justify-content: space-around;
}
/* Responsive Typography */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
    .hero-description {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
    }
    .section-title {
        font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    }
    .site-title {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
    }
    .navbar-brand img {
        width: 30px;
        height: 30px;
    }
    .disclaimer-section .disclaimer-title {
        font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    }
    .footer-logo {
        max-width: 90px;
    }
    .footer-logo-18plus {
        max-width: 45px;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .hero-description {
        font-size: clamp(1rem, 2vw, 1.5rem);
    }
    .section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .site-title {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }
    .footer-logo {
        max-width: 110px;
    }
    .footer-logo-18plus {
        max-width: 55px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
    .hero-description {
        font-size: clamp(1rem, 2vw, 1.5rem);
    }
    .section-title {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }
    .site-title {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }
    .footer-logo {
        max-width: 120px;
    }
    .footer-logo-18plus {
        max-width: 60px;
    }
}
/* Parent container for the regulated shield content */
.regShieldWrap {
    padding: 20px; /* Internal spacing around the content */
    margin-top: 30px; /* Space from elements above */
    /* You can add more styles for the .regShieldWrap itself here, e.g., background-color, border, etc. */
}

/* Heading 1 styles within .regShieldWrap */
.regShieldWrap h1 {
    font-size: 26px; /* Moderately sized h1, not too large */
    margin-top: 25px; /* Space above the heading */
    margin-bottom: 15px; /* Space below the heading */
    line-height: 1.2; /* Line height for readability */
    font-weight: 600; /* Slightly bolder font */
}

/* Heading 2 styles within .regShieldWrap */
.regShieldWrap h2 {
    font-size: 22px; /* Moderately sized h2 */
    margin-top: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 600;
}

/* Heading 3 styles within .regShieldWrap */
.regShieldWrap h3 {
    font-size: 19px; /* Moderately sized h3 */
    margin-top: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
}

/* Heading 4 styles within .regShieldWrap */
.regShieldWrap h4 {
    font-size: 17px; /* Moderately sized h4 */
    margin-top: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
    font-weight: 600;
}

/* Heading 5 styles within .regShieldWrap */
.regShieldWrap h5 {
    font-size: 15px; /* Moderately sized h5 */
    margin-top: 12px;
    margin-bottom: 6px;
    line-height: 1.6;
    font-weight: 600;
}

/* Paragraph styles within .regShieldWrap */
.regShieldWrap p {
    font-size: 16px; /* Standard body text size */
    margin-bottom: 16px; /* Space between paragraphs */
    line-height: 1.6; /* Line height for readability */
}

/* Unordered list styles within .regShieldWrap */
.regShieldWrap ul {
    margin-top: 15px; /* Space above the list */
    margin-bottom: 15px; /* Space below the list */
    padding-left: 25px; /* Indentation for list items */
    list-style-type: disc; /* Default bullet style */
}

/* List item styles within .regShieldWrap */
.regShieldWrap li {
    font-size: 16px; /* Match paragraph font size */
    margin-bottom: 8px; /* Space between list items */
    line-height: 1.6; /* Line height for readability */
}

 
/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

section {
    overflow: hidden;
}

/* Navbar toggler */
.navbar-toggler {
    border: 2px solid #00e6e6 !important;
    padding: 0.5rem 0.75rem !important;
    background: transparent !important;
    cursor: pointer !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 230, 230, 0.25) !important;
    outline: none !important;
}

.navbar-toggler-icon {
    width: 1.5em !important;
    height: 1.5em !important;
    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.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Desktop menu */
.navbar-collapse {
    display: none !important;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
    }
    
    .navbar-nav {
        flex-direction: row !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
    }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 1040 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.mobile-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Mobile menu */
.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 300px !important;
    max-width: 85% !important;
    height: 100% !important;
    background-color: #212529 !important;
    z-index: 1050 !important;
    transition: right 0.3s ease !important;
    overflow-y: auto !important;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3) !important;
}

.mobile-menu.active {
    right: 0 !important;
}

.mobile-menu-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background-color: #212529 !important;
}

.mobile-menu-title {
    margin: 0 !important;
    color: #00e6e6 !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
}

.mobile-menu-close {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 2rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.3s ease !important;
}

.mobile-menu-close:hover {
    color: #00e6e6 !important;
}

.mobile-menu-body {
    padding: 1rem 0 !important;
    background-color: #212529 !important;
}

.mobile-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-nav-list li {
    margin: 0 !important;
}

.mobile-nav-link {
    display: block !important;
    padding: 1rem 1.5rem !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    border-left: 3px solid transparent !important;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background-color: rgba(0, 230, 230, 0.1) !important;
    color: #00e6e6 !important;
    border-left-color: #00e6e6 !important;
}

/* Hide mobile menu on desktop */
@media (min-width: 992px) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden !important;
}

.mobile-menu-body{
    position: inherit;
    width: -webkit-fill-available;
}