/* Custom CSS for SocialEliteBet */

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #36454F; /* Dark gray for general text */
    background-color: #F8F8F8; /* Light background */
}

.has-text-primary-dark {
    color: #2E7D32 !important; /* Darker green for headings and important text */
}

.has-background-light-green {
    background-color: #E8F5E9; /* Light green background for sections */
}

.is-primary-gradient {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%); /* Green gradient */
}

.button.is-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

.button.is-primary:hover {
    background-color: #66BB6A;
    border-color: #66BB6A;
}

.button.is-danger {
    background-color: #EF5350;
    border-color: #EF5350;
    color: #fff;
}

.button.is-danger:hover {
    background-color: #E57373;
    border-color: #E57373;
}

.button.is-info {
    background-color: #26C6DA;
    border-color: #26C6DA;
    color: #fff;
}

.button.is-info:hover {
    background-color: #4DD0E1;
    border-color: #4DD0E1;
}

.title, .subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.section {
    padding: 3rem 1.5rem;
}

/* Header Strip */
.age-restriction-strip {
background-color: #EF5350 !important;
    color: #fff;
    font-size: 0.8rem;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background-color: rgba(76, 175, 80, 0.9); /* Slightly transparent green */
}

.navbar-brand .logo-img {
    max-height: 2.5rem;
    width: auto;
}

.navbar-item {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-item:hover {
    color: #E8F5E9; /* Lighter green on hover */
}

.navbar-burger span {
    background-color: #fff;
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: #4CAF50;
    }
    .navbar-item {
        color: #fff;
    }
}

/* Hero Section */
.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-top: 1rem;
}

.hero-description {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.hero-image {
    max-width: 500px;
    margin: 0 auto;
    padding-top: 2rem;
}

/* About Us Section */
.about-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* Why Play With Us Section */
.why-us-list .columns.is-multiline {
    align-items: stretch;
}

.why-us-list .box {
    height: 100%;
}

.feature-box {
    border: 1px solid #B9F6CA; /* Light green border */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.crossed-out-icon {
    position: relative;
    display: inline-block;
}

.crossed-out-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #EF5350; /* Red line */
    transform: rotate(-45deg);
    transform-origin: center;
}

/* Our Exclusive Adventures (Local Games) */
.game-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.game-card .card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* How It Works Section */
.how-it-works-step {
    border: 1px solid #B9F6CA;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.how-it-works-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonial-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-card .media-content .subtitle {
    font-size: 0.75rem;
    color: #757575;
    margin-top: 0 !important;
}

/* FAQ Accordion */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid #B9F6CA;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    cursor: pointer;
    background-color: #E8F5E9; /* Light green for header */
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #DCEDC8; /* Even lighter green on hover */
}

.accordion-header .icon {
    color: #2E7D32;
}

.accordion-content {
    padding: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #fff;
}

.accordion-item.is-active .accordion-content {
    max-height: 200px !important; /* Adjust as needed for content */
    padding: 1.5rem !important;
}

.accordion-item.is-active .accordion-header .icon .fa-plus {
    display: none;
}

.accordion-item:not(.is-active) .accordion-header .icon .fa-minus {
    display: none;
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #FFEBEE; /* Light red */
    border-top: 5px solid #EF5350; /* Red border */
    border-bottom: 5px solid #EF5350;
    padding: 3rem 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(239, 83, 80, 0.2);
}

.disclaimer-block .icon {
    color: #EF5350;
}

/* Footer */
.footer {
    background-color: #2E7D32; /* Dark green */
    color: #fff;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-logo {
    max-height: 2.5rem;
    width: auto;
}

.footer-link {
    color: #fff;
    margin: 0 0.75rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #B9F6CA; /* Light green on hover */
}

.social-icons .icon {
    color: #fff;
    transition: transform 0.3s ease;
}

.social-icons .icon:hover {
    transform: scale(1.2);
    color: #B9F6CA;
}



.footer-partner-logos {
    gap: 20px;
    margin-top: 2rem;
    background: #00000052;
    border-radius: 50px;
    padding: 15px 0;
}

.footer-logo-item img {
    max-width: 120px; /* Limit width as specified */
    height: auto;
    display: block;
    filter: brightness(1.1); /* Ensure logos are visible on dark background */
}

