body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    box-sizing: border-box;
}

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

:root {
    --primary-purple: #6A0DAD;
    --dark-purple: #3A056E;
    --light-purple: #9966CC;
    --accent-gold: #FFD700;
    --text-light: #F8F8F8;
    --text-dark: #333333;
    --background-dark: #1A0033;
    --background-light-purple: #2F0A50;
    --border-color: #4A1A70;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--dark-purple);
}

.btn-primary:hover {
    background-color: #e6c200;
    color: var(--dark-purple);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--light-purple);
    color: var(--text-light);
    border: 1px solid var(--light-purple);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--light-purple);
    text-decoration: none;
}

h1, h2, h3 {
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 2.8rem;
    text-align: center;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.6rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


.header {
    background-color: var(--dark-purple);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.logo img {
    height: 80px;
    margin-right: 10px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--accent-gold);
    text-decoration: none;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 1199px) {
    .nav {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background-color: var(--dark-purple);
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        z-index: 999;
        overflow-y: auto;
    }

    .nav.active .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav.active .nav-list li {
        margin: 15px 0;
        width: 100%;
        padding: 0 20px;
    }

    .nav.active .nav-list a {
        display: block;
        width: 100%;
        padding: 10px 0;
        font-size: 1.1rem;
    }
}

.hero-section {
    position: relative;
    background-image: url(uploads/content/hero-background_225.jpg); 
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    max-width: 800px;
    margin-bottom: 50px;
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--accent-gold);
}

.featured-game-card {
    background-color: var(--background-light-purple);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 2px solid var(--border-color);
}

.featured-game-card .game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.featured-game-card h3 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.featured-game-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

