* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #f4f4f4;
    padding: 30px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #e0e0e0;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}
h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #e0e0e0;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    font-style:italic ;
}

/* Kategori Blokları */
.category-block {
    background-color: #222;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #f39c12;
}

.category-block h2 {
    color: #f39c12;
    font-size: 22px;
    margin-bottom: 10px;
}

.category-desc {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 20px;
    font-style: italic;
}

/* --- Dikey Klasör Ağacı Stili --- */
.vertical-tree {
    list-style-type: none;
    padding-left: 25px; /* Alt öğelerin içeri girmesi */
    position: relative;
}

/* Ana kök ul için sol çizgi yok */
.root-tree {
    padding-left: 0;
}

.vertical-tree li {
    position: relative;
    padding: 6px 0;
}

/* İç içe listeler için dikey rehber çizgi */
.vertical-tree ul::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px; /* Çizgiyi metnin soluna hizala */
    border-left: 1px solid #555;
}

/* Alt maddeler için yatay rehber çizgi */
.vertical-tree ul li::before {
    content: '';
    position: absolute;
    top: 18px; /* Metnin ortasına hizala */
    left: -15px;
    width: 10px;
    border-top: 1px solid #555;
}

/* Son maddenin dikey çizgisini kesmek için */
.vertical-tree ul li:last-child::after {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 0;
    left: -16px;
    width: 2px;
    background-color: #222; /* Arkaplan rengiyle dikey çizgiyi ört */
}

/* Tür Linkleri (Kutusuz Tasarım) */
.genre-link {
    text-decoration: none;
    color: #ddd;
    font-size: 15px;
    display: inline-block;
    transition: color 0.2s ease;
    position: relative;
}

.group-title {
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    margin-top: 5px;
}

.genre-link:hover {
    color: #f39c12;
}

/* Tooltip (Fare Üzerine Gelince Çıkan Açıklama) */
.genre-link::after {
    content: attr(data-desc);
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 15px;
    background-color: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border: 1px solid #444;
    pointer-events: none;
    z-index: 10;
}

.genre-link:hover::after {
    opacity: 1;
    visibility: visible;
    margin-left: 10px; /* Hafif kayma efekti */
}

/* --- Modal (Tam Ekran Div) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #222;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #444;
    width: 80%;
    max-width: 800px;
    height: 80%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.close-btn {
    color: #aaa;
    align-self: flex-end;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #f39c12;
}

#modalTitle {
    color: #f39c12;
    border-bottom: 2px solid #444;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.scrollable-content {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 15px;
    color: #ccc;
    line-height: 1.6;
}

.scrollable-content::-webkit-scrollbar {
    width: 8px;
}
.scrollable-content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}
.scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #f39c12;
}
/* --- Sabit Logo Tasarımı --- */
.site-logo {
    position: fixed;
    top: 20px;
    left: 20px; /* Logoyu sol üste sabitler. Sağ üste istersen 'left' yerine 'right' yazabilirsin */
    z-index: 900; /* Modal (999) açıldığında içeriğin arkasında uslu uslu beklemesi için */
}

.site-logo img {
    width: 80px; /* Logonun büyüklüğünü buradan kendine göre ayarlayabilirsin */
    height: auto;
    opacity: 0.85; /* Göz yormaması için hafif saydam */
    border-radius: 8px; /* İsteğe bağlı köşeleri yumuşatma */
    transition: all 0.3s ease; /* Fareyle üzerine gelince yumuşak geçiş efekti */
}

.site-logo:hover img {
    opacity: 1; /* Üzerine gelince tam netleşsin */
    transform: scale(1.05); /* Üzerine gelince hafifçe büyüsün */
}