/**
 * ÖNEMLI: Bu stiller SADECE profil sayfasına uygulanır
 * Chat sayfasındaki profil panelini etkilememesi için
 * tüm seçiciler .fanchaty-profile-page ile başlar
 */

/* Chat sayfası profil panelini koruma */
.chat-profile-panel .profile-section,
.chat-profile-panel .section-title,
.chat-profile-panel .trait-item,
.chat-profile-panel .trait-label,
.chat-profile-panel .trait-value,
.chat-profile-panel .trait-icon,
.chat-profile-panel .profile-bio,
.chat-right-column .profile-section,
.chat-right-column .section-title,
.chat-right-column .trait-item,
.chat-right-column .trait-label,
.chat-right-column .trait-value,
.chat-right-column .trait-icon {
    all: revert;
}




/**
 * Header/Footer Gizleme (Profil Sayfası)
 */
.fanchaty-profile-page ~ footer,
.fanchaty-profile-page ~ .site-footer,
body:has(.fanchaty-profile-page) footer,
body:has(.fanchaty-profile-page) .site-footer,
body:has(.fanchaty-profile-page) .elementor-location-footer,
body:has(.fanchaty-profile-page) header .site-branding,
body:has(.fanchaty-profile-page) .site-title,
body:has(.fanchaty-profile-page) .site-description,
body:has(.fanchaty-profile-page) .page-header,
body:has(.fanchaty-profile-page) .entry-header {
    display: none !important;
}

/* Footer "All rights reserved" gizle */
body:has(.fanchaty-profile-page) .copyright,
body:has(.fanchaty-profile-page) .site-info,
body:has(.fanchaty-profile-page) #colophon {
    display: none !important;
}




/**
 * Chatbot Profil Sayfası Stilleri
 * /ai-sevgili/{slug}/
 * 
 * ÖNEMLI: Tüm stiller .fanchaty-profile-page ile sınırlandırılmıştır
 * Chat sayfasındaki profil panelini etkilememesi için
 */

/* ===== HEADER/FOOTER GİZLEME ===== */
body:has(.fanchaty-profile-page) footer,
body:has(.fanchaty-profile-page) .site-footer,
body:has(.fanchaty-profile-page) .elementor-location-footer,
body:has(.fanchaty-profile-page) header .site-branding,
body:has(.fanchaty-profile-page) .site-title,
body:has(.fanchaty-profile-page) .site-description,
body:has(.fanchaty-profile-page) .page-header,
body:has(.fanchaty-profile-page) .entry-header,
body:has(.fanchaty-profile-page) .copyright,
body:has(.fanchaty-profile-page) .site-info,
body:has(.fanchaty-profile-page) #colophon {
    display: none !important;
}

/* ===== ANA KONTEYNER ===== */
.fanchaty-profile-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d0d0f 0%, #141418 50%, #0d0d0f 100%);
    padding: 40px 20px;
}

.fanchaty-profile-page .profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ===== SOL TARAF: GALERİ ===== */
.fanchaty-profile-page .profile-gallery {
    position: sticky;
    top: 40px;
}

.fanchaty-profile-page .gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #141418;
    aspect-ratio: 3/4;
}

.fanchaty-profile-page .gallery-main .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.fanchaty-profile-page .gallery-main:hover .main-image {
    transform: scale(1.02);
}

.fanchaty-profile-page .gallery-main .main-image.changing {
    opacity: 0.7;
}

/* Favori Butonu */
.fanchaty-profile-page .profile-favorite-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
}

.fanchaty-profile-page .profile-favorite-btn:hover {
    background: rgba(221, 71, 145, 0.3);
    border-color: rgba(221, 71, 145, 0.5);
    transform: scale(1.1);
}

.fanchaty-profile-page .profile-favorite-btn.active {
    color: #dd4791;
    background: rgba(221, 71, 145, 0.2);
    border-color: rgba(221, 71, 145, 0.5);
}

.fanchaty-profile-page .profile-favorite-btn svg {
    width: 24px;
    height: 24px;
}

/* Thumbnail Grid */
.fanchaty-profile-page .gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.fanchaty-profile-page .gallery-thumbnails .thumbnail {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: #141418;
    padding: 0;
    transition: all 0.3s ease;
}

