/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a2e; /* Dark background */
    color: #e0e0e0; /* Light grey text */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #2a2a4a; /* Darker track */
}

::-webkit-scrollbar-thumb {
    background: #6a057f; /* Purple thumb */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8a079f; /* Lighter purple on hover */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #e0e0e0;
}

.section-title {
    font-size: 2.5rem;
    color: #e0e0e0; /* Default color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, #6a057f, #8a079f, #c62e60); /* Gradient for titles */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block; /* Required for gradient text */
}

/* Buttons */
.btn-primary.custom-btn-primary {
    background-color: #6a057f; /* Purple */
    border-color: #6a057f;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(106, 5, 127, 0.4);
}

.btn-primary.custom-btn-primary:hover {
    background-color: #8a079f;
    border-color: #8a079f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 7, 159, 0.6);
}

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

.btn-secondary:hover {
    background-color: #5a308d;
    border-color: #5a308d;
}

/* Header */
.header-section {
    background-color: #161625; /* Slightly darker than body */
    border-bottom: 1px solid #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-link {
    text-decoration: none;
}

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

.site-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e0e0e0;
    background: linear-gradient(90deg, #c62e60, #ff6b88); /* Gradient for site title */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    padding: 100px 0;
    position: relative;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-background-img {
    filter: brightness(0.4) grayscale(0.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.7), rgba(106, 5, 127, 0.5));
    z-index: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Us Section */
.about-section {
    background-color: #2a2a4a;
}

.about-features li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-icon {
    color: #c62e60;
    font-size: 1.5rem;
    vertical-align: middle;
}

/* Games Grid Section */
.games-grid-section {
    background-color: #1a1a2e;
}

.game-card {
    background-color: #2a2a4a;
    border: 1px solid #3e206d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(106, 5, 127, 0.6);
}

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

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

.game-card .card-title {
    font-size: 1.5rem;
    color: #e0e0e0;
}

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

.game-link {
    text-decoration: none;
    color: inherit;
}

/* Game Modal */
.game-modal-content {
    background-color: #1a1a2e;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.game-modal-content .modal-header {
    background-color: #2a2a4a;
    border-bottom: 1px solid #3e206d;
    padding: 1rem 1.5rem;
}

.game-modal-content .modal-title {
    color: #e0e0e0;
}

.game-modal-content .btn-close-white {
    filter: invert(1);
}

.game-modal-content .modal-body {
    min-height: 60vh; /* Ensure iframe has space */
    display: flex;
    align-items: center;
    justify-content: center;
}

#gameIframe {
    width: 100%;
    height: 100%;
    min-height: 60vh;
    border-radius: 0 0 15px 15px;
}

/* Games Carousel Section */
.games-carousel-section {
    background-color: #2a2a4a;
}

.carousel-inner {
    border-radius: 15px;
    overflow: hidden;
}

.carousel-item img {
    height: 450px;
    object-fit: cover;
    filter: brightness(0.6);
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px 20px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
}

.carousel-caption h5 {
    font-size: 1.8rem;
    color: #fff;
}

.carousel-caption p {
    font-size: 1.1rem;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(106, 5, 127, 0.7);
    border-radius: 50%;
    padding: 15px;
}

/* How It Works Section */
.how-it-works-section {
    background-color: #1a1a2e;
}

.how-it-works-step {
    background-color: #2a2a4a;
    border: 1px solid #3e206d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(106, 5, 127, 0.6);
}

.step-icon {
    color: #c62e60;
    transition: transform 0.3s ease;
}

.how-it-works-step:hover .step-icon {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    background-color: #2a2a4a;
}

.testimonial-card {
    background-color: #2a2a4a;
    border: 1px solid #3e206d;
    position: relative;
    padding-top: 30px;
}

.quote-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2.5rem;
    color: rgba(198, 46, 96, 0.5);
}

.blockquote {
    font-style: italic;
    margin-top: 45px;
    margin-bottom: 0;
}

