*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.theme-dark {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #182235 0, #050810 55%, #02040a 100%);
    color: #f5f5f5;
    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 80px 20px;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: #b0b3c1;
}


.section-hero,
.section-featured,
.section-casinos,
.section-comparador,
.section-ranking,
.section-guides,
.section-faq,
.section-responsible,
.section-contact {
    max-width: 1200px;
    margin: 0 auto;
}


.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #c92a2a;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 999px;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #1fd36b, #0ca656);
    color: #02040a;
    box-shadow: 0 0 0 1px rgba(31, 211, 107, 0.2), 0 10px 25px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(241, 195, 97, 0.7);
    color: #f1c361;
}

.btn-secondary:hover {
    background: rgba(241, 195, 97, 0.08);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(181, 188, 211, 0.5);
    color: #f5f5f5;
}

.btn-outline:hover {
    background: rgba(181, 188, 211, 0.12);
    text-decoration: none;
}

.btn-full {
    width: 100%;
    text-align: center;
}


.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}


.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: linear-gradient(to right, rgba(5, 8, 16, 0.96), rgba(5, 8, 16, 0.90));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.navbar-logo a {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.navbar-logo span {
    color: #1fd36b;
}

.navbar-logo .badge-18 {
    margin-left: 10px;
}

.navbar-menu {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
}

.navbar-menu a {
    padding: 8px 10px;
    border-radius: 999px;
    color: #d5d7e0;
}

.navbar-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.navbar-cta {
    display: flex;
    align-items: center;
}


.navbar-toggle {
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 1.3rem;
    cursor: pointer;
}

.navbar-menu-mobile {
    display: none;
    flex-direction: column;
    padding: 10px 20px 15px;
    gap: 8px;
    background: rgba(5, 8, 16, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar-menu-mobile a {
    padding: 8px 4px;
    border-radius: 6px;
    color: #d5d7e0;
}

.navbar-menu-mobile a:hover {
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.navbar-menu-mobile.is-open {
    display: flex;
}


.section-hero {
    align-items: center;
    padding-top: 100px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #b0b3c1;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.18);
    border: 1px solid rgba(15, 118, 110, 0.5);
}

.section-hero h1 {
    margin-top: 15px;
    font-size: 2.4rem;
    line-height: 1.2;
}

.hero-subtitle {
    margin-top: 15px;
    color: #b0b3c1;
    max-width: 540px;
}

.hero-buttons {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-disclaimer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 0.85rem;
    color: #b0b3c1;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
}


.section-hero h1 {
    margin-top: 15px;
    font-size: 2.2rem;
    line-height: 1.2;
    max-width: 15ch;
}

.hero-subtitle {
    margin-top: 15px;
    color: #b0b3c1;
    max-width: 520px;
}


.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #b0f2da;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.16);
    border: 1px solid rgba(15, 118, 110, 0.45);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.8rem;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.highlight-item i {
    color: #1fd36b;
}


.hero-aside {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    width: 100%;
    max-width: 380px;
    padding: 20px 22px;
    border-radius: 16px;
    background: radial-gradient(circle at top left, rgba(31, 211, 107, 0.18), #050816);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.hero-card h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.hero-card p {
    font-size: 0.9rem;
    color: #d0d2df;
    margin-bottom: 12px;
}

.hero-list {
    list-style: none;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.hero-list i {
    color: #1fd36b;
}

.hero-note {
    display: block;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #9ca3af;
}


.section-featured {
    margin-top: 20px;
}

.featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 30px;
}

.featured-main,
.featured-aside {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.featured-logo {
    width: 130px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #9ca3af;
    background: rgba(15, 23, 42, 0.8);
}

.featured-rating .stars i {
    color: #f1c361;
    margin-right: 2px;
}

.rating-score {
    display: inline-block;
    margin-left: 4px;
    font-weight: 700;
}

.rating-text {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
}

.featured-bonus-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.featured-bonus-card h3 i {
    margin-right: 6px;
    color: #1fd36b;
}

.featured-bonus-card ul {
    list-style: disc;
    padding-left: 18px;
    font-size: 0.9rem;
}

.featured-bonus-card li {
    margin-bottom: 6px;
}

.featured-note {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #9ca3af;
}

.featured-aside h3 {
    margin-bottom: 10px;
}

.featured-benefits {
    list-style: none;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.featured-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.featured-benefits i {
    margin-top: 2px;
    color: #1fd36b;
}

.featured-cta {
    margin-top: 4px;
}

.featured-disclaimer {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #9ca3af;
}


.casimons-grid,
.casinos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.casino-card {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 16px;
    padding: 18px 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.casino-card h3 {
    font-size: 1.1rem;
}

.casino-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.casino-rating .stars i {
    color: #f1c361;
    font-size: 0.85rem;
}

.casino-rating .score {
    font-size: 0.85rem;
    color: #d1d5db;
}

.casino-bonus,
.casino-min-deposit,
.casino-payments {
    color: #d5d7e0;
}

.casino-payments i {
    margin-right: 3px;
}

.section-cta-center {
    text-align: center;
    margin-top: 30px;
}

.section-cta-center .hint {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #9ca3af;
}


.section-comparador .table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.9);
}

.casino-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    font-size: 0.9rem;
}

.casino-table thead {
    background: rgba(15, 23, 42, 0.95);
}

.casino-table th,
.casino-table td {
    padding: 12px 14px;
    text-align: left;
}

.casino-table th {
    font-weight: 600;
    color: #e5e7eb;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.casino-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.8);
}

.casino-table tbody tr:nth-child(odd) {
    background: rgba(15, 23, 42, 0.6);
}

.comparador-note {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #9ca3af;
}


.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.criteria-item {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 16px;
    padding: 16px 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    font-size: 0.9rem;
}

.criteria-item i {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #1fd36b;
}

.criteria-item h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.ranking-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #9ca3af;
}


.guides-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.guide-item {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    font-size: 0.9rem;
}

.guide-item h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}


.section-faq .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.85);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: #f5f5f5;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "+";
    font-weight: 700;
    margin-left: 10px;
}

.faq-item.is-open .faq-question::after {
    content: "–";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease;
    padding: 0 16px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: #d1d5db;
    padding: 0 0 14px 0;
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
}


.responsible-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.responsible-block {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 16px;
    padding: 16px 16px 18px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    font-size: 0.9rem;
}

.responsible-block h3 i {
    margin-right: 6px;
    color: #f97373;
}

.responsible-block ul {
    margin-top: 6px;
    list-style: disc;
    padding-left: 18px;
}

.responsible-footer {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #e5e7eb;
}


.section-contact .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 30px;
}

