/* Temel Sıfırlama ve Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* *** BAŞARILI DÜZELTME: MARGIN VE PADDING SIFIRLAMA *** */
    margin: 0; /* Header'ın yukarı yapışmasını sağlar */
    padding: 0; /* Header'ın yanlara yapışmasını sağlar */
    
    /* Arka plan resmini kendiniz eklemelisiniz */
    font-family: Arial, sans-serif;
    color: #fff; /* Genel yazı rengi beyaz */
    min-height: 100vh;
    
    /* İçeriği merkeze almak için Flexbox ayarları */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Arka Plan Video Stili */
#background-video {
    /* Konumlandırma */
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    /* Merkezi konumlandırma için kaydırma */
    transform: translateX(-50%) translateY(-50%);
    
    /* İçeriğin arkasında kalmasını sağlar */
    z-index: -2; 
    
    /* Video, görüntülendiği alana sığacak veya onu dolduracak şekilde ayarlanır */
    object-fit: cover;
}

/* Koyu arka plan katmanı */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* %70 siyahlık */
    z-index: -1;
}

/* Başlık (Header) Stili - GÜNCELLENDİ */
/* Ana Kapsayıcı (Header veya Navbar) */
header {
    background-color: #0f0f0f;
    display: flex; /* İçindeki öğeleri yan yana hizala */
    justify-content: space-between; /* Öğeler arasına maksimum boşluk bırak (Sol, Orta, Sağ) */
    align-items: center; /* Öğeleri dikeyde ortala */
    width: 100%; /* Tam genişlikte olduğundan emin olun */
    padding: 20px 50px; /* Kenarlara uygun bir boşluk ekleyin */
    /* position: fixed; veya sticky; gibi diğer header stilleriniz buraya gelebilir. */
}
.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo-img {
    display: flex;
    align-items: start;
    width: 100%;
    max-width: 60px;
}

nav {
    /* KALDIRILDI: margin-left: 100px; */
    
    /* Bağlantıları Flex elemanı yapar */
    display: flex; 
    
    /* Bağlantıları yatayda ortalar (nav kendi içinde) */
    justify-content: center; 
    
    align-items: center; 
    width: 100%; /* Navigasyon çubuğunun ortada konumlanması için kritik */
}

/* Mevcut bağlantı stiliniz */
nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px; 
    opacity: 0.8;
}

nav a:hover {
    color: #9b57f3;
}


.viewer-count {
    margin-right: 100px;
    color: #ffffff;
    display: flex; /* İçindeki öğeleri yan yana hizalar */
    align-items: center; /* Öğeleri dikeyde ortalar */
}

.viewer-count .dot {
    height: 8px;
    width: 8px;
    background-color: #32ec0c;
    border-radius: 50%;
    /* inline-block gerekli değil, çünkü Flex item oldu */
    margin-right: 5px;
}
/* Yeni eklenen span için ek stil gerekmez */

/* Ana İçerik Düzeni */
main {
    display: flex;
    /* Main içeriğini ortalar */
    width: 100%;
    max-width: 1920px; 
    gap: 30px;
    
    /* Öğelerin tamamının en uzun öğe kadar uzamasını sağlar */
    align-items: stretch; 
    padding: 0 40px; /* Header ile aynı yatay boşluğu veriyoruz */
}

.content-left {
    perspective: 1000px; 
    margin-right: 50px;
    max-width: 800px;
    flex: 2; 
}

.content-right {
    flex: 1; 
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Genel Başlık Stili */
h2 {
    color: #9043f5;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Parlayan Çerçeve (Neon Efekti) */
.glow-border {
    padding: 20px;
    border: 1px solid rgba(159, 53, 229, 0.5); 
    box-shadow: 0 0 15px rgba(164, 53, 229, 0.8), 0 0 5px rgba(120, 53, 229, 0.5) inset; 
    background-color: rgba(0, 0, 0, 0.5); 
    border-radius: 5px;
}


/* Sol Kart (Profil ve Müzik) - GÜNCELLENDİ */
.profile-card {
    display: flex;
    flex-direction: column;
    /* Bu satır, profil resmi ve nick'i merkezde tutar */
    align-items: center; 
    text-align: center; 
    
    /* YENİ: 3D Efekt için */
    transition: transform 0.1s ease-out; 
    transform-style: preserve-3d; 
    
    /* YENİ: Gölge efektini hafifçe artırabiliriz */
    box-shadow: 0 0 20px rgba(120, 53, 229, 0.8), 0 0 8px rgba(144, 53, 229, 0.5) inset; 

    height: auto; 
    margin-top: 130px;
    padding: 60px 40px; 
    backdrop-filter: blur(5px); 
    
    /* YENİ EKLEME: Müzik çaların sola yaslanması için */
    width: 100%; 
}

.profile-card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; 
    transform: translateZ(0); 
    
    /* İç dolguyu profile-card'dan alacağı için aşağıdaki ayar önemli */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-card .music-player {
  pointer-events: auto; /* Music player tıklanabilir kalsın */
  position: relative; /* Parallax layer üzerinde tıklanabilir olsun */
  z-index: 10; 
}

/* Profil Bilgileri */
.profile-info {
    margin-bottom: 50px;
    /* Tekrar merkezlemek için */
    width: 100%; 
    text-align: center;
}

.profile-pic {
    width: 150px; 
    height: 150px;
    margin-bottom: 20px;
}

.nickname {
    font-size: 48px; 
    font-weight: bold;
    color: #9043f5;
    margin-bottom: 5px;
}

.details {
    color: #fff; 
    font-size: 16px;
    opacity: 0.8;
}

/* Müzik Oynatıcı - GÜNCELLENDİ */
.music-player {
    width: 100%;
    /* max-width kaldırıldı. Kartın tüm genişliğini kullanır. */
    text-align: left; /* Yazıları sola yaslar */
    padding-top: 20px;
    border-top: 1px solid rgba(229, 57, 53, 0.2); 
}

.song-details {
    font-size: 18px;
    color: #fff;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.song-details i {
    color: #9043f5;
    margin-right: 10px;
}

.artist {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 20px;
}

/* İlerleme Çubuğu */
.progress-bar-container {
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2); 
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #9043f5; 
}

.time-end {
    position: absolute;
    right: -30px; 
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 12px;
}

/* Kontroller (Oynat, İleri, Ses) - GÜNCELLENDİ */
.controls {
    display: flex;
    align-items: center;
    /* SOLA YASLAMA */
    justify-content: flex-start; 
    gap: 15px;
}

.controls i {
    color: #9043f5;
    cursor: pointer;
    font-size: 20px;
    transition: color 0.2s, transform 0.1s;
}

.controls i:active {
    transform: scale(0.9);
}

/* Ses Kaydırıcısı (volume-slider) */
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    border-radius: 5px;
    margin-left: 10px;
}

