:root {
    --primary: #0984e3;
    --primary-light: #74b9ff;
    --secondary: #00cec9;
    --accent-1: #ff7675;
    --accent-2: #6c5ce7;
    --bg-color: #f4f7f6;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
 
body { 
    background-color: var(--bg-color); 
    color: var(--text-dark); 
    line-height: 1.6; 
    overflow-x: hidden;
    position: relative;
}

/* Arka Plandaki Parlayan Küreler */
.bg-orbs {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    overflow: hidden; z-index: -1; pointer-events: none;
}
.orb {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}
.orb-1 { width: 400px; height: 400px; background: var(--primary-light); top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: #ffeaa7; bottom: -100px; right: -100px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: #a29bfe; top: 40%; left: 40%; animation-duration: 25s; opacity: 0.3; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Navbar */
header {
    background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 1.2rem 5%; position: fixed; width: 100%; top: 0; z-index: 100;
    border-bottom: 1px solid var(--glass-border);
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 1.8rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; letter-spacing: -1px; }

.nav-right { display: flex; align-items: center; gap: 1.5rem; }

.login-trigger-btn {
    background: #1e293b; color: white; border: none; padding: 10px 24px;
    border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer;
    transition: all 0.3s ease;
}
.login-trigger-btn:hover { background: var(--primary); transform: translateY(-1px); box-shadow: 0 10px 20px rgba(9, 132, 227, 0.2); }

/* Sol Alt Köşeye Sabitlenen İzleyici Sayaç Widget'ı */
.visitor-counter-mini {
    position: fixed; bottom: 40px; left: 40px; z-index: 1000;
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 10px 18px; border-radius: 50px;
    font-weight: 700; font-size: 0.95rem; color: #1e293b;
    transition: all 0.3s ease;
}
.visitor-counter-mini:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12); }
.visitor-counter-mini svg { color: var(--primary); }

/* Hero Section */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; }
.hero h1 { font-size: 4.5rem; margin-bottom: 1rem; font-weight: 800; letter-spacing: -2px; line-height: 1.1; color: #1e293b; }
.hero p { font-size: 1.3rem; color: var(--text-light); max-width: 600px; margin: 0 auto 2.5rem auto; font-weight: 400; }
.hero-btn { 
    display: inline-flex; align-items: center; gap: 10px; padding: 16px 40px; 
    background: #1e293b; color: white; text-decoration: none; border-radius: 50px; 
    font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease; 
}
.hero-btn:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(9, 132, 227, 0.3); }

