/* GENEL AYARLAR & RENK PALETİ */
:root {
    --perver-mor: #a932ff;
    --perver-koyu-mor: #3b0066;
    --perver-neon: #d000ff;
    --bg-karanlik: rgba(15, 5, 25, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* ÖZEL SCROLLBAR (KAYDIRMA ÇUBUĞU) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0014; }
::-webkit-scrollbar-thumb { background: var(--perver-koyu-mor); border-radius: 5px; border: 1px solid var(--perver-mor); }
::-webkit-scrollbar-thumb:hover { background: var(--perver-mor); }

/* VİDEO ARKA PLAN */
.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}
.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-karanlik);
    z-index: 1;
}

#popupContainer {
    display: none;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw; 
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); 
}

.popup-box {
    position: relative;
    width: 90vw;
    max-width: 600px;
    background: transparent; 
    border: 2px solid var(--perver-mor);
    box-shadow: 0 0 30px var(--perver-koyu-mor);
    border-radius: 10px;
    overflow: hidden;
    animation: popupGlow 2s infinite alternate;
    display: flex; 
}

.popup-gif {
    width: 100%;
    height: 100%; 
    max-height: 80vh;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.popup-close {
    position: absolute;
    top: 10px; 
    left: 15px; 
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 0 10px #000; 
    transition: 0.3s;
}

.popup-close:hover { 
    color: var(--perver-neon); 
    transform: scale(1.2); 
}


.popup-content {
    position: absolute;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(15, 5, 25, 0.92);
    padding: 20px 30px;
    border: 1px solid var(--perver-mor);
    border-radius: 8px;
    width: 85%;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}


.sol_menu {
    position: fixed;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    z-index: 100;
}

.sol_menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.perver-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 45px;
    background: rgba(15, 5, 25, 0.6);
    border: 1px solid var(--perver-mor);
    color: #fff;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: all 0.4s ease;
    text-shadow: 0 0 5px var(--perver-mor);
    box-shadow: 0 0 10px rgba(169, 50, 255, 0.1);
}


.perver-btn:hover, .perver-btn.active {
    background: rgba(169, 50, 255, 0.15);
    box-shadow: inset 0 0 15px var(--perver-mor), 0 0 20px var(--perver-koyu-mor);
    border-color: var(--perver-neon);
    color: #fff;
    text-shadow: 0 0 10px var(--perver-neon);
    transform: translateX(10px);
}

/* MOBİL UYUM İÇİN YATAY MENÜ AYARI */
@media screen and (max-width: 1100px) {
    .sol_menu {
        position: relative;
        top: 0; left: 0; transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
        background: rgba(15, 5, 25, 0.9);
        padding: 15px 0;
        margin-bottom: 30px;
        border-bottom: 2px solid var(--perver-mor);
        z-index: 99;
    }
    .sol_menu ul {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .perver-btn {
        width: 140px;
        height: 40px;
        font-size: 11px;
    }
    .perver-btn:hover, .perver-btn.active {
        transform: translateY(-5px);
    }
}

/* DİSCORD BUTONU */
.discord-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
    transition: 0.3s;
}
.discord-btn img {
    width: 65px;
    filter: drop-shadow(0 0 10px var(--perver-mor));
    transition: 0.3s;
}
.discord-btn:hover {
    transform: scale(1.1) rotate(5deg);
}
.discord-btn:hover img { filter: drop-shadow(0 0 20px var(--perver-neon)); }

/* MERKEZ TANITIM KATALOĞU */
.tanitim-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 50px 0;
    z-index: 10;
}
.tanitim-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

/* Perver2 Başlık (Eğer resim yoksa CSS ile şık başlık) */
.logo-alani { text-align: center; margin-bottom: 20px; }
.subtitle { color: #ccc; letter-spacing: 8px; font-size: 14px; margin-top: 10px; }

/* Katalog Görselleri */
.tanitim-img {
    width: 100%;
    height: auto;
    border: 2px solid rgba(169, 50, 255, 0.3);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(169, 50, 255, 0.2);
    transition: all 0.5s ease;
}
.tanitim-img:hover {
    border-color: var(--perver-mor);
    box-shadow: 0 0 30px var(--perver-koyu-mor);
    transform: scale(1.02);
}

/* JS AŞAĞI KAYDIRDIKÇA ÇIKMA EFEKTİ */
.anim-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.anim-fade.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Perver2 Ana Logo (Görsel) Ayarları - KÜÇÜLTÜLDÜ VE ORTALANDI */
.main-logo {
    width: 100%;
    max-width: 600px; 
    height: auto;
    margin: 0 auto 10px auto;
    display: block;
    
    transition: transform 0.4s ease, filter 0.4s ease;
}

.main-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px var(--perver-neon)) drop-shadow(0 0 30px var(--perver-mor));
}


.logo-alani { 
    text-align: center; 
    margin-bottom: 10px;
    margin-top: -20px;
}
/* MOBİL UYUM */
@media screen and (max-width: 1100px) {
    .sol_menu {
        position: relative;
        top: 0; left: 0; transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
        background: rgba(15, 5, 25, 0.9);
        padding: 15px 0;
        margin-bottom: 30px;
        border-bottom: 2px solid var(--perver-mor);
        z-index: 99;
    }
    .sol_menu ul {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .sol_menu ul li a img { width: 120px; }
    .tanitim-section { padding-top: 0; }
}