/* Ses Kaydırıcısı Thumb (topuz) */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #9043f5;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(229, 57, 53, 0.8);
}

/* Genel Sosyal Medya Bölümü */
.social-media {
    display: flex;
    flex-direction: column; 
    align-items: flex-end; 
    padding: 10px 0;
    width: 100%; 
    margin-bottom: 30px; 
}

/* Sosyal Medya Başlığı */
.social-text {
    color: #fff; 
    font-size: 24px;
    margin-bottom: 15px;
    width: 100%; 
    text-align: right; 
    text-transform: uppercase;
    font-weight: bold;
}

/* İkonların Kapsayıcısı */
.social-icons {
    display: flex; 
    justify-content: flex-end; 
    flex-wrap: wrap; 
    gap: 15px; 
    width: 100%;
}

/* İkonların Kendisi */
.social-icons a {
    color: #fff;
    font-size: 28px; 
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #9043f5;
}

/* PC Specs */
.specs-section {
    padding: 20px 0;
    width: 100%;
}

.specs-section h2 {
    text-align: right; 
    display: none; 
}

/* Specs Izgarası - SAĞA YASLI 4 SÜTUNLU DÜZEN */
.specs-grid {
    display: grid;
    grid-template-columns: 0.5fr 1fr 0.5fr 1fr; 
    gap: 15px 10px; 
    line-height: 1.3; 
    font-size: 14px; 
    color: #fff;
}

.specs-grid > div:nth-child(odd) {
    font-weight: bold;
    color: #9043f5; 
    text-transform: uppercase;
    text-align: right; 
    padding-right: 10px; 
    font-size: 13px; 
}

.specs-grid > div:nth-child(even) {
    color: #fff;
    font-weight: normal;
    text-align: right; 
    font-size: 14px; 
}

/* CS2 Ayarları */
.cs2-settings {
    /* Genel çerçeve ve arka plan zaten .glow-border'dan geliyor */
    padding: 20px; /* İç boşluğu artırabiliriz */
}

.cs2-settings h2 {
    color: #fff;
    text-align: center; /* Başlığı ortala */
    margin-bottom: 25px; /* Alt boşluk */
    font-size: 20px; /* Başlığı biraz daha büyük yapabiliriz */
    text-transform: uppercase;
    font-weight: bold;
}

/* Tüm ayar gruplarını kapsayan container */
.settings-container {
    width: 100%;
    margin-bottom: 25px; /* Alt boşluk */
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Çizgiyi buraya taşıdık */
}

/* Her bir ayar satırı (DPI, FOV satırları) */
.settings-row {
    display: flex;
    justify-content: center; /* İçindeki ayarları ortala */
    gap: 20px; /* Her ayar öğesi arasındaki boşluk */
    flex-wrap: wrap; /* Küçük ekranlarda alta geçmesini sağla */
    margin-bottom: 15px; /* Satırlar arası boşluk */
}

/* Her bir ayar öğesi (DPI + 800) */
.setting-item {
    display: flex;
    flex-direction: column; /* Değer üstte, etiket altta */
    align-items: center; /* Kendi içinde ortala */
    text-align: center;
}

.setting-item .value {
    color: #fff;
    font-size: 18px; /* Değerlerin boyutu */
    font-weight: bold;
    margin-bottom: 3px; /* Değer ile etiket arası boşluk */
}

.setting-item .label {
    color: #9043f5; /* Etiket rengi */
    font-size: 11px; /* Etiketlerin boyutu */
    text-transform: uppercase;
    font-weight: normal;
}

/* Çözünürlük ve Ekran Modu Ayarları (Alttaki satır) */
.misc-settings {
    display: flex;
    justify-content: center; /* Öğeleri ortala */
    gap: 25px; /* Öğeler arası boşluk */
    flex-wrap: wrap; /* Küçük ekranlarda alta geçmesini sağla */
    
    /* Eski text-align: right; kaldırıldı */
}

/* misc-settings içindeki ayar öğeleri */
.misc-settings .setting-item {
    /* Yukarıdaki .setting-item stilleri zaten bunu etkileyecektir */
    /* Gerekirse burada override edilebilir */
}

/* Mobil Uyum */
@media (max-width: 768px) {
    main {
        flex-direction: column; 
    }

    .content-left, .content-right {
        flex: none;
        width: 100%;
    }

    header {
        flex-direction: column;
    }
}

