/* General styles */
:root {
    --primary-blue: #64B5F6; /* Light Blue */
    --secondary-blue: #90CAF9; /* Lighter Blue */
    --dark-blue: #2196F3; /* Medium Blue */
    --text-dark: #333333;
    --text-light: #f8f8f8;
    --background-light: #F8F9FA;
    --background-medium: #E3F2FD; /* Very light blue for sections */
    --border-light: #E0E0E0;
    --warning-red: #E53935;
    --success-green: #4CAF50;
    --neutral-grey: #616161;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
    position: relative;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.2;
}

h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8em;
    margin-bottom: 40px;
    color: var(--dark-blue);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-blue);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 60px;
    color: var(--neutral-grey);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--background-light);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-play {
    background-color: var(--success-green);
    color: var(--text-light);
    padding: 10px 20px;
    font-size: 1.1em;
}

.btn-play:hover {
    background-color: #43A047; /* Darker green */
}

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
    vertical-align: middle;
    margin-right: 5px;
}

.check-icon {
    color: var(--success-green);
    font-size: 1.1em;
}

.verified-icon {
    color: var(--success-green);
    font-size: 1.2em;
}

.text-green-500 {
    color: var(--success-green);
}

.text-red-500 {
    color: var(--warning-red);
}

/* Header */
.main-header {
    background-color: var(--dark-blue);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.logo span {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

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

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

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

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

.age-warning {
    background-color: var(--warning-red);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    font-size: 0.9em;
}

.age-warning .material-symbols-outlined {
    font-size: 1.2em;
    margin-right: 5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--text-light);
    padding: 120px 0;
    text-align: left;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap-reverse;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    color: var(--text-light);
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--background-medium);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.benefits-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.benefit-item {
    background-color: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item .benefit-icon {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: 10px;
    display: block;
}

.benefit-item h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-dark);
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-text h2 {
    text-align: left;
    margin-bottom: 25px;
}

.intro-text h2::after {
    margin-left: 0;
}

.intro-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Rating List Section */
.rating-list-section {
    background-color: var(--background-medium);
}

.rating-grid {
    display: flex;
    flex-direction: column; /* Stacks cards vertically by default */
    gap: 40px;
}

.rating-card {
    background-color: var(--text-light);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rating-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.rating-card .card-header {
    display: flex;
    align-items: center;
    padding: 25px;
    background-color: var(--background-medium);
    border-bottom: 1px solid var(--border-light);
}

.rating-card .platform-logo-link {
    display: block;
    margin-right: 20px;
}

.rating-card .platform-logo {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: contain;
    background-color: #fff;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.rating-card .platform-info h3 {
    margin: 0 0 5px 0;
    color: var(--dark-blue);
    font-size: 1.8em;
}

.rating-card .welcome-bonus {
    margin: 0;
    font-size: 1em;
    color: var(--neutral-grey);
    font-weight: 600;
}

.rating-card .card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rating-card .pros-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.rating-card .pros-list li {
    margin-bottom: 8px;
    font-size: 1.05em;
    display: flex;
    align-items: center;
}

.rating-card .pros-list .check-icon {
    margin-right: 10px;
    font-size: 1.3em;
}

.rating-score-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rating-score-wrapper .stars {
    color: #FFC107; /* Gold for stars */
    font-size: 1.5em;
    margin-right: 10px;
}

.rating-score-wrapper .stars .material-symbols-outlined {
    font-size: 1em;
    vertical-align: middle;
}

.rating-score-wrapper .score {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--dark-blue);
}

.rating-card .license-info {
    display: flex;
    align-items: center;
    color: var(--neutral-grey);
    font-size: 0.95em;
    margin-top: 15px;
}

.rating-card .license-info .verified-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.rating-card .card-footer {
    display: flex;
    padding: 25px;
    background-color: var(--background-medium);
    text-align: center;
    border-top: 1px solid var(--border-light);

    a {
        flex: 1;
    }
}

/* Horizontal card layout for larger screens */
@media (min-width: 768px) {
    .rating-card {
        flex-direction: row;
        align-items: stretch;
    }

    .rating-card .card-header {
        flex: 0 0 250px; /* Fixed width for image/logo area */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-right: 1px solid var(--border-light);
        border-bottom: none;
        padding: 30px;
    }

    .rating-card .platform-logo-link {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .rating-card .platform-logo {
        width: 100px;
        height: 100px;
    }

    .rating-card .platform-info h3 {
        font-size: 2em;
        text-align: center;
    }

    .rating-card .welcome-bonus {
        text-align: center;
    }

    .rating-card .card-body {
        flex: 1;
        padding: 30px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: center;
    }

    .rating-card .pros-list {
        margin-bottom: 0;
        grid-column: 1 / 2;
    }

    .rating-score-wrapper {
        flex-direction: column;
        align-items: flex-end;
        margin-bottom: 0;
        grid-column: 2 / 3;
        text-align: right;
    }

    .rating-score-wrapper .stars {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .rating-card .license-info {
        grid-column: 1 / 3;
        justify-content: center;
        margin-top: 0;
    }

    .rating-card .card-footer {
        flex: 0 0 180px; /* Fixed width for button area */
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid var(--border-light);
        border-top: none;
        
        a {
            flex: 1;
        }
    }
}

/* Comparison Table */
.comparison-section {
    background-color: var(--background-light);
}

.comparison-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensures horizontal scroll on smaller screens */
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1em;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: var(--background-medium);
}

.comparison-table tbody tr:hover {
    background-color: var(--secondary-blue);
    color: var(--text-light);
}

.comparison-table tbody tr:hover td {
    color: var(--text-light);
}

.comparison-table td .material-symbols-outlined {
    font-size: 1.3em;
    vertical-align: middle;
}

/* Tooltip styles */
[data-tooltip] {
    position: relative;
    cursor: help;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    background-color: var(--dark-blue);
    color: var(--text-light);
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the element */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.9em;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Allows clicks on elements below */
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-blue) transparent transparent transparent;
}

[data-tooltip]:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* TOP Bonuses Section */
.top-bonuses-section {
    background-color: var(--background-medium);
}

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

.bonus-card {
    background-color: var(--text-light);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bonus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.bonus-card .bonus-image {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.bonus-card h3 {
    color: var(--dark-blue);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.bonus-card p {
    color: var(--neutral-grey);
    margin-bottom: 25px;
}

/* Rating Criteria Section */
.criteria-section {
    background-color: var(--background-light);
}

.criteria-grid {
    gap: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

}


.criterion-item {
    width: calc(45% - 60px) ;
    background-color: var(--background-medium);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.criterion-item .criterion-icon {
    font-size: 3em;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: block;
    width: 100%;
}

.criterion-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.criterion-item p {
    color: var(--neutral-grey);
    font-size: 0.95em;
    margin-bottom: 20px;
}

.progress-bar-wrapper {
    background-color: var(--border-light);
    height: 15px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 15px;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0%; /* Initial state for animation */
    background-color: var(--success-green);
    border-radius: 5px;
    transition: width 1s ease-out;
}

.progress-bar-wrapper .progress-label {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    font-weight: 600;
    color: var(--text-dark);
}

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

.faq-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.faq-item {
    width: calc(45% - 50px);
    background-color: var(--text-light);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.faq-question {
    padding: 20px 25px;
    margin: 0;
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-size: 1.3em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--dark-blue);
}

.faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: #fff;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust based on content height */
    padding: 20px 25px;
}

.faq-answer p {
    margin: 0;
    color: var(--neutral-grey);
}

/* Guides Section */
.guides-section {
    background-color: var(--background-light);
}

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

.guide-card {
    background-color: var(--background-medium);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.guide-card .guide-image {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.guide-card h3 {
    color: var(--dark-blue);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.guide-card p {
    color: var(--neutral-grey);
    margin-bottom: 0;
}

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

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

.review-card {
    background-color: var(--text-light);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border: 1px solid var(--border-light);
}

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

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-blue);
}

.review-meta h4 {
    margin: 0;
    font-size: 1.2em;
    color: var(--dark-blue);
}

.review-meta .review-date {
    font-size: 0.9em;
    color: var(--neutral-grey);
}

.review-card .stars {
    color: #FFC107;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.review-card .stars .material-symbols-outlined {
    font-size: 1em;
}

.review-text {
    font-style: italic;
    color: var(--neutral-grey);
    margin-bottom: 0;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--background-light);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--background-medium);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: calc(100% - 24px); /* Account for padding */
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    margin-top: 10px;
}

.error-message {
    color: var(--warning-red);
    font-size: 0.85em;
    margin-top: 5px;
    display: none; /* Hidden by default */
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--warning-red);
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #FFF3E0; /* Light orange/yellow background for warning */
    border-top: 5px solid var(--warning-red);
    padding: 60px 0;
    text-align: center;
    color: #333;
    margin-top: 50px;
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #FFCC80; /* Lighter orange border */
    border-radius: 10px;
    background-color: #FFF9F2; /* Even lighter background for inner content */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.disclaimer-icon {
    font-size: 3em;
    color: var(--warning-red);
    margin-bottom: 15px;
    display: block;
    width: 100%;
}

.disclaimer-title {
    color: var(--warning-red);
    font-size: 2em;
    margin-bottom: 20px;
}

.disclaimer-block p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.disclaimer-block p strong {
    color: var(--warning-red);
}

.disclaimer-block .support-links {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.disclaimer-block .support-links li a {
    color: var(--dark-blue);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.disclaimer-block .support-links li a:hover {
    color: var(--primary-blue);
}

/* Footer */
.main-footer {
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 50px 0 20px;
    text-align: center;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

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

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav li {
    margin: 0 15px;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--secondary-blue);
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.footer-img-link img {
    max-width: 130px; /* Adjusted width for footer logos */
    height: auto;
    display: block;
    filter: brightness(0.9) saturate(0.9); /* Slightly desaturate to blend with dark background */
    transition: filter 0.3s ease;
}

.footer-img-link img:hover {
    filter: brightness(1) saturate(1.1); /* Slight enhancement on hover */
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.footer-age-warning {
    background-color: var(--warning-red);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    font-size: 0.9em;
    margin-top: 15px; /* Added margin for separation */
}

.footer-age-warning .material-symbols-outlined {
    font-size: 1.2em;
    margin-right: 5px;
}

/* Pop-up Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.popup-content {
    background-color: var(--background-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.age-verification-content .warning-icon {
    font-size: 4em;
    color: var(--warning-red);
    margin-bottom: 20px;
}

.age-verification-content h2 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.age-verification-content p {
    font-size: 1.1em;
    color: var(--neutral-grey);
    margin-bottom: 25px;
}

.popup-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.popup-actions .btn {
    min-width: 180px;
    padding: 12px 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 20px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
    flex-grow: 1;
    font-size: 0.95em;
    line-height: 1.4;
}

.cookie-content p a {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.cookie-content p a:hover {
    color: var(--text-light);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-left: 30px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Responsive adjustments */

/* Styles for the container of rights-related content */
.rightsFieldUnit {
    padding: 30px 20px; /* Top/bottom padding and left/right padding for the content block */
    max-width: 800px; /* Maximum width for better readability of text content */
    margin: 0 auto; /* Center the content block horizontally */
    color: var(--text-dark, #333333); /* Default text color, with fallback if variable is not defined */
    line-height: 1.6; /* Standard line height for body text */
}

/* General heading styles within the rightsFieldUnit */
.rightsFieldUnit h1,
.rightsFieldUnit h2,
.rightsFieldUnit h3,
.rightsFieldUnit h4,
.rightsFieldUnit h5 {
    font-weight: 700; /* Bold font weight for headings */
    color: var(--dark-blue, #2196F3); /* Heading color, with fallback */
    line-height: 1.2; /* Tighter line height for headings */
    margin-top: 1.5em; /* Top margin to separate from previous content */
    margin-bottom: 0.8em; /* Bottom margin to separate from following content */
}

/* Specific font sizes for headings to keep them moderate */
.rightsFieldUnit h1 {
    font-size: 1.75em; /* H1 size, larger but not overly dominant */
}

.rightsFieldUnit h2 {
    font-size: 1.5em; /* H2 size */
}

.rightsFieldUnit h3 {
    font-size: 1.35em; /* H3 size */
}

.rightsFieldUnit h4 {
    font-size: 1.2em; /* H4 size */
}

.rightsFieldUnit h5 {
    font-size: 1.1em; /* H5 size, slightly larger than paragraph text */
}

/* Paragraph styles within the rightsFieldUnit */
.rightsFieldUnit p {
    font-size: 1em; /* Standard paragraph font size (e.g., 16px) */
    margin-top: 0; /* No top margin if preceded by another block-level element */
    margin-bottom: 1em; /* Bottom margin for paragraph separation */
    color: var(--text-dark, #333333); /* Paragraph text color */
}

/* List styles within the rightsFieldUnit */
.rightsFieldUnit ul,
.rightsFieldUnit ol {
    margin-top: 1em; /* Top margin for lists */
    margin-bottom: 1em; /* Bottom margin for lists */
    padding-left: 25px; /* Indentation for list markers (bullets/numbers) */
    color: var(--text-dark, #333333); /* List text color */
}

/* Unordered list specific styles */
.rightsFieldUnit ul {
    list-style-type: disc; /* Default bullet style */
}

/* Ordered list specific styles */
.rightsFieldUnit ol {
    list-style-type: decimal; /* Default numbering style */
}

/* List item styles within the rightsFieldUnit */
.rightsFieldUnit li {
    font-size: 1em; /* List item font size, consistent with paragraphs */
    margin-bottom: 0.5em; /* Margin between list items */
    line-height: 1.5; /* Line height for list items */
}

/* Reset top margin for the very first element inside rightsFieldUnit if it's a heading or paragraph */
.rightsFieldUnit > h1:first-child,
.rightsFieldUnit > h2:first-child,
.rightsFieldUnit > h3:first-child,
.rightsFieldUnit > h4:first-child,
.rightsFieldUnit > h5:first-child,
.rightsFieldUnit > p:first-child,
.rightsFieldUnit > ul:first-child,
.rightsFieldUnit > ol:first-child {
    margin-top: 0;
}

/* Ensure the last element doesn't have excessive bottom margin */
.rightsFieldUnit p:last-child,
.rightsFieldUnit ul:last-child,
.rightsFieldUnit ol:last-child {
    margin-bottom: 0;
}


.columns-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 25px;
    gap: 25px;


    .column {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex: 1;
        gap: 25px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .accordion-item {
        border-radius: 4px;
        overflow: hidden;
        position: relative;
        background: var(--primary-blue);
        border-radius: 15px;
        width: calc(50% - 45px);

        &:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: #fff;
            opacity: 0;
            transition: opacity 0.5s ease, background-position 3s ease;
            z-index: 0;
            background-size: 200% 200%;
            background-position: 0% 50%;
        }

        &.active {
            color: #000;
            box-shadow: 0px 0px 50px var(--primary-blue);
            background: none;
            background-color: var(--primary-blue);
            color: var(--text-light);

            &:before {
                opacity: 1;
                animation: accordionGradientMove 2s ease-in-out forwards;
            }

            .accordion-header {
                background: var(--primary-blue);
                border-bottom: 1px solid var(--border-light);
            }
        }
    }

    .accordion-header {
        font-size: 20.8px;
        color: #fff;
        font-weight: bold;
        position: relative;
        padding: 20px;
        cursor: pointer;
    }

    .accordion-content {
        color: var(--neutral-grey);
        position: relative;
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
    }

    @keyframes accordionGradientMove {
    0% {
        background: var(--color-gradient-bg);
        background-position: 0% 50%;
        background-size: 200% 200%;
    }
    100% {
        background: var(--color-gradient-bg);
        background-position: 100% 50%;
        background-size: 100% 100%;
    }
    }
}

@media screen and (max-width: 768px) {
    .criterion-item {
        width: 100%;
    }

    .columns-container .accordion-item {
        width: 100%;
    }
}

@media  screen and (max-width: 992px) {
    .main-nav {
        position: absolute;
        background: var(--dark-blue);
        width: 100%;
        top: 0%;
        display: none;

        &.active {
            display: block;
        }
    }

}

.star-icon {
    display: flex;
    vertical-align: middle;
    margin-right: 5px;
    width: 1em;
    height: 1em;

    width: 100%;
    height: 100%;
}




.burger {
    width: 32px;
    cursor: pointer;
    right: 2rem;
    top: 2rem;
    z-index: 20;
    display: none;
}

.burger span {
    width: 100%;
    height: 4px;
    background-color: #fff;
    border-radius: 12px;
    display: block;
    transition: background-color 0.5s ease-in-out;
}

.burger span::before,
.burger span::after {
    content: "";
    width: 100%;
    background-color: #fff;
    display: block;
    transition: all 0.5s ease-in-out;
    border-radius: 12px;
    height: 4px;
}

.burger span::before {
    transform: translateY(-10px);

}

.burger span::after {
    transform: translateY(10px);
    margin-top: -4px;
}


.burger.active span {
    background-color: transparent;
}

.burger.active span::before {
    transform: rotateZ(45deg) translateY(0);
}

.burger.active span::after {
    transform: rotateZ(-45deg) translateY(0);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .age-warning.header-age-warning {
        margin-inline: 10px;
    }
}



@media (max-width: 992px) {
 
    .burger {
        display: block;
    }
    h1 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 2em;
    }

    .section-title {
        font-size: 2.2em;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text,
    .hero-image-wrapper {
        min-width: unset;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2.5em;
    }

    .hero-text p {
        font-size: 1.1em;
    }
    .main-nav {
        display: none;
    }


    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        width: 100%;
    }

    .main-nav li {
        margin: 10px 0;
    }
    .main-nav .age-warning.header-age-warning {
        margin-inline: 0;
    }
    
    .header-content {
        position: relative;
        justify-content: space-between;
        gap: 15px;
    }

    .age-warning.header-age-warning {
        text-align: center;
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-text h2 {
        text-align: center;
    }

    .intro-text h2::after {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-nav li {
        margin: 0;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-buttons {
        margin-left: 0;
        justify-content: center;
    }

    .bonus-card {
        align-items: unset;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }
  
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .section-title {
        font-size: 2em;
    }

    .benefits-grid {
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        max-width: 90%;
        width: 100%;
    }

    .rating-card .card-body {
        grid-template-columns: 1fr; /* Stack elements vertically */
    }

    .rating-score-wrapper {
        align-items: flex-start;
        margin-top: 20px;
    }

    .rating-card .card-footer {
        padding: 20px;
    }

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