.fanchaty-profile-page .gallery-thumbnails .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fanchaty-profile-page .gallery-thumbnails .thumbnail:hover {
    border-color: rgba(221, 71, 145, 0.5);
}

.fanchaty-profile-page .gallery-thumbnails .thumbnail:hover img {
    transform: scale(1.1);
}

.fanchaty-profile-page .gallery-thumbnails .thumbnail.active {
    border-color: #dd4791;
    box-shadow: 0 0 20px rgba(221, 71, 145, 0.3);
}

/* ===== GÖRSEL SLİDER OKLARI ===== */
.fanchaty-profile-page .gallery-slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
    z-index: 10;
}

.fanchaty-profile-page .gallery-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0;
}

.fanchaty-profile-page .gallery-main:hover .gallery-arrow {
    opacity: 1;
}

.fanchaty-profile-page .gallery-arrow:hover {
    background: rgba(221, 71, 145, 0.7);
    border-color: rgba(221, 71, 145, 0.8);
    transform: scale(1.1);
}

.fanchaty-profile-page .gallery-arrow svg {
    width: 26px;
    height: 26px;
}

.fanchaty-profile-page .gallery-arrow.prev svg {
    margin-right: 2px;
}

.fanchaty-profile-page .gallery-arrow.next svg {
    margin-left: 2px;
}

/* ===== SAĞ TARAF: BİLGİLER ===== */
.fanchaty-profile-page .profile-info {
    padding: 20px 0;
}

/* İsim ve Yaş */
.fanchaty-profile-page .profile-header {
    margin-bottom: 32px;
}

.fanchaty-profile-page .profile-name {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.fanchaty-profile-page .profile-age {
    font-size: 32px;
    font-weight: 400;
    color: #888;
}

.fanchaty-profile-page .profile-occupation {
    font-size: 18px;
    color: #dd4791;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fanchaty-profile-page .profile-occupation::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #dd4791;
    border-radius: 50%;
}

/* Section Başlıkları */
.fanchaty-profile-page .profile-section {
    margin-bottom: 32px;
}

.fanchaty-profile-page .section-title {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px 0;
}

.fanchaty-profile-page .profile-bio {
    font-size: 17px;
    line-height: 1.7;
    color: #ccc;
    margin: 0;
}

.fanchaty-profile-page .profile-scenario {
    font-size: 16px;
    line-height: 1.7;
    color: #aaa;
    margin: 0;
}

/* ===== ÖZELLİKLER GRİD ===== */
.fanchaty-profile-page .profile-traits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.fanchaty-profile-page .trait-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.fanchaty-profile-page .trait-item:hover {
    background: rgba(221, 71, 145, 0.05);
    border-color: rgba(221, 71, 145, 0.2);
}

.fanchaty-profile-page .trait-icon {
    font-size: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(221, 71, 145, 0.1);
    border-radius: 12px;
}

.fanchaty-profile-page .trait-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fanchaty-profile-page .trait-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fanchaty-profile-page .trait-value {
    font-size: 15px;
    color: #ddd;
    font-weight: 500;
}

/* ===== CTA BUTONLARI ===== */
.fanchaty-profile-page .profile-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.fanchaty-profile-page .btn-start-chat {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #dd4791 0%, #534fe0 100%);
    border: none;
    border-radius: 14px;
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(221, 71, 145, 0.3);
}

.fanchaty-profile-page .btn-start-chat:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(221, 71, 145, 0.4);
    color: #fff !important;
}

.fanchaty-profile-page .btn-start-chat:focus,
.fanchaty-profile-page .btn-start-chat:active,
.fanchaty-profile-page .btn-start-chat:visited,
.fanchaty-profile-page .btn-start-chat span {
    color: #fff !important;
    text-decoration: none !important;
}

.fanchaty-profile-page .btn-start-chat svg {
    width: 22px;
    height: 22px;
}

.fanchaty-profile-page .btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #ccc;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fanchaty-profile-page .btn-share:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.fanchaty-profile-page .btn-share svg {
    width: 20px;
    height: 20px;
}

