/**
 * Name Detail Page V2 Styles
 * V2 design with pink/coral theme (matching homepage)
 */

:root {
    --bg-base: #FFF6F8;
    --pattern-color: #FF8DAA;
    --accent: #FF8DAA;
    --accent-dark: #e57a98;
    --cream: #FFFBF9;
    --charcoal: #111827;
    --soft: #6B7280;
    --success: #4a7c59;
    --info: #5a7a9a;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    background-color: var(--bg-base);
    color: var(--charcoal);
    min-height: 100vh;
}

/* Site Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(255,141,170,0.15);
    max-width: 800px;
    margin: 0 auto;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--charcoal);
}
.brand .logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.brand .logo svg {
    width: 36px;
    height: 36px;
}
.brand-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
    line-height: 1.2;
}
.brand p {
    font-size: 0.75rem;
    color: var(--soft);
    margin: 0;
}
.back-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-base);
    border: 1px solid rgba(255,141,170,0.3);
    color: var(--accent-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}
.back-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}



.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 1rem;
    background: var(--accent);
    color: white;
}
.skip-to-content:focus {
    left: 0;
}

.container { max-width: 800px; margin: 0 auto; padding: 0 1rem; }

/* Card base */
.card {
    background: var(--cream);
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    position: relative;
}

.card-content { padding: 2rem; position: relative; z-index: 1; }

/* Hero Section */
.hero { text-align: center; padding: 3rem 2rem; }
.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.hero-pronunciation-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.hero-pronunciation {
    font-size: 1.2rem;
    color: var(--soft);
}
.hero-tagline {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
}
.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.meta-item { text-align: center; }
.meta-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--soft);
}
.meta-value {
    font-size: 1.1rem;
    color: var(--charcoal);
    font-weight: 500;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--soft);
}
.breadcrumbs a {
    color: var(--accent-dark);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover {
    color: var(--accent);
    text-decoration: underline;
}
.breadcrumbs .separator {
    color: var(--soft);
    opacity: 0.5;
}
.breadcrumbs span[aria-current="page"] {
    color: var(--charcoal);
    font-weight: 500;
}

/* Audio Button - High Visibility */
.audio-btn {
    background: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 8px rgba(255,141,170,0.3);
}
.audio-btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255,141,170,0.4);
}
.audio-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Tags Section */
.tags-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0 1rem;
}
.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}
.tag-gender-male,
.tag-gender-boy {
    background: #E3F2FD;
    color: #1565C0;
    border-color: #90CAF9;
}
.tag-gender-male:hover,
.tag-gender-boy:hover {
    background: #BBDEFB;
}
.tag-gender-female,
.tag-gender-girl {
    background: #FCE4EC;
    color: #C2185B;
    border-color: #F48FB1;
}
.tag-gender-female:hover,
.tag-gender-girl:hover {
    background: #F8BBD9;
}
.tag-gender-unisex,
.tag-gender-neutral {
    background: #F3E5F5;
    color: #7B1FA2;
    border-color: #CE93D8;
}
.tag-gender-unisex:hover,
.tag-gender-neutral:hover {
    background: #E1BEE7;
}
.tag-origin {
    background: #FFF3E0;
    color: #E65100;
    border-color: #FFCC80;
}
.tag-origin:hover {
    background: #FFE0B2;
}
.tag-badge {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    text-transform: capitalize;
}
.tag-badge-trending {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-color: #FF6B6B;
}
.tag-badge-classic {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
}
.tag-badge-rare {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    border-color: #11998e;
}

/* Favorites Button Container */
.favorites-button-container {
    margin-top: 1rem;
}
.favorites-button-container .favorite-btn {
    padding: 0.75rem 1.5rem;
    background: var(--cream);
    border: 1px solid rgba(255,141,170,0.3);
    color: var(--charcoal);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}
.favorites-button-container .favorite-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}
.favorites-button-container .favorite-btn.is-favorite {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Decision Summary */
.decision-box {
    background: linear-gradient(135deg, #FFF0F3 0%, var(--cream) 100%);
    border-left: 4px solid var(--success);
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.decision-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--success);
    margin-bottom: 0.75rem;
}
.decision-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal);
}

/* Section headers */
.section-header {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    color: var(--accent-dark);
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Meaning Section */
.meaning-text {
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: center;
    color: var(--charcoal);
    max-width: 600px;
    margin: 0 auto;
}

/* Personality Traits */
.traits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.trait {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-base);
    border: 1px solid rgba(255,141,170,0.2);
}
.trait-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
    font-size: 1.1rem;
}
.trait-text { font-size: 0.95rem; }

