/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A192F; /* Dark blue background */
    color: #E0E0E0; /* Light grey standard text color */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #FFD700; /* Gold for headings */
}

a {
    color: #00F0B5; /* Bright green/teal for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFD700; /* Gold on hover */
}

/* Utility Classes */
.text-gold {
    color: #FFD700 !important;
}

.text-accent-green {
    color: #00F0B5 !important;
}

.bg-dark-blue {
    background-color: #0A192F !important;
}

.bg-dark-gradient {
    background: linear-gradient(180deg, #0A192F 0%, #1A2A4A 100%);
}

.bg-dark-gradient-alt {
    background: linear-gradient(180deg, #1A2A4A 0%, #0A192F 100%);
}

.btn-primary {
    background-color: #00F0B5;
    border-color: #00F0B5;
    color: #0A192F;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none; /* Ensure no underline */
}

.btn-primary:hover {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #0A192F;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: #00F0B5;
    color: #00F0B5;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none; /* Ensure no underline */
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background-color: #00F0B5;
    color: #0A192F;
    border-color: #00F0B5;
}

.btn-accent-green {
    background-color: #00F0B5;
    border-color: #00F0B5;
    color: #0A192F;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none; /* Ensure no underline */
}

.btn-accent-green:hover {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #0A192F;
    transform: translateY(-2px);
}

.btn-outline-accent-green {
    border-color: #00F0B5;
    color: #00F0B5;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none; /* Ensure no underline */
}

.btn-outline-accent-green:hover {
    background-color: #00F0B5;
    color: #0A192F;
    border-color: #00F0B5;
    transform: translateY(-2px);
}

/* Header / Navigation */
header {
    background-color: rgba(10, 25, 47, 0.95); /* Slightly transparent dark blue */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header .navbar-brand {
    color: #FFD700;
    font-size: 1.5rem;
}

header .navbar-brand img {
    filter: brightness(1.2); /* Make logo slightly brighter */
}

.navbar-brand:focus, .navbar-brand:hover{
    color: #fff !important;
}

header .nav-link {
    color: #E0E0E0;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    text-decoration: none; /* Ensure no underline */
}

header .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #00F0B5;
    transition: width 0.3s ease-in-out;
}

header .nav-link:hover::after,
header .nav-link.active::after {
    width: 100%;
}

header .nav-link:hover,
header .nav-link.active {
    color: #00F0B5;
}

.navbar-toggler {
    border-color: #00F0B5;
}

.navbar-toggler i {
    color: #00F0B5;
    font-size: 1.8rem;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    background-image: url('graphics/uploads/gaming-bg_3.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Adjust for fixed header */
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
}

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

#hero h1 {
    font-size: clamp(1.8rem,5vw,3.5rem) !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

#hero p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Animations for Hero Section */
.animate-hero-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-hero-text.delay-1 {
    animation-delay: 0.3s;
}

.animate-hero-button {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* On Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Casino Cards Section */
.casino-card {
    background-color: #1A2A4A; /* Slightly lighter dark blue for cards */
    border: 1px solid rgba(0, 240, 181, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 240, 181, 0.3);
}

.casino-card .casino-logo {
    width: 100%;
    height: 170px;
    object-fit: contain;
    padding: 15px;
    background-color: #0A192F;
    border-bottom: 1px solid rgba(0, 240, 181, 0.2);
}

.casino-card .card-body {
    padding: 20px;
}

.casino-card .rating i {
    font-size: 1.2rem;
}

.casino-card .payment-icon {
    height: 25px;
    filter: grayscale(10%);
    transition: filter 0.3s ease;
}

.casino-card .payment-icon:hover {
    filter: grayscale(0%);
}

.advantages-list li {
    margin-bottom: 5px;
    color: #fff !important;
}

.license-link {
    color: #E0E0E0;
    text-decoration: underline;
}

.license-link:hover {
    color: #00F0B5;
}

/* Rating Grid Section */
.rating-grid .card {
    background-color: #1A2A4A;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rating-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.rating-grid .card-img-top {
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.rating-grid .card-body {
    padding: 20px;
}

.rating-grid .rating i {
    font-size: 1.1rem;
}

/* Rating Criteria Section (Accordion) */
.accordion-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    color: #E0E0E0;
    background-color: #1A2A4A;
    border-bottom: 1px solid rgba(0, 240, 181, 0.2);
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: #FFD700;
    background-color: #0A192F;
    box-shadow: inset 0 -1px 0 rgba(0, 240, 181, 0.2);
}

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

.accordion-button::after {
    filter: invert(1) brightness(1.5);
}

.accordion-body {
    background-color: #0A192F;
    color: #fff !important;
    border-top: 1px solid rgba(0, 240, 181, 0.1);
}

/* Articles Block */
.article-card {
    background-color: #1A2A4A;
    border: 1px solid rgba(0, 240, 181, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 240, 181, 0.3);
}

.article-card .card-img-top {
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 240, 181, 0.2);
}

.article-card .card-body {
    padding: 20px;
}

/* FAQ Section (Accordion) - Reuses accordion styles */
#faqAccordion .accordion-button {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

#faqAccordion .accordion-button:not(.collapsed) {
    box-shadow: inset 0 -1px 0 rgba(255, 215, 0, 0.2);
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #0A192F;
    padding-bottom: 0 !important; /* No extra padding at the bottom */
}

.disclaimer-box {
    background-color: #2C3E50; /* Darker grey-blue */
    border: 2px solid #FFD700; /* Gold border */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    color: #E0E0E0;
}

.disclaimer-box h3 {
    color: #FFD700; /* Gold for disclaimer heading */
    font-size: 1.8rem;
}

.disclaimer-box p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.disclaimer-box a {
    font-weight: 600;
    word-break: break-all;
}

/* Footer */
footer {
    background-color: #0A192F;
    padding-top: 3rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(0, 240, 181, 0.2);
}

footer .footer-brand {
    color: #FFD700;
    font-size: 1.3rem;
}

footer .footer-brand img {
    filter: brightness(1.2);
}

footer .age-restriction i {
    color: #dc3545; /* Red for 18+ icon */
}

footer .footer-links a {
    color: #fff !important;
    margin: 0 10px;
    transition: color 0.3s ease;
    text-decoration: none; /* Ensure no underline */
}

footer .footer-links a:hover {
    color: #00F0B5;
}

.responsible-gaming-logos {
    gap: 20px;
}

.footer-logo {
    max-width: 120px; /* Limit width as requested */
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

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

/* Modals */
.modal-content {
    background-color: #1A2A4A;
    border: 1px solid #00F0B5;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: #FFD700;
}

.btn-close-white {
    filter: invert(1) brightness(2); /* Makes default dark close button white */
}

.modal-body {
    color: #E0E0E0;
}

.form-control {
    background-color: #0A192F !important;
    border: 1px solid #00F0B5 !important;
    color: #E0E0E0 !important;
}

.form-control::placeholder {
    color: rgba(224, 224, 224, 0.5) !important;
}

.form-control:focus {
    border-color: #FFD700 !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25) !important;
}

.form-label {
    color: #00F0B5;
}

.invalid-feedback {
    color: #ff6b6b;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(10, 25, 47, 0.98);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }

    header .nav-link {
        padding: 10px 0;
        margin: 0;
        text-align: center;
    }

    header .nav-link::after {
        left: 50%;
        transform: translateX(-50%);
    }

   

    #hero p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    

    .casino-card .casino-logo {
        max-height: 80px;
    }

    .footer-logo {
        max-width: 100px;
    }
}
/* Data Trust Frame Container Styles */
.dataTrustFrame {
    /* Padding for the top and bottom of the container */
    padding-top: 3rem;
    padding-bottom: 3rem;
    /* Horizontal padding for the container */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    /* Sets a maximum width for the content to prevent it from stretching too wide */
    max-width: 1200px;
    /* Centers the container horizontally */
    margin-left: auto;
    margin-right: auto;
}

/* Heading 1 Styles within dataTrustFrame */
.dataTrustFrame h1 {
    /* Font size for main headings */
    font-size: 2.2rem;
    /* Bottom margin for spacing after the heading */
    margin-bottom: 1.5rem;
    /* Line height for better readability */
    line-height: 1.2;
    /* Color from the existing palette for headings */
    color: #FFD700; 
}

/* Heading 2 Styles within dataTrustFrame */
.dataTrustFrame h2 {
    /* Font size for sub-headings */
    font-size: 1.8rem;
    /* Bottom margin for spacing */
    margin-bottom: 1.2rem;
    /* Line height for better readability */
    line-height: 1.3;
    /* Color from the existing palette for headings */
    color: #FFD700;
}

/* Heading 3 Styles within dataTrustFrame */
.dataTrustFrame h3 {
    /* Font size for smaller headings */
    font-size: 1.5rem;
    /* Bottom margin for spacing */
    margin-bottom: 1rem;
    /* Line height for better readability */
    line-height: 1.4;
    /* Color from the existing palette for headings */
    color: #FFD700;
}

/* Heading 4 Styles within dataTrustFrame */
.dataTrustFrame h4 {
    /* Font size for even smaller headings */
    font-size: 1.3rem;
    /* Bottom margin for spacing */
    margin-bottom: 0.8rem;
    /* Line height for better readability */
    line-height: 1.5;
    /* Color from the existing palette for headings */
    color: #FFD700;
}

/* Heading 5 Styles within dataTrustFrame */
.dataTrustFrame h5 {
    /* Font size for minor headings */
    font-size: 1.1rem;
    /* Bottom margin for spacing */
    margin-bottom: 0.6rem;
    /* Line height for better readability */
    line-height: 1.6;
    /* Color from the existing palette for headings */
    color: #FFD700;
}

/* Paragraph Styles within dataTrustFrame */
.dataTrustFrame p {
    /* Standard font size for paragraph text */
    font-size: 1rem;
    /* Bottom margin for spacing between paragraphs */
    margin-bottom: 1rem;
    /* Line height for improved readability of long text blocks */
    line-height: 1.7;
    /* Standard text color from the general styles */
    color: #E0E0E0;
}

/* Unordered List Styles within dataTrustFrame */
.dataTrustFrame ul {
    /* Default list style type */
    list-style-type: disc;
    /* Left margin for indentation of the list */
    margin-left: 1.5rem;
    /* Bottom margin for spacing after the list */
    margin-bottom: 1rem;
    /* No additional padding on the left */
    padding-left: 0;
    /* Standard text color for list items */
    color: #E0E0E0;
}

/* List Item Styles within dataTrustFrame */
.dataTrustFrame li {
    /* Bottom margin for spacing between list items */
    margin-bottom: 0.5rem;
    /* Line height for better readability of list item text */
    line-height: 1.6;
    /* Standard text color for list items */
    color: #E0E0E0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .dataTrustFrame {
        /* Adjust horizontal padding for smaller screens */
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .dataTrustFrame h1 {
        font-size: 1.8rem;
    }

    .dataTrustFrame h2 {
        font-size: 1.5rem;
    }

    .dataTrustFrame h3 {
        font-size: 1.3rem;
    }

    .dataTrustFrame h4 {
        font-size: 1.1rem;
    }

    .dataTrustFrame h5 {
        font-size: 1rem;
    }

    .dataTrustFrame p {
        font-size: 0.95rem;
    }

    .dataTrustFrame ul {
        margin-left: 1rem;
    }
}


.card-text, footer p{
    color: #fff !important;
}


 #age-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #000;
    background: rgb(0 0 0 / 96%);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}


 #age-popup.active {
    display: flex; 
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 300px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.buttons {
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-yes {
    background-color: green;
    color: white;
    margin-right: 10px;
}

.btn-no {
    background-color: red;
    color: white;
}

.btn-group, .btn-group-vertical{
    flex-wrap: wrap;
}

.text-body{
    color: #fff !important;
}