/* ===== MOBİL RESPONSIVE ===== */
@media (max-width: 1024px) {
    .fanchaty-profile-page .profile-container {
        gap: 40px;
    }
    
    .fanchaty-profile-page .profile-name {
        font-size: 36px;
    }
    
    .fanchaty-profile-page .profile-age {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .fanchaty-profile-page {
        padding: 20px 16px;
    }
    
    .fanchaty-profile-page .profile-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fanchaty-profile-page .profile-gallery {
        position: relative;
        top: 0;
    }
    
    .fanchaty-profile-page .gallery-main {
        border-radius: 16px;
        aspect-ratio: 4/5;
    }
    
    .fanchaty-profile-page .gallery-thumbnails {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        margin-top: 12px;
    }
    
    .fanchaty-profile-page .gallery-thumbnails .thumbnail {
        border-radius: 8px;
    }
    
    .fanchaty-profile-page .gallery-arrow {
        opacity: 1;
        width: 48px;
        height: 48px;
    }
    
    .fanchaty-profile-page .gallery-slider-arrows {
        padding: 0 8px;
    }
    
    .fanchaty-profile-page .gallery-arrow svg {
        width: 22px;
        height: 22px;
    }
    
    .fanchaty-profile-page .profile-info {
        padding: 0;
    }
    
    .fanchaty-profile-page .profile-header {
        margin-bottom: 24px;
    }
    
    .fanchaty-profile-page .profile-name {
        font-size: 32px;
    }
    
    .fanchaty-profile-page .profile-age {
        font-size: 24px;
    }
    
    .fanchaty-profile-page .profile-occupation {
        font-size: 16px;
    }
    
    .fanchaty-profile-page .profile-traits {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .fanchaty-profile-page .trait-item {
        padding: 14px;
    }
    
    .fanchaty-profile-page .profile-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 32px;
    }
    
    .fanchaty-profile-page .btn-start-chat,
    .fanchaty-profile-page .btn-share {
        padding: 16px 24px;
    }
    
    .fanchaty-profile-page .btn-start-chat {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .fanchaty-profile-page {
        padding: 16px 12px;
    }
    
    .fanchaty-profile-page .profile-name {
        font-size: 28px;
        gap: 12px;
    }
    
    .fanchaty-profile-page .profile-age {
        font-size: 22px;
    }
    
    .fanchaty-profile-page .profile-favorite-btn {
        width: 44px;
        height: 44px;
        top: 16px;
        right: 16px;
    }
    
    .fanchaty-profile-page .profile-favorite-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .fanchaty-profile-page .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .fanchaty-profile-page .section-title {
        font-size: 13px;
    }
    
    .fanchaty-profile-page .profile-bio {
        font-size: 16px;
    }
    
    .fanchaty-profile-page .trait-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}







/* ===== MOBİL: SOHBETE BAŞLA BUTONU (RESİM ALTINDA) ===== */
.fanchaty-profile-page .mobile-chat-btn {
    display: none;
}

@media (max-width: 768px) {
    .fanchaty-profile-page .mobile-chat-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        margin-top: 12px;
        background: linear-gradient(135deg, #dd4791 0%, #534fe0 100%);
        border: none;
        border-radius: 12px;
        color: #fff !important;
        font-size: 17px;
        font-weight: 600;
        text-decoration: none !important;
        box-shadow: 0 6px 20px rgba(221, 71, 145, 0.35);
        transition: all 0.3s ease;
    }
    
    .fanchaty-profile-page .mobile-chat-btn:hover,
    .fanchaty-profile-page .mobile-chat-btn:active {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(221, 71, 145, 0.45);
        color: #fff !important;
    }
    
    .fanchaty-profile-page .mobile-chat-btn svg {
        width: 20px;
        height: 20px;
    }
    
    /* Alt taraftaki orijinal butonları gizle (mobilde) */
    .fanchaty-profile-page .profile-actions .btn-start-chat {
        display: none;
    }
    
    /* Paylaş butonu tam genişlik olsun */
    .fanchaty-profile-page .profile-actions {
        margin-top: 24px;
    }
    
    .fanchaty-profile-page .profile-actions .btn-share {
        width: 100%;
        justify-content: center;
    }
}