/* Google Fonts Initialization */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-dark-blue);
    color: var(--color-text-light);
}
h1, h2, h3, .site-title {
    font-family: 'Luckiest Guy', cursive;
}

/* Color Variables */
:root {
    --color-primary-blue: #0D47A1; /* Darker Blue */
    --color-light-blue: #1A237E; /* Even darker blue for sections */
    --color-dark-blue: #0A122A; /* Deepest blue for background/footer */
    --color-accent-orange: #FF9800; /* Vibrant Orange */
    --color-light-orange: #FFA726; /* Lighter Orange for buttons */
    --color-text-light: #f8f9fa; /* Off-white text */
    --color-text-dark: #333;
    --color-text-white-75: rgba(248, 249, 250, 0.75);
    --color-bg-disclaimer: #212529; /* Dark background for disclaimer */
    --color-border-primary: #FFD700; /* Gold-like for borders */
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

.top-static-bar {
    z-index: 1060; /* Above modals */
    padding-top: 50px; /* Adjust for fixed cookie banner */
}

.cookie-banner {
    z-index: 1055; /* Below top static bar, above header */
    background-color: var(--color-primary-blue);
    transition: top 0.3s ease-in-out;
    padding-top: 10px; /* Space for the static bar */
    top: auto !important;
    bottom: 0;
}

.main-header {
    background-color: var(--color-dark-blue);
    padding-top: 80px; /* Account for static bar and cookie banner */
    z-index: 1040;
    position: sticky;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.site-title {
    font-size: 1.8rem;
    color: var(--color-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-nav .nav-link {
    font-weight: 600;
    color: var(--color-text-white-75);
    transition: color 0.3s ease;
}

.main-nav .nav-link:hover {
    color: var(--color-accent-orange);
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-accent-orange);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.btn-primary {
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
    color: var(--color-dark-blue);
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-light-orange);
    border-color: var(--color-light-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    color: var(--color-text-light);
    border-color: var(--color-text-light);
}

.btn-outline-light:hover {
    color: var(--color-dark-blue);
    background-color: var(--color-text-light);
}

.btn-light-orange {
    background-color: var(--color-light-orange);
    border-color: var(--color-light-orange);
    color: var(--color-dark-blue);
    font-weight: bold;
}

.btn-light-orange:hover {
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
}

.text-primary {
    color: var(--color-accent-orange) !important;
}

.text-orange {
    color: var(--color-accent-orange) !important;
}

.text-dark-blue {
    color: var(--color-dark-blue) !important;
}

.bg-light-blue {
    background-color: var(--color-light-blue);
}

.bg-dark-blue {
    background-color: var(--color-dark-blue);
}

.bg-orange {
    background-color: var(--color-accent-orange);
}

.bg-orange-gradient {
    background: linear-gradient(135deg, var(--color-accent-orange) 0%, var(--color-light-orange) 100%);
}

.text-white-75 {
    color: var(--color-text-white-75);
}

.icon-large {
    font-size: 3.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 150px; /* Account for fixed header */
}

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

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}

/* Game Showcase Carousel */
#gameCarousel .carousel-item {
    padding: 60px 0;
}

#gameCarousel .carousel-item img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

#gameCarousel .carousel-control-prev-icon, #gameCarousel .carousel-control-next-icon {
    filter: invert(100%); /* Make arrows visible on dark background */
}

#gameCarousel .carousel-indicators button {
    background-color: var(--color-accent-orange);
}

/* Local Games Block */
.game-card {
    border: 2px solid var(--color-accent-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.game-card .game-link {
    display: block;
    overflow: hidden;
    border-radius: 0.25rem;
}

.game-card .game-link img {
    transition: transform 0.5s ease;
}

.game-card .game-link:hover img {
    transform: scale(1.05);
}

.game-card .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0.25rem;
}

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

.game-card .icon-play {
    font-size: 4rem;
    color: var(--color-accent-orange);
}

.play-game-btn {
    padding: 15px;
    font-size: 20px;
}

/* Advantages List */
.advantages-list li {
    background-color: var(--color-dark-blue);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.advantages-list li:hover {
    transform: translateX(10px);
    background-color: var(--color-light-blue);
}

.advantages-list h3 {
    color: var(--color-accent-orange);
}

/* Testimonials */
.testimonial-card {
    background-color: var(--color-text-light) !important;
    color: var(--color-text-dark) !important;
    border: 1px solid var(--color-accent-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}

.testimonial-card .avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--color-accent-orange);
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid var(--color-accent-orange) !important;
    background-color: var(--color-dark-blue) !important;
}

.accordion-button {
    background-color: var(--color-dark-blue) !important;
    color: var(--color-text-light) !important;
    font-weight: bold;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    color: var(--color-accent-orange) !important;
    background-color: var(--color-light-blue) !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button::after {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(287deg) brightness(100%) contrast(100%);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(60%) sepia(90%) saturate(1000%) hue-rotate(0deg) brightness(120%) contrast(100%); /* Orange arrow */
}

.accordion-body {
    background-color: var(--color-light-blue);
    color: var(--color-text-white-75);
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: var(--color-bg-disclaimer);
    border-top: 5px solid var(--color-accent-orange);
    border-bottom: 5px solid var(--color-accent-orange);
    margin-top: 50px;
    margin-bottom: 50px;
}

.disclaimer-content {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-light-orange);
}

/* Footer */
.main-footer {
    background-color: var(--color-dark-blue);
}

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

.footer-heading {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.6rem;
}

.hover-orange:hover {
    color: var(--color-accent-orange) !important;
}

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

.footer-logo-img {
    width: 120px;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

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

.footer-logo-img-18plus {
    max-width: 80px;
    height: auto;
    object-fit: contain;
    filter: brightness(1.2) saturate(1.5); /* Make 18+ icon pop */
}

/* Modals */
.modal-content {
    border: none;
}

.top-static-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#age-verification-popup .modal-content {
    border: 3px solid var(--color-accent-orange);
}

#game-modal .modal-header {
    background-color: var(--color-dark-blue);
}

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

