/* =========================================
   SPARK LS - MASTER STYLESHEET
   ========================================= */

/* 1. GLOBAL & TYPOGRAPHY */
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: #060e20; 
}

body { opacity: 0; }
        
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; 
    display: inline-block;
    min-width: 1em;
    max-width: 1em;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
}
/* 2. UTILITIES & SCROLLBAR */
.no-scrollbar::-webkit-scrollbar { 
    display: none; 
}

.no-scrollbar { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

.glass-panel { background: rgba(15, 25, 48, 0.5); backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.05); }
        
.gtaw-btn {
    background: linear-gradient(to bottom, #1f1f1f, #111111);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gtaw-btn:hover {
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 3. GLASSMORPHISM (NAV & CARDS) */
.glass-nav { 
    background: rgba(15, 25, 48, 0.6); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); 
}

.glass-card { 
    background: rgba(15, 25, 48, 0.4); 
    backdrop-filter: blur(24px); 
    border: 1px solid rgba(163, 166, 255, 0.1); 
}

/* 4. BUTTONS & ACTIVE STATES (STORE & LIKES) */
.vibe-active { 
    background: linear-gradient(to top right, #a3a6ff, #ac8aff); 
    color: #0a0081; 
    font-weight: bold; 
    border-color: #a3a6ff; 
}

.tab-btn.active { 
    background: rgba(163, 166, 255, 0.15); 
    border-color: rgba(163, 166, 255, 0.5); 
    color: #a3a6ff; 
}

.pro-active { 
    background: linear-gradient(to top right, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2)); 
    border-color: rgba(255, 215, 0, 0.5); 
    color: #FFD700 !important; 
}

/* 5. PHOTO SLIDER & DRAG ZONES (PROFILE & MAIN) */
#slider-container { 
    user-select: none; 
}

#photo-slider img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    pointer-events: none; /* Resim yerine slider'ın kendisiyle etkileşime girer */
}

/* X Butonlarının Kesilmesini Engelleyen Kesin Çözüm */
.drop-zone {
    overflow: visible !important; 
}

.drop-zone img {
    border-radius: 12px;
}

/* 6. SWIPE, LIKES & CANDIDATE SPECIFIC */
#active-candidate {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

#spark-count-display.limit-low {
    color: #ff6e84;
    text-shadow: 0 0 15px rgba(255, 110, 132, 0.4);
}

.super-spark-card {
    border: 2px solid #a3a6ff !important;
    box-shadow: 0 0 25px rgba(163, 166, 255, 0.4);
}

.mysterious-blur { 
    filter: blur(25px) brightness(0.5); 
    transform: translateZ(0); 
    will-change: filter, transform; 
    backface-visibility: hidden;
}

/* 7. ANIMATIONS */
@keyframes lightning-flash {
    0% { background: transparent; }
    25% { background: rgba(255, 255, 255, 0.85); }
    50% { background: transparent; }
    75% { background: rgba(255, 255, 255, 0.5); }
    100% { background: transparent; }
}

@keyframes super-launch {
    0% { transform: translateY(0) rotate(0deg) scale(1); filter: brightness(1); }
    30% { transform: translateY(30px) rotate(-10deg) scale(1.05); filter: brightness(1.5) drop-shadow(0 0 20px #a3a6ff); }
    100% { transform: translateY(-1500px) rotate(720deg) scale(2); filter: brightness(3) drop-shadow(0 0 50px #fff); }
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.lightning-active {
    animation: lightning-flash 1.2s ease-in-out;
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 999;
}

.super-launch-active {
    animation: super-launch 1.5s cubic-bezier(0.4, -0.1, 0.6, 1) forwards !important; 
}

body.is-dragging .drop-zone * {
    pointer-events: none !important;
}

.material-symbols-outlined {
  /* Fontun kendi kelimelerini çevrilmekten korur */
  text-transform: none !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  direction: ltr !important;
  /* Font inene kadar yazıyı saydamlaştırarak gözükmesini engeller */
  color: transparent;
  text-shadow: 0 0 0 rgba(255,255,255,1); /* Kendi temanın ikon rengine göre ayarlanabilir */
}

/* üzerine eklenecek yeni stiller */

/* Spark Pro Işıldama Efekti */
.pro-glow-active {
    border: 2px solid #ac8aff !important;
    box-shadow: 0 0 25px rgba(172, 138, 255, 0.5), inset 0 0 15px rgba(172, 138, 255, 0.3) !important;
    animation: pro-pulse 2s infinite alternate ease-in-out;
    z-index: 20;
}

@keyframes pro-pulse {
    from { box-shadow: 0 0 15px rgba(172, 138, 255, 0.4), inset 0 0 10px rgba(172, 138, 255, 0.2); }
    to { box-shadow: 0 0 40px rgba(172, 138, 255, 0.8), inset 0 0 25px rgba(172, 138, 255, 0.4); }
}

/* Premium Sidebar Kartı */
.membership-card-premium {
    background: linear-gradient(135deg, #192540 0%, #0f1930 100%);
    position: relative;
    overflow: hidden;
}

.membership-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(163, 166, 255, 0.3), transparent 30%);
    animation: rotate-border 4s linear infinite;
}

@keyframes rotate-border {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* üzerine eklenecek Boost efekti */
.boost-glow-active {
    border: 2px solid #ffa5d9 !important;
    box-shadow: 0 0 25px rgba(255, 165, 217, 0.6), inset 0 0 15px rgba(255, 165, 217, 0.3) !important;
    animation: boost-pulse 1.5s infinite alternate ease-in-out;
}

@keyframes boost-pulse {
    from { box-shadow: 0 0 15px rgba(255, 165, 217, 0.4); }
    to { box-shadow: 0 0 40px rgba(255, 165, 217, 0.8); }
}

.slider-track { will-change: transform; }
@keyframes slideDown {
    0% { transform: translate(-50%, -100%); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}
.toast-animate { animation: slideDown 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }

.custom-scroll::-webkit-scrollbar { width: 4px; }
.custom-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 10px; }
.custom-scroll::-webkit-scrollbar-thumb { background: #a3a6ff; border-radius: 10px; }

.market-card { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.market-card:hover { transform: translateY(-8px); border-color: rgba(163, 166, 255, 0.2); }
.price-text { letter-spacing: -0.05em; }
.modal-enter { animation: modalFadeIn 0.3s ease-out forwards; }
@keyframes modalFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.step-view { display: none; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; }
.step-view.active { display: block; opacity: 1; transform: translateY(0); animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.prio-btn input:checked + div { border-color: #a3a6ff; background-color: rgba(163,166,255,0.1); }
.prio-btn input:checked + div .prio-icon { color: #a3a6ff; font-variation-settings: 'FILL' 1; }
.prio-btn input:checked + div .prio-text { color: #a3a6ff; }

.chat-scroll::-webkit-scrollbar { width: 6px; }
.chat-scroll::-webkit-scrollbar-track { background: transparent; }
.chat-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
/* Arşiv Seçim Çerçevesi Düzeltmesi */
.archive-box {
    position: relative; /* z-index'in çalışması için gerekli */
    transition: all 0.2s ease-in-out;
}

.archive-box.ring-primary {
    z-index: 50 !important; /* Seçildiğinde diğer her şeyin üstüne çıkmasını sağlar */
    transform: scale(1.02); /* Seçilen fotoğrafı çok hafif büyütür, çerçevenin taşmasını engeller ve hoş bir his verir */
}

/* Modalın kendi içindeki taşmaları serbest bırak */
#editProfileModalBox .custom-scroll {
    overflow-y: auto;
    overflow-x: hidden; 
}