/* Genel Ayarlar ve Fontlar */
body {
    font-family: 'Pixelify Sans', sans-serif; /* TEMEL FONT */
    margin: 0;
    padding: 0;
    background-color: #1a1a1a; /* Koyu arka plan */
    color: #A8E6A3; /* Mesaj Rengi */
    line-height: 1.6;
}

/* Scrollbar stilizasyonu */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #2e2e2e;
}
::-webkit-scrollbar-thumb {
    background: #2ECC71; /* Seçim Rengi */
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #228B4F; /* Başlık Rengi */
}

/* Header ve Navigasyon */
header {
    position: sticky; 
    top: 0;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.95); 
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid #2ECC71; /* Seçim Rengi */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* LOGO KAPSAYICISI VE GÖRSEL STİLİ */
.logo {
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.logo img {
    height: 60px; /* Logo görselinin yüksekliği */
    width: auto; /* Oranı korur */
}

header h1 {
    margin: 0;
    color: #A8E6A3; /* Mesaj Rengi */
    font-family: 'Press Start 2P', cursive; /* VURGULU FONT */
    font-size: 30px;
    text-shadow: 3px 3px #228B4F; /* Başlık Rengi */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li a {
    color: #A8E6A3; /* Mesaj Rengi */
    text-decoration: none;
    padding: 12px 18px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-weight: bold;
}

nav ul li a:hover {
    background-color: #2ECC71; /* Seçim Rengi */
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Hero Section (Ana Banner) - YENİ EJDERHA ARKA PLANI */
#hero {
    text-align: center;
    padding: 97px 25px;
    
    /* GÜNCELLEME: Yeni ejderha görseli eklendi (Dosya adını kontrol edin!) */
    background: url('Arkaplan.png') no-repeat center bottom; 
    background-size: 100%; /* Görselin boyutunu ayarlayın (Örn: 55% veya contain) */
    background-color: #2e2e2e; /* Ejderhanın etrafındaki boş alan için koyu renk */
    
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; 
}

/* Hero içeriği için bir kutu */
.hero-content {
    /* GÖLGELENDİRME VE ŞEFFAFLIK: Ejderhanın okunabilirliğini korumak için kutu karartıldı */
    background-color: rgba(0, 0, 0, 0.85); 
    padding: 40px 50px;
    border-radius: 15px;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    border: 3px solid #2ECC71; /* Seçim Rengi */
    transform: scale(0.95); 
    animation: fadeInScale 1s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#hero h2 {
    font-family: 'Press Start 2P', cursive; /* VURGULU FONT */
    font-size: 44px;
    margin-bottom: 25px;
    color: #A8E6A3; /* Mesaj Rengi */
    text-shadow: 4px 4px #228B4F; /* Başlık Rengi */
}

#hero p {
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 20px;
    color: #A8E6A3; /* Mesaj Rengi */
    margin-top: 30px;
}

#hero .server-version {
    font-size: 24px;
    color: #1a1a1a; 
    background-color: #A8E6A3; /* Mesaj Rengi */
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
    font-family: 'Press Start 2P', cursive; /* VURGULU FONT */
    letter-spacing: 1px;
    border: 2px solid #228B4F; /* Başlık Rengi */
}

/* IP Kopyalama Bölümü */
.ip-kopyala {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

/* MOBİL UYUM İÇİN AYARLANDI */
#serverIP {
    padding: 14px 18px;
    font-size: 22px;
    border: 3px solid #228B4F; /* Başlık Rengi */
    background-color: #2e2e2e; 
    color: #A8E6A3; /* Mesaj Rengi */
    width: 70%; 
    max-width: 460px; /* Maksimum genişlik belirlendi */
    text-align: center;
    cursor: default;
    border-radius: 8px 0 0 8px;
    font-family: 'Press Start 2P', cursive; /* VURGULU FONT */
    letter-spacing: 1px;
}

.ip-kopyala button {
    padding: 14px 25px;
    font-size: 22px;
    background-color: #2ECC71; /* Seçim Rengi */
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
    border-radius: 0 8px 8px 0;
    font-family: 'Pixelify Sans', sans-serif;
    text-transform: uppercase;
}

.ip-kopyala button:hover {
    background-color: #228B4F; /* Başlık Rengi */
    color: #fff;
    transform: translateY(-2px);
}

/* İçerik Bölümleri (Özellikler, Nasıl Katılırım, İletişim) */
.content-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 40px auto;
    text-align: center;
    background-color: #1a1a1a; 
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #2ECC71; /* Seçim Rengi */
    scroll-margin-top: 100px; 
}

