/* Index sayfası siber güvenlik & şifre temalı arkaplan - Düzeltilmiş Sürüm */

html {
    background-color: #15396b !important;
}

body.index-body {
    /* Arka plan rengini en üst öncelik ve zorunlu hale getiriyoruz */
    background-color: #15396b !important;
    
    /* 1. Katman: Şifreler (**** ve ••••), Kilit İkonları ve Binary Kodları */
    /* 2. Katman: Küçük veri şifreleme ve siber akış simgeleri */
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Ctext x='40' y='60' fill='rgba(52,179,192,0.25)' font-family='monospace' font-size='22'%3E%2A%2A%2A%2A%2A%2A%2A%2A%3C/text%3E%3Ctext x='240' y='180' fill='rgba(52,179,192,0.25)' font-family='monospace' font-size='22'%3E%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%3C/text%3E%3Ctext x='80' y='320' fill='rgba(52,179,192,0.25)' font-family='monospace' font-size='20'%3E01101001%3C/text%3E%3Cpath d='M300 280 v-12 a 12 12 0 0 1 24 0 v12 h6 v18 h-36 v-18 h6' fill='none' stroke='rgba(52,179,192,0.25)' stroke-width='2'/%3E%3Ccircle cx='312' cy='290' r='3' fill='rgba(52,179,192,0.25)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ctext x='150' y='80' fill='rgba(255,255,255,0.15)' font-family='monospace' font-size='16'%3E100110%3C/text%3E%3Ctext x='40' y='220' fill='rgba(255,255,255,0.15)' font-family='monospace' font-size='16'%3E%E2%80%A2%E2%80%A2%E2%80%A2%E2%80%A2%3C/text%3E%3Ctext x='200' y='260' fill='rgba(255,255,255,0.15)' font-family='monospace' font-size='16'%3E%2A%2A%2A%2A%3C/text%3E%3Cpath d='M 100 100 l 10 10 l -10 10 m 15 -20 l 10 10 l -10 10' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='2'/%3E%3C/svg%3E") !important;
    
    background-size: 400px 400px, 300px 300px !important;
    animation: cryptoFloat 30s linear infinite;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Şifreleme karakterlerinin yukarı doğru süzülmesini sağlayan animasyon (Parallax) */
@keyframes cryptoFloat {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 -400px, 0 -300px;
    }
}

/* Radar Tarama Efekti (Siber güvenlik sonar/radar taraması) */
.index-body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150vmax;
    height: 150vmax;
    transform: translate(-50%, -50%);
    /* transparent yerine rgba(0) kullanılarak beyazlık hatası önlendi */
    background: conic-gradient(from 0deg, rgba(52, 179, 192, 0) 70%, rgba(20, 184, 166, 0.05) 98%, rgba(52, 179, 192, 0.25) 100%);
    border-radius: 50%;
    animation: radarSweep 6s linear infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes radarSweep {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Fare hareketlerine duyarlı şifre çözme ışığı */
.index-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
        circle 500px at var(--mouse-x, 50vw) var(--mouse-y, 50vh), 
        rgba(52, 179, 192, 0.3),
        rgba(52, 179, 192, 0) 70%
    );
    transition: background 0.1s ease-out;
}

/* Mobil Cihaz Uyumluluğu */
@media (max-width: 768px) {
    .index-body::before {
        animation: pulseGlow 8s ease-in-out infinite alternate;
        background: radial-gradient(
            circle 400px at 50% 50%, 
            rgba(52, 179, 192, 0.2),
            rgba(52, 179, 192, 0) 70%
        );
    }
    
    .index-body::after {
        background: conic-gradient(from 0deg, rgba(52, 179, 192, 0) 60%, rgba(20, 184, 166, 0.02) 95%, rgba(52, 179, 192, 0.15) 100%);
    }
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}