.is-18-plus-icon {
    position: relative;
    color: #EF5350; /* Red color for the icon */
    font-size: 1.5rem;
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-18-plus-icon .age-text {
    position: absolute;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Modals */
.modal.age-verification-modal .modal-content, .modal.cookie-consent-modal .modal-content {
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.modal.age-verification-modal .box, .modal.cookie-consent-modal .box {
    border-radius: 8px;
    background-color: #F0F4C3; /* Light yellowish-green */
    border: 2px solid #AED581;
}

.modal.game-modal {
    z-index: 1000;
}

.modal.game-modal .modal-content {
    width: 100vw;
    height: 100vh;
    max-width: none;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal.game-modal .modal-background {
    background-color: transparent;
}

.modal.game-modal iframe {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    border: none;
}

.modal.game-modal .modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.modal.game-modal .modal-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Cookie Consent Switches */
.switch[type="checkbox"] {
    height: 1.5em;
    width: 2.75em;
    border-radius: 9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #E0E0E0;
    outline: none;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.switch[type="checkbox"]::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    height: 1.2em;
    width: 1.2em;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.switch[type="checkbox"]:checked {
    background-color: #4CAF50;
}

.switch[type="checkbox"]:checked::before {
    transform: translateX(1.25em);
}

.switch[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.switch[type="checkbox"] + label {
    vertical-align: middle;
    margin-left: 0.5em;
    cursor: pointer;
    font-weight: 600;
    color: #36454F;
}

.switch[type="checkbox"]:disabled + label {
    cursor: not-allowed;
}



/* Responsive adjustments */


@media screen and (max-width: 768px) {
    .button.is-large {
            flex-wrap: wrap;
    padding: 10px;
    font-size: 20px;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero-description {
        font-size: 1rem !important;
    }
    .footer-partner-logos {
        flex-direction: column;
        gap: 15px;
    }
    .footer-logo-item {
        margin: 0.5rem 0;
    }
    .is-18-plus-icon {
        margin-left: 0;
        margin-top: 1rem;
    }
    .navbar-item {
        text-align: center;
    }
    .navbar-brand {
        justify-content: center;
    }
    .navbar-burger {
        position: absolute;
        right: 1rem;
        top: 1rem;
    }
    .modal.age-verification-modal .modal-content, .modal.cookie-consent-modal .modal-content {
        margin: 1rem;
    }
}/* Custom CSS for SocialEliteBet - New Typography Styles */

.rightsFieldUnit {
    /* Padding for the content block */
    padding: 2.5rem 2rem;
    /* Max width to keep content readable */
    max-width: 960px;
    /* Center the content block */
    margin: 3rem auto;
    /* Background and border for the content block */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.rightsFieldUnit h1 {
    /* Heading 1 styles */
    font-size: 2rem; /* Moderate size for content sections */
    font-weight: 700;
    line-height: 1.3;
    color: #2E7D32; /* Darker green from primary palette */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.rightsFieldUnit h2 {
    /* Heading 2 styles */
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.4;
    color: #36454F; /* Dark gray */
    margin-top: 2rem;
    margin-bottom: 0.9rem;
}

.rightsFieldUnit h3 {
    /* Heading 3 styles */
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    color: #36454F;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.rightsFieldUnit h4 {
    /* Heading 4 styles */
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    color: #36454F;
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
}

.rightsFieldUnit h5 {
    /* Heading 5 styles */
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    color: #36454F;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
}

.rightsFieldUnit p {
    /* Paragraph styles */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #36454F;
}

.rightsFieldUnit ul {
    /* Unordered list styles */
    list-style: disc; /* Default disc style */
    margin-left: 1.8rem; /* Indentation for list items */
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.rightsFieldUnit ol {
    /* Ordered list styles */
    list-style: decimal; /* Default decimal style */
    margin-left: 1.8rem; /* Indentation for list items */
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.rightsFieldUnit ul li,
.rightsFieldUnit ol li {
    /* List item styles for both ul and ol */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.6rem;
    color: #36454F;
}

.modal-card, .modal-content {
    margin: 0;
    max-height: calc(100vh);
}