.testimonial-card cite {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background-color: #1a1a2e;
}

.accordion-item {
    background-color: #2a2a4a;
    border: 1px solid #3e206d;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: #9878cb;
    color: #e0e0e0;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #6a057f;
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    background-color: #2a2a4a;
    color: #b0b0b0;
    padding: 1rem 1.25rem;
    border-top: 1px solid #3e206d;
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #1a1a2e;
    padding: 3rem 0;
}

.disclaimer-content {
    background-color: #3e206d; /* Dark purple background */
    border: 2px solid #c62e60; /* Reddish-pink border */
    box-shadow: 0 0 20px rgba(198, 46, 96, 0.5);
    padding: 2.5rem;
}

.disclaimer-title {
    color: #ff6b88; /* Lighter pink for title */
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.disclaimer-title i {
    color: #ff6b88;
}

.disclaimer-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

/* Footer */
.footer-section {
    background-color: #161625; /* Darker than body */
    border-top: 1px solid #333;
}

.footer-heading {
    color: #e0e0e0;
    font-weight: 600;
}

.footer-links li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 0;
    display: block;
}

.footer-links li a:hover {
    color: #c62e60;
}

.social-icons a {
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #c62e60;
}

.age-restriction .age-18-icon {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(198, 46, 96, 0.7));
}

.footer-logos {
    margin-top: 3rem;
    border-top: 1px solid #3e206d;
    padding-top: 2rem;
}

.footer-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    flex-basis: auto; /* Allow logos to shrink/grow based on content */
}

.footer-org-logo {
    max-width: 120px; /* Adjusted for 4 logos in a row */
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* Age Verification Modal */
.age-modal-content {
    background-color: #2a2a4a;
    color: #e0e0e0;
    border-radius: 15px;
    border: 2px solid #6a057f;
    box-shadow: 0 0 25px rgba(106, 5, 127, 0.7);
}

.age-modal-content .modal-title {
    color: #ff6b88;
    font-size: 1.8rem;
}

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

.age-modal-content .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    font-weight: 600;
    transition: all 0.3s ease;
}

.age-modal-content .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
}

.age-modal-content .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    font-weight: 600;
    transition: all 0.3s ease;
}

.age-modal-content .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
}