.contact-info p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.contact-info i {
    margin-right: 6px;
}

.contact-socials a {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    font-size: 0.9rem;
}

.contact-socials i {
    margin-right: 4px;
}

.contact-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #9ca3af;
}

.contact-form {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: #f5f5f5;
    padding: 8px 10px;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1fd36b;
    box-shadow: 0 0 0 1px rgba(31, 211, 107, 0.6);
}

.contact-legal {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #9ca3af;
}


.site-footer {
    margin-top: 40px;
    padding: 40px 20px 20px;
    background: #02040a;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-columns {
    max-width: 1200px;
    margin: 0 auto 20px;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 26px;
    font-size: 0.9rem;
}

.footer-column h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer-column p,
.footer-column li {
    color: #d1d5db;
}

.footer-column ul {
    list-style: none;
    margin-top: 6px;
}

.footer-column li {
    margin-bottom: 5px;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-socials a {
    font-size: 1.3rem;
    margin-right: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10px;
    border-top: 1px solid rgba(55, 65, 81, 0.8);
    font-size: 0.8rem;
    color: #9ca3af;
}

.footer-disclaimer {
    margin-top: 6px;
}




@media (max-width: 992px) {

    .hero-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .casinos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .criteria-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .responsible-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-contact .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    section {
        padding: 70px 16px;
    }

    .section-hero {
        padding-top: 80px;
    }

    .hero-aside {
        justify-content: flex-start;
    }

    .hero-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-main,
    .featured-aside,
    .casino-card,
    .criteria-item,
    .guide-item,
    .responsible-block,
    .contact-form {
        padding: 16px 14px;
    }

    .casinos-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .criteria-grid,
    .guides-grid,
    .responsible-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}

.logo-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    max-width: 1120px;
    margin: 25px auto;
    justify-content: center;
}

.logo-footer a {
    height: 48px;

}

.logo-footer a img {
    height: 100%;
    object-fit: contain;
}

.section-legal,
.section-responsible {
    max-width: 1100px;
    margin: 0 auto;
}


.section-legal .section-header,
.section-responsible .section-header {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: left;
}

.section-legal .section-header h2,
.section-responsible .section-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.section-legal .section-header p,
.section-responsible .section-header p {
    color: #b0b3c1;
    font-size: 0.95rem;
}


