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

.bg-dark-primary {
    background-color: #0f0f1a;
}

.bg-dark-secondary {
    background-color: #16162a;
}

.bg-dark-gradient {
    background: linear-gradient(145deg, #22223a, #1a1a2e);
}

.text-primary {
    color: #8a2be2 !important; /* BlueViolet */
}

.btn-primary {
    background-color: #8a2be2;
    border-color: #8a2be2;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #6a1ac2;
    border-color: #6a1ac2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: #4a4a6a;
    border-color: #4a4a6a;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #3a3a5a;
    border-color: #3a3a5a;
}

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

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

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

.age-verification-modal {
    background-color: #1a1a2e;
    color: #e0e0e0;
    max-width: 500px;
    width: 90%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #8a2be2;
}

.age-verification-modal h2 {
    color: #8a2be2;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

/* Navbar */
.navbar {
    background-color: #0f0f1a;
    border-bottom: 1px solid #2a2a4a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.navbar-brand .site-title {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #e0e0e0;
}

.nav-link {
    color: #e0e0e0 !important;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8a2be2;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(0%);
}

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

.navbar-toggler {
    border-color: #8a2be2;
}

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

.offcanvas {
    background-color: #0f0f1a;
}

.offcanvas-header {
    border-bottom: 1px solid #2a2a4a;
}

.offcanvas-title {
    color: #8a2be2;
    font-size: clamp(1.25rem, 4vw, 1.8rem);
}

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

/* Headings */
.site-heading {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    color: #8a2be2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

@media (min-width: 768px) {
    .site-heading {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
}

@media (min-width: 1024px) {
    .site-heading {
        font-size: clamp(2.2rem, 3.5vw, 2.5rem);
    }
}

.site-title {
    font-size: clamp(1.25rem, 4vw, 1.8rem);
}

@media (min-width: 768px) {
    .site-title {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
    }
}

@media (min-width: 1024px) {
    .site-title {
        font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('images/media/casino-background.png') no-repeat center center/cover;
    position: relative;
    padding-top: 100px;
}

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

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

.game-card-hero {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card-hero:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
}

.game-card-hero .card-img-top {
    height: 250px;
    object-fit: cover;
}

.game-card-hero .card-body {
    background-color: #1a1a2e;
}

/* Game Selection */
.game-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
}

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

.game-card .card-body {
    background-color: #1a1a2e;
    flex-grow: 1;
}

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

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

/* About Section */
.about-stat {
    border-radius: 15px;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(138, 43, 226, 0.3);
}

.about-stat i {
    color: #8a2be2;
}

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

/* Tournaments Carousel */
.tournament-card {
    border-radius: 15px;
    border: 1px solid #2a2a4a;
    background-color: #1a1a2e;
    padding: 20px;
    margin: 0 auto;
    max-width: 600px;
}

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

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #8a2be2;
    border-radius: 50%;
    padding: 15px;
}

.carousel-indicators [data-bs-target] {
    background-color: #8a2be2;
}

/* Leaderboards */
.leaderboard-badge {
    border-radius: 15px;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leaderboard-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(138, 43, 226, 0.3);
}

/* Achievements */
.achievement-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #1a1a2e;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(138, 43, 226, 0.3);
}

.achievement-card .border-warning {
    border-color: #ffc107 !important;
}

.achievement-card .border-info {
    border-color: #0dcaf0 !important;
}

.achievement-card .border-success {
    border-color: #198754 !important;
}

/* Quests & FAQ Accordion */
.accordion-item {
    border: 1px solid #2a2a4a;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background-color: #1a1a2e !important;
    color: #e0e0e0 !important;
    font-weight: 600;
    border-bottom: 1px solid #2a2a4a;
}

.accordion-button:not(.collapsed) {
    color: #8a2be2 !important;
    background-color: #1a1a2e !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #8a2be2;
}

.accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(40%) sepia(90%) saturate(1500%) hue-rotate(250deg) brightness(100%) contrast(100%); /* Primary color */
}

.accordion-body {
    background-color: #1a1a2e;
    border-top: 1px solid #2a2a4a;
}

/* Testimonials */
.testimonial-card {
    border-radius: 15px;
    border: 1px solid #2a2a4a;
    background-color: #1a1a2e;
    padding: 20px;
    margin: 0 auto;
    max-width: 700px;
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #8a2be2;
}

/* Contact Form */
.contact-form-container {
    border-radius: 15px;
    border: 1px solid #2a2a4a;
}

.form-control {
    background-color: #1a1a2e !important;
    border-color: #2a2a4a !important;
    color: #e0e0e0 !important;
}

.form-control:focus {
    border-color: #8a2be2 !important;
    box-shadow: 0 0 0 0.25rem rgba(138, 43, 226, 0.25) !important;
}

.form-label {
    color: #e0e0e0;
}

/* Disclaimer Section */
#disclaimer-section {
    background-color: #2c0b0b; /* Dark red background */
    border-top: 5px solid #dc3545; /* Red border top */
    border-bottom: 5px solid #dc3545;
    padding: 40px 0;
}