#game-modal iframe {
    background-color: black; /* Ensure black background if iframe content is transparent */
}

#cookie-config-modal .modal-content {
    border: 3px solid var(--color-accent-orange);
}

.form-check-input:checked {
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 152, 0, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .main-header {
        padding-top: 100px; /* Adjust for smaller screens */
    }
    .site-title {
        font-size: 1.5rem;
    }
    .hero-section {
        min-height: 70vh;
        padding-top: 120px;
    }
    .section-title {
        font-size: 2.5rem;
    }
    #gameCarousel .carousel-item .row {
        flex-direction: column-reverse;
    }
    #gameCarousel .carousel-item img {
        margin-top: 30px;
    }
    .footer-logos {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .top-static-bar {
        font-size: 0.8rem;
        padding: 8px 0;
    }
    .cookie-banner {
        padding-top: 40px; /* Adjust for static bar */
        font-size: 0.9rem;
    }
    .cookie-banner .btn {
        padding: 2px 8px;
        font-size: 0.8rem;
    }
    .main-header {
        padding-top: 80px;
    }
    .site-title {
        font-size: 1.2rem;
    }
    .hero-section {
        min-height: 60vh;
        padding-top: 100px;
    }
    .hero-section h2 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .btn-lg {
        font-size: 1rem;
        padding: 10px 20px;
    }
    .section-title {
        font-size: 2rem;
    }
    .icon-large {
        font-size: 2.5rem;
    }
    .footer-logo-img {
        width: 90px;
    }
    .footer-logo-img-18plus {
        max-width: 60px;
    }
}/* New styles for .trustPillarUnit and its child elements */

.trustPillarUnit {
    /* Padding for the overall unit, top and sides */
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    /* Ensuring content within the unit is centered and readable if it's a wider block */
    max-width: 1200px; /* Example max-width, adjust as needed */
    margin-left: auto;
    margin-right: auto;
}

.trustPillarUnit h1 {
    /* Heading 1 style within the unit */
    font-size: 2.2rem; /* Not excessively large, suitable for internal section main title */
    font-family: 'Luckiest Guy', cursive; /* Using the defined heading font */
    color: var(--color-accent-orange); /* Using the accent color for prominence */
    margin-bottom: 1.5rem; /* Space below the heading */
    line-height: 1.2; /* Improved readability for multi-line titles */
}

.trustPillarUnit h2 {
    /* Heading 2 style within the unit */
    font-size: 1.8rem;
    font-family: 'Luckiest Guy', cursive;
    color: var(--color-text-light); /* Default light text color */
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.trustPillarUnit h3 {
    /* Heading 3 style within the unit */
    font-size: 1.5rem;
    font-family: 'Luckiest Guy', cursive;
    color: var(--color-accent-orange); /* Accent color for sub-headings */
    margin-bottom: 1rem;
    line-height: 1.4;
}

.trustPillarUnit h4 {
    /* Heading 4 style within the unit */
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif; /* Using the body font for smaller headings */
    font-weight: 600; /* Making it slightly bolder */
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.trustPillarUnit h5 {
    /* Heading 5 style within the unit */
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--color-text-white-75); /* Slightly muted text color */
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.trustPillarUnit p {
    /* Paragraph style within the unit */
    font-size: 1rem; /* Base font size, consistent with body */
    line-height: 1.7; /* Generous line height for good readability on dark backgrounds */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: var(--color-text-white-75); /* Muted text color for body copy */
}

.trustPillarUnit ul {
    /* Unordered list style within the unit */
    list-style: disc; /* Default disc bullet */
    padding-left: 25px; /* Indent for list items */
    margin-bottom: 1rem; /* Space below the list */
    color: var(--color-text-white-75); /* Muted text color */
}

.trustPillarUnit ul li {
    /* List item style within the unit */
    margin-bottom: 0.5rem; /* Space between individual list items */
    line-height: 1.6; /* Line height for readability */
}

/* Optional: Styles for ordered lists if needed */
.trustPillarUnit ol {
    list-style: decimal; /* Numbered list */
    padding-left: 25px;
    margin-bottom: 1rem;
    color: var(--color-text-white-75);
}

.trustPillarUnit ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