/* Cards Section */
.categories { padding: 5rem 5% 8rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.section-title { text-align: center; font-size: 3rem; margin-bottom: 4rem; font-weight: 800; letter-spacing: -1px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }

.card { 
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px);
    border-radius: 30px; padding: 3rem 2rem; text-align: center; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    box-shadow: var(--shadow); border: 1px solid #ffffff; 
}
.card:hover { transform: translateY(-15px); background: #ffffff; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
 
.icon-wrapper { width: 90px; height: 90px; border-radius: 25px; display: flex; justify-content: center; align-items: center; margin: 0 auto 2rem auto; font-size: 3rem; transition: transform 0.4s ease; background: white; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.card:hover .icon-wrapper { transform: scale(1.1) rotate(10deg) translateY(-10px); }
 
.card h3 { font-size: 1.8rem; margin-bottom: 1rem; font-weight: 700; color: #1e293b; }
.card p { color: var(--text-light); margin-bottom: 2.5rem; font-size: 1.05rem; }
 
.btn { display: inline-block; padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; color: white; }
.btn-apps { background: linear-gradient(135deg, var(--secondary), #0984e3); }
.btn-candles { background: linear-gradient(135deg, var(--accent-1), #ff9ff3); }
.btn-music { background: linear-gradient(135deg, var(--accent-2), #a29bfe); }
.btn:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.15); opacity: 0.9; }

/* Koyu Alt Bölüm */
.comments-section { padding: 6rem 4% 4rem 4%; width: 100%; background: #0f172a; border-top: 1px solid rgba(255, 255, 255, 0.08); position: relative; z-index: 1; }
.comments-container { max-width: 1450px; margin: 0 auto; }
.comments-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6rem; align-items: start; }
.contact-side h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -1px; color: #ffffff; }
.contact-side .subtitle { color: #94a3b8; margin-bottom: 2.5rem; font-size: 1.05rem; }
.comment-form { display: flex; flex-direction: column; gap: 1.2rem; }
.comment-form input, .comment-form textarea { width: 100%; padding: 1.2rem; background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; font-size: 1rem; outline: none; transition: all 0.3s; color: #ffffff; }
.comment-form input::placeholder, .comment-form textarea::placeholder { color: #64748b; }
.comment-form input:focus, .comment-form textarea:focus { background: #1e293b; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(9, 132, 227, 0.25); }
.comment-form textarea { resize: none; height: 140px; }
.submit-btn { background: #ffffff; color: #0f172a; border: none; padding: 1.2rem; border-radius: 20px; font-weight: 700; font-size: 1.1rem; cursor: pointer; transition: all 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; }
.submit-btn:hover { background: var(--primary); color: #ffffff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(9, 132, 227, 0.3); }
.feed-side h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 2rem; color: #ffffff; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }
.feed-side h3::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }
.comments-list { display: flex; flex-direction: column; gap: 1.5rem; max-height: 520px; overflow-y: auto; padding-right: 10px; }
.comments-list::-webkit-scrollbar { width: 6px; }
.comments-list::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }
.comment-item { display: flex; gap: 1.2rem; padding: 1.5rem; background: rgba(30, 41, 59, 0.4); border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.3s ease; }
.comment-item:hover { transform: translateX(8px); background: rgba(30, 41, 59, 0.8); border-color: rgba(255, 255, 255, 0.1); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; display: flex; justify-content: center; align-items: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; box-shadow: 0 8px 15px rgba(9, 132, 227, 0.2); }
.comment-content { flex: 1; }
.comment-author { font-weight: 700; color: #ffffff; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.3rem; font-size: 1.05rem; }
.comment-date { font-size: 0.85rem; color: #94a3b8; font-weight: 400; background: rgba(255, 255, 255, 0.08); padding: 2px 10px; border-radius: 20px; }
.comment-text { color: #cbd5e1; font-size: 0.95rem; line-height: 1.6; }
footer { text-align: center; padding: 3rem 0; background: #0f172a; color: #64748b; font-size: 0.95rem; border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: 4rem; display: flex; flex-direction: column; align-items: center; }

/* ==========================================================================
   YENİ ENTEGRE EDİLEN PREMIUM MODAL PANEL STİLLERİ
   ========================================================================== */
.auth-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: all 0.4s ease;
}
.auth-overlay.active { opacity: 1; pointer-events: auto; }

.sliding-auth-wrapper {
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.auth-overlay.active .sliding-auth-wrapper { transform: scale(1) translateY(0); }

/* Kapatma Butonu Sabitleme */
.close-auth {
    position: absolute; top: -20px; right: -20px; background: #1e293b;
    border: 2px solid rgba(255,255,255,0.1); width: 40px; height: 40px; border-radius: 50%; 
    font-size: 1.6rem; color: white; cursor: pointer; display: flex; 
    justify-content: center; align-items: center; z-index: 2100; transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.close-auth:hover { background: var(--primary); transform: scale(1.1); }

/* Giriş Paneli Ana Kapsayıcı */
.container {
    position: relative; width: 850px; height: 550px; background: #fff;
    border-radius: 30px; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}

.form-container { position: absolute; top: 0; height: 100%; transition: all 0.6s ease-in-out; }
.sign-in-container { left: 0; width: 50%; z-index: 2; }
.sign-up-container { left: 0; width: 50%; opacity: 0; z-index: 1; }

/* Animasyon Geçiş Tetikleyicileri */
.container.right-panel-active .sign-in-container { transform: translateX(100%); opacity: 0; }
.container.right-panel-active .sign-up-container { transform: translateX(100%); opacity: 1; z-index: 5; animation: show 0.6s; }

@keyframes show {
    0%, 49.99% { opacity: 0; z-index: 1; }
    50%, 100% { opacity: 1; z-index: 5; }
}

.container form { background: #ffffff; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 0 50px; height: 100%; text-align: center; }
.container h1 { font-weight: 700; margin: 0; color: #1e293b; font-size: 2rem; }
.container p { font-size: 14px; font-weight: 400; line-height: 22px; letter-spacing: 0.5px; margin: 15px 0 25px; color: #64748b; }
.container span { font-size: 12px; color: #94a3b8; margin-bottom: 12px; }

/* Sosyal Medya Butonları */
.social-container { margin: 15px 0; }
.social-container a {
    border: 1px solid #e2e8f0; border-radius: 50%; display: inline-flex;
    justify-content: center; align-items: center; margin: 0 7px;
    height: 45px; width: 45px; text-decoration: none; color: #333; transition: 0.3s; font-size: 1.1rem;
}
.social-container a:hover { transform: scale(1.1); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.social-container a.google { color: #db4437; border-color: #fca5a5; }
.social-container a.facebook { color: #4267B2; border-color: #93c5fd; }
.social-container a.google:hover { background: #db4437; color: white; }
.social-container a.facebook:hover { background: #4267B2; color: white; }

.container input { background-color: #f8fafc; border: 1px solid #e2e8f0; padding: 12px 15px; margin: 6px 0; width: 100%; border-radius: 12px; outline: none; font-size: 0.9rem; transition: 0.2s; }
.container input:focus { border-color: #764ba2; background: white; box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1); }
.forgot-pwd-link { font-size: 12px; text-decoration: none; color: #64748b; margin: 12px 0; transition: 0.2s; }
.forgot-pwd-link:hover { color: #764ba2; text-decoration: underline; }

.container button {
    border-radius: 50px; border: 1px solid #764ba2; background-color: #764ba2;
    color: #ffffff; font-size: 12px; font-weight: 700; padding: 14px 45px;
    letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s ease; margin-top: 10px; cursor: pointer;
}
.container button:hover { background-color: #613b8c; box-shadow: 0 8px 20px rgba(118, 75, 162, 0.25); }
.container button:active { transform: scale(0.95); }
.container button.ghost { background-color: transparent; border-color: #ffffff; box-shadow: none; }
.container button.ghost:hover { background: white; color: #764ba2; }

/* Kayan Geçiş Katmanı (Overlay) */
.overlay-container { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; overflow: hidden; transition: transform 0.6s ease-in-out; z-index: 100; }
.container.right-panel-active .overlay-container { transform: translateX(-100%); }

.overlay {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-repeat: no-repeat; background-size: cover; background-position: 0 0;
    color: #ffffff; position: relative; left: -100%; height: 100%; width: 200%;
    transform: translateX(0); transition: transform 0.6s ease-in-out;
}
.container.right-panel-active .overlay { transform: translateX(50%); }

.overlay-panel { position: absolute; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 0 40px; text-align: center; top: 0; height: 100%; width: 50%; transform: translateX(0); transition: transform 0.6s ease-in-out; }
.overlay-panel h1 { color: white; }
.overlay-panel p { color: rgba(255,255,255,0.8); }

.overlay-left { transform: translateX(-20%); }
.container.right-panel-active .overlay-left { transform: translateX(0); }
.overlay-right { right: 0; transform: translateX(0); }
.container.right-panel-active .overlay-right { transform: translateX(20%); }

/* Gelişmiş Chat Bot */
.chat-widget { position: fixed; bottom: 40px; right: 40px; z-index: 1000; }
.chat-toggle { width: 65px; height: 65px; border-radius: 50%; background: #1e293b; color: white; border: none; font-size: 2rem; cursor: pointer; box-shadow: 0 15px 30px rgba(0,0,0,0.2); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; justify-content: center; align-items: center; }
.chat-toggle:hover { transform: scale(1.1) rotate(10deg); background: var(--primary); }
.chat-window { display: none; width: 380px; height: 550px; background: white; border-radius: 25px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); flex-direction: column; position: absolute; bottom: 90px; right: 0; overflow: hidden; border: 1px solid #e2e8f0; opacity: 0; transform: translateY(20px); transition: all 0.3s ease; }
.chat-window.active { display: flex; opacity: 1; transform: translateY(0); }
.chat-header { background: white; padding: 20px; font-weight: 700; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #f1f5f9; }
.chat-header-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--secondary), var(--primary)); display: flex; justify-content: center; align-items: center; color: white; font-size: 1.2rem; }
.chat-header-info { flex: 1; }
.chat-header-title { color: #1e293b; font-size: 1.1rem; }
.chat-header-status { font-size: 0.8rem; color: #10b981; display: flex; align-items: center; gap: 5px; }
.chat-header-status::before { content: ''; width: 8px; height: 8px; background: #10b981; border-radius: 50%; }
.close-chat { background: #f1f5f9; border: none; width: 30px; height: 30px; border-radius: 50%; color: #64748b; font-size: 1.2rem; cursor: pointer; transition: 0.2s; }
.close-chat:hover { background: #e2e8f0; color: #1e293b; }
.chat-body { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; background: #f8fafc; }
.chat-msg { max-width: 80%; padding: 12px 18px; font-size: 0.95rem; line-height: 1.4; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.msg-bot { background: white; color: #1e293b; align-self: flex-start; border-radius: 20px 20px 20px 5px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; }
.msg-user { background: var(--primary); color: white; align-self: flex-end; border-radius: 20px 20px 5px 20px; box-shadow: 0 4px 6px -1px rgba(9, 132, 227, 0.2); }
.typing-indicator { display: none; align-self: flex-start; background: white; padding: 12px 18px; border-radius: 20px 20px 20px 5px; border: 1px solid #f1f5f9; gap: 4px; }
.dot { width: 6px; height: 6px; background: #94a3b8; border-radius: 50%; animation: blink 1.4s infinite both; }
.dot:nth-child(2) { animation-delay: 0.2s; } .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1.2); } }
.chat-footer { padding: 15px 20px; border-top: 1px solid #f1f5f9; display: flex; gap: 10px; background: white; align-items: center; }
.chat-footer input { flex: 1; padding: 12px 15px; background: #f8fafc; border: 1px solid transparent; border-radius: 20px; outline: none; transition: 0.3s; }
.chat-footer input:focus { background: white; border-color: #e2e8f0; }
.chat-footer button { background: var(--primary); color: white; border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.3s; }
.chat-footer button:hover { transform: scale(1.1); box-shadow: 0 5px 15px rgba(9, 132, 227, 0.3); }

/* Mobil & Tablet Uyumluluk Ekran Ayarları (Responsive) */
@media (max-width: 900px) {
    .container { width: 90vw; max-width: 450px; height: auto; min-height: 500px; }
    .overlay-container { display: none; } /* Mobilde kayan paneli gizle */
    .sign-in-container, .sign-up-container { width: 100%; position: relative; opacity: 1; z-index: 1; }
    .container.right-panel-active .sign-in-container { display: none; }
    .container:not(.right-panel-active) .sign-up-container { display: none; }
    .close-auth { top: 15px; right: 15px; color: #1e293b; background: rgba(0,0,0,0.05); box-shadow: none; }
    .container form { padding: 40px 25px; }
}
@media (max-width: 1024px) { .comments-grid { gap: 3rem; } }
@media (max-width: 968px) { .comments-grid { grid-template-columns: 1fr; gap: 4rem; } .comments-section { padding: 4rem 24px; } }
@media (max-width: 768px) { 
    .hero h1 { font-size: 3rem; } 
    .chat-widget { bottom: 20px; right: 20px; } 
    .chat-window { width: 320px; height: 500px; bottom: 80px; } 
    .visitor-counter-mini { bottom: 20px; left: 20px; padding: 8px 14px; font-size: 0.85rem; }
}


/* Kullanıcı Navigasyon Avatar Stilleri */
.user-profile-menu {
    position: relative;
    display: inline-block;
}
.profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    color: #fff;
}
.profile-trigger:hover {
    background: rgba(255, 255, 255, 0.2);
}
.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}
.profile-dropdown {
    position: absolute;
    right: 0;
    top: 45px;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 240px;
    padding: 15px;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.profile-dropdown.active {
    display: block;
}
.dropdown-header p {
    font-size: 12px;
    color: #aaa;
    word-break: break-all;
    margin-bottom: 10px;
}
.avatar-update-field {
    margin: 10px 0;
}
.avatar-update-field input {
    width: 100%;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #0f0f1e;
    color: #fff;
    margin-bottom: 5px;
}
.avatar-update-field button {
    width: 100%;
    padding: 5px;
    font-size: 11px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.logout-btn {
    width: 100%;
    padding: 8px;
    background: #d9534f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.logout-btn:hover {
    background: #c9302c;
}
/* Yorum Alanı Giriş Uyarısı */
.comment-auth-warning {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}
.comment-auth-warning button {
    margin-top: 10px;
    padding: 8px 20px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}