.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 22px 24px 24px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e5e7eb;
}


.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 18px;
    margin-bottom: 8px;
    color: #f9fafb;
}

.legal-content h4 {
    font-size: 1.05rem;
    margin-top: 12px;
    margin-bottom: 6px;
    color: #e5e7eb;
}


.legal-content p {
    margin-bottom: 10px;
}


.legal-content ul,
.legal-content ol {
    margin: 6px 0 10px 1.2rem;
    padding-left: 0.4rem;
}

.legal-content li {
    margin-bottom: 6px;
}


.legal-content a {
    color: #38bdf8;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}


.legal-last-update {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #9ca3af;
}


.legal-content h3+p {
    margin-top: 2px;
}


#juego-responsable.section-responsible .legal-content {
    border-color: rgba(248, 113, 113, 0.45);
    background: radial-gradient(circle at top left,
            rgba(248, 113, 113, 0.12),
            rgba(15, 23, 42, 0.96));
}


.section-responsible .responsible-footer {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(248, 113, 113, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #f9fafb;
}

.section-responsible .responsible-footer .badge-18 {
    flex-shrink: 0;
}


.section-legal+.section-legal,
.section-legal+.section-responsible,
.section-responsible+.section-legal {
    margin-top: -20px;
}


@media (max-width: 768px) {

    .section-legal,
    .section-responsible {
        padding: 60px 14px;
    }

    .section-legal .section-header,
    .section-responsible .section-header {
        margin-bottom: 20px;
    }

    .section-legal .section-header h2,
    .section-responsible .section-header h2 {
        font-size: 1.6rem;
    }

    .legal-content {
        padding: 16px 14px 18px;
        border-radius: 14px;
        font-size: 0.9rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }

    .legal-content h4 {
        font-size: 1rem;
    }

    .section-responsible .responsible-footer {
        flex-direction: row;
        align-items: flex-start;
        font-size: 0.85rem;
    }
}

.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), #02040a);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.age-gate-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.age-gate-modal {
    max-width: 420px;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 18px;
    padding: 22px 20px 20px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    text-align: left;
}

.age-gate-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.age-gate-header h2 {
    font-size: 1.4rem;
}

.age-gate-modal p {
    font-size: 0.95rem;
    color: #e5e7eb;
    margin-bottom: 10px;
}

.age-gate-note {
    font-size: 0.85rem;
    color: #9ca3af;
}

.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.age-gate-disclaimer {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ===============================
   COOKIE BANNER & SETTINGS
   =============================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    padding: 10px 14px 14px;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #02040a);
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

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

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr);
    gap: 16px;
    align-items: center;
}

.cookie-banner-text h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.cookie-banner-text p {
    font-size: 0.85rem;
    color: #d1d5db;
}

.cookie-banner-text a {
    color: #38bdf8;
    text-decoration: none;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}



.cookie-settings-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1600;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.cookie-settings-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-settings-modal {
    max-width: 520px;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 18px;
    padding: 20px 20px 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.85);
}

.cookie-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.cookie-settings-header h3 {
    font-size: 1.2rem;
}

.cookie-settings-close {
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

.cookie-settings-intro {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-bottom: 12px;
}

.cookie-settings-intro a {
    color: #38bdf8;
    text-decoration: none;
}

.cookie-settings-intro a:hover {
    text-decoration: underline;
}

.cookie-settings-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-setting-item {
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.9);
}

.cookie-setting-item--locked {
    border-style: dashed;
    background: rgba(15, 23, 42, 0.97);
}

.cookie-setting-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cookie-setting-main h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cookie-setting-main p {
    font-size: 0.85rem;
    color: #d1d5db;
}


.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #4b5563;
    border-radius: 999px;
    transition: background-color 0.2s ease;
}

.cookie-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: #f9fafb;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.cookie-switch input:checked+.cookie-slider {
    background: linear-gradient(135deg, #1fd36b, #0ca656);
}

.cookie-switch input:checked+.cookie-slider::before {
    transform: translateX(18px);
}

.cookie-switch.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cookie-settings-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}

.cookie-settings-note {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #9ca3af;
}



@media (max-width: 768px) {
    .cookie-banner-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .cookie-banner-actions {
        justify-content: flex-start;
    }

    .age-gate-modal {
        max-width: 100%;
    }

    .cookie-settings-modal {
        max-width: 100%;
    }
}