/*
Theme Name: EfeDizaynSohbet V4
Theme URI: https://efedizaynsohbet.com
Author: EfeDizayn
Description: Modern IRC arayüzü ile güçlendirilmiş, Tailwind tabanlı, şık ve hızlı sohbet/blog teması.
Version: 1.0
Text Domain: efedizayn
*/

/* 1. GLOBAL & TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Poppins:wght@300;400;600&family=Roboto+Mono:wght@400;700&display=swap');

:root {
    --brand-pink: #ff3b7e;
    --brand-orange: #ff5e3a;
    --vivid-yellow: #ffcc00;
    --form-bg: #fdf2f0;
    --form-gradient: linear-gradient(90deg, #ff0066 0%, #ff5e3a 100%);
}

body { 
    font-family: 'Poppins', sans-serif; 
    background-color: #fff8f6; 
    overflow-x: hidden; 
}

h2, h3 {
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: -15px;
    width: 8px;
    height: 8px;
    background: #ff0066;
    border-radius: 50%;
}

/* 2. HERO & LOGIN AREA */
.hero-gradient {
    background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.7) 100%), 
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2000');
    background-size: cover;
    background-position: center;
    border-bottom: 5px solid var(--brand-pink);
}

.hero-main-card {
    background: rgba(25, 25, 25, 0.75);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 45px;
    position: relative;
}

.badge-floating {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 10px 24px;
    border-radius: 14px;
    color: white;
    font-size: 14px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
}

