/* assent/css/style.css - BONDY GAME FINAL CSS (GÜNCELLENMİŞ) */

/* --- GENEL AYARLAR --- */
body { 
    font-family: 'Outfit', sans-serif; 
    background-color: #050505; 
    color: #e5e7eb; /* Okunabilir açık gri */
    overflow-x: hidden; /* Yatay kaymayı engeller */
    -webkit-tap-highlight-color: transparent; /* Mobilde tıklama gölgesini kaldırır */
    padding-bottom: env(safe-area-inset-bottom); /* iPhone X ve üzeri için güvenli alan */
}

/* --- YENİ NESİL DARK GLASS EFEKTİ --- */
.glass { 
    background: rgba(10, 10, 10, 0.75); /* Koyu ve okunaklı zemin */
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); /* Safari desteği */
    border: 1px solid rgba(255, 255, 255, 0.08); 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); /* Derinlik gölgesi */
}

/* --- ADRENALİN VE HEYECAN EFEKTLERİ --- */
/* Son 10 saniye için ekran sallanma animasyonu */
@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  100% { transform: translate(1px, 1px) rotate(0deg); }
}

/* Süre azaldığında tetiklenen sınıf */
.urgent-vibration {
    animation: shake 0.5s infinite;
    background-color: rgba(255, 0, 0, 0.05) !important;
    transition: background-color 0.3s ease;
}

/* Sayaç için neon kırmızı uyarı */
.timer-danger {
    color: #ff0000 !important;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    transition: all 0.3s ease;
}

/* --- INPUT VE TEXTAREA DÜZELTMELERİ --- */
/* iOS cihazlarda inputa tıklayınca sayfanın zoom yapmasını engeller (Min 16px) */
input, textarea {
    font-size: 16px !important; 
}

/* Tarayıcı Otomatik Doldurma (Autofill) Rengi Düzeltme */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0px 1000px #111827 inset !important; /* Arka planı koyu griye zorlar */
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #a855f7; /* İmleç rengi mor */
}

/* --- NEON VE GÖRSEL EFEKTLER --- */
.neon-text { 
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.6); 
}

/* --- YARGIÇ ROZETİ (Lobi) --- */
.judge-badge { 
    border: 1px solid #ef4444; 
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(0,0,0,0) 100%);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

/* --- KAYDIRMA ÇUBUĞUNU GİZLEME (No Scrollbar) --- */
.no-scrollbar::-webkit-scrollbar { 
    display: none; 
}
.no-scrollbar { 
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* --- CHAT PENCERESİ ANİMASYONU --- */
#chatContainer { 
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; 
}

.chat-msg { 
    animation: fade-in 0.3s forwards; 
}

/* --- GENEL ANİMASYONLAR --- */
/* Yumuşak yukarıdan gelme efekti */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { 
    animation: fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; 
}

/* Kırmızı yanıp sönme (Acil durum / Süre azaldı) */
@keyframes pulse-red { 
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 
    50% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 
}
.urgent { 
    animation: pulse-red 1s infinite; 
    border-color: #ef4444 !important; 
}

/* Chat mesajları için yumuşak geliş efekti */
.chat-msg {
    opacity: 0;
    transform: translateY(5px);
    animation: chat-entry 0.3s ease forwards;
}

@keyframes chat-entry {
    to { opacity: 1; transform: translateY(0); }
}
/* assent/css/style.css Dosyasına Eklenecek Özel Stiller */
body { min-height: 100vh; min-height: 100dvh; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
.floating { animation: float 4s ease-in-out infinite; }
.glass-panel { 
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); 
}
#chatContainer { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-in-out; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
input, textarea { font-size: 16px !important; transition: all 0.3s ease; }
.mask-linear { 
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
}