/* Custom CSS for ReviewedPlatforms */

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d2b; /* Dark purple background */
    color: #e0e0e0; /* Light gray for general text */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #ffffff; /* White for headings */
}

a {
    color: #e91e63; /* Pink for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff69b4; /* Lighter pink on hover */
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 4rem;
    color: #ffffff;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8a2be2, #e91e63);
    border-radius: 2px;
}

.btn-primary {
    background: linear-gradient(45deg, #8a2be2, #e91e63); /* Purple to Pink gradient */
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #e91e63, #8a2be2); /* Reverse gradient on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.btn-secondary {
    background-color: #4a4a6e; /* Darker purple for secondary buttons */
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #6a6a8e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Header */
header {
    background-color: #1a1a3a !important; /* Even darker purple for header */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.company-name {
    font-weight: 700;
    color: #fff;
}

.email-contact {
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3a005e 0%, #8a2be2 50%, #e91e63 100%); /* Vibrant gradient */
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('static/pics/subtle-pattern_9.jpg') repeat;
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container-fluid {
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
}

/* Featured Platforms Section */
.platforms-section {
    background-color: #1a1a3a; /* Darker background for this section */
}

.platform-card {
    background-color: #2c2c54; /* Slightly lighter purple for cards */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.platform-image-wrapper {
    flex-shrink: 0;
    width: 100%;
    max-width: 250px; /* Fixed width for images */
}

.platform-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 2px solid #e91e63;
}

.platform-name {
    color: #ff69b4; /* Pink for platform names */
    font-size: 1.8rem;
}

.platform-rating i {
    color: #ffd700; /* Gold stars */
    font-size: 1.2rem;
}

.platform-description {
    color: #c0c0d8;
}

.platform-offer {
    color: #a0f0a0; /* Light green for offers */
    font-size: 1.1rem;
}

.platform-features li {
    color: #e0e0e0;
    font-size: 0.95rem;
}

.platform-features .bi-check-circle-fill {
    color: #4CAF50; /* Green checkmark */
}

.btn-visit-platform {
    background: linear-gradient(90deg, #e91e63, #ff69b4); /* Pink gradient for visit button */
    border: none;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-visit-platform:hover {
    background: linear-gradient(90deg, #ff69b4, #e91e63);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Advantages Section */
.advantages-section {
    background-color: #0d0d2b; /* Dark purple background */
}

.advantage-card {
    background-color: #2c2c54;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.advantage-icon {
    color: #ff69b4; /* Pink for icons */
}

.advantage-card h3 {
    color: #ffffff;
}

.advantage-card p {
    color: #c0c0d8;
}

/* FAQ Section */
.faq-section {
    background-color: #1a1a3a;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item .accordion-button {
    background-color: #2c2c54; /* Darker background for accordion header */
    color: #ffffff;
    font-weight: 600;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
    color: #ff69b4; /* Pink when expanded */
    background-color: #3a3a6e;
}

.faq-item .accordion-button::after {
    filter: invert(1) brightness(2);
}

.faq-item .accordion-body {
    background-color: #3a3a6e; /* Even darker for body */
    color: #e0e0e0;
    padding: 20px;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #2c2c54; /* Distinct background */
    border-top: 5px solid #e91e63; /* Pink border */
    border-bottom: 5px solid #e91e63;
    padding-top: 60px;
    padding-bottom: 60px;
}

.disclaimer-content {
    background-color: #3a3a6e; /* Inner background for content */
    border: 2px solid #8a2be2; /* Purple border */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.disclaimer-icon {
    color: #ffeb3b; /* Yellow warning icon */
}

.disclaimer-text {
    color: #c0c0d8;
    font-size: 1.1rem;
}

/* Footer */
.footer-section {
    background-color: #1a1a3a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
    color: #c0c0d8;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff69b4;
}

.footer-logos {
    margin-top: 20px;
}

.footer-logo-link, .footer-logo-18plus {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px; /* Fixed height for logos */
    max-width: 120px; /* Max width for logos */
    width: auto; /* Allow width to adjust proportionally */
    padding: 5px;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.footer-logo-link:hover {
    transform: scale(1.05);
}

.footer-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none; /* Ensure no grayscale */
}

.footer-logo-18plus {
    max-width: 65px; /* Smaller for 18+ icon */
    height: 65px;
    border-radius: 50%;
    padding: 8px;
}

/* Age Verification Modal */
.age-modal-content {
    background: linear-gradient(135deg, #3a005e, #8a2be2);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.age-modal-content .modal-header {
    border-bottom: none;
}

.age-modal-content .modal-title {
    color: #fff;
}

.age-modal-content .modal-body p {
    color: #fff;
}

.age-btn-yes {
    background-color: #4CAF50; /* Green for Yes */
    border: none;
}

.age-btn-yes:hover {
    background-color: #66BB6A;
}

.age-btn-no {
    background-color: #f44336; /* Red for No */
    border: none;
}

.age-btn-no:hover {
    background-color: #ef5350;
}

/* Cookie Consent Modal */
.cookie-modal-content {
    background: #1a1a3a;
    border: 1px solid #8a2be2;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-modal-content .modal-title {
    color: #fff;
}

.cookie-modal-content .modal-body p {
    color: #e0e0e0;
}

.cookie-btn-accept {
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    border: none;
}

.cookie-btn-accept:hover {
    background: linear-gradient(90deg, #66BB6A, #4CAF50);
}

.cookie-btn-decline {
    background: linear-gradient(90deg, #f44336, #ef5350);
    border: none;
}

.cookie-btn-decline:hover {
    background: linear-gradient(90deg, #ef5350, #f44336);
}

.cookie-btn-customize {
    background-color: #8a2be2;
    border: none;
}

.cookie-btn-customize:hover {
    background-color: #a052ee;
}

.cookie-btn-save {
    background: linear-gradient(90deg, #e91e63, #ff69b4);
    border: none;
}

.cookie-btn-save:hover {
    background: linear-gradient(90deg, #ff69b4, #e91e63);
}

.form-check-input:checked {
    background-color: #e91e63;
    border-color: #e91e63;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-image {
        max-width: 100%;
    }
    .platform-card {
        flex-direction: column;
        text-align: center;
    }
    .platform-image-wrapper {
        margin-right: 0 !important;
        margin-bottom: 1.5rem !important;
        max-width: 180px;
    }
    .platform-content {
        text-align: center;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-title::after {
        width: 60px;
    }
    .footer-logos {
        justify-content: center;
    }
    .footer-logo-link, .footer-logo-18plus {
        max-width: 100px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .platform-name {
        font-size: 1.5rem;
    }
    .platform-offer {
        font-size: 1rem;
    }
    .btn-visit-platform {
        width: 100%;
    }
    .advantage-card {
        min-height: auto;
    }
    .footer-logo-link, .footer-logo-18plus {
        max-width: 80px;
        height: 45px;
    }
}
/* New styles for .infoGuardBlock and its children */

/* Wrapper for content blocks */
.infoGuardBlock {
    padding-top: 3rem; /* Top padding for the content block */
    padding-bottom: 3rem; /* Bottom padding for the content block */
    padding-left: 1.5rem; /* Left padding for the content block */
    padding-right: 1.5rem; /* Right padding for the content block */
    /* Optional: Add a background color if this block needs to stand out */
    /* background-color: #1a1a3a; */
    /* Optional: Add border-radius for a softer look */
    /* border-radius: 10px; */
}

/* Heading 1 within infoGuardBlock */
.infoGuardBlock h1 {
    font-size: 2.2rem; /* Font size for H1, not too large */
    color: #ffffff; /* White color for headings */
    margin-bottom: 1.5rem; /* Bottom margin for spacing */
    line-height: 1.2; /* Line height for readability */
    font-weight: 700; /* Bold font weight */
}

/* Heading 2 within infoGuardBlock */
.infoGuardBlock h2 {
    font-size: 1.8rem; /* Font size for H2 */
    color: #ffffff; /* White color for headings */
    margin-bottom: 1.2rem; /* Bottom margin for spacing */
    line-height: 1.3; /* Line height for readability */
    font-weight: 600; /* Semi-bold font weight */
}

/* Heading 3 within infoGuardBlock */
.infoGuardBlock h3 {
    font-size: 1.5rem; /* Font size for H3 */
    color: #ffffff; /* White color for headings */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    line-height: 1.4; /* Line height for readability */
    font-weight: 600; /* Semi-bold font weight */
}

/* Heading 4 within infoGuardBlock */
.infoGuardBlock h4 {
    font-size: 1.3rem; /* Font size for H4 */
    color: #ffffff; /* White color for headings */
    margin-bottom: 0.8rem; /* Bottom margin for spacing */
    line-height: 1.5; /* Line height for readability */
    font-weight: 500; /* Medium font weight */
}

/* Heading 5 within infoGuardBlock */
.infoGuardBlock h5 {
    font-size: 1.1rem; /* Font size for H5 */
    color: #ffffff; /* White color for headings */
    margin-bottom: 0.6rem; /* Bottom margin for spacing */
    line-height: 1.6; /* Line height for readability */
    font-weight: 500; /* Medium font weight */
}

/* Paragraphs within infoGuardBlock */
.infoGuardBlock p {
    font-size: 1rem; /* Standard paragraph font size */
    color: #e0e0e0; /* Light gray color for body text */
    margin-bottom: 1rem; /* Bottom margin for spacing between paragraphs */
    line-height: 1.7; /* Line height for readability */
}

/* Unordered lists within infoGuardBlock */
.infoGuardBlock ul {
    list-style: disc; /* Default disc style for list items */
    padding-left: 20px; /* Left padding for list indentation */
    margin-bottom: 1rem; /* Bottom margin for spacing after the list */
    color: #e0e0e0; /* Inherit color for list text */
}

/* List items within infoGuardBlock */
.infoGuardBlock ul li {
    font-size: 1rem; /* List item font size */
    color: #e0e0e0; /* Light gray color for list items */
    margin-bottom: 0.5rem; /* Bottom margin for spacing between list items */
    line-height: 1.6; /* Line height for readability */
}

/* Optional: Remove bottom margin for the last element in the block */
.infoGuardBlock p:last-child,
.infoGuardBlock ul:last-child,
.infoGuardBlock h1:last-child,
.infoGuardBlock h2:last-child,
.infoGuardBlock h3:last-child,
.infoGuardBlock h4:last-child,
.infoGuardBlock h5:last-child {
    margin-bottom: 0;
}