.disclaimer-box {
    background-color: #3d1b1b; /* Slightly lighter red for the box */
    color: #f8d7da; /* Light red text */
    border: 2px solid #dc3545;
}

.disclaimer-box h3 {
    color: #dc3545;
    font-weight: 700;
    font-size: clamp(1.4rem, 4vw, 2rem);
}

.disclaimer-box p {
    color: #f8d7da;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    border-top: 1px solid #2a2a4a;
}

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

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

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

.footer a:hover {
    color: #8a2be2;
}

.footer-partners {
    margin-top: 20px;
}

.footer-partner-logo {
    max-width: 120px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.footer-partner-logo:hover {
    transform: scale(1.05);
}

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

#gameModal .modal-content {
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#gameModal .modal-header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    position: relative;
    z-index: 10;
}

#gameModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    font-size: 1.5rem;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 11;
}

#gameModal .modal-body {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#gameIframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: black;
}

.modal-open {
    overflow: hidden !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 80px;
    }

    .site-heading {
        font-size: 1.8rem;
    }

    .site-title {
        font-size: 1.25rem;
    }

    .navbar-brand .site-logo {
        height: 30px;
    }

    .game-card-hero .card-img-top {
        height: 200px;
    }

    .about-stat h3 {
        font-size: 2.5rem;
    }

    .about-stat p {
        font-size: 0.9rem;
    }

    .testimonial-card img {
        width: 80px;
        height: 80px;
    }
}

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

/* Custom scrollbar for offcanvas menu */
.offcanvas-body::-webkit-scrollbar {
    width: 8px;
}

.offcanvas-body::-webkit-scrollbar-track {
    background: #2a2a4a;
}

.offcanvas-body::-webkit-scrollbar-thumb {
    background-color: #8a2be2;
    border-radius: 10px;
    border: 2px solid #2a2a4a;
}
/*
 * New stock styles for content within .privacyNestZone
 * These styles provide basic readability and structure for common text elements
 * without being overly opinionated or using excessively large font sizes.
 */

.privacyNestZone {
    /* Basic padding for the main content area */
    padding: 25px 20px; /* Top/Bottom, Left/Right padding */
}

/* Headings styles */
.privacyNestZone h1 {
    font-size: 1.75rem; /* Approximately 28px, providing good hierarchy without being too large */
    font-weight: 700; /* Bold */
    margin-top: 1.5em; /* Space above the heading */
    margin-bottom: 0.75em; /* Space below the heading */
    line-height: 1.2; /* Tighter line height for headings */
}

.privacyNestZone h2 {
    font-size: 1.5rem; /* Approximately 24px */
    font-weight: 700;
    margin-top: 1.25em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}

.privacyNestZone h3 {
    font-size: 1.25rem; /* Approximately 20px */
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

.privacyNestZone h4 {
    font-size: 1.1rem; /* Approximately 17.6px, slightly larger than base text */
    font-weight: 700;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    line-height: 1.5;
}

.privacyNestZone h5 {
    font-size: 1rem; /* Base font size, but bold to distinguish */
    font-weight: 700;
    margin-top: 0.7em;
    margin-bottom: 0.3em;
    line-height: 1.5;
}

/* Paragraph style */
.privacyNestZone p {
    font-size: 1rem; /* Base font size, typically 16px */
    line-height: 1.6; /* Good line height for readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

/* List styles (unordered and ordered) */
.privacyNestZone ul,
.privacyNestZone ol {
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 25px; /* Indent for bullet points/numbers */
}

.privacyNestZone li {
    font-size: 1rem; /* Base font size for list items */
    line-height: 1.6; /* Consistent line height with paragraphs */
    margin-bottom: 0.5em; /* Space between individual list items */
}

/* Optional: Remove bottom margin from the last paragraph/list if it's the last child in the zone */
.privacyNestZone p:last-child,
.privacyNestZone ul:last-child,
.privacyNestZone ol:last-child {
    margin-bottom: 0;
}


.carousel-indicators{
    bottom: -15px;
}

.form-control::placeholder{
    color: #fff !important;
}