@media (max-width: 767px) {
    .hero-section {
        padding: 80px 0;
        min-height: 500px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    .featured-game-card {
        padding: 20px;
    }
    .featured-game-card .game-image {
        height: 200px;
    }
}


.about-section, .how-to-play-section, .game-selection-section, .leaderboards-section, .testimonials-section, .faq-section, .disclaimer-block {
    padding: 80px 0;
    background-color: var(--background-dark);
}

.about-section {
    background-color: var(--background-light-purple);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-item {
    background-color: var(--dark-purple);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.about-item i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.about-item h3 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-item p {
    color: var(--text-light);
}

.about-disclaimer {
    text-align: center;
    margin-top: 50px;
    font-style: italic;
    color: var(--light-purple);
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.how-to-play-section {
    background-color: var(--background-dark);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.step-item {
    background-color: var(--background-light-purple);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.step-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.step-item h3 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.step-item p {
    color: var(--text-light);
}

@media (max-width: 767px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
}

.game-selection-section {
    background-color: var(--background-light-purple);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background-color: var(--dark-purple);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.game-card .game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.game-card h3 {
    color: var(--accent-gold);
    margin-bottom: 10px;
    flex-grow: 0;
}

.game-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.game-card .btn {
    margin-top: auto;
}

@media (max-width: 767px) {
    .game-grid {
        grid-template-columns: 1fr;
    }
}

.game-modal-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: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.game-modal-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
    border-radius: 50%;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.game-modal-close-btn:hover {
    color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.1);
}

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


.leaderboards-section {
    background-color: var(--background-dark);
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.leaderboard-item {
    background-color: var(--background-light-purple);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.leaderboard-item i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.leaderboard-item .gold {
    color: var(--accent-gold);
}

.leaderboard-item .silver {
    color: #C0C0C0;
}

.leaderboard-item .bronze {
    color: #CD7F32;
}

.leaderboard-item .platinum {
    color: #E5E4E2;
}

.leaderboard-item h3 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.leaderboard-item p {
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.leaderboard-item span {
    font-size: 0.9rem;
    color: var(--light-purple);
}

@media (max-width: 767px) {
    .leaderboard-grid {
        grid-template-columns: 1fr;
    }
}

.testimonials-section {
    background-color: var(--background-light-purple);
}

.testimonials-section .tagline {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-purple);
    margin-bottom: 10px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--dark-purple);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
}

.testimonial-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--accent-gold);
}

.testimonial-card .testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-card .player-name {
    font-weight: 600;
    color: var(--accent-gold);
    font-size: 1rem;
}

@media (max-width: 767px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.faq-section {
    background-color: var(--background-dark);
}

.faq-accordion {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-accordion details {
    background-color: var(--background-light-purple);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-accordion summary {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent-gold);
    list-style: none;
    position: relative;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '\2b'; 
    position: absolute;
    right: 25px;
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-accordion details[open] summary::after {
    content: '\2212'; 
    transform: translateY(-50%) rotate(180deg);
}

.faq-accordion details p {
    padding: 15px 25px 20px;
    margin: 0;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
}

.report-btn {
    display: block;
    margin: 50px auto 0;
    width: fit-content;
}

.report-btn i {
    margin-right: 10px;
}

.disclaimer-block {
    background-color: #1a0033;
    padding: 60px 0;
    border-top: 5px solid #8B0000; 
    border-bottom: 5px solid #8B0000; 
    color: var(--text-light);
    text-align: center;
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #2F0A50;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #8B0000;
}

.disclaimer-icon {
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.disclaimer-title {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 25px;
}

.disclaimer-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #E0E0E0;
}

.disclaimer-content p:last-of-type {
    margin-bottom: 0;
}

.disclaimer-content a {
    color: #FFD700;
    text-decoration: underline;
}

.disclaimer-content a:hover {
    color: #e6c200;
}

@media (max-width: 767px) {
    .disclaimer-content {
        padding: 30px;
    }
    .disclaimer-icon {
        font-size: 2.5rem;
    }
    .disclaimer-title {
        font-size: 1.6rem;
    }
}


.footer {
    background-color: var(--dark-purple);
    padding: 40px 0;
    text-align: center;
    color: var(--text-light);
    border-top: 5px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--text-light);
}

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

.profile-tracker {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-tracker span {
    font-size: 1rem;
    color: var(--light-purple);
}

.profile-tracker strong {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--accent-gold);
    text-decoration: none;
}

.responsible-gaming-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.responsible-gaming-logos img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.responsible-gaming-logos .age-restriction-logo {
    max-width: 60px;
}

.copyright {
    font-size: 0.85rem;
    color: var(--light-purple);
    margin-top: 20px;
}

@media (max-width: 767px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    .profile-tracker {
        flex-direction: column;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

.age-modal-overlay {
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

.age-modal-content {
    background-color: var(--background-light-purple);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent-gold);
}

.age-modal-content h2 {
    color: var(--accent-gold);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.age-modal-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.age-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 767px) {
    .age-modal-content h2 {
        font-size: 1.8rem;
    }
    .age-modal-content p {
        font-size: 1rem;
    }
    .age-modal-buttons {
        flex-direction: column;
        gap: 15px;
    }
}
/* Styles for the main container, providing overall padding */
.lawMatrixNode {
    padding-top: 1.5rem;   /* Top padding for the content area */
    padding-left: 1rem;    /* Left padding for the content area */
    padding-right: 1rem;   /* Right padding for the content area */
}

/* Heading styles within .lawMatrixNode */
.lawMatrixNode h1 {
    font-size: 1.6em;         /* Slightly smaller than default h1, not too large */
    margin-top: 1.5em;        /* Top margin for separation from preceding content */
    margin-bottom: 0.8em;     /* Bottom margin for separation from following content */
    font-weight: 700;         /* Bold font weight */
    line-height: 1.2;         /* Improved line height for readability */
}

.lawMatrixNode h2 {
    font-size: 1.4em;         /* Moderate heading size */
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    font-weight: 600;
    line-height: 1.3;
}

.lawMatrixNode h3 {
    font-size: 1.2em;         /* Smaller heading size */
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    font-weight: 600;
    line-height: 1.3;
}

.lawMatrixNode h4 {
    font-size: 1.1em;         /* Even smaller heading size */
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 500;         /* Slightly less bold than h1-h3 */
    line-height: 1.4;
}

.lawMatrixNode h5 {
    font-size: 1em;           /* Standard text size, often used for sub-headings or minor titles */
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    font-weight: 500;
    line-height: 1.4;
}

/* Paragraph styles within .lawMatrixNode */
.lawMatrixNode p {
    font-size: 1em;           /* Standard paragraph font size */
    line-height: 1.6;         /* Good line height for body text readability */
    margin-top: 0;            /* No top margin by default to prevent double margins with preceding elements */
    margin-bottom: 1em;       /* Space between paragraphs */
}

/* Unordered list styles within .lawMatrixNode */
.lawMatrixNode ul {
    list-style-type: disc;    /* Default disc bullet points */
    margin-top: 1em;          /* Space above the list */
    margin-bottom: 1em;       /* Space below the list */
    padding-left: 1.5em;      /* Indentation for bullet points */
}

/* List item styles within .lawMatrixNode */
.lawMatrixNode li {
    line-height: 1.6;         /* Consistent line height with paragraphs */
    margin-bottom: 0.5em;     /* Space between list items */
}
.nav {
    position: relative;
}
     .close-menu-n {
        position: absolute;
        top: 20px;
        display: none;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
        z-index: 1001;
    }

@media (max-width: 1200px) {
    .close-menu-n {
   display: block;
    }
}