* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-bg: #0a192f;
    --secondary-bg: #1a2a44;
    --accent-color: #00bcd4;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --border-color: #334a66;
    --button-hover-bg: #00a0b2;
    --error-color: #dc3545;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.section-padding {
    padding: 80px 0;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--heading-color);
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--heading-color);
    margin-bottom: 40px;
    text-align: center;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--accent-color);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
    margin-bottom: 15px;
}

ul li {
    margin-bottom: 8px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    border: none;
    text-decoration: none;
    transition: background-color 0.1s ease;
}

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

.btn-primary:hover {
    background-color: var(--button-hover-bg);
}

.btn-secondary {
    background-color: var(--secondary-bg);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

/* Modal Overlay */
.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: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.1s ease;
}

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

.modal-content {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.modal-content p {
    margin-bottom: 15px;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.modal-actions .btn {
    min-width: 120px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    padding: 15px 0;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.1s ease;
}

.cookie-banner.active {
    visibility: visible;
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-content p {
    margin-bottom: 0;
    text-align: center;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-actions .btn {
    min-width: 100px;
    padding: 8px 15px;
}

/* Top Header Info */
.top-header-info {
    background-color: #000;
    color: #ccc;
    padding: 10px 0;
    font-size: 0.85rem;
    text-align: center;
}

.top-header-info .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main Header */
.main-header {
    background-color: var(--secondary-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

.site-name {
    color: var(--heading-color);
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    font-weight: 700;
}

.main-nav .nav-links {
    display: flex;
    gap: 30px;
    margin-bottom: 0;
}

.main-nav .nav-links a {
    color: var(--text-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.main-nav .nav-links a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.1s ease;
}

.main-nav .nav-links a:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--heading-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url(static/media/casino-table-background_6.jpg); /* Using macro for background image */
    background-size: cover;
    background-position: center;
    color: var(--heading-color);
    padding: 50px 0;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.hero-content ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-content ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--accent-color);
}

.hero-content ul li i {
    font-size: 1.2rem;
}

.anj-license-info {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-top: 20px;
    margin-bottom: 30px;
}

/* About Section */
.about-section {
    background-color: var(--secondary-bg);
}

.about-section ul {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
}

.about-section ul li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Detailed Ranking Section */
.detailed-ranking-section {
    background-color: var(--primary-bg);
}

.ranking-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ranking-entry {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid var(--border-color);
    width: 100%; /* User specified 100% width for each card */
}

.casino-image-link {
    display: block;
    width: 100%;
    text-align: center;
}

.casino-logo {
    width: 300px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
}

.ranking-entry h3 {
    color: var(--heading-color);
    margin-bottom: 0;
}

.overall-score {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.overall-score i {
    color: var(--accent-color);
}

.bonus-info {
    font-weight: 600;
    color: var(--heading-color);
    font-size: 1.05rem;
}

.key-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.key-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.key-features li i {
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.short-description {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.license-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #aaa;
}

.anj-badge {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.ranking-entry .btn {
    margin-top: 15px;
}

/* Responsible Gaming Section */
.responsible-gaming-section {
    background-color: var(--secondary-bg);
}

.responsible-gaming-section h3 {
    color: var(--heading-color);
    margin-top: 30px;
}

.responsible-gaming-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 20px;
}

.responsible-gaming-section ul li {
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Trust Section */
.trust-section {
    background-color: var(--primary-bg);
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.trust-badge-item {
    background-color: var(--secondary-bg);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.trust-badge-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.trust-badge-item h3 {
    font-size: 20px;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.trust-badge-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Strategies Section */
.strategies-section {
    background-color: var(--secondary-bg);
}

/* Reviews Section */
.reviews-section {
    background-color: var(--primary-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background-color: var(--secondary-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.reviewer-name {
    font-weight: 600;
    color: var(--heading-color);
    font-size: 1.1rem;
}

.review-stars {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.review-stars i {
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    flex-grow: 1;
}

.review-date {
    font-size: 0.85rem;
    color: #aaa;
    text-align: right;
}

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

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

.faq-item {
    background-color: var(--primary-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: var(--primary-bg);
    color: var(--heading-color);
    padding: 20px 25px;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.1s ease;
}

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

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-color);
    transition: max-height 0.1s ease, padding 0.1s ease;
}

.faq-item.active .faq-answer {
    max-height: fit-content; /* Adjust as needed for content */
    padding: 15px 25px 20px 25px;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #1f3a5f; /* Distinct background */
    border-top: 5px solid var(--error-color);
    border-bottom: 5px solid var(--error-color);
    padding: 60px 0;
}

.disclaimer-content {
    background-color: #1a2a44; /* Slightly lighter for content */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--error-color);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.disclaimer-header i {
    font-size: 2.5rem;
    color: var(--error-color);
}

.disclaimer-header h2 {
    margin-bottom: 0;
    text-align: left;
    color: var(--error-color);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.disclaimer-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.disclaimer-content strong {
    color: var(--accent-color);
}

/* Footer */
.site-footer {
    background-color: var(--secondary-bg);
    padding: 50px 0 20px 0;
    color: var(--text-color);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

.site-footer .footer-top {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}
footer .footer-top {
    justify-content: space-around;
}
 

.site-footer .footer-brand .logo-container {
    margin-bottom: 15px;
}

.site-footer .footer-brand p {
    font-size: 0.8rem;
    color: #aaa;
}

 

.site-footer .footer-links h3 {
    color: var(--heading-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-align: left;
}

.site-footer .footer-links ul li {
    margin-bottom: 10px;
}

.site-footer .footer-links a {
    color: var(--text-color);
}

.site-footer .footer-links a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
}

.footer-org-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-org-logos img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.footer-org-logos .age-icon {
    max-width: 50px;
    height: auto;
}

.copyright {
    font-size: 0.8rem;
    color: #aaa;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .main-nav .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background-color: var(--secondary-bg);
        padding: 40px 20px 0 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transform: translateX(100%);
        transition: transform 0.1s ease;
        z-index: 490;
    }

    .main-nav .nav-links.active {
        transform: translateX(0);
    }

    .main-nav .nav-links li {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .main-nav .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 1.2rem;
    }

    .burger-menu {
        display: block;
    }

    .hero-content ul {
        flex-direction: column;
    }

    .hero-content ul li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

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

    h3 {
        font-size: clamp(1.25rem, 3vw, 1.8rem);
    }

    .site-name {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
    }
 

    .hero-content p {
        font-size: 1rem;
    }

    .anj-license-info {
        font-size: 0.95rem;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-actions .btn {
        min-width: unset;
        width: 100%;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions .btn {
        width: 100%;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer .footer-links h3 {
        text-align: center;
    }

    .site-footer .footer-links ul {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .casino-logo {
        width: 100%;
    }
    .site-logo {
        height: 30px;
    }

    .site-name {
        font-size: 1.1rem;
    }

    .top-header-info p {
        font-size: 0.75rem;
    }

    .hero-content ul {
        gap: 10px;
    }

    .hero-content ul li {
        font-size: 0.9rem;
    }

    .ranking-entry {
        padding: 20px;
    }

    .reviewer-avatar {
        width: 50px;
        height: 50px;
    }

    .reviewer-name {
        font-size: 1rem;
    }

    .review-text {
        font-size: 0.9rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 10px 20px 15px 20px;
    }

    .disclaimer-header h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .disclaimer-header i {
        font-size: 2rem;
    }

    .footer-org-logos img {
        max-width: 90px;
    }
}/* Parent container for terms and conditions */
.termsCaveBox {
    padding-top: 40px; /* Top padding for the content box */
    padding-left: 20px; /* Left padding for the content box */
    padding-right: 20px; /* Right padding for the content box */
    /* You might want to add padding-bottom as well, e.g., padding-bottom: 40px; */
}

/* Heading 1 styles within termsCaveBox */
.termsCaveBox h1 {
    font-size: 28px; /* Moderate font size for main headings */
    font-weight: 700; /* Bold font weight */
    margin-top: 40px; /* Spacing above the heading */
    margin-bottom: 20px; /* Spacing below the heading */
    line-height: 1.2; /* Tighter line height for headings */
}

/* Heading 2 styles within termsCaveBox */
.termsCaveBox h2 {
    font-size: 24px; /* Moderate font size for sub-headings */
    font-weight: 600; /* Semi-bold font weight */
   
    margin-bottom: 15px; /* Spacing below the heading */
    line-height: 1.3;
}

/* Heading 3 styles within termsCaveBox */
.termsCaveBox h3 {
    font-size: 20px; /* Smaller heading font size */
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Heading 4 styles within termsCaveBox */
.termsCaveBox h4 {
    font-size: 18px; /* Even smaller heading font size */
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Heading 5 styles within termsCaveBox */
.termsCaveBox h5 {
    font-size: 17px; /* Smallest heading font size, slightly larger than body */
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Paragraph styles within termsCaveBox */
.termsCaveBox p {
    font-size: 16px; /* Standard body text font size */
    line-height: 1.6; /* Good line height for readability */
    margin-bottom: 1em; /* Spacing between paragraphs */
}

/* Unordered list styles within termsCaveBox */
.termsCaveBox ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1em; /* Spacing above the list */
    margin-bottom: 1em; /* Spacing below the list */
    padding-left: 25px; /* Indentation for bullet points */
}

/* List item styles within termsCaveBox */
.termsCaveBox li {
    font-size: 16px; /* Inherit or set explicitly */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5em; /* Spacing between list items */
}
.close-menu {
    display: none;
    position: absolute;
    top: 20px;
    left: 90%;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .close-menu {
        display: block;
    }
}