/* Global Styles */
:root {
    --primary-color: #4361EE;
    --secondary-color: #FFD700;
    --dark-purple: #3A0CA3;
    --text-light: #F0F0F0;
    --text-dark: #1A1A1A;
    --bg-dark: #121212;
    --bg-medium: #1F1F1F;
    --bg-light: #2C2C2C;
    --border-color: rgba(255, 255, 255, 0.1);
    --overlay-color: rgba(0, 0, 0, 0.6);
    --gradient-primary: linear-gradient(135deg, #4361EE, #3A0CA3);
    --gradient-secondary: linear-gradient(135deg, #FFD700, #DAA520);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-dark: 0 8px 25px rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: var(--dark-purple);
    box-shadow: var(--shadow-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-dark);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    box-shadow: var(--shadow-dark);
    transform: translateY(-2px);
}

.section-padding {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.white-text {
    color: var(--text-light) !important;
}

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

/* Responsive Typography */
h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.site-name {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

@media (max-width: 767px) {
    h1 {
        font-size: clamp(1.25rem, 6vw, 2.2rem);
    }
    h2 {
        font-size: clamp(1.25rem, 5vw, 2rem);
    }
    .site-name {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }
    .btn {
        padding: 0.7rem 1.2rem;
        min-width: unset;
    }
    .section-padding {
        padding: 4rem 0;
    }
    .section-title {
        margin-bottom: 2rem;
    }
}

/* Age Gate Pop-up */
.age-gate-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: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-gate-overlay.show {
    opacity: 1;
    visibility: visible;
}

.age-gate-content {
    background-color: var(--bg-medium);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 500px;
    box-shadow: var(--shadow-dark);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.age-gate-overlay.show .age-gate-content {
    transform: scale(1);
}

.age-gate-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

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

.age-gate-buttons .btn {
    margin: 0 0.5rem;
}

/* Top Banner */
.top-banner {
    background-color: var(--dark-purple);
    color: var(--text-light);
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

/* Header */
.header {
    background-color: var(--bg-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.logo {
    height: 40px;
    margin-right: 0.5rem;
}

.site-name {
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-menu .nav-list {
    list-style: none;
    display: flex;
}

.nav-menu .nav-list li {
    margin-left: 2rem;
}

.nav-menu .nav-link {
    color: var(--text-light);
    font-weight: 600;
    position: relative;
}

.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu .nav-link:hover::after {
    width: 100%;
}

.burger-menu-btn {
    display: none;
    font-size: 2rem;
    color: var(--text-light);
}

/* Mobile Navigation Offcanvas */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background-color: var(--bg-dark);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 1050;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.offcanvas-menu.open {
    right: 0;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.close-offcanvas-btn {
    font-size: 2rem;
    color: var(--text-light);
}

.offcanvas-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.offcanvas-link {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.offcanvas-link:hover {
    color: var(--primary-color);
}

@media (max-width: 1100px) {
    .nav-menu .nav-list {
        display: none;
    }
    .burger-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light); 
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: var(--shadow-dark);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    text-shadow: var(--shadow-light);
}

.button-group .btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

.button-group .btn i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.stacked-cards {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    max-width: 800px;
    height: 250px;
    pointer-events: none;
    z-index: 0;
}

.game-card {
    position: absolute;
    width: 180px;
    height: 250px;
    background-color: var(--bg-medium);
    border-radius: 10px;
    box-shadow: var(--shadow-dark);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--border-color);
}

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

.card-1 {
    transform: translateX(-100px) rotate(-10deg);
    z-index: 3;
}

.card-2 {
    transform: translateX(0) rotate(0deg);
    z-index: 4;
}

.card-3 {
    transform: translateX(100px) rotate(10deg);
    z-index: 5;
}

@media (max-width: 768px) {
    h2 {
        font-size: 22px !important;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .button-group .btn {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
    }
    .stacked-cards {
        height: 180px;
        max-width: 90%;
    }
    .game-card {
        width: 130px;
        height: 180px;
    }
    .card-1 {
        transform: translateX(-70px) rotate(-10deg);
    }
    .card-2 {
        transform: translateX(0) rotate(0deg);
    }
    .card-3 {
        transform: translateX(70px) rotate(10deg);
    }
}

@media (max-width: 480px) {
    .stacked-cards {
        height: 150px;
    }
    .game-card {
        width: 100px;
        height: 150px;
    }
    .card-1 {
        transform: translateX(-50px) rotate(-10deg);
    }
    .card-3 {
        transform: translateX(50px) rotate(10deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: var(--text-light);
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* Block 1: About Our Platform */
.about-section {
    background-color: var(--bg-medium);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.about-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-features li {
    background-color: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    box-shadow: var(--shadow-light);
    flex: 1 1 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
}

.about-features li i {
    color: var(--secondary-color);
    margin-right: 0.8rem;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .about-features li {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Block 2: Games */
.games-section {
    background-color: var(--bg-dark);
}

.game-rating {
    text-align: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.game-rating i {
    margin: 0 0.1rem;
}

.game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.game-card-item {
    background-color: var(--bg-medium);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.game-card-item .game-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--text-light);
}

.game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.game-card-item h3 {
    font-size: 1.5rem;
    margin: 1.5rem 1rem 0.5rem;
    color: var(--secondary-color);
}

.game-card-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 0 1.5rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.game-card-item .play-game-btn {
    margin: 0 1.5rem 1.5rem;
    width: calc(100% - 3rem);
    padding: 0.75rem 0;
    font-size: 1rem;
}

/* Game Modal */
.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: 9990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.game-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
}

.close-game-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 9991;
    transition: background-color 0.3s ease;
}

.close-game-modal-btn:hover {
    background-color: var(--primary-color);
}

.game-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: var(--bg-dark);
}

/* Block 3: Popularity Section */
.popularity-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 8rem 0;
}

.popularity-section .section-title,
.popularity-section .section-description {
    position: relative;
    z-index: 2;
}
.popularity-section .popularity-item{
background-color: #000;
}

.popularity-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.popularity-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

 
.popularity-item i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.popularity-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.popularity-item p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Block 4: Game Review Section */
.game-review-section {
    background-color: var(--bg-medium);
}

.game-review-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.game-review-image {
    flex: 1 1 45%;
    min-width: 300px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.game-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-review-text {
    flex: 1 1 50%;
    min-width: 300px;
}

.game-review-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.game-review-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.game-review-rating {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

.game-review-rating i {
    margin-right: 0.2rem;
}

@media (max-width: 992px) {
    .game-review-content {
        flex-direction: column;
        text-align: center;
    }
    .game-review-image, .game-review-text {
        flex: 1 1 100%;
    }
    .game-review-rating {
        justify-content: center;
    }
}

/* Block 5: Testimonials */
.testimonials-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
}
.testimonials-section .section-title {
    z-index: 2;
    color: #fff !important;
}
.testimonials-section .testimonial-card {
    background-color: #000;
}
.testimonials-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

 

.testimonial-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Block 6: FAQ Section */
.faq-section {
    background-color: var(--bg-dark);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-medium);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    background-color: var(--bg-light);
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--dark-purple);
}

.faq-question::after {
    content: '\f107'; /* Chevron down icon */
    font-family: 'RemixIcon';
    font-weight: normal;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.faq-answer.show {
    max-height: 200px; /* Adjust as needed */
    padding-top: 1rem;
}

/* Block 7: Contact Form */
.contact-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
}

.contact-form {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 3rem auto 0;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-dark);
    text-align: left;
}
#contact h2 {
    z-index: 5;
}
#contact .section-description {
    z-index: 5 !important;
}
#contact form {
    z-index: 5;
    background-color: #000;
}
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group input.error {
    border-color: #dc3545;
}

.form-group .error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group input:invalid:not(:placeholder-shown) + .error-message,
.form-group input.error + .error-message {
    display: block;
}

/* Disclaimer Block */
.disclaimer-section {
    background-color: var(--bg-medium);
    padding: 4rem 0;
    border-top: 5px solid var(--secondary-color);
    text-align: center;
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-dark);
    border: 1px solid var(--border-color);
}

.disclaimer-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.disclaimer-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.disclaimer-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.disclaimer-content a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
}

.disclaimer-content a:hover {
    color: var(--primary-color);
}

/* Footer Section */
.footer-section {
    background-color: var(--bg-dark);
    padding: 4rem 0 2rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.profile-level {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.level-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.progress-bar-container {
    width: 100%;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    height: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 0.5rem;
    transition: width 1s ease-out;
}

.check-achievements-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

.check-achievements-btn i {
    margin-right: 0.5rem;
}

.footer-logo-disclaimer {
    flex: 1 1 250px;
    text-align: left;
}

.footer-logo-disclaimer .logo-link {
    margin-bottom: 0.5rem;
}

.footer-disclaimer-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

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

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-partners {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-partners img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    margin: 0.5rem;
}

.footer-18plus-icon {
    max-width: 60px;
    height: auto;
    filter: brightness(1.2);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-level, .footer-logo-disclaimer, .footer-links {
        flex: 1 1 100%;
        align-items: center;
        text-align: center;
    }
    .footer-links ul {
        padding-left: 0;
    }
    .footer-partners {
        justify-content: center;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-medium);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 9900;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    flex-grow: 1;
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
}

.cookie-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Cookie Settings Modal */
.cookie-settings-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9950;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-modal-content {
    background-color: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 1rem;
    max-width: 550px;
    width: 90%;
    box-shadow: var(--shadow-dark);
    color: var(--text-light);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.cookie-settings-modal-overlay.show .cookie-settings-modal-content {
    transform: translateY(0);
}

.cookie-settings-modal-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cookie-settings-modal-content p {
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.cookie-category {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.cookie-category input[type="checkbox"] {
    min-width: 20px;
    min-height: 20px;
    margin-top: 3px;
    accent-color: var(--primary-color);
}

.cookie-category label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-light);
    cursor: pointer;
}

.cookie-category .category-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.2rem;
    margin-bottom: 0;
    margin-left: -20px;
    padding-left: 30px;
}

.modal-buttons {
    margin-top: 2rem;
    text-align: right;
}

.modal-buttons .btn-primary {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
}
/*
 * Base styling for the parent container.
 * Provides internal padding for content spacing.
 */
.rightsFieldUnit {
    padding: 20px 25px; /* Top/bottom padding 20px, left/right padding 25px */
    box-sizing: border-box; /* Ensures padding is included in the element's total width and height */
}

/*
 * Heading styles for h1-h5 within .rightsFieldUnit.
 * Font sizes are kept moderate, not excessively large.
 * Includes standard margins and line-height for readability.
 */
.rightsFieldUnit h1 {
    word-break: break-all;
    font-size: 28px; /* Slightly larger, but not huge */
    font-weight: 700; /* Bold */
    line-height: 1.2; /* Tighter line spacing for headings */
    margin-top: 25px; /* Space above heading */
    margin-bottom: 15px; /* Space below heading */
}

.rightsFieldUnit h2 {
     word-break: break-all;
    font-size: 24px; /* Medium-large heading */
    font-weight: 600; /* Semi-bold */
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 12px;
}

.rightsFieldUnit h3 {
     word-break: break-all;
    font-size: 20px; /* Standard heading size */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 18px;
    margin-bottom: 10px;
}

.rightsFieldUnit h4 {
     word-break: break-all;
    font-size: 18px; /* Smaller heading, good for sub-sections */
    font-weight: 500; /* Medium weight */
    line-height: 1.4;
    margin-top: 15px;
    margin-bottom: 8px;
}

.rightsFieldUnit h5 {
     word-break: break-all;
    font-size: 16px; /* Closest to body text, but still distinct */
    font-weight: 500;
    line-height: 1.5;
    margin-top: 12px;
    margin-bottom: 6px;
}

/*
 * Paragraph styles within .rightsFieldUnit.
 * Sets a comfortable font size, line height, and bottom margin for separation.
 */
.rightsFieldUnit p {
    font-size: 16px; /* Standard body text size */
    line-height: 1.6; /* Good line spacing for readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

/*
 * Unordered list (ul) styles within .rightsFieldUnit.
 * Adds padding for bullet points and vertical margins.
 */
.rightsFieldUnit ul {
    list-style-type: disc; /* Default bullet style */
    padding-left: 25px; /* Indentation for bullet points */
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
}

/*
 * List item (li) styles within .rightsFieldUnit.
 * Ensures consistent line height and small vertical spacing between items.
 */
.rightsFieldUnit li {
    font-size: 16px; /* Inherits body text size */
    line-height: 1.6; /* Consistent line spacing */
    margin-bottom: 0.5em; /* Small space between list items */
}

/* Optional: Remove margin from the last list item to avoid extra space */
.rightsFieldUnit li:last-child {
    margin-bottom: 0;
}
section {
    overflow: hidden;
}