/**
 * Pages CSS - Styles for Brand and Article pages
 * 
 * @package MadePrompt
 */

/* ==========================================
   HOMEPAGE
   ========================================== */

.homepage-wrapper {
    width: 100%;
    padding: var(--page-padding-desktop);
    min-height: 60vh;
}

.homepage-container {
    max-width: var(--box-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .homepage-wrapper {
        padding: var(--page-padding-mobile);
    }
    
    .homepage-container {
        padding: var(--wrapper-padding-mobile);
    }
}

/* ==========================================
   BRAND PAGE
   ========================================== */

.brand-page-wrapper {
    width: 100%;
    padding: var(--page-padding-desktop);
    min-height: 60vh;
}

.brand-page-container {
    max-width: var(--box-max-width);
    margin: 0 auto;
    padding: var(--wrapper-padding-desktop); /* Brand page uses container padding for content */
}

.brand-page-content {
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: var(--box-padding-desktop);
    margin: 0 auto var(--section-gap);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (max-width: 768px) {
    .brand-page-container {
        padding: 0 0.5rem;
    }
    
    .brand-page-content {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
}

.brand-page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
}

/* Brand Page Badge - Positioned in corner */
.brand-page-media-container {
    position: relative;
}

/* Badge styles moved to brand-single.css - no duplicates */

/* Brand Page Stats - Minimal */
.brand-page-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.brand-page-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.brand-page-stat-icon {
    font-size: 0.85rem;
    opacity: 0.7;
}

.brand-page-stat-text {
    font-weight: 400;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .brand-page-stats {
        gap: 0.5rem 1rem;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        padding: 0;
    }
    
    .brand-page-stat {
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .brand-page-stat-icon {
        font-size: 0.8rem;
    }
    
/* Badge mobile styles in brand-single.css */
}

/* Spacing between main box and Made with section */
.brand-page-section-spacer {
    height: var(--section-gap);
    width: 100%;
}


/* ==========================================
   BRAND DESCRIPTION - Auto-styled from WYSIWYG
   ========================================== */

.brand-page-description {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.85;
    text-align: left;
}

/* Headings */
.brand-page-description h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-page-description h2:first-child {
    margin-top: 0;
}

.brand-page-description h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.75rem 0 0.75rem 0;
}

.brand-page-description h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 1.5rem 0 0.5rem 0;
}

/* Paragraphs */
.brand-page-description p {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
}

.brand-page-description p:last-child {
    margin-bottom: 0;
}

.brand-page-description strong {
    color: #ffffff;
    font-weight: 600;
}

.brand-page-description em {
    color: rgba(255, 255, 255, 0.9);
}

/* Links */
.brand-page-description a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.brand-page-description a:hover {
    color: #E1BEE7;
    border-bottom-color: #E1BEE7;
}

/* Lists */
.brand-page-description ul,
.brand-page-description ol {
    margin: 1rem 0 1.5rem 0;
    padding-left: 1.5rem;
}

.brand-page-description li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.brand-page-description ul li::marker {
    color: rgba(255, 255, 255, 0.5);
}

.brand-page-description ol li::marker {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Blockquotes */
.brand-page-description blockquote {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.brand-page-description blockquote p {
    margin: 0;
}

/* Images in description */
.brand-page-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* Tables */
.brand-page-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.brand-page-description th,
.brand-page-description td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.brand-page-description th {
    background: rgba(156, 39, 176, 0.15);
    color: #ffffff;
    font-weight: 600;
}

.brand-page-description td {
    color: rgba(255, 255, 255, 0.85);
}

/* Code blocks */
.brand-page-description code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
}

.brand-page-description pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.brand-page-description pre code {
    background: none;
    padding: 0;
}

/* Mobile: Truncated description with Read More */
.brand-page-description-wrapper {
    position: relative;
}

.brand-page-description.truncated {
    max-height: 180px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.brand-page-description.truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(28, 28, 30, 0.3) 30%,
        rgba(28, 28, 30, 0.7) 60%,
        #1c1c1e 100%
    );
    pointer-events: none;
}

.brand-page-description.expanding {
    max-height: 800px;
}

.brand-page-description.expanded {
    max-height: none;
}

.brand-page-description.expanded::after,
.brand-page-description.expanding::after {
    display: none;
}

.brand-read-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    max-width: 900px;
    margin: 1.5rem auto 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.brand-read-more-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.brand-read-more-btn .arrow {
    font-size: 0.6rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.brand-read-more-btn.expanded .arrow {
    transform: rotate(180deg);
}

.brand-page-description-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .brand-page-description {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    .brand-page-description h2 {
        font-size: 1.35rem;
        margin: 1.5rem 0 0.75rem 0;
    }
    
    .brand-page-description h3 {
        font-size: 1.15rem;
        margin: 1.25rem 0 0.5rem 0;
    }
    
    .brand-page-description ul,
    .brand-page-description ol {
        padding-left: 1.25rem;
    }
    
    .brand-page-description blockquote {
        padding: 1rem 1.25rem;
        margin: 1rem 0;
    }
}

/* ==========================================
   KEY FEATURES - Elegant Glassmorphism Style
   ========================================== */

.brand-key-features-section {
    width: 100%;
    margin: 2rem 0;
    padding: 0;
    background: transparent;
    border: none;
}

.brand-key-features-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.25rem 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.brand-key-features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.brand-key-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.brand-key-feature-item .feature-icon {
    font-size: 0.9rem;
    opacity: 0.7;
}

.brand-key-feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .brand-key-features-section {
        margin: 1.5rem 0;
    }
    
    .brand-key-features-title {
        font-size: 0.75rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    
    .brand-key-features-grid {
        gap: 8px;
    }
    
    .brand-key-feature-item {
        padding: 8px 14px;
        font-size: 0.75rem;
        border-radius: 6px;
    }
    
    .brand-key-feature-item .feature-icon {
        font-size: 0.8rem;
    }
}

.brand-page-content-text {
    color: #ffffff;
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.brand-page-content-text p {
    margin-bottom: 1.5rem;
}

.brand-page-back {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-page-back-link {
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

.brand-page-back-link:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: translateX(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Brand Page Media Container */
.brand-page-media-container {
    width: 100%;
    max-width: var(--box-max-width);
    margin: 0 0 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-page-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    margin: 0 auto;
}

.brand-page-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-page-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Brand Page Button */
.brand-page-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

/* Final CTA Button - after FAQ */
.brand-page-final-cta {
    margin-top: 1rem !important;
}

.brand-page-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .brand-page-button-container {
        margin-top: 0.25rem;
    }
    
    .brand-page-button {
        padding: 0.85rem 2rem;
        font-size: 0.85rem;
        letter-spacing: 1px;
        border-radius: 8px;
    }
}

.brand-page-button:hover:not(:disabled) {
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.brand-page-button:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

/* ==========================================
   MADE WITH BOX
   ========================================== */

.brand-made-with-box {
    width: 100%;
    max-width: var(--box-max-width);
    margin: 0 auto var(--section-gap);
    padding: var(--box-padding-desktop);
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.made-with-header {
    text-align: center;
    margin-bottom: 2rem;
}

.made-with-section-title {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .made-with-section-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
}

/* Made With Gallery Grid */
.made-with-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.made-with-image-card {
    width: 100%;
    min-height: 400px;
    background: rgba(28, 28, 30, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.made-with-image-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    background: rgba(44, 44, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.made-with-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.made-with-image-card:hover .made-with-image {
    transform: scale(1.05);
}

.made-with-empty-message {
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

.made-with-empty-message p {
    margin: 0;
}

/* ==========================================
   RELATED BRANDS SECTION
   ========================================== */

.related-brands-section {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Add top margin only when there's no divider */
.related-brands-section:not(:has(.brands-section-divider)) {
    margin-top: var(--section-gap);
}

/* When divider is present, spacing is handled by divider */
.related-brands-section:has(.brands-section-divider) {
    margin-top: 0;
}

.related-brands-container {
    max-width: var(--box-max-width);
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* When title is outside container (X-Rated AI Lab), reduce top padding */
/* Remove container background and border when divider is present (X-Rated AI Lab) */
.related-brands-section:has(.brands-section-divider) .related-brands-container {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.related-brands-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin: 0 0 3rem 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.related-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--box-max-width);
    margin: 0 auto;
    width: 100%;
}

.related-brand-card {
    position: relative;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius-mobile);
    padding: 2rem;
    padding-top: 2.5rem;
    margin-top: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Related Brand Badge - positioned on top of card */
.related-brand-badge {
    position: absolute;
    top: -0.75rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.related-brand-badge-popular {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.related-brand-badge-new {
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    color: #fff;
}

.related-brand-badge-top-rated {
    background: linear-gradient(135deg, #FF5722 0%, #FF7043 100%);
    color: #fff;
}

.related-brand-badge-editor-choice {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
    color: #fff;
}

.related-brand-badge-free {
    background: linear-gradient(135deg, #D946EF 0%, #A855F7 100%);
    color: #fff;
}

.related-brand-badge-premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #000;
}

.related-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.related-brand-image-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: rgba(28, 28, 30, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.related-brand-image-container a {
    display: block;
    width: 100%;
    height: 100%;
}

.related-brand-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.related-brand-name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.related-brand-name a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-brand-name a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.related-brand-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.related-brand-button {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.related-brand-button:hover {
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

/* Responsive Related Brands */
@media (max-width: 1024px) {
    .related-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .related-brands-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .related-brands-section:not(:has(.brands-section-divider)) {
        margin-top: var(--section-gap-mobile);
    }
    
    .related-brands-section:has(.brands-section-divider) {
        margin-top: 0;
    }
    
    .category-description-box.visible {
        margin-bottom: 0;
    }
    
    .category-description-box.visible + .related-brands-section .brands-section-divider {
        margin-top: calc(var(--section-gap-mobile) * 0.75);
    }
    
    .related-brands-container {
        padding: 2rem 1.5rem;
    }
    
    .related-brands-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .related-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .related-brand-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .related-brand-image-container {
        height: 220px;
    }
    
    .related-brand-badge {
        top: -0.5rem;
        right: 0.75rem;
        padding: 0.4rem 0.75rem;
        font-size: 0.65rem;
        border-radius: 6px;
    }
    
    .related-brand-name {
        font-size: 1.25rem;
    }
    
    .related-brand-button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

/* Responsive Brand Page */
@media (max-width: 1024px) {
    .brand-page-title {
        font-size: 2.5rem;
    }
    
    .brand-page-content {
        padding: var(--box-padding-desktop);
    }
    
    .made-with-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .made-with-image-card {
        min-height: 350px;
        padding: 0;
    }
    
    .brand-made-with-box {
        padding: var(--box-padding-desktop);
    }
    
    .related-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .brand-page-wrapper {
        padding: var(--page-padding-mobile);
    }
    
    .brand-page-container {
        padding: var(--wrapper-padding-mobile);
    }
    
    .brand-page-title {
        font-size: 2rem;
        letter-spacing: 2px;
        margin-bottom: var(--section-gap-mobile);
    }
    
    .brand-page-content {
        padding: var(--box-padding-mobile);
        margin: 0 auto var(--section-gap-mobile);
    }
    
    .brand-page-media-container {
        margin-bottom: var(--section-gap-mobile);
    }
    
    .brand-page-section-spacer {
        height: var(--section-gap-mobile);
    }
    
    .brand-made-with-box {
        padding: var(--box-padding-mobile);
        margin: 0 auto var(--section-gap-mobile);
    }
    
    .made-with-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .made-with-image-card {
        min-height: 280px;
        padding: 0;
    }
    
}

/* ==========================================
   LEGAL PAGES (Privacy Policy, Terms, etc.)
   ========================================== */

.legal-page-wrapper {
    width: 100%;
    padding: var(--page-padding-desktop);
    min-height: 60vh;
    background: transparent;
}

.legal-page-container {
    max-width: var(--box-max-width);
    margin: 0 auto;
    padding: var(--wrapper-padding-desktop);
}

.legal-page-content {
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    margin: 2rem auto;
}

.legal-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.legal-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.legal-page-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.legal-page-text p {
    margin-bottom: 1.5rem;
}

.legal-page-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2rem 0 1rem;
}

.legal-page-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 1.5rem 0 1rem;
}

.legal-page-text ul,
.legal-page-text ol {
    margin: 1rem 0 1.5rem 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.legal-page-text li {
    margin-bottom: 0.5rem;
}

.legal-page-back {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-page-back-link {
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

.legal-page-back-link:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: translateX(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   HEADER & FOOTER
   ========================================== */

.site-header {
    width: 100%;
    background: transparent;
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--wrapper-padding-desktop);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: auto;
    padding: 0;
    margin: 0;
}

/* Logo container styles - header-brand-image is handled in base.css */
.logo-container img {
    max-height: 180px;
    max-width: 800px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    /* Dark shadow for depth and contrast */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) 
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3))
            drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

/* Note: .header-brand-image and .header-brand-link styles are in base.css to avoid duplication */

/* Hidden H1 */
.header-h1-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Footer styles are in footer.css - do not duplicate here */


/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(200%);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.scroll-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

/* ==========================================
   HOMEPAGE - BRANDS SECTION
   ========================================== */

.section-title-below-generator {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: var(--section-gap) auto;
    max-width: var(--box-max-width);
    padding: var(--wrapper-padding-desktop);
}

.brands-section {
    width: 100%;
    max-width: var(--box-max-width);
    margin: var(--section-gap) auto;
    padding: var(--wrapper-padding-desktop);
}

.brands-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.brand-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--box-border-radius-mobile);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.brand-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    text-align: center;
}

.brand-media-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-media-container .brand-image {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.brand-media-container iframe.brand-video,
.brand-media-container video.brand-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.brand-media-container:has(iframe),
.brand-media-container:has(video) {
    padding-bottom: 56.25%;
    height: 0;
    display: block;
}

.brand-text {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

.brand-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    color: #ffffff;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.brand-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   HOMEPAGE - X-RATED AI LAB SECTION
   ========================================== */

.xrated-lab-section-wrapper {
    width: 100%;
    margin: var(--section-gap) 0;
}

.xrated-lab-section-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.xrated-lab-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    max-width: 100%;
    transition: all 0.3s ease;
}

.xrated-lab-box {
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transition: all 0.3s ease;
    width: 100%;
}

.xrated-lab-box-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.xrated-lab-box-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.xrated-lab-view-all-btn-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: #ffffff;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.xrated-lab-view-all-btn-header:hover {
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.xrated-lab-box-image-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.xrated-lab-box-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    min-height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.xrated-lab-box-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.xrated-lab-box-image-link:hover .xrated-lab-box-image {
    transform: scale(1.02);
}

/* Articles Grid inside X-Rated AI Lab Box */
.xrated-lab-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 1rem;
}

.xrated-lab-article-card {
    background: rgba(28, 28, 30, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.xrated-lab-article-card:hover {
    transform: translateY(-3px);
    background: rgba(44, 44, 46, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.xrated-lab-article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.xrated-lab-article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.xrated-lab-article-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.xrated-lab-article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.xrated-lab-article-title h1,
.xrated-lab-article-title h2,
.xrated-lab-article-title h3,
.xrated-lab-article-title h4,
.xrated-lab-article-title h5,
.xrated-lab-article-title h6 {
    color: #ffffff;
    margin: 0;
    font-weight: 700;
    font-size: 1.25rem;
}

.xrated-lab-article-title p {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
}

.xrated-lab-article-excerpt {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.xrated-lab-article-excerpt p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.xrated-lab-article-read-more {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    display: inline-block;
}

.xrated-lab-article-link:hover .xrated-lab-article-read-more {
    text-decoration: underline;
}

.xrated-lab-empty-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    padding: 2rem;
    font-size: 1rem;
    margin: 0;
}

/* Responsive X-Rated AI Lab Section */
@media (max-width: 1024px) {
    .xrated-lab-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .xrated-lab-section-wrapper {
        margin: var(--section-gap-mobile) 0;
    }
    
    .xrated-lab-box {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .xrated-lab-box-header {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .xrated-lab-box-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .xrated-lab-view-all-btn-header {
        font-size: 0.8rem;
        padding: 0.7rem 1.5rem;
        text-align: center;
    }
    
    .xrated-lab-box-image-container {
        min-height: 220px;
    }
    
    .xrated-lab-box-image {
        max-height: 280px;
    }
    
    .xrated-lab-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .xrated-lab-article-content {
        padding: 1.25rem;
    }
    
    .xrated-lab-article-title {
        font-size: 1.1rem;
    }
    
    .xrated-lab-article-image-container {
        height: 200px;
    }
    
    .xrated-lab-article-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

/* ==========================================
   X-RATED AI LAB PAGE
   ========================================== */

.xrated-lab-page-wrapper {
    width: 100%;
    min-height: 60vh;
    padding: var(--page-padding-desktop);
}

.xrated-lab-page-container {
    max-width: var(--box-max-width);
    margin: 0 auto;
    padding: var(--wrapper-padding-desktop);
}

.xrated-lab-page-header {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.xrated-lab-page-hero-box {
    width: 100%;
    background: rgba(28, 28, 30, 0.5);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: none;
    border-radius: var(--box-border-radius);
    padding: 3rem var(--box-padding-desktop);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.xrated-lab-page-hero-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

.xrated-lab-page-header-content {
    position: relative;
    z-index: 1;
}

.xrated-lab-page-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 auto 1.5rem auto;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.xrated-lab-page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 2rem auto;
    line-height: 1.8;
    max-width: 800px;
    text-align: center;
}

/* Hero Stats */
.xrated-lab-page-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0 auto 2rem auto;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}

.xrated-lab-hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.xrated-lab-hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.xrated-lab-hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.xrated-lab-hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Category Filters inside Hero */
.xrated-lab-page-hero-box .xrated-lab-categories-filter {
    margin-top: 1.5rem;
}

.xrated-lab-page-hero-box .xrated-filter-dropdown {
    margin-top: 1.5rem;
}

.xrated-lab-page-content {
    width: 100%;
    min-height: 400px;
}

/* Category Filter Buttons - Same style as Prompt Generator */
.xrated-lab-categories-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: var(--section-gap) 0;
    padding: var(--wrapper-padding-mobile);
}

/* Category Filter Buttons - Elegant Glass Design */
.category-filter-btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(28, 28, 30, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.category-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.category-filter-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.category-filter-btn:hover {
    background: rgba(35, 35, 40, 0.6);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.category-filter-btn:hover::before {
    opacity: 1;
}

.category-filter-btn:hover::after {
    opacity: 1;
}

.category-filter-btn.active {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(35px) saturate(220%);
    -webkit-backdrop-filter: blur(35px) saturate(220%);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 800;
    transform: translateY(-1px);
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.category-filter-btn.active::before {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
}

.category-filter-btn.active::after {
    opacity: 1;
}

/* Reset/ALL button - Special styling */
.category-filter-btn-reset {
    border-color: rgba(255, 255, 255, 0.12);
    position: relative;
}

.category-filter-btn-reset::before {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%);
}

.category-filter-btn-reset.active {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(35px) saturate(220%);
    -webkit-backdrop-filter: blur(35px) saturate(220%);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 
        0 0 25px rgba(255, 255, 255, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

/* ==========================================
   MOBILE DROPDOWN FILTER (Custom)
   ========================================== */

/* Hide mobile dropdown by default (show on tablet/mobile) */
.brands-filter-dropdown {
    display: none;
    width: 100%;
    max-width: 360px;
    margin: 1.5rem auto 0;
    position: relative;
    z-index: 100;
    transition: margin-bottom 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When dropdown is open, JavaScript handles margin-bottom on dropdown container */
/* This pushes all content below (description + brands) automatically */
.brands-filter-dropdown.dropdown-open {
    transition: margin-bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toggle Button */
.brands-filter-dropdown-toggle {
    width: 100%;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(40, 40, 45, 0.95) 0%, rgba(28, 28, 32, 0.98) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--box-border-radius-mobile);
    cursor: pointer;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.brands-filter-dropdown-toggle:hover {
    background: linear-gradient(135deg, rgba(50, 50, 55, 0.95) 0%, rgba(35, 35, 40, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.brands-filter-dropdown-toggle[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.35);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
    margin-bottom: 0;
}

.brands-filter-dropdown-label {
    flex: 1;
    text-align: left;
}

.brands-filter-dropdown-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.brands-filter-dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.brands-filter-dropdown-toggle:hover .brands-filter-dropdown-icon {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.brands-filter-dropdown-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.brands-filter-dropdown-toggle[aria-expanded="true"] .brands-filter-dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.brands-filter-dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(35, 35, 40, 0.98) 0%, rgba(25, 25, 28, 0.99) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 101;
    margin-bottom: 0;
    padding-bottom: 8px;
}

.brands-filter-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.brands-filter-dropdown-item {
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.brands-filter-dropdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.brands-filter-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.brands-filter-dropdown-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.brands-filter-dropdown-item-name {
    flex: 1;
}

.brands-filter-dropdown-item-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.brands-filter-dropdown-item:hover .brands-filter-dropdown-item-count,
.brands-filter-dropdown-item.active .brands-filter-dropdown-item-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.brands-filter-dropdown-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.brands-filter-dropdown-item:hover .brands-filter-dropdown-item-badge,
.brands-filter-dropdown-item.active .brands-filter-dropdown-item-badge {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

/* Scrollbar for dropdown menu */
.brands-filter-dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.brands-filter-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 16px 0;
}

.brands-filter-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brands-filter-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Firefox scrollbar */
.brands-filter-dropdown-menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) rgba(0, 0, 0, 0.2);
}

/* Show dropdown on tablet and below, hide desktop buttons */
@media (max-width: 768px) {
    .brands-categories-filter-desktop {
        display: none !important;
    }
    
    .brands-filter-dropdown {
        display: block;
    }
}

/* ==========================================
   X-RATED AI LAB MOBILE DROPDOWN FILTER
   ========================================== */

/* Hide mobile dropdown by default (show on tablet/mobile) */
.xrated-filter-dropdown {
    display: none;
    width: 100%;
    max-width: 360px;
    margin: 1.25rem auto 0;
    position: relative;
    z-index: 100;
    /* IMPORTANT: transition on margin-bottom to smoothly push content down when dropdown opens */
    transition: margin-bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
}

/* When dropdown is OPEN, add margin-bottom to push ALL content (description + articles) down */
/* This is the KEY fix - margin-bottom on dropdown container pushes everything below it */
.xrated-filter-dropdown.dropdown-open {
    /* JavaScript will set exact margin-bottom based on menu height */
    /* This is a fallback minimum */
    margin-bottom: 200px;
}

/* Toggle Button */
.xrated-filter-dropdown-toggle {
    width: 100%;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(40, 40, 45, 0.95) 0%, rgba(28, 28, 32, 0.98) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--box-border-radius-mobile);
    cursor: pointer;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.xrated-filter-dropdown-toggle:hover {
    background: linear-gradient(135deg, rgba(50, 50, 55, 0.95) 0%, rgba(35, 35, 40, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.xrated-filter-dropdown-toggle[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.35);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
    margin-bottom: 0;
}

.xrated-filter-dropdown-label {
    flex: 1;
    text-align: left;
    min-width: 150px;
}

.xrated-filter-dropdown-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.xrated-filter-dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.xrated-filter-dropdown-toggle:hover .xrated-filter-dropdown-icon {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.xrated-filter-dropdown-count {
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.xrated-filter-dropdown-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.xrated-filter-dropdown-toggle[aria-expanded="true"] .xrated-filter-dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.xrated-filter-dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(35, 35, 40, 0.98) 0%, rgba(25, 25, 28, 0.99) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 101;
    margin-bottom: 0;
    padding-bottom: 8px;
}

.xrated-filter-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.xrated-filter-dropdown-item {
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.xrated-filter-dropdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.xrated-filter-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.xrated-filter-dropdown-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.xrated-filter-dropdown-item-name {
    flex: 1;
}

.xrated-filter-dropdown-item-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.xrated-filter-dropdown-item:hover .xrated-filter-dropdown-item-count,
.xrated-filter-dropdown-item.active .xrated-filter-dropdown-item-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Scrollbar for dropdown menu */
.xrated-filter-dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.xrated-filter-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 16px 0;
}

.xrated-filter-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.xrated-filter-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Firefox scrollbar */
.xrated-filter-dropdown-menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) rgba(0, 0, 0, 0.2);
}

/* Show dropdown on tablet and below, hide desktop buttons */
@media (max-width: 768px) {
    .xrated-lab-categories-filter-desktop {
        display: none !important;
    }
    
    .xrated-filter-dropdown {
        display: block;
    }
    
    /* Default spacing for articles container on mobile - optimized */
    #xrated-lab-articles-container {
        margin-top: calc(var(--section-gap-mobile) * 0.6);
        transition: margin-top 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: margin-top;
    }
    
    /* When preceded by category description box and dropdown is closed, spacing is handled by description box */
    .category-description-box.visible + #xrated-lab-articles-container:not(.dropdown-open-spacing) {
        margin-top: 0;
    }
    
    /* Add extra spacing to articles container when dropdown is open on mobile - ALWAYS the same */
    /* JavaScript will calculate exact spacing dynamically */
    #xrated-lab-articles-container.dropdown-open-spacing {
        padding-top: 0 !important;
        transition: margin-top 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: margin-top;
    }
    
    /* When description box is visible AND dropdown is open, spacing is calculated by JavaScript */
    /* CSS just ensures no extra spacing from description box margin */
    .category-description-box.visible + #xrated-lab-articles-container.dropdown-open-spacing {
        padding-top: 0 !important;
    }
}

/* ==========================================
   CATEGORY DESCRIPTION BOX (SEO)
   ========================================== */

.category-description-box {
    width: 100%;
    max-width: 100%;
    margin: var(--section-gap) 0;
    padding: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-description-box.visible {
    opacity: 1;
    max-height: 280px;
    padding: 0;
    margin-top: calc(var(--section-gap) * 0.6);
    margin-bottom: calc(var(--section-gap) * 0.6);
}

/* Hidden - visible to Google but not to users */
.category-description-box.seo-hidden {
    position: absolute;
    left: -9999px;
    opacity: 0;
    max-height: none;
    overflow: visible;
    pointer-events: none;
}

/* When followed by related-brands-section with divider, let divider handle spacing */
.category-description-box.visible + .related-brands-section .brands-section-divider {
    margin-top: calc(var(--section-gap) * 0.75);
}

/* When followed by articles container and dropdown is CLOSED, spacing is handled by description box margin-bottom */
.category-description-box.visible + #xrated-lab-articles-container:not(.dropdown-open-spacing) {
    margin-top: 0;
}

/* When dropdown is open, JavaScript handles spacing dynamically */
/* This ensures no extra space between description and articles when dropdown is closed */

.category-description-content {
    background: rgba(28, 28, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius-mobile);
    padding: 1.5rem 2rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 280px;
    display: flex;
    flex-direction: column;
}

.category-description-text-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    padding-right: 0.5rem;
    margin-right: -0.5rem;
    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.category-description-text-wrapper::-webkit-scrollbar {
    width: 6px;
}

.category-description-text-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.category-description-text-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.category-description-text-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.category-description-content:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 36px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Elegant accent line at top */
.category-description-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 1.5px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 30%, 
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.4) 70%, 
        transparent 100%);
    border-radius: 2px;
}

.category-description-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1rem 0;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.category-description-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
    transition: opacity 0.3s ease;
}

.category-description-content:hover .category-description-icon {
    opacity: 1;
}

.category-description-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-description-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
    padding-right: 0.5rem;
}

.category-description-text p {
    margin: 0 0 0.75rem 0;
    color: rgba(255, 255, 255, 0.85);
}

.category-description-text p:last-child {
    margin-bottom: 0;
}

.category-description-text a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.category-description-text a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .category-description-box.visible {
        margin-top: calc(var(--section-gap-mobile) * 0.6);
        margin-bottom: calc(var(--section-gap-mobile) * 0.6);
        max-height: 240px;
    }
    
    /* When dropdown is closed, spacing is handled by description box margin-bottom */
    .category-description-box.visible + #xrated-lab-articles-container:not(.dropdown-open-spacing) {
        margin-top: 0;
    }
    
    /* When dropdown is open, JavaScript handles spacing dynamically */
    
    .category-description-content {
        padding: 1.25rem 1.5rem;
        border-radius: 12px;
        max-height: 240px;
    }
    
    .category-description-content::before {
        left: 1.5rem;
        right: 1.5rem;
    }
    
    .category-description-title {
        font-size: 0.875rem;
        letter-spacing: 2px;
        margin-bottom: 0.875rem;
    }
    
    .category-description-icon {
        width: 16px;
        height: 16px;
    }
    
    .category-description-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* Category Filters - Responsive */
@media (max-width: 1024px) {
    .xrated-lab-categories-filter,
    .brands-categories-filter {
        gap: 0.75rem;
    }
    
    .category-filter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8125rem;
        min-width: 90px;
    }
}

@media (max-width: 768px) {
    .xrated-lab-categories-filter,
    .brands-categories-filter {
        gap: 0.6rem;
        padding: 0 0.5rem;
    }
    
    .category-filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.75rem;
        letter-spacing: 0.8px;
        border-radius: 50px;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .xrated-lab-categories-filter,
    .brands-categories-filter {
        gap: 0.35rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .xrated-lab-categories-filter::-webkit-scrollbar,
    .brands-categories-filter::-webkit-scrollbar {
        display: none;
    }
    
    .category-filter-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.7rem;
        white-space: nowrap;
        min-width: auto;
    }
}

/* X-Rated AI Lab Articles Grid */
.xrated-lab-articles-wrapper {
    width: 100%;
    margin-top: 0;
}

/* Default spacing for articles container - optimized with will-change for better performance */
#xrated-lab-articles-container {
    transition: margin-top 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: calc(var(--section-gap) * 0.6);
    will-change: margin-top;
}

/* When preceded by category description box, spacing is handled by description box margin-bottom */
.category-description-box.visible + #xrated-lab-articles-container {
    margin-top: 0;
}

/* When dropdown is closed and no description visible, use default spacing */
.xrated-filter-dropdown:not(.dropdown-open):not(:has(.xrated-filter-dropdown-menu.open)) ~ .category-description-box:not(.visible) ~ #xrated-lab-articles-container {
    margin-top: calc(var(--section-gap) * 0.6);
}

.xrated-lab-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: var(--box-max-width);
    margin: 0 auto;
}

.xrated-lab-article-box {
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius-mobile);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.xrated-lab-article-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background: rgba(44, 44, 46, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.xrated-lab-article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

/* Article Image Container (in preview cards) */
.xrated-lab-article-image-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    display: block;
}

.xrated-lab-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
    display: block;
}

.xrated-lab-article-box:hover .xrated-lab-article-image {
    transform: scale(1.05);
}

.xrated-lab-article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.xrated-lab-article-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    margin-bottom: 1rem;
}

.xrated-lab-article-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.xrated-lab-article-title h1,
.xrated-lab-article-title h2,
.xrated-lab-article-title h3,
.xrated-lab-article-title h4,
.xrated-lab-article-title h5,
.xrated-lab-article-title h6 {
    color: #ffffff;
    margin: 0;
    font-weight: 700;
    font-size: 1.75rem;
}

.xrated-lab-article-title p {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
}

.xrated-lab-article-excerpt {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.xrated-lab-article-excerpt p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.xrated-lab-article-read-more {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    display: inline-block;
}

.xrated-lab-article-link:hover .xrated-lab-article-read-more {
    text-decoration: underline;
}

.xrated-lab-empty-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    padding: 2rem;
    font-size: 1rem;
}

/* Responsive X-Rated AI Lab Page */
@media (max-width: 768px) {
    .xrated-lab-page-wrapper {
        padding: var(--page-padding-mobile);
    }
    
    .xrated-lab-page-container {
        padding: var(--wrapper-padding-mobile);
    }
    
    .xrated-lab-page-header {
        margin-bottom: var(--section-gap-mobile);
        text-align: center;
        width: 100%;
    }
    
    .xrated-lab-page-hero-box {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1rem;
    }
    
    .xrated-lab-page-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    
    .xrated-lab-page-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }
    
    .xrated-lab-page-hero-stats {
        gap: 1rem;
        margin-bottom: 0;
        padding: 1rem 0;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .xrated-lab-hero-stat-item {
        flex: 0 0 auto;
    }
    
    .xrated-lab-hero-stat-number {
        font-size: 1.5rem;
    }
    
    .xrated-lab-hero-stat-label {
        font-size: 0.75rem;
    }
    
    .xrated-lab-hero-stat-divider {
        height: 30px;
        margin: 0 0.5rem;
    }
    
    .xrated-lab-articles-grid {
        max-width: 100%;
    }
    
    .xrated-lab-article-content {
        padding: 1.5rem;
        text-align: center; /* Center all content on mobile */
    }
    
    .xrated-lab-article-date {
        text-align: center;
    }
    
    .xrated-lab-article-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .xrated-lab-article-title h1,
    .xrated-lab-article-title h2,
    .xrated-lab-article-title h3,
    .xrated-lab-article-title h4,
    .xrated-lab-article-title h5,
    .xrated-lab-article-title h6 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .xrated-lab-article-excerpt {
        text-align: center;
    }
    
    .xrated-lab-article-excerpt p {
        text-align: center;
    }
    
    .xrated-lab-article-read-more {
        text-align: center;
    display: block;
    width: 100%;
    }
}

/* X-Rated AI Lab About Section */
.xrated-about-section {
    width: 100%;
    margin: var(--section-gap) 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.xrated-about-box {
    width: 100%;
    max-width: 100%;
    padding: var(--box-padding-desktop);
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.xrated-about-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Content - Collapsible */
.xrated-about-content {
    margin: 0;
    position: relative;
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.xrated-about-content.expanded {
    max-height: 5000px;
}

.xrated-about-content-inner {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
}

.xrated-about-content p {
    margin-bottom: 1rem;
}

.xrated-about-content h2,
.xrated-about-content h3 {
    color: #ffffff;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.xrated-about-content ul,
.xrated-about-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.xrated-about-content li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.xrated-about-content strong {
    color: #ffffff;
    font-weight: 700;
}

.xrated-about-content a {
    color: #4A90E2;
    text-decoration: underline;
}

.xrated-about-content a:hover {
    color: #50E3C2;
}

/* Toggle Button */
.xrated-about-toggle-container {
    text-align: center;
    margin-top: 1.5rem;
}

.xrated-about-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
}

.xrated-about-toggle-btn:hover {
    background: rgba(44, 44, 46, 0.75);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.xrated-toggle-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* Mobile */
@media (max-width: 768px) {
    .xrated-about-section {
        margin: var(--section-gap-mobile) 0 0 0;
    }
    
    .xrated-about-box {
        padding: var(--box-padding-mobile);
        border-radius: var(--box-border-radius-mobile);
    }
    
    .xrated-about-title {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        margin-bottom: 1.25rem;
}

    .xrated-about-content {
        max-height: 250px;
}

    .xrated-about-content-inner {
        font-size: 0.95rem;
        line-height: 1.7;
}

    .xrated-about-toggle-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.75rem;
    }
}

/* ==========================================
   BRAND PAGE - Additional Styles
   ========================================== */

.brand-page-media {
    width: 100%;
    max-width: var(--box-max-width);
    margin: 0 auto 2rem;
    border-radius: var(--box-border-radius-mobile);
    background: rgba(28, 28, 30, 0.8);
}

.brand-page-image {
    width: 100%;
    height: auto;
    display: block;
}

.brand-page-text-content {
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.9;
}

/* Made With Section */
.made-with-section {
    width: 100%;
    max-width: var(--box-max-width);
    margin: 2rem auto;
}

.made-with-container {
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.made-with-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.made-with-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    display: block;
    margin-bottom: 0.5rem;
}

/* ==========================================
   ARTICLE PAGE
   ========================================== */

.article-page-wrapper {
    width: 100%;
    padding: var(--page-padding-desktop);
    min-height: 60vh;
}

.article-page-container {
    max-width: var(--box-max-width);
    margin: 0 auto;
    padding: var(--wrapper-padding-desktop);
}

.article-page-content {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--box-border-radius-mobile);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 3rem;
    margin-bottom: 2rem;
}

.article-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.article-page-meta {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.article-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.article-page-image-container {
    width: 100%;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.article-page-image {
    width: 100%;
    height: auto;
    display: block;
}

.article-page-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #ffffff;
}

.article-page-back-link {
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.article-page-back-link:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(-5px);
}

/* ==========================================
   X-RATED AI LAB SINGLE ARTICLE PAGE
   ========================================== */

.xrated-lab-single-article-wrapper {
    width: 100%;
    min-height: 60vh;
    padding: var(--page-padding-desktop);
}

.xrated-lab-single-article-container {
    max-width: var(--box-max-width);
    margin: 0 auto;
    padding: var(--wrapper-padding-desktop);
}

.xrated-lab-single-article {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--box-border-radius-mobile);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 3rem;
    margin-top: 0;
}

/* Back link styles moved to article-pages.css */

.xrated-lab-single-article-image-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.xrated-lab-single-article-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.xrated-lab-single-article-header {
    margin-bottom: 2rem;
}

.xrated-lab-single-article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.xrated-lab-single-article-title h1,
.xrated-lab-single-article-title h2,
.xrated-lab-single-article-title h3,
.xrated-lab-single-article-title h4,
.xrated-lab-single-article-title h5,
.xrated-lab-single-article-title h6 {
    color: #ffffff;
    margin: 0;
    font-weight: 700;
}

.xrated-lab-single-article-title p {
    margin: 0;
}

.xrated-lab-single-article-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.9;
}

.xrated-lab-single-article-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.xrated-lab-single-article-content h1,
.xrated-lab-single-article-content h2,
.xrated-lab-single-article-content h3,
.xrated-lab-single-article-content h4,
.xrated-lab-single-article-content h5,
.xrated-lab-single-article-content h6 {
    color: #ffffff;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.xrated-lab-single-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.xrated-lab-single-article-content a {
    color: #ffffff;
    text-decoration: underline;
}

.xrated-lab-single-article-content a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.xrated-lab-single-article-content ul,
.xrated-lab-single-article-content ol {
    margin: 1rem 0 1.5rem 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.xrated-lab-single-article-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Single Article */
@media (max-width: 768px) {
    .xrated-lab-single-article-wrapper {
        padding: var(--page-padding-mobile);
    }
    
    .xrated-lab-single-article-container {
        padding: var(--wrapper-padding-mobile);
    }
    
    .xrated-lab-single-article {
        padding: var(--box-padding-mobile);
    }
    
    .xrated-lab-single-article-title {
        font-size: 1.75rem;
    }
    
    .xrated-lab-single-article-content {
        font-size: 1rem;
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .brands-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .section-title-below-generator {
        font-size: 1.8rem;
    }
    
    .related-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max 575px) */
@media (max-width: 575px) {
    .brands-container {
        grid-template-columns: 1fr;
    }
    
    .section-title-below-generator {
        font-size: 1.5rem;
    }
    
    .related-brands-grid {
        grid-template-columns: 1fr;
    }
    
    .article-page-title {
        font-size: 1.75rem;
    }
    
    /* Header & Footer Responsive */
    .header-container {
        padding: 0 0.25rem;
        max-width: 100%;
    }
    
    .header-brand-container {
        min-height: auto;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    .logo-container {
        min-height: auto;
        padding: 0;
        margin: 0;
    }
    
    .logo-container img {
        max-width: 100%;
        width: auto;
        max-height: 130px;
        height: auto;
        display: block;
        margin: 0 auto;
        object-fit: contain;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) 
                drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
    }
    
    /* Footer styles are in footer.css */
    
    .scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 1rem;
        right: 1rem;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================
   PROMPT GENERATOR PAGE
   ========================================== */

.prompt-generator-page-wrapper {
    width: 100%;
    min-height: 60vh;
    padding: var(--page-padding-desktop);
}

.prompt-generator-page-container {
    max-width: var(--box-max-width);
    margin: 0 auto;
    padding: var(--wrapper-padding-desktop);
}

@media (max-width: 768px) {
    .prompt-generator-page-wrapper {
        padding: var(--page-padding-mobile);
    }
    
    .prompt-generator-page-container {
        padding: var(--wrapper-padding-mobile);
    }
}

/* ==========================================
   BRANDS PAGE
   ========================================== */

.brands-page-wrapper {
    width: 100%;
    min-height: 60vh;
    padding: var(--page-padding-desktop);
}

.brands-page-container {
    max-width: var(--box-max-width);
    margin: 0 auto;
    padding: var(--wrapper-padding-desktop);
}

/* Breadcrumb above brands page header */
.brands-page-container > .breadcrumb {
    margin-top: 0;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.brands-page-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.brands-page-hero-box {
    width: 100%;
    background: rgba(28, 28, 30, 0.5);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: none;
    border-radius: var(--box-border-radius);
    padding: 3rem var(--box-padding-desktop);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.brands-page-hero-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

.brands-page-header-content {
    position: relative;
    z-index: 1;
}

.brands-page-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 auto 1.5rem auto;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.brands-page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 2.5rem auto;
    line-height: 1.8;
    max-width: 800px;
    text-align: center;
}

/* Hero Stats */
.brands-page-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0 auto 2rem auto;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}

/* Category Filters inside Hero */
.brands-page-hero-box .brands-categories-filter {
    margin-top: 1.5rem;
}

.brands-page-hero-box .brands-filter-dropdown {
    margin-top: 1.5rem;
}

.brands-hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.brands-hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.brands-hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.brands-hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}


@media (max-width: 1024px) {
    .brands-page-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .brands-page-wrapper {
        padding: var(--page-padding-mobile);
    }
    
    .brands-page-container {
        padding: var(--wrapper-padding-mobile);
    }
    
    .brands-page-header {
        margin-bottom: 1.5rem;
    }
    
    .brands-page-hero-box {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1rem;
    }
    
    .brands-page-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    
    .brands-page-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }
    
    .brands-page-hero-stats {
        gap: 1rem;
        margin-bottom: 0;
        padding: 1rem 0;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .brands-hero-stat-item {
        flex: 0 0 auto;
    }
    
    .brands-hero-stat-number {
        font-size: 1.5rem;
    }
    
    .brands-hero-stat-label {
        font-size: 0.75rem;
    }
    
    .brands-hero-stat-divider {
        height: 30px;
        margin: 0 0.5rem;
    }
}

/* ==========================================
   BRANDS PAGE - RELATED RESOURCES SECTION
   ========================================== */

.brands-related-resources-section {
    width: 100%;
    margin: var(--section-gap) 0 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.brands-related-resources-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.brands-related-resources-box {
    width: 100%;
    background: rgba(28, 28, 30, 0.5);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: none;
    border-radius: var(--box-border-radius);
    padding: var(--box-padding-desktop);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.brands-related-resources-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

.brands-related-resources-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 2rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
    position: relative;
    z-index: 1;
}

.brands-related-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.brands-related-resource-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    background: rgba(28, 28, 30, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.brands-related-resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.06) 0%, 
        rgba(255, 255, 255, 0.02) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.brands-related-resource-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.brands-related-resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(28, 28, 30, 0.5);
}

.brands-related-resource-card:hover::before {
    opacity: 1;
}

.brands-related-resource-card:hover::after {
    opacity: 1;
}

.brands-related-resource-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin: 0 auto 1.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

.brands-related-resource-card:hover .brands-related-resource-icon {
    transform: translateY(-4px) scale(1.1);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
    animation: iconFloatHover 1.5s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes iconFloatHover {
    0%, 100% {
        transform: translateY(-4px) scale(1.1);
    }
    50% {
        transform: translateY(-6px) scale(1.12);
    }
}

.brands-related-resource-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.brands-related-resource-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.brands-related-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.brands-related-resource-card:hover .brands-related-resource-link {
    color: #ffffff;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .brands-related-resources-section {
        margin: var(--section-gap-mobile) 0 0 0;
    }
    
    .brands-related-resources-box {
        padding: var(--box-padding-mobile);
        border-radius: var(--box-border-radius-mobile);
    }
    
    .brands-related-resources-title {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        margin-bottom: 1.5rem;
    }
    
    .brands-related-resources-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .brands-related-resource-card {
        padding: 1.5rem;
    }
}

/* X-Rated AI Lab Related Resources Section - Same styles as Brands */
.xrated-lab-related-resources-section {
    width: 100%;
    margin: var(--section-gap) 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.xrated-lab-related-resources-container {
    width: 100%;
    max-width: var(--box-max-width);
    margin: 0 auto;
}

.xrated-lab-related-resources-box {
    width: 100%;
    background: rgba(28, 28, 30, 0.5);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: none;
    border-radius: var(--box-border-radius);
    padding: var(--box-padding-desktop);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.xrated-lab-related-resources-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

.xrated-lab-related-resources-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin: 0 0 2rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.xrated-lab-related-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.xrated-lab-related-resource-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    background: rgba(28, 28, 30, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.xrated-lab-related-resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.06) 0%, 
        rgba(255, 255, 255, 0.02) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.xrated-lab-related-resource-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.xrated-lab-related-resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(28, 28, 30, 0.5);
}

.xrated-lab-related-resource-card:hover::before {
    opacity: 1;
}

.xrated-lab-related-resource-card:hover::after {
    opacity: 1;
}

.xrated-lab-related-resource-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin: 0 auto 1.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

.xrated-lab-related-resource-card:hover .xrated-lab-related-resource-icon {
    transform: translateY(-4px) scale(1.1);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
    animation: iconFloatHover 1.5s ease-in-out infinite;
}

.xrated-lab-related-resource-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.xrated-lab-related-resource-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.xrated-lab-related-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.xrated-lab-related-resource-card:hover .xrated-lab-related-resource-link {
    color: #ffffff;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .xrated-lab-related-resources-section {
        margin: var(--section-gap-mobile) 0 0 0;
    }
    
    .xrated-lab-related-resources-box {
        padding: var(--box-padding-mobile);
        border-radius: var(--box-border-radius-mobile);
    }
    
    .xrated-lab-related-resources-title {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        margin-bottom: 1.5rem;
    }
    
    .xrated-lab-related-resources-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .xrated-lab-related-resource-card {
        padding: 1.5rem;
    }
    
    .brands-related-resource-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1.25rem;
    }
    
    .brands-related-resource-title {
        font-size: 1.125rem;
    }
    
    .brands-related-resource-description {
        font-size: 0.875rem;
    }
}

/* ==========================================
   PROS & CONS SECTION
   ========================================== */

.brand-pros-cons-section {
    margin-top: 0;
}

/* .brand-section-title stili in brand-single.css sezione SECTION TITLES */

.brand-pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .brand-pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

.brand-pros-box,
.brand-cons-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.brand-pros-box {
    border-left: 2px solid #4CAF50;
}

.brand-cons-box {
    border-left: 2px solid #f44336;
}

.pros-title,
.cons-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pros-title {
    color: #4CAF50;
}

.cons-title {
    color: #f44336;
}

.pros-list,
.cons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pros-list li,
.cons-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    padding-left: 1.25rem;
    position: relative;
}

.pros-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: 700;
}

.cons-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #f44336;
    font-weight: 700;
}

/* ==========================================
   FAQ SECTION
   ========================================== */

.brand-faq-section {
    margin-top: calc(var(--section-gap) * 0.6); /* Reduced space from element above */
}

.brand-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.brand-faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    /* Only transition visual properties, NOT structural */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.brand-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

/* Active state: ONLY visual changes, NO structural changes */
.brand-faq-item.active {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    /* NO border-radius change */
    /* NO box-shadow */
    /* NO height change */
    /* NO padding change */
}

/* FAQ Question - Perfect vertical centering */
.brand-faq-question {
    /* Reset ALL button defaults completely */
    all: unset;
    
    /* Re-apply necessary properties */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
    /* Flexible dimensions - allow expansion when text wraps */
    width: 100%;
    min-height: 56px;
    box-sizing: border-box;
    
    /* Vertical padding for better spacing when text wraps */
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    
    /* Gap between text and icon */
    gap: 1rem;
    
    /* Typography */
    color: rgba(255, 255, 255, 0.85);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    
    /* Interaction */
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Remove focus outline from FAQ button - prevents white line */
.brand-faq-question:focus,
.brand-faq-question:focus-visible,
.brand-faq-question:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Active state: ONLY color change, NO structural changes */
.brand-faq-item.active .brand-faq-question {
    /* NO min-height change - keep flexible */
    /* NO padding change - keep 0.875rem 1.25rem */
    color: #ffffff;
}

.brand-faq-question:hover {
    color: #ffffff;
}

/* Text span - improved line-height for better readability when wrapping */
.brand-faq-question > span:first-child {
    /* Complete reset */
    all: unset;
    
    /* Layout */
    display: block;
    flex: 1;
    
    /* Typography */
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: 1.6;
    
    /* Explicit resets */
    margin: 0;
    padding: 0;
    border: 0;
}

/* Icon - explicit positioning */
.brand-faq-question > .faq-toggle-icon {
    /* Flex alignment */
    flex-shrink: 0;
    align-self: center;
}

.faq-toggle-icon {
    /* Fixed square dimensions */
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    
    /* Reset */
    margin: 0;
    padding: 0;
    
    /* Hide the "+" text character */
    font-size: 0;
    color: transparent;
    
    /* Styling */
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    
    /* Position for pseudo-element */
    position: relative;
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Create + icon with CSS pseudo-elements */
.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Horizontal line */
.faq-toggle-icon::before {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

/* Vertical line */
.faq-toggle-icon::after {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.brand-faq-item:hover .faq-toggle-icon {
    background: rgba(255, 255, 255, 0.1);
}

.brand-faq-item:hover .faq-toggle-icon::before,
.brand-faq-item:hover .faq-toggle-icon::after {
    background: rgba(255, 255, 255, 0.7);
}

.brand-faq-item.active .faq-toggle-icon {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.brand-faq-item.active .faq-toggle-icon::before,
.brand-faq-item.active .faq-toggle-icon::after {
    background: rgba(0, 0, 0, 0.85);
}

/* Rotate to X when active */
.brand-faq-item.active .faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.brand-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-faq-item.active .brand-faq-answer {
    grid-template-rows: 1fr;
}

.brand-faq-answer > div {
    overflow: hidden;
}

.brand-faq-answer-inner {
    padding: 0 1.25rem 1.25rem 1.25rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.brand-faq-item.active .brand-faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
}

.brand-faq-answer div {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.brand-faq-answer div p {
    margin: 0 0 0.75rem 0;
}

.brand-faq-answer div p:last-child {
    margin-bottom: 0;
}

.brand-faq-answer div a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.brand-faq-answer div a:hover {
    color: #E1BEE7;
    border-bottom-color: rgba(225, 190, 231, 0.6);
}

.brand-faq-answer div ul,
.brand-faq-answer div ol {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.brand-faq-answer div li {
    margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
    .brand-faq-section {
        margin-top: calc(var(--section-gap-mobile) * 0.6);
    }
    
    .brand-faq-list {
        gap: 0.75rem;
    }
    
    /* Mobile: Flexible height for better spacing when text wraps */
    .brand-faq-question {
        min-height: 52px;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.85rem;
        gap: 0.75rem;
        line-height: 1.5;
    }
    
    .brand-faq-question > span:first-child {
        line-height: 1.6;
    }
    
    /* Active state: NO structural changes on mobile either - keep same height and padding */
    
    .faq-toggle-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }
    
    .faq-toggle-icon::before {
        width: 10px;
    }
    
    .faq-toggle-icon::after {
        height: 10px;
    }
    
    .brand-faq-answer-inner {
        padding: 0 1rem 1rem 1rem;
    }
    
    .brand-faq-answer div {
        font-size: 0.85rem;
    }
}


/* ==========================================
   READING PROGRESS BAR
   ========================================== */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #9C27B0 0%, #E040FB 50%, #7C4DFF 100%);
    z-index: 99999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(156, 39, 176, 0.5);
}

/* ==========================================
   READING TIME & UPDATE DATE
   ========================================== */
.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.article-meta-icon {
    font-size: 1.1rem;
}

.article-meta-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================
   SOCIAL SHARING BUTTONS
   ========================================== */
.social-share-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(28, 28, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius-mobile);
}

.social-share-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Twitter/X Button */
.social-share-btn-twitter {
    background: #000000;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.social-share-btn-twitter:hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Reddit Button */
.social-share-btn-reddit {
    background: #FF4500;
    color: #ffffff;
}

.social-share-btn-reddit:hover {
    background: #FF5722;
}

/* Copy Link Button */
.social-share-btn-copy {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.social-share-btn-copy:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-share-btn-copy.copied {
    background: #4CAF50;
    border-color: #4CAF50;
}

.social-share-icon {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .article-meta-info {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .social-share-container {
        padding: 1.5rem;
    }
    
    .social-share-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .social-share-btn {
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================
   DISCLOSURE PAGE TRUST BADGE
   ========================================== */
.disclosure-trust-badge {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.05) 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    text-align: center;
}

.disclosure-trust-badge p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* ==========================================
   QUIZ WIDGET - SIDEBAR
   ========================================== */
.quiz-widget {
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--box-border-radius-mobile);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.quiz-widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quiz-widget-icon {
    font-size: 1.2rem;
}

.quiz-widget-question {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.quiz-widget-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quiz-widget-option {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.quiz-widget-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.quiz-widget-option.selected {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.25) 0%, rgba(168, 85, 247, 0.15) 100%);
    border-color: rgba(217, 70, 239, 0.5);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(217, 70, 239, 0.2);
}

.quiz-widget-progress {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.quiz-widget-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.quiz-widget-progress-dot.active {
    background: linear-gradient(135deg, #D946EF 0%, #A855F7 100%);
    box-shadow: 0 0 8px rgba(217, 70, 239, 0.5);
}

.quiz-widget-progress-dot.completed {
    background: #D946EF;
}

.quiz-widget-result {
    text-align: center;
    padding: 1rem 0;
}

.quiz-widget-result-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.quiz-widget-result-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #81C784;
    margin-bottom: 1rem;
}

.quiz-widget-result-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #D946EF 0%, #A855F7 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quiz-widget-result-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.5);
}

.quiz-widget-restart {
    display: block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
    width: 100%;
}

.quiz-widget-restart:hover {
    color: #ffffff;
}

/* Footer responsive styles are in footer.css */

.quiz-widget-progress-dot.completed {
    background: #4CAF50;
}

.quiz-widget-result {
    text-align: center;
    padding: 1rem 0;
}

.quiz-widget-result-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.quiz-widget-result-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #81C784;
    margin-bottom: 1rem;
}

.quiz-widget-result-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #D946EF 0%, #A855F7 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quiz-widget-result-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.5);
}

.quiz-widget-restart {
    display: block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
    width: 100%;
}

.quiz-widget-restart:hover {
    color: #ffffff;
}

/* Footer responsive styles are in footer.css */
