:root {
    --primary-blue: #66b3ff; /* Un azul claro vibrante */
    --secondary-pink: #ff99cc; /* Un rosa suave */
    --background-white: #f8f9fa; /* Blanco roto para el fondo */
    --text-dark: #343a40; /* Gris oscuro para texto principal */
    --text-light: #ffffff; /* Blanco para texto en fondos oscuros */
    --accent-color: #007bff; /* Azul más oscuro para acentos */
    --border-color: #dee2e6;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-white);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-pink);
    margin: 10px auto 0;
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue);
}

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

section {
    padding: 80px 0;
    overflow: hidden;
}

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

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
    box-shadow: 0 4px 8px var(--shadow-light);
}

.btn-primary:hover {
    background-color: #55aaff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
}

.btn-secondary {
    background-color: var(--secondary-pink);
    color: var(--text-light);
    box-shadow: 0 4px 8px var(--shadow-light);
}

.btn-secondary:hover {
    background-color: #ff88bb;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #6c757d;
}

.site-header {
    background-color: var(--text-light);
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    height: 50px;
}

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

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

.main-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
}

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

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

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-pink) 100%);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-content h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
    z-index: 10;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rating-criteria-section {
    background-color: var(--text-light);
}

.criteria-grid {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.criterion-item {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 26%;
}
@media screen and (width < 576px) {
    .criterion-item {
        width: 100%;
    }
}

.criterion-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.criterion-item .icon-large {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: block;
}

.criterion-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.criterion-item p {
    font-size: 0.95rem;
    color: #6c757d;
}

.progress-bar-container {
    background-color: var(--border-color);
    height: 8px;
    border-radius: 5px;
    margin-top: 20px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-pink));
    border-radius: 5px;
    transition: width 1s ease-out;
}

.rating-list-section {
    background-color: #e9f7fe;
}

.rating-item-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rating-item {
    background-color: var(--text-light);
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-light);
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    width: 100%;
}

.item-image-wrapper {
    flex: 1 1 300px;
    text-align: center;
}

.item-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

@media screen and (width < 992px) {
    .item-image-wrapper {
        flex: unset;
    }
    .item-image-wrapper img {
        max-width: 300px;
        }
}


.item-image:hover {
    transform: scale(1.03);
}

.item-details {
    flex: 2 1 400px;
}

.item-details h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

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

.star-icon {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    color: #ffc107; /* Amarillo para estrellas */
    font-size: 1.8rem;
}

.star-icon.half-filled {
    font-variation-settings: 'FILL' 1;
    -webkit-text-fill-color: #ffc107;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #ffc107;
}

.score-text {
    font-size: 1.4rem;
    font-weight: 600;
    margin-left: 10px;
    color: var(--text-dark);
}

.item-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.item-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.item-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #444;
}

.feature-icon {
    color: #28a745; /* Verde para los checks */
    margin-right: 10px;
    font-size: 1.4rem;
}

.item-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.license-link {
    background-color: #6c757d;
}

.license-link:hover {
    background-color: #5a6268;
}

.user-reviews-section {
    background-color: var(--background-white);
}

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

.review-card {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

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

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

.review-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.review-header .star-rating {
    margin-left: auto;
    display: flex;
}

.review-header .star-icon {
    font-size: 1.4rem;
}

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

.detailed-ratings {
    list-style: none;
    padding: 0;
    margin-top: auto;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #6c757d;
}

.detailed-ratings li {
    margin-bottom: 5px;
}

.device-tag {
    background-color: var(--secondary-pink);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    align-self: flex-start;
}

.faq-section {
    background-color: #f0f8ff;
}

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

.faq-item {
    background-color: var(--text-light);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px var(--shadow-light);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--primary-blue);
}

.faq-question .expand-icon {
    font-size: 1.8rem;
    color: var(--secondary-pink);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Suficiente para la mayoría de las respuestas */
    padding: 15px 25px 25px;
}

.disclaimer-section {
    background-color: #fff3cd; /* Color de advertencia */
    border-top: 5px solid #ffc107; /* Borde superior amarillo */
    padding: 60px 0;
    text-align: center;
    color: #856404; /* Texto oscuro para contraste */
    margin-top: 40px;
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--text-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.disclaimer-content .warning-icon {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 20px;
    display: block;
}

.disclaimer-content h2 {
    color: #856404;
    margin-bottom: 20px;
}

.disclaimer-content p, .disclaimer-content ul {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: left;
    color: #6c757d;
}

.disclaimer-content ul {
    list-style-type: disc;
    padding-left: 25px;
}

.disclaimer-content ul li {
    margin-bottom: 5px;
}

.disclaimer-content a {
    color: #007bff;
    text-decoration: underline;
}

.disclaimer-content a:hover {
    color: #0056b3;
}

.disclaimer-content .age-restriction {
    font-weight: 700;
    color: #dc3545;
    font-size: 1.1rem;
    margin-top: 20px;
    text-align: center;
}

.site-footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
    font-size: 0.9rem;
    text-align: center;
}

.site-footer a {
    color: var(--secondary-pink);
}