.login-card { background-color: var(--form-bg); border-radius: 25px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.login-header { background: var(--form-gradient); padding: 20px; text-align: center; color: white; }
.login-header h2 { font-size: 26px; font-weight: 800; margin: 0; }
.input-group { background: white; border: 1px solid #e5e7eb; border-radius: 18px; display: flex; align-items: center; overflow: hidden; }
.input-icon { width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; color: #ff0066; font-size: 20px; }
.input-field { flex: 1; padding: 15px 20px; border: none; outline: none; font-size: 15px; }
.btn-orange { background: #ff5e3a; color: white; transition: 0.3s; }
.btn-pink { background: #e91e63; color: white; transition: 0.3s; }

/* 3. CHAT & mIRC PLATFORM */
.chat-platform-wrapper { background: #ffffff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.chat-header-dark { background: #0d1117; color: white; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; }
.chat-topic-bar { background: #1b5e20; padding: 8px 20px; border-bottom: 2px solid #144618; }
.chat-messages-container { height: 320px; background: #ffffff; padding: 15px 30px; overflow-y: auto; font-family: 'Roboto Mono', monospace; font-size: 13px; line-height: 1.5; }
.chat-footer-input { background: #fcfdfe; padding: 15px 30px; border-top: 1px solid #f0f3f7; }

#chat-console { display: flex; flex-direction: column; gap: 2px; scroll-behavior: smooth; }
.m-line { display: flex; align-items: flex-start; gap: 6px; opacity: 0; transform: translateX(-5px); transition: all 0.3s ease; padding: 1px 0; border-bottom: 1px solid rgba(0,0,0,0.03); }
.m-line.show { opacity: 1; transform: translateX(0); }
.m-time { color: #666; font-size: 11px; flex-shrink: 0; min-width: 45px; }
.m-nick { font-weight: 700; flex-shrink: 0; }
.m-text { color: #1a1a1a; white-space: normal; word-break: break-word; }

/* Nick Colors */
.n-red { color: #d32f2f; }
.n-blue { color: #1976d2; }
.n-green { color: #388e3c; }
.n-pink { color: #c2185b; }
.n-purple { color: #7b1fa2; }
.n-orange { color: #ea580c; }

/* 4. CARDS & CATEGORIES */
.premium-app-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 18px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-app-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--form-gradient); }
.premium-app-card:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-5px); }
.premium-app-card i { font-size: 1.8rem; background: var(--form-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.card-info b { display: block; font-size: 14px; font-weight: 700; color: #ffffff; }
.card-info span { font-size: 10px; color: rgba(255, 255, 255, 0.5); }

.cat-item { display: block; background: white; border-radius: 25px; padding: 5px; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); border: 1px solid #f1f5f9; }
.cat-content { display: flex; align-items: center; padding: 15px; gap: 15px; }
.cat-icon { width: 60px; height: 60px; flex-shrink: 0; background: #f8fafc; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: #ff0066; font-size: 20px; transition: all 0.3s ease; }
.cat-info { flex: 1; }
.cat-title { font-size: 16px; font-weight: 800; color: #1a1d21; margin-bottom: 2px; }
.cat-text { font-size: 12px; color: #94a3b8; font-weight: 500; }
.cat-arrow { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #e2e8f0; transition: all 0.3s ease; }

.cat-item:hover { transform: scale(1.03); box-shadow: 0 20px 40px rgba(0,0,0,0.05); border-color: #ff006620; }
.cat-item:hover .cat-icon:not(.bg-gradient-to-br) { background: #1a1d21; color: white; }
.cat-item:hover .cat-arrow { color: #ff0066; transform: translateX(3px); }

/* 5. BLOG & TAGS */
.blog-card { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.blog-card:hover { transform: translateY(-10px); }
.blog-image-wrapper { position: relative; height: 220px; overflow: hidden; border-radius: 30px 30px 0 0; }
.blog-image { width: 100%; height: 100%; object-fit: cover; transition: scale 0.6s ease; }
.blog-card:hover .blog-image { scale: 1.1; }
.blog-badge { position: absolute; top: 20px; left: 20px; background: linear-gradient(90deg, #ff0066 0%, #ff5e3a 100%); color: white; padding: 5px 15px; border-radius: 50px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 10px 20px rgba(255, 0, 102, 0.3); }

.tag-item { display: inline-block; padding: 10px 22px; background: #f8fafc; color: #64748b; border-radius: 15px; font-size: 13px; font-weight: 700; border: 1px solid #f1f5f9; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.tag-item:hover { background: #1a1d21; color: white; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: transparent; }
.tag-item.featured { background: white; border: 1px solid #ff006620; color: #ff0066; }
.tag-item.featured:hover { background: linear-gradient(90deg, #ff0066 0%, #ff5e3a 100%); color: white; box-shadow: 0 10px 20px rgba(255, 0, 102, 0.2); }

/* 6. COMMENTS */
.comment-bubble { flex: 1; background: white; padding: 24px; border-radius: 25px; border: 1px solid #f1f5f9; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02); position: relative; transition: all 0.4s ease; }
@media (min-width: 768px) { .comment-bubble::before { content: ''; position: absolute; left: -8px; top: 18px; width: 16px; height: 16px; background: white; border-left: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; transform: rotate(45deg); } }
.blog-comment-row:hover .comment-bubble { transform: translateX(10px); border-color: #ff006620; box-shadow: 0 20px 25px -5px rgba(255, 0, 102, 0.05); }

/* 7. ANIMATIONS & UTILS */
.eq-bar { width: 2px; background: white; border-radius: 50px; animation: eq-anim 0.6s ease-in-out infinite alternate; }
@keyframes eq-anim { from { height: 4px; } to { height: 16px; } }
.eq-bar:nth-child(2) { animation-delay: 0.2s; }
.eq-bar:nth-child(3) { animation-delay: 0.4s; }
.rotating { animation: spin 10s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* 8. FOOTER */
.footer-title { font-size: 16px; font-weight: 800; margin-bottom: 25px; position: relative; padding-bottom: 10px; color: white; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 3px; background: linear-gradient(90deg, #ff0066, #ff5e3a); border-radius: 50px; }
.footer-link { color: #94a3b8; font-size: 14px; font-weight: 500; transition: all 0.3s ease; display: inline-block; }
.footer-link:hover { color: #ff0066; transform: translateX(5px); }
.social-icon-btn { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.03); display: flex; align-items: center; justify-content: center; border-radius: 12px; color: white; font-size: 16px; transition: all 0.4s ease; border: 1px solid rgba(255, 255, 255, 0.05); }
.social-icon-btn:hover { background: linear-gradient(135deg, #ff0066 0%, #ff5e3a 100%); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(255, 0, 102, 0.2); border-color: transparent; }

/* 9. SCROLLBAR & MEDIA QUERIES */
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

@media (max-width: 1024px) { .hero-main-card { padding: 40px 25px; } }
@media (max-width: 768px) { #vol-slider { display: none; } }
@media (max-width: 640px) { .tag-item { padding: 8px 16px; font-size: 12px; } }
/* Yorum Formu Kutucuklarını Belirginleştirme */
#commentform input[type="text"], 
#commentform input[type="email"], 
#commentform input[type="url"], 
#commentform textarea {
    background-color: #f1f5f9; /* Hafif kırık beyaz/gri dolgu */
    border: 2px solid #e2e8f0; /* Belirgin açık gri çerçeve */
    border-radius: 16px; /* Modern oval köşeler */
    padding: 14px 20px;
    color: #1e293b; /* Koyu metin rengi */
    font-size: 14px;
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 15px;
}

/* Kutucuğa Tıklandığında (Focus) Olacak Değişim */
#commentform input:focus, 
#commentform textarea:focus {
    background-color: #ffffff; /* Odaklanınca saf beyaz olsun */
    border-color: #ff0066; /* Senin imza rengin olan pembe çerçeve */
    box-shadow: 0 0 0 4px rgba(255, 0, 102, 0.1); /* Hafif pembe parlama efekti */
}

/* Placeholder (İpucu Metni) Rengi */
#commentform ::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* Gönder Butonu Tasarımı */
#commentform .form-submit input[type="submit"] {
    background: linear-gradient(to right, #ff0066, #ff5e3a);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(255, 0, 102, 0.2);
}

#commentform .form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(255, 0, 102, 0.3);
}

/* Yorum Yapanın Kartı (Varsa) */
.comment-body {
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
/* Yorum Listesi Konteynırı */
.comment-list {
    margin: 40px 0;
    padding: 0;
    list-style: none;
}

/* Ana Yorum Kartı */
.comment-body {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.comment-body:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: #ff00661a;
}

/* Yazar Avatarı */
.comment-author img {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    object-cover: cover;
    border: 3px solid #f8fafc;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Yazar Bilgileri */
.comment-meta {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.comment-meta b {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.comment-metadata a {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-decoration: none;
    margin-top: 2px;
}

/* Yorum İçeriği */
.comment-content {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Cevapla Butonu (Sağ Üstte veya Altta Şık Bir Buton) */
.reply {
    position: absolute;
    top: 30px;
    right: 30px;
}

.reply a {
    background: #f8fafc;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.reply a:hover {
    background: #ff0066;
    color: #ffffff;
    border-color: #ff0066;
    box-shadow: 0 4px 12px rgba(255, 0, 102, 0.2);
}

/* Yanıtlanan (Alt) Yorumlar */
.children {
    list-style: none;
    margin-left: 60px; /* İçeri çekme */
    border-left: 2px dashed #e2e8f0;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .comment-body { flex-direction: column; padding: 20px; }
    .children { margin-left: 20px; }
    .reply { position: static; margin-top: 10px; }
}
#respond {
    background: #ffffff;
    border: 2px solid #f1f5f9;
    border-radius: 32px;
    padding: 40px;
    margin-top: 50px;
}

#reply-title {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#reply-title::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #ff0066;
    border-radius: 4px;
    display: inline-block;
}
.prose ul li {
    position: relative;
    padding-left: 1.5rem;
}
.prose ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff0066;
    font-weight: bold;
}
/* Paragraflar Arası Dengeli Boşluk */
.prose p {
    margin-top: 0.8em !important;   /* Üst boşluk azaltıldı */
    margin-bottom: 1.2em !important; /* Alt boşluk (paragraf sonu) dengelendi */
    line-height: 1.7;                /* Satır içi ferahlık korundu */
}

/* Liste öğeleri arasındaki boşluğu da orantılı azaltalım */
.prose ul li, .prose ol li {
    margin-bottom: 0.4em;
}

/* Başlıklardan hemen sonra gelen paragrafın yapışık durmaması için */
.prose h2, .prose h3 {
    margin-top: 1.5em !important;
    margin-bottom: 0.6em !important;
}

/* Görsellerden sonraki boşluğu düzenle */
.prose img {
    margin-bottom: 1.5em !important;
}
/* Sayfalandırma (Pagination) Şık Tasarım */
.efe-pagination { @apply flex items-center justify-center gap-2; }
.efe-pagination .nav-links { @apply flex gap-2; }
.efe-pagination a, .efe-pagination span {
    @apply w-12 h-12 flex items-center justify-center rounded-2xl bg-white border border-slate-100 text-[#0f172a] font-bold transition-all shadow-sm;
}
.efe-pagination span.current {
    @apply bg-gradient-to-br from-[#ff0066] to-[#ff5e3a] text-white border-transparent shadow-lg shadow-[#ff0066]/20;
}
.efe-pagination a:hover {
    @apply border-[#ff0066] text-[#ff0066] -translate-y-1;
}