
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #212529;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}


.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.custom-btn-hover {
    text-decoration: none !important;
}

.custom-btn-hover:hover {
    text-decoration: none !important;
}


.top-banner {
    background-color: #dc3545; 
    color: white;
    font-size: 0.9rem;
    position: relative; 
    z-index: 1050; 
}



.header {
    z-index: 1040;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff;
}


.hero-section {
    background-size: cover;
    background-position: center;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: #fff;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


#featured-items .carousel-item img {
    height: 400px;
    object-fit: cover;
}

#featured-items .carousel-caption {
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 0.5rem;
    padding: 1rem;
    bottom: 1rem;
    left: 10%;
    right: 10%;
}

div#navbarNav {
    padding: 20px 40px;
}

.platform-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.platform-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.platform-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-card img {
    border-radius: 0.5rem;
    max-height: 150px;
    object-fit: contain;
}

.platform-card .rating i {
    font-size: 1.2rem;
}

.platform-card .license-link {
    color: #dc3545; 
    font-weight: bold;
    text-decoration: underline;
}

.platform-card .license-link:hover {
    color: #c82333;
}

.platform-card ul li {
    margin-bottom: 0.5rem;
}


#reviews .card {
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#reviews .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

#reviews .rating i {
    font-size: 1rem;
}


#editor-rating .card {
    border-radius: 1rem;
    background: linear-gradient(90deg, #007bff, #0056b3); 
}

#editor-rating .rating i {
    font-size: 1.5rem;
}


#criteria .card {
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#criteria .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

#criteria .card i {
    color: #007bff;
}


.accordion-button {
    font-weight: 600;
    color: #333;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    text-decoration: none !important; 
}

.accordion-button:not(.collapsed) {
    color: #0056b3;
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
    text-decoration: none !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.5rem;
    overflow: hidden;
}


#disclaimer {
    background-color: #fff3cd; 
    border-color: #ffc107 !important; 
    color: #664d03; 
    padding: 2rem;
    margin-top: 3rem;
    max-width: 900px; 
}

#disclaimer h3 {
    color: #ffc107; 
}

#disclaimer .bg-white {
    background-color: #ffffff !important;
    border: 1px solid #dee2e6;
}


#site-footer {
    background-color: #212529 !important;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
}

#site-footer .navbar-brand .text-white {
    color: white !important;
}

#site-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

#site-footer a:hover {
    color: white;
    text-decoration: underline;
}

#site-footer .text-info {
    color: #0dcaf0 !important;
}

#site-footer .text-info:hover {
    color: #3dd5f3 !important;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-logo {
    max-width: 120px; 
    height: auto;
    transition: transform 0.2s ease;
}

.footer-logo-18plus {
    max-width: 80px;
    height: auto;
    filter: saturate(1.5);
}


#scrollToTopBtn {
    display: none; 
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    aspect-ratio: 1 / 1;
    width: 60px;
}

#scrollToTopBtn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}


.cookie-banner {
    background-color: #212529;
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: #0dcaf0;
    text-decoration: underline;
}

.cookie-banner .btn {
    text-decoration: none !important;
}


#ageVerificationModal .modal-content {
    border-radius: 1rem;
    background-color: #fefefe;
    color: #333;
}

#ageVerificationModal .modal-title {
    color: #007bff;
}

#ageVerificationModal .btn-primary {
    background: linear-gradient(45deg, #28a745, #218838);
    border: none;
}

#ageVerificationModal .btn-primary:hover {
    background: linear-gradient(45deg, #218838, #28a745);
}

#ageVerificationModal .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

#ageVerificationModal .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}


@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .platform-card .card-body {
        flex-direction: column;
    }
    .platform-logo-wrapper {
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    .platform-card .card-body.flex-md-row-reverse .platform-logo-wrapper {
        margin-left: 0 !important;
    }
    .cookie-banner .container {
        flex-direction: column;
    }
    .cookie-banner .d-flex.gap-2 {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner .btn {
        flex: 1;
    }
    #disclaimer {
        padding: 1.5rem;
    }
    #disclaimer .d-flex {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
    #disclaimer .d-flex .me-3 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
    .footer-logos {
        gap: 1rem;
    }
    .footer-logo {
        max-width: 100px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .platform-card .card-body {
        flex-direction: column;
    }
    .platform-logo-wrapper {
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    .platform-card .card-body.flex-md-row-reverse .platform-logo-wrapper {
        margin-left: 0 !important;
    }
}

.rightsFieldUnit {
    padding-top: 3rem; 
    padding-bottom: 3rem; 
    padding-left: 1rem; 
    padding-right: 1rem; 
    max-width: 1200px; 
    margin-left: auto; 
    margin-right: auto; 
}

.rightsFieldUnit h1 {
    font-size: 2.25rem; 
    line-height: 1.2; 
    margin-top: 2rem; 
    margin-bottom: 1.5rem; 
    color: #212529; 
}

.rightsFieldUnit h2 {
    font-size: 1.75rem; 
    line-height: 1.3; 
    margin-top: 1.75rem; 
    margin-bottom: 1.25rem; 
    color: #212529; 
}

.rightsFieldUnit h3 {
    font-size: 1.5rem; 
    line-height: 1.4; 
    margin-top: 1.5rem; 
    margin-bottom: 1rem; 
    color: #212529; 
}

.rightsFieldUnit h4 {
    font-size: 1.25rem; 
    line-height: 1.5; 
    margin-top: 1.25rem; 
    margin-bottom: 0.75rem; 
    color: #212529; 
}

.rightsFieldUnit h5 {
    font-size: 1.1rem; 
    line-height: 1.5; 
    margin-top: 1rem; 
    margin-bottom: 0.5rem; 
    color: #212529; 
}

.rightsFieldUnit p {
    font-size: 1rem; 
    line-height: 1.6; 
    margin-bottom: 1rem; 
    color: #333; 
}

.rightsFieldUnit ul {
    list-style-type: disc; 
    padding-left: 1.5rem; 
    margin-bottom: 1rem; 
    color: #333; 
}

.rightsFieldUnit li {
    font-size: 1rem; 
    line-height: 1.6; 
    margin-bottom: 0.5rem; 
}


@media (max-width: 767.98px) {
    .rightsFieldUnit {
        padding-top: 2rem; 
        padding-bottom: 2rem; 
        padding-left: 0.75rem; 
        padding-right: 0.75rem; 
    }

    .rightsFieldUnit h1 {
        font-size: 1.8rem; 
    }

    .rightsFieldUnit h2 {
        font-size: 1.5rem; 
    }

    .rightsFieldUnit h3 {
        font-size: 1.3rem; 
    }

    .rightsFieldUnit h4 {
        font-size: 1.1rem; 
    }

    .rightsFieldUnit h5 {
        font-size: 1rem; 
    }

    .rightsFieldUnit p,
    .rightsFieldUnit li {
        font-size: 0.95rem; 
    }
}


.modal-logo-18plus {
    max-width: 120px;
    height: auto;
    filter: saturate(1.5);
}

.text-white {
    color: #fff !important;
}


.navbar {
    justify-content: center;
}


@media (min-width: 576px) {
    .navbar {
        justify-content: space-between;
    }
}