.site-footer a:hover {
    color: var(--primary-blue);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: left;
    margin-bottom: 40px;
    gap: 30px;
}

.footer-brand, .footer-links {
    flex: 1;
    min-width: 250px;
}

.site-logo-footer {
    height: 45px;
    margin-bottom: 15px;
}

.company-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.company-email, .update-info, .review-count {
    margin-bottom: 5px;
    color: #cccccc;
}

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

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.responsible-gaming-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}

.footer-img, .footer-img-18plus {
    max-width: 120px;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-img-18plus {
    max-width: 60px;
}

.modal-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;
}

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

.modal-content {
    background-color: var(--text-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-medium);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.age-verification-content .age-icon {
    width: 80px;
    margin-bottom: 20px;
}

.age-verification-content h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.age-verification-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
}

.age-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* width: 100%; */
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    z-index: 1500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}

.cookie-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.cookie-banner a {
    color: var(--secondary-pink);
    text-decoration: underline;
}

.cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
}

#cookie-settings-modal .modal-content {
    text-align: left;
}

#cookie-settings-modal h2 {
    text-align: center;
    margin-bottom: 25px;
}

.cookie-category {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-category input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-blue);
}

.cookie-category label {
    font-size: 1rem;
    color: var(--text-dark);
}

#save-cookie-selection {
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-slogan {
        font-size: 1.3rem;
    }
    .site-header .container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav li {
        margin: 0 15px 10px;
    }
    .rating-item {
        flex-direction: column;
        padding: 30px;
    }
    .item-image-wrapper {
        margin-bottom: 30px;
    }
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand, .footer-links {
        min-width: unset;
        width: 100%;
    }
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }
    .footer-links li {
        margin-bottom: 0;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner .cookie-buttons {
        width: 100%;
        justify-content: space-around;
    }
    .cookie-banner .btn {
        flex: 1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    section {
        padding: 60px 0;
    }
    .hero-section {
        min-height: 60vh;
        padding: 80px 0;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-slogan {
        font-size: 1.1rem;
    }
    .criteria-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }
    .rating-item {
        padding: 25px;
    }
    .item-details h3 {
        font-size: 1.8rem;
    }
    .score-text {
        font-size: 1.2rem;
    }
    .item-actions {
        flex-direction: column;
    }
    /* .btn {
        width: 100%;
    } */
    .faq-question h3 {
        font-size: 1rem;
    }
    .disclaimer-content {
        padding: 30px;
    }
    .disclaimer-content .warning-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-slogan {
        font-size: 1rem;
    }
    .site-logo {
        height: 40px;
    }
    .main-nav li {
        margin: 0 10px 10px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .review-avatar {
        width: 50px;
        height: 50px;
    }
    .review-header h4 {
        font-size: 1.1rem;
    }
    .modal-content {
        padding: 25px;
    }
    .age-buttons .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    .cookie-banner p {
        font-size: 0.85rem;
    }
}/*
 * Parent container for content.
 * Provides overall padding for the content block.
 */
.regShieldWrap {
    padding-top: 30px; /* Top padding for the content */
    padding-left: 20px; /* Left padding for the content */
    padding-right: 20px; /* Right padding for the content */
}

/*
 * Heading styles for h1-h5 within .regShieldWrap.
 * Font sizes are set to be moderate, not excessively large,
 * using 'rem' for better scalability.
 */
.regShieldWrap h1 {
    font-size: 1.75rem; /* Approximately 28px if base font is 16px */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Line height for better readability */
    margin-top: 1.5em; /* Top margin for separation from preceding content */
    margin-bottom: 0.75em; /* Bottom margin for separation from following content */
}

.regShieldWrap h2 {
    font-size: 1.5rem; /* Approximately 24px */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.regShieldWrap h3 {
    font-size: 1.25rem; /* Approximately 20px */
    font-weight: 700;
    line-height: 1.4;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
}

.regShieldWrap h4 {
    font-size: 1.125rem; /* Approximately 18px */
    font-weight: 700;
    line-height: 1.5;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.regShieldWrap h5 {
    font-size: 1rem; /* Approximately 16px, but bold */
    font-weight: 700;
    line-height: 1.5;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

/*
 * Paragraph styles within .regShieldWrap.
 * Sets a standard font size, line height, and bottom margin for text blocks.
 */
.regShieldWrap p {
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.6; /* Optimal line height for readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

/*
 * Unordered list (ul) styles within .regShieldWrap.
 * Provides default bullet points and proper indentation.
 */
.regShieldWrap ul {
    list-style-type: disc; /* Default bullet style */
    margin-bottom: 1em; /* Space after the list */
    padding-left: 25px; /* Indent for bullet points to be visible */
}

/*
 * List item (li) styles within .regShieldWrap.
 * Adds spacing between individual list items for better readability.
 */
.regShieldWrap li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.6; /* Consistent line height with paragraphs for readability */
}
.logo-link {
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: 600;
    justify-content: center;
}
@media screen and (width <576px) {
    .main-nav {
        display: none;
    }
}