/* Cookie Consent Banner */
.cookie-banner {
    background-color: #161625; /* Dark background */
    border-top: 1px solid #3e206d;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1050; /* Above other content */
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-banner a {
    color: #ff6b88 !important;
    font-weight: 600;
}

.cookie-banner .btn-primary {
    background-color: #6a057f;
    border-color: #6a057f;
}

.cookie-banner .btn-primary:hover {
    background-color: #8a079f;
    border-color: #8a079f;
}

.cookie-banner .btn-secondary {
    background-color: #3e206d;
    border-color: #3e206d;
}

.cookie-banner .btn-secondary:hover {
    background-color: #5a308d;
    border-color: #5a308d;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .carousel-item img {
        height: 350px;
    }
    .carousel-caption {
        padding: 10px 15px;
        bottom: 10px;
    }
    .carousel-caption h5 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
   
    .footer-section .col-md-4 {
        text-align: center !important;
    }
    .footer-logos {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .carousel-item img {
        height: 250px;
    }
    .carousel-caption {
        display: none !important; /* Hide caption on very small screens */
    }
    .game-card .card-title {
        font-size: 1.25rem;
    }
    .game-card .card-text {
        font-size: 0.85rem;
    }
    .age-modal-content .modal-title {
        font-size: 1.5rem;
    }
    .age-modal-content .modal-body p {
        font-size: 1rem;
    }
    .cookie-banner p {
        font-size: 0.85rem;
    }
    .cookie-banner .btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    .footer-logos {
        gap: 15px;
    }
    .footer-org-logo {
        max-width: 100px;
    }
}
/* Styles for the main content frame */
.dataTrustFrame {
    padding-top: 4rem; /* Top padding for the content area */
    padding-bottom: 4rem; /* Bottom padding for the content area */
    padding-left: 1.5rem; /* Left padding for the content area */
    padding-right: 1.5rem; /* Right padding for the content area */
    max-width: 960px; /* Maximum width for content readability */
    margin-left: auto; /* Center the content frame horizontally */
    margin-right: auto; /* Center the content frame horizontally */
    color: #e0e0e0; /* Default text color for elements within this frame */
}

/* Heading 1 styles within the dataTrustFrame */
.dataTrustFrame h1 {
    font-size: 2rem; /* Moderate font size for primary headings */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Line height for better readability */
    margin-top: 2rem; /* Top margin for spacing */
    margin-bottom: 1.5rem; /* Bottom margin for spacing */
    color: #e0e0e0; /* Light grey color for headings */
}

/* Heading 2 styles within the dataTrustFrame */
.dataTrustFrame h2 {
    font-size: 1.7rem; /* Slightly smaller than h1 */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.3; /* Line height */
    margin-top: 1.8rem; /* Top margin */
    margin-bottom: 1.2rem; /* Bottom margin */
    color: #e0e0e0; /* Light grey color for headings */
}

/* Heading 3 styles within the dataTrustFrame */
.dataTrustFrame h3 {
    font-size: 1.4rem; /* Moderate font size */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.4; /* Line height */
    margin-top: 1.5rem; /* Top margin */
    margin-bottom: 1rem; /* Bottom margin */
    color: #e0e0e0; /* Light grey color for headings */
}

/* Heading 4 styles within the dataTrustFrame */
.dataTrustFrame h4 {
    font-size: 1.2rem; /* Smaller font size */
    font-weight: 500; /* Medium font weight */
    line-height: 1.5; /* Line height */
    margin-top: 1.2rem; /* Top margin */
    margin-bottom: 0.8rem; /* Bottom margin */
    color: #e0e0e0; /* Light grey color for headings */
}

/* Heading 5 styles within the dataTrustFrame */
.dataTrustFrame h5 {
    font-size: 1.1rem; /* Smallest heading size */
    font-weight: 500; /* Medium font weight */
    line-height: 1.6; /* Line height */
    margin-top: 1rem; /* Top margin */
    margin-bottom: 0.6rem; /* Bottom margin */
    color: #e0e0e0; /* Light grey color for headings */
}

/* Paragraph styles within the dataTrustFrame */
.dataTrustFrame p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.7; /* Generous line height for readability */
    margin-bottom: 1rem; /* Bottom margin for paragraph separation */
    color: #b0b0b0; /* Slightly muted light grey for body text */
}

/* Unordered list styles within the dataTrustFrame */
.dataTrustFrame ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-top: 1rem; /* Top margin for list separation */
    margin-bottom: 1rem; /* Bottom margin for list separation */
    padding-left: 25px; /* Indentation for list items */
    color: #b0b0b0; /* Inherit text color from paragraph */
}

/* List item styles within the dataTrustFrame */
.dataTrustFrame li {
    font-size: 1rem; /* Standard font size for list items */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Spacing between list items */
    color: #b0b0b0; /* Inherit text color from paragraph */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .dataTrustFrame {
        padding-top: 3rem;
        padding-bottom: 3rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .dataTrustFrame h1 {
        font-size: 1.8rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    .dataTrustFrame h2 {
        font-size: 1.5rem;
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
    }
    .dataTrustFrame h3 {
        font-size: 1.3rem;
        margin-top: 1rem;
        margin-bottom: 0.7rem;
    }
    .dataTrustFrame h4 {
        font-size: 1.1rem;
        margin-top: 0.8rem;
        margin-bottom: 0.6rem;
    }
    .dataTrustFrame h5 {
        font-size: 1rem;
        margin-top: 0.7rem;
        margin-bottom: 0.5rem;
    }
    .dataTrustFrame p,
    .dataTrustFrame li {
        font-size: 0.95rem;
    }
    .dataTrustFrame ul {
        padding-left: 20px;
    }
}
