/* Custom CSS for ApprovedOptions */

/* Google Fonts (Inter) - already linked in HTML head */
* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box; /* Ensure consistent box model */
}

/* Custom Color Variables */
:root {
    --custom-raspberry: hsl(330, 80%, 45%); /* #D91E8E */
    --custom-raspberry-light: hsl(330, 80%, 65%); /* Lighter raspberry for backgrounds */
    --custom-lime: hsl(90, 80%, 45%); /* #72D91E */
    --custom-lime-light: hsl(90, 80%, 85%); /* Lighter lime for backgrounds */
    --text-dark: #333333; /* Dark gray for main text */
    --text-light: #f8f8f8; /* Light gray for text on dark backgrounds */
    --star-gold: #FFD700; /* Gold for star ratings */
}

/* General Text Colors */
.dark-gray { color: var(--text-dark); }
.white { color: white; }
.gray { color: #888; } /* Default Tachyons gray */

/* Custom Color Classes */
.custom-raspberry-text { color: var(--custom-raspberry); }
.custom-lime-text { color: var(--custom-lime); }
.bg-custom-raspberry { background-color: var(--custom-raspberry); }
.bg-custom-raspberry-light { background-color: var(--custom-raspberry-light); }
.bg-custom-lime { background-color: var(--custom-lime); }
.bg-custom-lime-light { background-color: var(--custom-lime-light); }
.hover-custom-lime:hover { color: var(--custom-lime); }
.hover-custom-raspberry:hover { color: var(--custom-raspberry); }
.custom-star-color .bi-star-fill, .custom-star-color .bi-star-half {
    color: var(--star-gold);
}

/* Hero Section Specifics */
header {
    min-height: 75vh; /* Ensure it's tall enough */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay; /* Apply overlay for readability */
}

/* Rating Criteria Breakdown progress bars */
.rating-criteria-breakdown .bg-light-gray {
    background-color: #eee;
}
.rating-criteria-breakdown .h1 {
    height: 0.75rem; /* Adjust height for progress bars */
}

/* Platform List & Comparison Table */
.platform-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* Ensure images fit without cropping */
}
.overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}
table {
    min-width: 600px; /* Ensure table is wide enough for content on small screens */
}
th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
}
thead th {
    border-bottom: 2px solid rgba(0,0,0,.1);
}
tbody tr:nth-child(odd) {
    background-color: #f9f9f9; /* Light stripe for table */
}

/* User Reviews */
.review-text {
    overflow: hidden;
    position: relative;
    /* This will be controlled by JS for "Read More" */
    max-height: 4.5em; /* Approximately 3 lines for initial view */
    line-height: 1.5em;
}
.review-text.expanded {
    max-height: none;
}
.review-text.expanded .review-full-text {
    display: inline; /* Show full text when expanded */
}
.review-text .review-full-text {
    display: none; /* Hide full text initially */
}
.read-more-btn {
    align-self: flex-start; /* Align button to the start */
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: var(--custom-raspberry-light); /* Lighter raspberry background */
    color: var(--text-light);
    padding: 3rem 1rem;
    text-align: center;
}
.disclaimer-block .ba {
    border-color: rgba(255, 255, 255, 0.4);
}
.disclaimer-block .custom-lime-text {
    color: var(--custom-lime);
}

/* Footer Logos */
.footer-logo {
    max-width: 150px; /* Max width for logos */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain;
    margin: 0.5rem; /* Spacing between logos */
    display: inline-block; /* For flex-wrap and horizontal alignment */
    vertical-align: middle; /* Align with 18+ icon */
}
.footer-logo.h3 {
    height: 3rem; /* Fixed height for consistency if needed */
    max-width: 120px; /* Adjust max-width if height is fixed */
}
.flex.gap3 > * {
    margin: 0.5rem; /* Apply margin to direct children of flex container with .gap3 */
}
.bi-18-circle-fill {
    color: #E70000; /* Red color for 18+ icon */
    font-size: 3rem; /* Make it prominent */
}