/* Alternatives */
.alternatives-section { margin: 1.5rem 0; }
.alt-group { margin-bottom: 1.5rem; }
.alt-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--soft);
    margin-bottom: 0.75rem;
}
.alt-names {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.alt-name {
    padding: 0.5rem 1.25rem;
    background: var(--cream);
    border: 1px solid rgba(255,141,170,0.3);
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.alt-name:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Details Table */
.details-table {
    width: 100%;
    border-collapse: collapse;
}
.details-table tr {
    border-bottom: 1px solid rgba(255,141,170,0.15);
}
.details-table td {
    padding: 0.75rem 0;
}
.details-table td:first-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--soft);
    width: 40%;
}
.details-table td:last-child {
    font-weight: 500;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(255,141,170,0.15);
    padding: 1rem 0;
}
.faq-q {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}
.faq-a {
    color: var(--soft);
    line-height: 1.7;
}

/* CTA */
.cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.btn {
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent);
    color: white;
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent-dark);
}
.btn-secondary:hover {
    background: var(--bg-base);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    gap: 1rem;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.divider span { color: var(--accent); }

@media (max-width: 600px) {
    .hero-name { font-size: 2.2rem; letter-spacing: 0.05em; }
    .hero-meta { flex-direction: column; gap: 1rem; }
    .traits-grid { grid-template-columns: 1fr; }
    .card-content { padding: 1.5rem; }
    .cta-row { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    
    /* Header mobile */
    .site-header {
        padding: 0.75rem;
    }
    .brand .logo {
        width: 40px;
        height: 40px;
    }
    .brand .logo svg {
        width: 28px;
        height: 28px;
    }
    .brand-title {
        font-size: 1rem;
    }
    .brand p {
        font-size: 0.65rem;
    }
    .back-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}


/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
}


/* ============================================================================
   DECISION SEGMENTS STYLES
   ============================================================================ */

/* Decision Summary Section */
.decision-summary {
    background: linear-gradient(135deg, var(--cream) 0%, var(--bg-base) 100%);
    border: 2px solid var(--accent);
}

.decision-box {
    text-align: center;
    padding: 1rem 0;
}

.decision-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.primary-topic {
    font-size: 0.9rem;
    color: var(--soft);
    margin-bottom: 0.75rem;
}

.primary-topic a {
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 500;
}

.primary-topic a:hover {
    text-decoration: underline;
}

.style-classification {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--soft);
    padding: 0.5rem 1rem;
    background: rgba(255, 141, 170, 0.1);
    border-radius: 20px;
    margin-bottom: 1rem;
}

/* Rarity Badge Styles */
.rarity-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.rarity-very-popular {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #5a4a00;
}

.rarity-popular {
    background: linear-gradient(135deg, #98d8c8, #7bc8b8);
    color: #1a5a4a;
}

.rarity-moderate {
    background: linear-gradient(135deg, #b8d4e8, #a0c4d8);
    color: #2a4a5a;
}

.rarity-rare {
    background: linear-gradient(135deg, #d8b8e8, #c8a0d8);
    color: #4a2a5a;
}

.rarity-very-rare {
    background: linear-gradient(135deg, #e8b8d8, #d8a0c8);
    color: #5a2a4a;
}

.decision-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal);
    max-width: 600px;
    margin: 0 auto;
}

/* Real-Life Fit Section */
.real-life-fit .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.context-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.context-card {
    background: var(--bg-base);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(255, 141, 170, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.context-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 141, 170, 0.15);
}

.context-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.context-label {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.context-desc {
    font-size: 0.85rem;
    color: var(--soft);
    line-height: 1.5;
    margin: 0;
}

.unisex-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--soft);
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 141, 170, 0.15);
    font-style: italic;
}


/* Style Profile Section */
.style-profile .section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.style-profile .style-classification {
    display: block;
    text-align: center;
    margin-bottom: 1.5rem;
}

.name-metrics {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.metric {
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
}

.trait-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.trait-chip {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 141, 170, 0.15);
    color: var(--accent-dark);
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Alternatives Section */
.alternatives .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.alt-category {
    background: var(--bg-base);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 141, 170, 0.15);
}

.alt-label {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.alt-names {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.alt-name {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background: var(--cream);
    color: var(--accent-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 141, 170, 0.2);
    transition: all 0.2s;
}

.alt-name:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Dynamic FAQ Section */
.dynamic-faq .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.dynamic-faq .faq-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 141, 170, 0.1);
}

.dynamic-faq .faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dynamic-faq .faq-q {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.dynamic-faq .faq-a {
    color: var(--soft);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}


/* Continuation Engine Section */
.continuation-engine .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.continuation-group {
    margin-bottom: 1.5rem;
}

.continuation-group:last-child {
    margin-bottom: 0;
}

.continuation-group h3 {
    font-size: 0.85rem;
    color: var(--soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.compare-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.compare-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-base);
    color: var(--accent-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 141, 170, 0.2);
    transition: all 0.2s;
}

.compare-link:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.explore-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 141, 170, 0.1);
    color: var(--accent-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.explore-link:hover {
    background: var(--accent);
    color: white;
}

/* Enhanced CTA Section */
.enhanced-cta .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cta-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-base);
    color: var(--charcoal);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 141, 170, 0.2);
    transition: all 0.2s;
}

.cta-link:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 141, 170, 0.25);
}

.cta-icon {
    font-size: 1.1rem;
}