.content-section h3 {
    font-family: 'Press Start 2P', cursive; /* VURGULU FONT */
    font-size: 38px;
    color: #228B4F; /* Başlık Rengi */
    border-bottom: 4px solid #A8E6A3; /* Mesaj Rengi */
    padding-bottom: 15px;
    margin-bottom: 40px;
    text-shadow: 2px 2px #1a1a1a;
}

.content-section p {
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 18px;
    color: #A8E6A3; /* Mesaj Rengi */
    margin-bottom: 15px;
}

/* OL ve LİSTELER İÇİN DÜZENLEMELER (Numara mesafesini düzeltir) */
.content-section ol {
    padding-left: 0; /* Varsayılan sol boşluğu kaldırır */
    text-align: left; /* Metin hizalamasını sola kaydırır */
    display: inline-block; /* Listeyi konteyner içinde ortalamak için */
    list-style-position: outside; /* Numaraları dışarıda tutar */
}

.content-section ol li {
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 18px;
    color: #A8E6A3; /* Mesaj Rengi */
    margin-bottom: 15px;
    
    margin-left: 10px; 
    padding-left: 0;
}

.content-section ol li::marker {
    color: #2ECC71; /* Seçim Rengi */
    font-weight: bold;
}

/* Özellikler ve İletişim Grid Kutuları */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: #2e2e2e; /* Koyu gri kutu */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #228B4F; /* Başlık Rengi */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-item h4 {
    font-family: 'Press Start 2P', cursive; /* VURGULU FONT */
    color: #2ECC71; /* Seçim Rengi */
    font-size: 20px;
    margin-bottom: 15px;
    text-shadow: 1px 1px #1a1a1a;
}

/* İletişim Butonları Stili */
.contact-button {
    display: inline-block;
    background-color: #2ECC71; /* Seçim Rengi */
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Pixelify Sans', sans-serif;
    border: 2px solid #2ECC71; 
}

.contact-button:hover {
    background-color: #228B4F; /* Başlık Rengi */
    color: #fff;
    border-color: #A8E6A3; /* Hover'da çerçeve rengi değişsin */
}

/* 🔔 Yeni Toast Bildirimi Stili */
#notification {
    visibility: hidden; 
    min-width: 250px;
    background-color: #2ECC71; /* Seçim Rengi */
    color: #1a1a1a;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed; 
    z-index: 9999; 
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
}

/* Bildirim Görünür Olduğunda */
#notification.show {
    visibility: visible;
    opacity: 1;
    /* Animasyonlar: Hafifçe yukarı kayarak girsin */
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Bildirim Animasyonları */
@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/* Footer (Telif Hakkı) */
footer {
    background-color: #1a1a1a;
    color: #A8E6A3;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    border-top: 5px solid #2ECC71; /* Seçim Rengi */
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
}

footer p {
    margin: 0;
    font-family: 'Pixelify Sans', sans-serif;
}

/* DUYARLI TASARIM (MOBİL UYUM) İYİLEŞTİRMELERİ */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 10px;
        align-items: flex-start; 
    }

    /* LOGO VE BAŞLIK İYİLEŞTİRMESİ */
    .logo {
        flex-direction: row; 
        justify-content: flex-start; 
        width: 100%;
        margin-bottom: 10px;
    }

    .logo img {
        height: 30px; /* Küçük ekranlar için logo boyutunu ayarla */
    }

    header h1 {
        font-size: 24px;
        margin-bottom: 0;
    }

    /* NAVİGASYON İYİLEŞTİRMESİ */
    nav {
        width: 100%;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        padding: 10px;
    }
    
    /* Hero arka plan ayarı (Mobil) */
    #hero {
        background-size: 80%; /* Mobil cihazlarda daha küçük olsun */
        min-height: 450px;
    }
    
    /* DİĞER KISIMLAR */
    #hero h2 {
        font-size: 32px;
    }

    .hero-content {
        padding: 30px;
    }
    
    /* IP Kutusu mobil ayarı İYİLEŞTİRMESİ */
    #serverIP {
        width: 65%; /* Mobil cihazlarda daha esnek ve uyumlu olsun */
        font-size: 18px;
    }

    .ip-kopyala button {
        font-size: 18px;
        padding: 14px 15px;
    }

    #notification {
        min-width: 180px;
        font-size: 12px;
    }

    .content-section h3 {
        font-size: 30px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}