/* Age Verification Popup */
#age-verification-popup, #cookie-banner {
    display: none; /* Hidden by default, shown by JS */
    flex-wrap: wrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
#age-verification-popup.show {
    display: flex;
    opacity: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#cookie-banner.show {
    display: flex;
    opacity: 1;

    left: 50%;
    transform: translate(-50%, -50%);
}


#age-verification-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999; 
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    justify-content: center;
    align-items: center;
}

#age-verification-popup.show {
    display: flex; 
    opacity: 1;
}

body.age-popup-active {
    overflow: hidden;
}



/* Ensure default text color is readable */
body {
    color: var(--text-dark);
    line-height: 1.6;
}
a {
    color: var(--custom-raspberry); /* Default link color */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media screen and (max-width: 60em) { /* Tachyons breakpoint for large screens */
    .f-headline-l { font-size: 2.5rem; } /* Adjust headline for smaller screens */
}
@media screen and (max-width: 30em) { /* Tachyons breakpoint for small screens */
    .f1 { font-size: 1.7rem; }
    .f2 { font-size: 1.65rem; }
    .f3 { font-size: 1.5rem; }
    .f4 { font-size: 1.25rem; }
    .f5 { font-size: 1rem; }
    .f6 { font-size: 0.875rem; }
}
/* New styles for .dataTrustFrame and its children */

.dataTrustFrame {
    padding-top: 2rem; /* Top padding for the main container */
    padding-left: 1.5rem; /* Left padding for the main container */
    padding-right: 1.5rem; /* Right padding for the main container */
    padding-bottom: 2rem; /* Bottom padding for the main container */
}

.dataTrustFrame h1 {
    font-size: 2.25rem; /* Heading 1 font size */
    line-height: 1.2; /* Line height for readability */
    margin-top: 2rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    font-weight: 700; /* Bold font weight */
}

.dataTrustFrame h2 {
    font-size: 1.75rem; /* Heading 2 font size */
    line-height: 1.3; /* Line height for readability */
    margin-top: 1.75rem; /* Top margin for spacing */
    margin-bottom: 0.8rem; /* Bottom margin for spacing */
    font-weight: 600; /* Semi-bold font weight */
}

.dataTrustFrame h3 {
    font-size: 1.5rem; /* Heading 3 font size */
    line-height: 1.4; /* Line height for readability */
    margin-top: 1.5rem; /* Top margin for spacing */
    margin-bottom: 0.7rem; /* Bottom margin for spacing */
    font-weight: 600; /* Semi-bold font weight */
}

.dataTrustFrame h4 {
    font-size: 1.25rem; /* Heading 4 font size */
    line-height: 1.5; /* Line height for readability */
    margin-top: 1.25rem; /* Top margin for spacing */
    margin-bottom: 0.6rem; /* Bottom margin for spacing */
    font-weight: 500; /* Medium font weight */
}

.dataTrustFrame h5 {
    font-size: 1.125rem; /* Heading 5 font size */
    line-height: 1.5; /* Line height for readability */
    margin-top: 1rem; /* Top margin for spacing */
    margin-bottom: 0.5rem; /* Bottom margin for spacing */
    font-weight: 500; /* Medium font weight */
}

.dataTrustFrame p {
    font-size: 1rem; /* Paragraph font size */
    line-height: 1.6; /* Line height for readability */
    margin-top: 0; /* No top margin by default */
    margin-bottom: 1rem; /* Bottom margin for paragraph spacing */
}

.dataTrustFrame ul {
    list-style-type: disc; /* Default disc bullet style */
    margin-top: 1rem; /* Top margin for the list */
    margin-bottom: 1rem; /* Bottom margin for the list */
    padding-left: 1.5rem; /* Padding for bullet indentation */
}

.dataTrustFrame li {
    font-size: 1rem; /* List item font size */
    line-height: 1.6; /* Line height for readability */
    margin-bottom: 0.5rem; /* Bottom margin for spacing between list items */
}

.footer-slogo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-slogo img {
    margin: 0;
}
.footer-slogo h2 {
    margin: 0;
}