/* ============================================================================
   RESPONSIVE STYLES FOR DECISION SEGMENTS
   ============================================================================ */

@media (max-width: 768px) {
    .decision-title {
        font-size: 1.25rem;
    }
    
    .context-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .context-card {
        padding: 1rem;
    }
    
    .context-icon {
        font-size: 1.5rem;
    }
    
    .name-metrics {
        gap: 1.5rem;
    }
    
    .metric-value {
        font-size: 1.1rem;
    }
    
    .alternatives-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .compare-links {
        flex-direction: column;
    }
    
    .compare-link {
        text-align: center;
    }
    
    .cta-grid {
        flex-direction: column;
    }
    
    .cta-link {
        justify-content: center;
        width: 100%;
    }
    
    .trait-chips {
        gap: 0.4rem;
    }
    
    .trait-chip {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}


/* ============================================================================
   CONDITIONAL SECTION STYLES
   ============================================================================ */

/* Symbolism Section (nature meaning cluster) */
.symbolism-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 1px solid #a5d6a7;
}

.symbolism-section .section-header {
    color: #2e7d32;
}

.symbolism-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

.symbolism-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.symbolism-text {
    color: #2e7d32;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* Heritage Section (classical origins) */
.heritage-section {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 1px solid #ffe082;
}

.heritage-section .section-header {
    color: #5d4037;
}

.heritage-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

.heritage-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.heritage-text {
    color: #5d4037;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* Gender Distribution Section (unisex names) */
.gender-distribution-section {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border: 1px solid #ce93d8;
}

.gender-content {
    text-align: center;
}

.gender-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gender-icon {
    font-size: 2rem;
}

.gender-text {
    color: #6a1b9a;
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Trend Context Section (trending badge) */
.trend-context-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
}

.trend-content {
    text-align: left;
}

.trend-text {
    color: #1565c0;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.trend-reasons {
    color: #1565c0;
    margin: 0 0 1rem 1.5rem;
    padding: 0;
}

.trend-reasons li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.trend-note {
    color: #1565c0;
    font-style: italic;
    margin: 0;
    font-size: 0.9rem;
}

/* Social Reassurance Section (rare names) */
.social-reassurance-section {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border: 1px solid #f48fb1;
}

.reassurance-content {
    text-align: left;
}

.reassurance-icon {
    font-size: 2rem;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.reassurance-text {
    color: #880e4f;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.reassurance-points {
    color: #880e4f;
    margin: 0 0 1rem 1.5rem;
    padding: 0;
}

.reassurance-points li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.reassurance-note {
    color: #880e4f;
    font-style: italic;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive styles for conditional sections */
@media (max-width: 768px) {
    .symbolism-content,
    .heritage-content {
        flex-direction: column;
        text-align: center;
    }
    
    .symbolism-icon,
    .heritage-icon {
        font-size: 2rem;
    }
    
    .trend-reasons,
    .reassurance-points {
        margin-left: 1rem;
    }
}

/* ============================================
   DECISION CLOSURE SECTION
   ============================================ */

.decision-closure {
    background: linear-gradient(135deg, #fff6f8 0%, #fce4ec 100%);
    border: 2px solid #f8bbd9;
    margin-top: 2rem;
}

.decision-closure .section-header {
    color: #880e4f;
    text-align: center;
}

.decision-closure-content {
    text-align: center;
}

.closure-text {
    color: #6d4c5e;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.closure-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: 320px;
    margin: 0 auto;
}

.btn-save-shortlist,
.btn-compare-favorites {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-save-shortlist {
    background: linear-gradient(135deg, #ec407a 0%, #f06292 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(236, 64, 122, 0.3);
}

.btn-save-shortlist:hover {
    background: linear-gradient(135deg, #d81b60 0%, #ec407a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 64, 122, 0.4);
}

.btn-save-shortlist:active {
    transform: translateY(0);
}

.btn-compare-favorites {
    background: white;
    color: #880e4f;
    border: 2px solid #f8bbd9;
}

.btn-compare-favorites:hover {
    background: #fce4ec;
    border-color: #f48fb1;
}

.btn-icon {
    font-size: 1.1rem;
}

/* Responsive styles for decision closure */
@media (min-width: 480px) {
    .closure-actions {
        flex-direction: row;
        max-width: 100%;
        justify-content: center;
    }
    
    .btn-save-shortlist,
    .btn-compare-favorites {
        width: auto;
        min-width: 200px;
    }
}

@media (max-width: 479px) {
    .closure-text {
        font-size: 1rem;
    }
    
    .btn-save-shortlist,
    .btn-compare-favorites {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
}


/* Saved state for shortlist button */
.btn-save-shortlist.saved {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-save-shortlist.saved:hover {
    background: linear-gradient(135deg, #43a047 0%, #4caf50 100%);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}


/* ---------- Site Footer ---------- */
.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,141,170,0.15);
    background: var(--cream);
}

.site-footer p {
    color: var(--soft);
    font-size: 0.85rem;
    margin: 0;
}
