:root {
    /* Renkler: Siyaha yakın çok koyu kahverengi */
    --panel-bg: #0a0807; 
    --panel-border: #c2a464;
    --gold-bright: #e5c17e;
    --selection-bg: #221a15; /* Sayfa seçilince/hover olunca koyu kahve */
    --font-hard: 'Cinzel', serif; /* Sert ve epik font */
}

 
/* Temel Ayarlar */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Readex Pro', sans-serif; }

body, html {
    height: 100%;
    overflow-x: hidden;
    background-color: transparent;
}

/* Yükleme Ekranı */
#loader {
    position: fixed; width: 100%; height: 100%;
    background: #070504; z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease;
}
.loader-logo { width: 650px; filter: drop-shadow(0 0 15px rgba(139, 137, 112, 0.3)); }
.progress-container { width: 300px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 5px; margin: 20px auto; overflow: hidden; }
.progress-bar { width: 0%; height: 100%; background: linear-gradient(90deg, #ffdead, #8b795e); }

/* Yükleme Ekranı İçeriği */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Yükleme Yazısı */
.loader-content p {
    color: #cdb38b !important; /* Beyaz renk */
    margin-top: 20px;
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-family: "Old Standard TT", serif;
}

/* Buton Konumlandırma */
#enter-button-container {
    margin-top: 20px;
    min-height: 60px; /* Bar ile aynı alanı kaplaması için */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Progress Container Sabitleme */
.progress-container {
    width: 300px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    margin: 20px auto 0 auto; /* Alt marjini sıfırladık yazıya yakın olsun diye */
    overflow: hidden;
}

/* Maceraya Başla Butonu Genel Stili */
.adventure-btn {
    position: relative;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-family: "Old Standard TT", serif; /* Önsözle aynı font */
    background: rgba(139, 115, 85, 0.2);
    color: #c2a464;
    border: 1px solid #c2a464;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden; /* Işık efekti için şart */
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 2px;
    animation: pulseButton 2s infinite ease-in-out; /* İleri-geri süzülme */
}

/* İleri-Geri Hareket Animasyonu */
@keyframes pulseButton {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(222, 184, 135, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(222, 184, 135, 0.5); }
}

/* Işık (Shine) Katmanı */
.adventure-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Başlangıçta solda gizli */
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(222, 184, 135, 0.4), transparent);
    transition: all 0.6s ease;
}

/* Fare üzerine geldiğinde ışık sağa geçsin */
.adventure-btn:hover::before {
    left: 100%;
}

/* Fare çekildiğinde ışık sola geri dönsün (Zaten transition ile sağlanıyor) */

.adventure-btn:hover {
    background: rgba(222, 184, 135, 0.2);
    border-color: #c2a464;
}

/* Video & Overlay */  /* Video & Overlay */  /* Video & Overlay */  /* Video & Overlay */  /* Video & Overlay */  /* Video & Overlay */  /* Video & Overlay */  
.video-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -3; }
#bgVideo { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }
.video-overlay {

    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -2;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 00%);
}


/* --- SOL SİDEBAR BUTONLAR --- */
.sidebar-menu {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
}

.side-item img {
    width: 60px; /* Görsellerinize göre ayarlayabilirsiniz */
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.side-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255,215,0,0.3));
}/* --- YENİ SOL BUTON TASARIMI --- */
:root {
    /* Yazı ve çizgi rengini buradan belirleyebilirsin */
    --nav-text-color: #ceba8e; 
}

.social-icons {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
}

.nav-side-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

/* PNG Görsel Ayarı */
.nav-icon-img {
    width: 60px; /* Görsel boyutu */
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
    z-index: 2;
}

/* Sağa Açılan Yazı */
.nav-text {
    color: var(--nav-text-color);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 18px;
	text-shadow: 3px 3px 8px rgba(0, 0, 0, 4); 
    letter-spacing: 1.5px;
    margin-left: 15px;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    pointer-events: none;
    position: relative;
}

/* Alt Çizgi Animasyonu */
.nav-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--nav-text-color);
    box-shadow: 0 0 8px var(--nav-text-color);
    transition: width 0.4s ease;
}

/* HOVER DURUMU */
.nav-side-btn:hover .nav-text {
    opacity: 1;
    transform: translateX(0);
}

.nav-side-btn:hover .nav-text::after {
    width: 100%;
}

.nav-side-btn:hover .nav-icon-img {
    transform: scale(1.1);
}


/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .partners-panel {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }
    .partner-divider {
        width: 80%;
        height: 1px;
    }
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}



/* Panel Açma Butonu Ayarları */
#panel-toggle-btn {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#panel-toggle-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

#panel-toggle-btn img {
    width: 40px; /* Buton boyutu */
    filter: drop-shadow(0 0 10px rgba(194, 164, 100, 0.5));
}

/* Yan Panel (Yüzen Panel Yapısı) */
.side-panel-container {
    position: fixed;
    right: -350px; /* Gizli hali */
    top: 20px;
    bottom: 20px;
    width: 280px; /* Biraz küçültüldü */
    height: calc(100vh - 40px); /* Ekrandan ayrık durması için */
    background: var(--panel-bg);
    border: 1px solid var(--panel-border); /* Her tarafı borderlı */
    border-radius: 12px; /* Köşeler oval/ayrık panel görüntüsü */
    z-index: 10000;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 25px 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.side-panel-container.active {
    right: 20px; /* Sağa yapışık değil, 20px içeride */
}

/* Sert Font Uygulaması */
.side-panel-container h2, 
.side-panel-container .nav-item,
.side-panel-container input {
    font-family: var(--font-hard) !important;
    font-weight: 700;
}

/* Seçim ve Hover Renkleri (Mavilik kaldırıldı) */
.nav-item:hover, .nav-item.active {
    background: var(--selection-bg) !important;
    color: var(--gold-bright) !important;
    border-radius: 4px;
}

/* Panel İçindeki Kapatma Butonu (X) */
.close-panel-btn {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--panel-border);
    color: black;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    border: 2px solid var(--panel-bg);
}

/* Sayfa Başlık ve Açıklama Renkleri */
.intro-box h1 { color: var(--gold-bright) !important; }
.intro-box p { color: #8a734e !important; } /* Koyu altın/kahve tonu */

/* Panel Başlık ve Arama */
.panel-header-fixed h2 {
    color: var(--gold-bright);
    font-family: "Old Standard TT", serif;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(194, 164, 100, 0.3);
    padding-bottom: 10px;
}

.search-container {
    position: relative;
    margin-bottom: 20px;
}

.search-container input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--gold-dark);
    padding: 10px 35px 10px 10px;
    color: white;
    border-radius: 4px;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    opacity: 0.7;
}

/* Liste ve Animasyonlar */
.panel-nav-content {
    flex-grow: 1;
    overflow-y: auto;
}

#systemList {
    list-style: none;
    padding: 0;
}

.nav-item {
    color: #e0e0e0;
    padding: 12px 5px;
    cursor: pointer;
    font-family: 'Readex Pro', sans-serif;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

/* Alt Çizgi Animasyonu */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold-bright);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-item:hover {
    color: var(--gold-bright);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Altın Renkli Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--gold-bright);
}


/* --- YENİ GERİ SAYIM STİLİ --- */
#main-countdown {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.cd-item {
    position: relative;
    width: 150px; /* Çerçeve görselinizin genişliği */
    height: 150px; /* Çerçeve görselinizin yüksekliği */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* SAYI VE HARFLERİN ARKASINDAKİ ÇERÇEVE */
    background: url('cd_frame.png') no-repeat center center;
    background-size: contain;
}

.cd-item span {
    font-size: 3.5rem; /* Sayılar büyük */
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.3);
    line-height: 1;
    margin-bottom: 5px;
}

.cd-item label {
    font-size: 0.9rem; /* Yazılar küçük */
    color: #c2a464;
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
}

* --- DROPDOWN --- */
.dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0; 
    width: 100%; background: var(--header-bg); 
    border: 1px solid var(--header-border-color);
    border-top: none; z-index: 1001; padding: 5px 0;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 10px 15px !important;
    color: white !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}
.dropdown-menu a:hover { background: rgba(52, 152, 219, 0.3); }

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    width: 100%;
    height: 100%;
    position: relative;
    /* Header yüksekliği 85px olduğu için içeriği 90px aşağıdan başlatıyoruz */
    padding-top: 90px !important; 
    box-sizing: border-box;
}


/* Hero İçerik */
.page-section { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; }
.main-logo { width: 450px; filter: drop-shadow(0 0 30px rgba(139, 137, 112, 0.4)); }
.floating { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }


/* Hero İçerik */
.page-section { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; }
.main-logo { width: 450px; filter: drop-shadow(0 0 30px rgba(139, 137, 112, 0.4)); }
.floating { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Önsöz Kutusu Düzenlemesi */  
.intro-box {
    margin-top: 0; 
    width: 100%;
    max-width: 900px;
    text-align: center;
    z-index: 10;
    margin-bottom: 50px !important; /* Alttaki video/görsel ile mesafesi */
    position: relative; 
}

/* Başlık Stili */
.intro-box h1 {
    color: #e1bf6e !important;
    margin-bottom: 5px !important; /* BOŞLUK AZALTILDI */
    font-size: 2.5rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(225, 191, 110, 0.5), 0 0 40px rgba(225, 191, 110, 0.3);
    font-family: "Cinzel", serif;
    display: block;
}

/* Ayırıcı Çizgi Boşluk Ayarı (Başlık ile Pano arasındaki boşluğu yarıya indiren ayar) */
.text-divider {
    display: block;
    margin: 5px auto 15px auto !important; /* Üstten 5px, alttan 15px boşluk bırakıldı */
    max-width: 600px;
    height: auto;
}

/* Önsöz Kutusu Düzenlemesi */  
.intro-box {
    margin-top: 0; 
    width: 100%;
    max-width: 900px;
    text-align: center;
    z-index: 10;
    margin-bottom: 50px !important; 
    position: relative; 
}

/* Başlık Stili */
.intro-box h1 {
    color: #e1bf6e !important;
    margin-bottom: 5px !important; 
    font-size: 2.5rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(225, 191, 110, 0.5), 0 0 40px rgba(225, 191, 110, 0.3);
    font-family: "Cinzel", serif;
    display: block;
}

/* Ayırıcı Çizgi Boşluk Ayarı */
.text-divider {
    display: block;
    margin: 5px auto 15px auto !important; 
    max-width: 600px;
    height: auto;
}

/* Bütün Paragrafları Birleştirip TEK KUTU Yapan Sistem */
.intro-box p {
    position: relative;
    display: flex;
    align-items: flex-start; 
    justify-content: flex-start; 
    text-align: left; 
    gap: 15px; 
    
    /* KOYU MİSTİK ARKA PLAN */
    background: rgba(12, 9, 6, 0.85); 
    border-left: 1px solid rgba(165, 125, 65, 0.4); 
    border-right: 1px solid rgba(165, 125, 65, 0.4);
    
    padding: 18px 30px !important; 
    margin: 0 auto !important; 
    
    /* --- ALTIN RENK VE OKUNAKLI (KÜÇÜK HARFLİ) FONT --- */
    color: #e1bf6e !important; /* Başlıklarla aynı asil altın sarısı */
    font-family: "Old Standard TT", serif !important; /* Küçük harfi olan zarif ve okunaklı font */
    font-size: 1.15rem !important; 
    font-weight: bold !important; /* Yazı tok dursun diye kalınlaştırıldı */
    letter-spacing: 0.5px !important; 
    line-height: 1.8 !important; 
    
    /* Zeminle karışmaması için tok, koyu bir gölge */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important; 
    
    width: 95%; 
    max-width: 850px; 
    transition: all 0.3s ease;
    overflow: hidden; /* Parlama efektinin kutu dışına taşmasını engeller */
}

/* Kutunun SADECE ÜST Kapağı */
.intro-box p:first-of-type {
    border-top: 1px solid rgba(165, 125, 65, 0.4);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding-top: 30px !important; 
    margin-top: 0px !important; 
}

/* Kutunun SADECE ALT Kapağı */
.intro-box p:last-of-type {
    border-bottom: 1px solid rgba(165, 125, 65, 0.4);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding-bottom: 30px !important; 
    margin-bottom: 15px !important;
}

/* Okunan satır altın gibi parlasın */
.intro-box p:hover {
    color: #fcebc4 !important; 
    text-shadow: 0 0 10px rgba(225, 191, 110, 0.6) !important; 
    background: rgba(20, 15, 10, 0.9) !important; 
}

/* İkon Ayarı */
.intro-box p::before {
    content: '';
    display: inline-block;
    width: 22px; 
    height: 22px; 
    background: url('sw.png') no-repeat center center;
    background-size: contain;
    flex-shrink: 0; 
    margin-top: 6px; 
    filter: drop-shadow(0 0 5px rgba(165, 125, 65, 0.5)); 
    position: relative;
    z-index: 2; 
}

/* SAĞA SOLA YAVAŞÇA SÜZÜLEN ALTIN PARLAMA EFEKTİ */
.intro-box p::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(225, 191, 110, 0.12) 50%, transparent 100%);
    transform: skewX(-25deg); 
    animation: boardShineSweep 8s infinite ease-in-out; 
    pointer-events: none; 
    z-index: 1; 
}

@keyframes boardShineSweep {
    0%   { left: -100%; }
    50%  { left: 200%; }
    100% { left: -100%; }
}

/* Hero Content'in Yüksekliğini Serbest Bırak */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start; 
    width: 100%;
    height: auto !important; 
    min-height: 100%; 
    position: relative;
    padding-top: 100px !important; 
    padding-bottom: 50px !important; 
    box-sizing: border-box;
}

/* İlgili Sayfaların Esnekliğini Sağla */
.page-section {
    height: auto !important;
    min-height: 100vh !important;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}

/* Parlama Animasyonu (Sağa gider, sonra sola döner) */
@keyframes boardShineSweep {
    0%   { left: -100%; }
    50%  { left: 200%; }
    100% { left: -100%; }
}

/* Hero Content'in Yüksekliğini Serbest Bırak */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start; 
    width: 100%;
    height: auto !important; 
    min-height: 100%; 
    position: relative;
    padding-top: 100px !important; 
    padding-bottom: 50px !important; 
    box-sizing: border-box;
}

/* İlgili Sayfaların Esnekliğini Sağla */
.page-section {
    height: auto !important;
    min-height: 100vh !important;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}


/* Ayırıcı Çizgi Boşluk Ayarı */
.text-divider {
    display: block;
    margin: 20px auto !important; /* Yazılarla arasına nefes aldırır */
    max-width: 600px;
    height: auto;
}

/* Sayfa Numaralandırma Stili */
.page-number {
    position: absolute;
    bottom: 0 !important;
	left: 50%;
	transform: translateX(-50%);
    font-family: "Old Standard TT", serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px !important;
    margin: 0 !important;
	z-index: 100;
}

/* Karakter Grid Yapısı (Büyük kutular için genişletildi) */
.character-grid {
    display: flex;
    justify-content: center;
    gap: 20px; /* Kutular büyüdüğü için arayı biraz daralttık */
    margin-top: 40px;
    width: 80%;
    max-width: 1800px; /* Ekranın dışına taşmaması için */
}

/* Karakter Kartı (İstediğin 522x418 Boyutları) */
.char-card {
    position: relative;
    width: 335px;  
    height: 522px; 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent;
}

.char-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.char-frame {
    position: absolute;
    top: 0; left: 0;
    width: 100%; 
    height: 100%;
    z-index: 1; /* En düşük katman */
    pointer-events: none;
    object-fit: stretch; /* Görsel oranını kutuya yayar */
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.7));
}

.char-inner {
    position: relative;
    z-index: 5; /* Çerçevenin (1) üzerine çıkardık */
    width: 100%;
    height: 100%;
    padding: 60px 40px; /* Çerçevenin iç kenarlarından pay bırakır */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Karakter Görseli (Çerçeveye göre büyütüldü) */
.char-img {
    width: auto;
    max-width: 320px; 
    max-height: 280px; /* Yazılara yer kalması için boyutu sınırladık */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}
.char-card:hover .char-img {
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(139, 115, 85, 0.4));
}

.char-inner h3 {
    font-family: "Old Standard TT", serif;
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 0px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.char-inner p {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    color: #e0e0e0;
    max-width: 280px;
    margin: 0 !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,1);
}

/* --- GENEL ÖZELLİKLER GRID (5x4) --- */ /* --- GENEL ÖZELLİKLER GRID (5x4) --- */ /* --- GENEL ÖZELLİKLER GRID (5x4) --- */ /* --- GENEL ÖZELLİKLER GRID (5x4) --- */ /* --- GENEL ÖZELLİKLER GRID (5x4) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Yan yana 5 adet */
    grid-template-rows: repeat(4, 1fr);    /* Alt alta 4 adet */
    gap: 15px;
    margin-top: 20px;
    width: 90%;
    max-width: 1300px;
    justify-items: center;
}

/* Yatay Dikdörtgen Buton Yapısı */
.feature-btn {
    position: relative;
    width: 240px;  /* Yatay genişlik */
    height: 70px;  /* Yükseklik */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.feature-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.btn-frame {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    object-fit: stretch; /* PNG çerçeveni kutuya yayar */
}

.feature-btn span {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-family: "Old Standard TT", serif;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

/* Yazıları dikeyde gruplayan kapsayıcı */
.btn-text-group {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column; /* Alt alta dizilimi sağlar */
    align-items: center;    /* Yatayda ortalar */
    justify-content: center; /* Dikeyde ortalar */
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.btn-text-group span {
    color: #ffffff;
    font-family: "Old Standard TT", serif;
    font-size: 0.85rem; /* İki satır olacağı için boyutu biraz küçülttük */
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;    /* Satır aralığını daraltır */
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Tek satırlı olanlar için eski span stilini de koruyabilirsin */
.feature-btn span {
    position: relative;
    z-index: 2;
    /* ... diğer ayarlar aynı kalsın ... */
}

/* --- SPONSORLAR (YENİ EKLENEN) --- */
.sponsor-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 40px; 
    margin-bottom: 70px; 
    max-width: 1000px; 
    margin-left: auto;
    margin-right: auto;
}

.sponsor-box {
    width: calc(50% - 20px); 
    min-width: 300px; 
    height: 250px; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03); /* Senin mevcut temanla uyumlu olması için saydamlık */
    border: 2px solid rgba(225, 191, 110, 0.5); /* Alpar2 sarı/altın rengi */
    border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.6); 
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.sponsor-box:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 191, 110, 1);
    box-shadow: 0 15px 40px rgba(225, 191, 110, 0.15);
}

.sponsor-box img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

/* --- PARTNERLER MANUEL KAYDIRMA --- */ 
.partners-wrapper {
    width: 95%;
    max-width: 1400px; 
    margin: 0 auto;    
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    position: relative;
    z-index: 20;
}

.partners-wrapper:active {
    cursor: grabbing;
}

.partner-row {
    display: flex;
    gap: 20px;
    width: 100%; 
    overflow-x: hidden; /* Scrollbar'ı tamamen gizleyip JS ile yöneteceğiz */
    padding: 25px 10px;
    user-select: none;
    cursor: grab;
    white-space: nowrap; /* İçeriğin kırılmasını engeller */
}

.partner-row:active {
    cursor: grabbing;
}

.partner-row::-webkit-scrollbar {
    display: none; /* Chrome/Safari için barı gizle */
}

.partner-box {
    flex: 0 0 180px;
    height: 110px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 211, 155, 0.4);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, border-color 0.3s;
}

/* Tıklayınca Büyüme Efekti */
.partner-box:active {
    transform: scale(1.2); /* Tıklayınca %20 büyür */
    border-color: #ffe8b2;
    z-index: 10;
}

.partner-box:hover {
    background: rgba(255, 211, 155, 0.2);
}

.partner-box img {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    pointer-events: none; /* Görselin sürüklemeyi engellememesi için */
}

/* Bilgilendirme Metni */
.partners-info-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-align: center;
    font-style: italic;
    margin: 5px 0;
}

/* --- YARATICI ÖDÜL SİSTEMİ --- */
.rewards-creative-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 95%;
    max-width: 1400px;
    margin-top: 10px;
}

/* Sol Kare Görsel (1:1 Oran) */
.reward-square-side {
    position: relative;
    width: 500px;
    height: 500px;
    flex-shrink: 0;
}

.reward-frame-kare {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    object-fit: contain;
}

.reward-inner-square {
    position: absolute;
    top: 0%; left: 0%;
    width: 100%; height: 100%;
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
}

.reward-inner-square img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Sağ Ödül Ekranı */
.reward-display-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Üst İlk 3 Kartları */
.top-three-rewards {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
}

.rank-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    flex: 1;
    transition: 0.3s;
}

.rank-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.1); }

.rank-card.gold { height: 200px; border-color: #ffd700; box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }
.rank-card.silver { height: 170px; border-color: #c0c0c0; }
.rank-card.bronze { height: 150px; border-color: #cd7f32; }

.reward-icon { width: 50px; height: 50px; margin-bottom: 10px; filter: drop-shadow(0 0 5px rgba(255,255,255,0.5)); }

.rank-title { font-family: "Old Standard TT", serif; color: #fff; font-size: 0.9rem; margin-bottom: 5px; opacity: 0.8; }
.rank-price { font-family: "Old Standard TT", serif; color: #fff; font-size: 1.5rem; font-weight: bold; }

/* Alt 7'li Liste */
.other-rewards-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.mini-reward-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 6px;
    color: #fff;
    font-family: "Old Standard TT", serif;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-reward-item span { color: #e8d483; font-weight: bold; }
.mini-reward-item img { width: 20px; height: 20px; }

/* --- ÖNKAYIT ÖDÜLLERİ SAYFASI --- */ /* --- ÖNKAYIT ÖDÜLLERİ SAYFASI --- */ /* --- ÖNKAYIT ÖDÜLLERİ SAYFASI --- */ /* --- ÖNKAYIT ÖDÜLLERİ SAYFASI --- */ /* --- ÖNKAYIT ÖDÜLLERİ SAYFASI --- */ 
.pre-register-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 95%;
    max-width: 1300px;
    margin-top: 20px;
}

.pre-register-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* Ödül Grid Yapısı (2x2) */
.pre-rewards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.pre-reward-card {
    background: rgba(255, 211, 155, 0.05);
    border: 1px solid rgba(255, 211, 155, 0.2);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s ease;
}

.pre-reward-card:hover {
    background: rgba(255, 211, 155, 0.15);
    border-color: #e8d483;
    transform: scale(1.03);
}

.item-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(205, 170, 125, 0.5));
}

.item-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.item-name {
    font-family: "Old Standard TT", serif;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.item-detail {
    font-family: "Old Standard TT", serif;
    color: #e8d483;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 4px;
}

/* Kayıt Ol Butonu */
.register-cta-btn {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 70px;
    background: linear-gradient(90deg, #0051ff, #e8d483);
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 81, 255, 0.3);
}

.register-cta-btn span {
    color: #fff;
    font-family: "Old Standard TT", serif;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 2px;
    z-index: 2;
}

.register-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
    filter: brightness(1.1);
}

/* Buton Işık Efekti */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shineBtn 3s infinite;
}

@keyframes shineBtn {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}


/* --- OTOMATİK AV SİSTEMİ SAYFASI --- */ /* --- OTOMATİK AV SİSTEMİ SAYFASI --- */ /* --- OTOMATİK AV SİSTEMİ SAYFASI --- */ /* --- OTOMATİK AV SİSTEMİ SAYFASI --- */ /* --- OTOMATİK AV SİSTEMİ SAYFASI --- */
.system-video-container {
    position: relative;
    width: 90%;
    max-width: 1000px; /* Ekran genişliğine göre ayarlanabilir */
    aspect-ratio: 16 / 9; /* 16:9 oranını sabitler */
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video Çerçevesi */
.video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none; /* Videonun tıklanmasını engellememesi için */
    object-fit: stretch; /* Çerçevenin kutuyu tam kaplamasını sağlar */
}

/* Video İç Alanı */
.video-inner {
    position: absolute;
    top: 0%; /* Çerçevenin kalınlığına göre bu yüzdeleri ayarlayabilirsin */
    left: 0.5%;
    width: 99%;
    height: 99%;
    z-index: 2;
    overflow: hidden;
    background: #000;
}

.video-inner video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videonun siyah boşluk bırakmadan alanı doldurmasını sağlar */
}

/* --- OTOMATİK AV SİSTEMİ DÜZENİ --- */  /* --- OTOMATİK AV SİSTEMİ DÜZENİ --- */  /* --- OTOMATİK AV SİSTEMİ DÜZENİ --- */  /* --- OTOMATİK AV SİSTEMİ DÜZENİ --- */  
.auto-hunt-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 95%;
    max-width: 1400px;
}

.auto-hunt-info-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 350px;
}

/* Bilgi Kutusu Ana Stil */
.info-box-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Sol Kare Tik Alanı */
.info-check {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 4px;
    margin-right: 15px;
    position: relative;
    transition: 0.3s;
    flex-shrink: 0;
}

/* Tik İşareti (V harfi) */
.info-check::after {
    content: '';
    position: absolute;
    left: 7px; top: 2px;
    width: 6px; height: 12px;
    border: solid #e8d483;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(0);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Yazı Alanı */
.info-text {
    text-align: left;
}

.info-text h3 {
    font-family: "Old Standard TT", serif;
    font-size: 1rem;
    color: #fff;
    margin: 0;
    transition: 0.3s;
}

.info-text p {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
    max-height: 0; /* Başlangıçta gizli */
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* HOVER (Üzerine Gelince) EFEKTLERİ */
.info-box-item:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: #e8d483;
    transform: translateX(10px);
}

.info-box-item:hover .info-check {
    border-color: #e8d483;
    background: rgba(0, 212, 255, 0.1);
}

.info-box-item:hover .info-check::after {
    transform: rotate(45deg) scale(1); /* Tik işareti belirir */
}

.info-box-item:hover .info-text h3 {
    color: #e8d483;
}

.info-box-item:hover .info-text p {
    max-height: 50px; /* Yazı aşağı doğru açılır */
    opacity: 1;
    margin-top: 5px !important;
}

/* --- OTOMATİK AV YENİ DÜZEN --- */ /* --- OTOMATİK AV YENİ DÜZEN --- */ /* --- OTOMATİK AV YENİ DÜZEN --- */ /* --- OTOMATİK AV YENİ DÜZEN --- */ /* --- OTOMATİK AV YENİ DÜZEN --- */ 
.auto-hunt-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 600px; /* Videonun yüksekliğine göre ayarlı */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Videoyu Tam Merkeze Sabitleme */
.centered-video {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0 !important;
    z-index: 5;
}

/* Sol Panel Tasarımı */
.side-info-panel {
    position: absolute;
    left: -130px; /* Videonun solunda duracak */
    width: 320px;
    z-index: 10;
    background: rgba(0, 5, 15, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 50px; /* Sadece başlık görünür */
}

/* Üzerine gelince panel açılsın */
.side-info-panel:hover {
    height: 480px; /* İçerik boyuna göre açılır */
    border-color: #ffffff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.panel-trigger {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: rgba(0, 212, 255, 0.1);
    cursor: pointer;
}

.panel-trigger span {
    font-family: "Old Standard TT", serif;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.trigger-icon {
    width: 20px; fill: #ffffff;
    transition: 0.3s;
}

.side-info-panel:hover .trigger-icon { transform: rotate(90deg); }

.panel-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Küçük Butonlar */
.info-box-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 6px;
    transition: 0.3s;
}

.info-box-item.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: #ffffff;
}

/* Tik ve Yazı Animasyonları */
.info-box-item.active .info-check::after { transform: rotate(45deg) scale(1); }
.info-box-item.active h3 { color: #ffffff; }
.info-box-item.active p { max-height: 60px; opacity: 1; margin-top: 5px !important; }

/* Mevcut CSS'indeki info-check, info-text p vb. kısımları bozma, onlar çalışmaya devam edecek */


/* Legal Satış Resim Üstü Buton */ /* Legal Satış Resim Üstü Buton */ /* Legal Satış Resim Üstü Buton */ /* Legal Satış Resim Üstü Buton */ /* Legal Satış Resim Üstü Buton */ 
.legal-action-btn {
    position: absolute;
    bottom: 30px; /* Alttan mesafe */
    left: 50%;
    transform: translateX(-50%);
    width: 80%; /* Resmin genişliğine göre ayarlı */
    max-width: 500px;
    height: 55px;
    background: linear-gradient(90deg, #2980b9, #3498db);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.legal-action-btn span {
    color: #fff;
    font-family: "Old Standard TT", serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px #000;
}

.legal-action-btn:hover {
    transform: translateX(-50%) scale(1.05);
    background: linear-gradient(90deg, #3498db, #2980b9);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.6);
}


/* Savaş Bileti Sayfa Düzeni */ /* Savaş Bileti Sayfa Düzeni */ /* Savaş Bileti Sayfa Düzeni */ /* Savaş Bileti Sayfa Düzeni */ 
.battle-pass-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}






#page9 .system-video-container {
    max-width: 900px; /* Görselin çok devasa olmaması için ideal boyut */
    width: 90%;
}

#page9 .centered-video {
    float: none;
    margin: 0 auto;
}

#page10 .centered-video {
    float: none;
    margin: 0 auto;
}

#page12 .centered-video {
    float: none;
    margin: 0 auto;
}

#page13 .centered-video {
    float: none;
    margin: 0 auto;
}

#page14 .centered-video {
    float: none;
    margin: 0 auto;
}

#page15 .centered-video {
    float: none;
    margin: 0 auto;
}

#page16 .centered-video {
    float: none;
    margin: 0 auto;
}

#page18 .centered-video {
    float: none;
    margin: 0 auto;
}

#page19 .centered-video {
    float: none;
    margin: 0 auto;
}

#page20 .centered-video {
    float: none;
    margin: 0 auto;
}

#page21 .centered-video {
    float: none;
    margin: 0 auto;
}

#page22 .centered-video {
    float: none;
    margin: 0 auto;
}

#page23 .centered-video {
    float: none;
    margin: 0 auto;
}

#page24 .centered-video {
    float: none;
    margin: 0 auto;
}

#page25 .centered-video {
    float: none;
    margin: 0 auto;
}

#page26 .centered-video {
    float: none;
    margin: 0 auto;
}

#page27 .centered-video {
    float: none;
    margin: 0 auto;
}

#page28 .centered-video {
    float: none;
    margin: 0 auto;
}



/* Biyolog Sayfası Özelleştirmeleri */ /* Biyolog Sayfası Özelleştirmeleri */ /* Biyolog Sayfası Özelleştirmeleri */ /* Biyolog Sayfası Özelleştirmeleri */ /* Biyolog Sayfası Özelleştirmeleri */ 
.bio-wrapper {
    align-items: flex-start;
    gap: 30px;
    height: 70vh; /* Tablonun sayfa numarasını aşmaması için yükseklik sınırı */
}

.bio-vertical-frame {
	top: 70px;
    height: 400px; /* Dikey görünüm için yükseklik artırıldı */
    width: 400px;
}


.bio-table-container {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 5px; /* İç boşluğu daralttık */
    backdrop-filter: blur(5px);
    max-height: 550px; /* Tablonun maksimum yüksekliği */
    overflow-y: auto; /* Eğer çok uzun gelirse içerde kaydırılabilir */
}

.bio-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Old Standard TT", serif;
}

.bio-table th {
    background: rgba(0, 212, 255, 0.1);
    color: #e8d483;
    padding: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.bio-row {
    transition: 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bio-row:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.01);
    box-shadow: inset 0 0 15px rgba(0, 212, 255, 0.1);
}

.bio-table td {
    padding: 12px;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

.bio-table td.lvl { color: #ffd700; font-weight: bold; font-size: 1.1rem; }
.bio-table td.item-name span { color: #ff4d4d; font-weight: bold; }
.bio-table td.reward-text { color: #00ffcc; text-shadow: 0 0 5px rgba(0, 255, 204, 0.3); }

/* Scrollbar'ı şıklaştıralım */
.bio-table-container::-webkit-scrollbar { width: 5px; }
.bio-table-container::-webkit-scrollbar-thumb { background: #e8d483; border-radius: 10px; }

.bio-table td {
    padding: 8px 12px; /* Satır aralıklarını daralttık */
    font-size: 0.85rem;
}

.bio-table th {
    padding: 10px;
    font-size: 0.8rem;
}


.bio-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
}

/* Multifarm Sayfası Özel Tasarımı */ /* Multifarm Sayfası Özel Tasarımı */ /* Multifarm Sayfası Özel Tasarımı */ /* Multifarm Sayfası Özel Tasarımı */ /* Multifarm Sayfası Özel Tasarımı */ 
/* Multifarm Konteynır Ayarı */
.multifarm-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 80px; /* İkonların yukarı taşması için üstten boşluk verdik */
}

/* Multifarm Kartı (Karakter Kartı Özelliklerini Devralır) */
.multifarm-card {
    position: relative;
    width: 300px;
    height: 450px; /* Boyutu karakter kartlarına göre ayarlayabilirsin */
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* İçeriği (yazıları) en alta iter */
    padding-bottom: 40px;
    transition: transform 0.3s ease;
}

/* Kutu Üstündeki Yüzen İkon (50x50) */
.farm-floating-icon {
    position: absolute;
    top: -30px; /* Kutunun dışına yukarı taşır */
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: url('KarenMetin2/video_cerceve.html') no-repeat center; /* Veya düz bir çerçeve */
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.farm-floating-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Karakterler Kısmındaki Çerçeve Görseli */
.multifarm-card .class-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Yazı Alanı (Alt Kısımda) */
.multifarm-card .class-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Üstten 30px boşluk bırakır, sağ/sol 20px kalır, alt 0 olur */
    padding: 250px 20px 0 20px; 
    box-sizing: border-box;
}

.multifarm-card h2 {
    font-size: 1.4rem;
    color: #ffd990;
    margin: 0; /* Kusursuz dikey ortalama için margin sıfırlandı */
    text-shadow: 0 0 10px rgba(139, 90, 43, 0.7);
}

.multifarm-card p {
    font-size: 0.9rem;
    color: #958669;
    line-height: 1.4;
    margin-top: 5px; /* Eğer h2'nin altında p varsa araya hafif boşluk eklendi */
}




/* Yan Navigasyon Paneli */ /* Yan Navigasyon Paneli *//* Yan Navigasyon Paneli *//* Yan Navigasyon Paneli *//* Yan Navigasyon Paneli *//* Yan Navigasyon Paneli */
/* Bağımsız Yan Navigasyon Paneli */
.side-navigation {
    position: fixed;
    top: 120px; 
    right: 40px; /* Sağa yapışık olmaması için mesafe */
    bottom: 60px; 
    width: 220px; 
    
    /* PNG Arka Plan Ayarı */
    background: url('../KarenMetin2/panel_bg.html') no-repeat center !important; 
    background-size: 100% 100% !important;
    
    /* Panel başlangıçta görünür olsun, JavaScript ile kapatmak istersen opacity:0 yapabilirsin */
    opacity: 1; 
    display: flex;
    flex-direction: column;
    z-index: 9999;
    padding: 30px 15px; /* PNG çerçevesine göre iç boşluğu ayarla */
    border: none !important;
    box-shadow: none !important; /* PNG kullanıldığı için gölgeyi kaldırdık */
}

/* Liste Alanı - Scroll Buradan Yapılır */
.nav-list {
    list-style: none;
    overflow-y: auto;
    padding-right: 5px;
    flex: 1;
    margin-top: 10px;
}

/* Scrollbar Tasarımı */
.nav-list::-webkit-scrollbar { width: 3px; }
.nav-list::-webkit-scrollbar-thumb { background: rgba(0, 212, 255, 0.5); border-radius: 10px; }

.nav-item {
    padding: 10px 12px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.8rem;
    color: #ccc;
    display: flex;
    align-items: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02); /* Hafif belirginlik */
}

.nav-item span {
    margin-right: 10px;
    font-weight: bold;
    color: #e8d483;
    font-size: 0.75rem;
}

.nav-item:hover, 
.nav-item.active {
    background: rgba(0, 212, 255, 0.15);
    color: #fff;
    transform: translateX(5px);
}

/* Üstteki "SİSTEMLER" başlığını ve butonu PNG kullandığımız için gizleyebiliriz */
.panel-header, .systems-toggle-btn {
    display: none !important;
}



/* --- MOBİL CİHAZLAR İÇİN KUSURSUZ MASAÜSTÜ MANTIĞI (FINAL) --- */
@media screen and (max-width: 1024px) {
    /* 1. Gereksiz Elementleri Temizle */
    .side-navigation, .systems-toggle-btn, .page-number, .header-left { 
        display: none !important; 
    }

    /* 2. Yükleme Ekranı (Loader) Mikro Düzen */
    .loader-logo { 
        width: 220px !important; 
        filter: drop-shadow(0 0 10px rgba(0, 81, 255, 0.3)); 
    }
    .progress-container { 
        width: 180px !important; 
        height: 4px !important; 
        margin: 15px auto !important; 
    }
    .loader-content p { 
        font-size: 0.8rem !important; 
    }
    .adventure-btn { 
        padding: 10px 20px !important; 
        font-size: 0.8rem !important; 
    }

    /* 3. Üst Panel (Header) - Yönlendirme Butonları ve Geri Sayım */
    .top-bar {
        height: 60px !important;
        padding: 0 10px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        background-size: 100% 100% !important;
    }
    .header-center { 
        flex: 1.5 !important; 
        justify-content: flex-start !important; 
        order: 1; 
    }
    .header-right { 
        flex: 1 !important; 
        order: 2; 
        justify-content: flex-end !important;
    }
    
    /* Geri Sayım Küçültme */
    #top-countdown { gap: 4px !important; }
    .cd-box { min-width: 32px !important; padding: 2px !important; border-radius: 3px !important; }
    .cd-box span { font-size: 0.8rem !important; }
    .cd-box label { font-size: 0.35rem !important; margin: 0 !important; }

    /* Butonlar (Anasayfa en sağda kalacak şekilde düzenlendi) */
    .header-buttons { gap: 4px !important; }
    .custom-btn { width: 85px !important; height: 30px !important; font-size: 0.5rem !important; padding: 0 5px !important; }
    .btn-icon { width: 12px !important; height: 12px !important; margin-right: 3px !important; padding: 2px !important; }
    .dropdown-menu { width: 100px !important; }
    .dropdown-menu a { font-size: 0.5rem !important; padding: 5px !important; }

    /* 4. Sayfa Yapısı ve Boşluk Katili */
    .page-section {
        height: auto !important;
        min-height: auto !important;
        padding: 70px 5px 10px 5px !important;
    }
    .hero-content { height: auto !important; gap: 5px !important; }
    .main-logo { width: 160px !important; margin-bottom: 5px !important; }
    
    .intro-box { margin-bottom: 15px !important; }
    
    /* YENİ MOBİL BAŞLIK (ÇERÇEVELİ) AYARLARI */
    .intro-box h1 { 
        font-size: 1rem !important; 
        margin: 0 auto 5px auto !important; 
        padding: 12px 20px !important; /* Mobilde çerçevenin iç boşluğu kıstık */
        max-width: 320px !important; /* Çerçeve telefonda devasa durmasın diye sınırlandı */
    }
    
    /* YENİ MOBİL METİN KUTUSU (BOARD) AYARLARI */
    .intro-box p { 
        font-size: 0.85rem !important; 
        padding: 12px 15px !important; 
        gap: 10px !important;
        width: 100% !important;
        margin: 0 auto !important;
        line-height: 1.5 !important;
    }
    .intro-box p:first-of-type {
        padding-top: 20px !important;
        margin-top: 10px !important;
    }
    .intro-box p:last-of-type {
        padding-bottom: 20px !important;
        margin-bottom: 10px !important;
    }
    .intro-box p::before {
        width: 16px !important; 
        height: 16px !important;
        margin-top: 2px !important;
    }

    .text-divider { margin: 5px auto 10px auto !important; width: 60% !important; }

    /* 5. Karakterler ve Özellikler */
    .character-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 5px !important;
    }
    .char-card { width: 100% !important; height: 230px !important; }
    .char-img { max-height: 100px !important; margin-bottom: 15px !important; }
    .char-inner h3 { font-size: 0.8rem !important; }
    .char-inner p { font-size: 0.55rem !important; line-height: 1.1 !important; }

    .features-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 4px !important; }
    .feature-btn { width: 100% !important; height: 40px !important; }
    .feature-btn span, .btn-text-group span { font-size: 0.5rem !important; line-height: 1 !important; }

    /* 6. Partnerler (Tek Seferde Görünür Izgara) */
    .partner-row {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 4px !important;
        overflow: visible !important;
        padding: 10px 0 !important;
    }
    .partner-box { width: 100% !important; height: 45px !important; flex: none !important; }
    .partners-info-text { display: none !important; }

    /* 7. Önkayıt Ödülleri (Mikro Masaüstü Düzeni) */
    .pre-register-wrapper { 
        flex-direction: row !important; 
        gap: 10px !important; 
        align-items: center !important; 
    }
    #page6 .reward-square-side { 
        width: 130px !important; 
        height: 130px !important; 
        flex-shrink: 0 !important; 
    }
    .pre-rewards-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 5px !important; }
    .pre-reward-card { padding: 6px !important; gap: 5px !important; }
    .item-icon { width: 30px !important; height: 30px !important; }
    .item-name { font-size: 0.5rem !important; }
    .item-detail { font-size: 0.4rem !important; }
    .register-cta-btn { height: 35px !important; }
    .register-cta-btn span { font-size: 0.7rem !important; }

    /* 8. Otomatik Av & Legal Satış (Mobil Düzenleme) */
    .auto-hunt-wrapper {
        flex-direction: column !important;
        height: auto !important;
        position: relative !important;
    }
    .side-info-panel {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important; /* Panel yüksekliğini içeriğe bırak */
        margin-bottom: 10px !important;
        overflow: visible !important; /* İçeriklerin taşmasını engelleme */
    }
    
    /* Panel mobilde kapalı başlasın ama tıklandığında açılabilsin */
    .panel-content { 
        display: flex !important; 
        flex-direction: column !important;
        padding: 5px !important; 
        gap: 5px !important; 
        /* Mobilde panelin kendisi hep açık kalsın ama içindeki kutucuklar tıklansın */
    }

    /* KUTUCUKLARA TIKLANDIĞINDA AÇILMA EFEKTİ */
    .info-box-item { 
        padding: 10px !important; 
    }
    
    .info-text h3 { 
        font-size: 0.8rem !important; 
    }

    /* Mobilde kapalıyken gizli, .active sınıfı gelince görünür yap */
    .info-text p { 
        display: block !important; 
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.4s ease;
        font-size: 0.7rem !important;
    }

    /* JavaScript ile .active sınıfı eklendiğinde devreye girer */
    .info-box-item.active .info-text p {
        max-height: 100px !important; /* Açıklama yazısı yüksekliği */
        opacity: 1 !important;
        margin-top: 5px !important;
    }

    .info-box-item.active .info-check::after {
        transform: rotate(45deg) scale(1) !important;
    }

    .centered-video {
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        display: block !important;
        z-index: 5;
    }
    /* 9. Ödül Havuzu ve Biyolog */
    .reward-square-side { width: 160px !important; height: 160px !important; margin: 0 auto !important; }
    .rank-card.gold { height: 100px !important; }
    .rank-card.silver, .rank-card.bronze { height: 85px !important; }
    .rank-price { font-size: 0.8rem !important; }
    .other-rewards-list { grid-template-columns: repeat(2, 1fr) !important; }

    .bio-wrapper { flex-direction: column !important; }
    .bio-vertical-frame { width: 140px !important; height: 140px !important; margin: 0 auto !important; }
    .bio-table-container { max-height: 350px !important; }
    .bio-table td, .bio-table th { font-size: 0.55rem !important; padding: 3px !important; }

    /* 10. Multifarm */
    .multifarm-container { flex-direction: row !important; gap: 5px !important; }
    .multifarm-card { width: 32% !important; height: 150px !important; }
    .farm-floating-icon { width: 30px !important; height: 30px !important; top: -15px !important; }
    .farm-floating-icon img { width: 20px !important; height: 20px !important; }
    .multifarm-card h2 { font-size: 0.6rem !important; margin-top: 70px; }
    .multifarm-card p { font-size: 0.45rem !important; margin-bottom: -30px; }
}

/* --- MOBİL ÖDÜL HAVUZU & SIRALAMA DÜZENLEME --- */
@media screen and (max-width: 1024px) {
    /* Konteynırı dikeyden yataya (veya daha geniş bir dikey yapıya) zorlar */
    .rewards-creative-wrapper {
        flex-direction: column !important; 
        gap: 20px !important;
        width: 100% !important;
        align-items: center !important;
    }

    /* Sol taraftaki büyük kare görseli (Metin Hasar Sıralaması Görseli vb.) */
    .reward-square-side {
        width: 280px !important; 
        height: 280px !important;
        margin: 0 auto !important;
    }

    /* Sağ taraftaki ödül kartlarının alanı */
    .reward-display-side {
        width: 100% !important;
        gap: 15px !important;
    }

    /* İlk 3 (Altın, Gümüş, Bronz) Kartları yan yana tutar */
    .top-three-rewards {
        display: flex !important;
        flex-direction: row !important; 
        align-items: flex-end !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .rank-card {
        padding: 10px 5px !important;
        flex: 1 !important;
    }

    .rank-card.gold { height: 130px !important; }
    .rank-card.silver { height: 110px !important; }
    .rank-card.bronze { height: 100px !important; }

    .rank-title { font-size: 0.6rem !important; }
    .rank-price { font-size: 0.9rem !important; }
    .reward-icon { width: 30px !important; height: 30px !important; }

    /* Alt kısımdaki 7'li küçük ödül listesi */
    .other-rewards-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 8px !important;
        width: 100% !important;
    }

    .mini-reward-item {
        padding: 8px !important;
        font-size: 0.65rem !important;
        justify-content: center !important;
    }

    .mini-reward-item img {
        width: 15px !important;
        height: 15px !important;
    }
}

/* 1. Ekranın altındaki sayfa numaralarını gizle */
.page-number {
    display: none !important;
}

/* 2. Sağ paneldeki (Sistemler) liste numaralarını gizle */
.nav-item span {
    display: none !important;
}

/* 3. Masaüstü Discord Butonu (Sol Alt) */
.desktop-discord-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
}

.desktop-discord-btn img {
    width: 220px; 
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 211, 155, 0.2));
}

.desktop-discord-btn:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 0 25px rgba(255, 211, 155, 0.4));
}

/* 4. Mobilde Discord Butonunu Gizle */
@media screen and (max-width: 1024px) {
    .desktop-discord-btn {
        display: none !important;
    }
}

/* --- DİL SİSTEMİ KESİN ÇÖZÜM (HİZALAMA VE KAPANMA DÜZELTMESİ) --- */
.fixed-lang-menu {
    position: fixed;
    top: 20px;
    right: 0px; /* Menüyü ekranın sağ üst köşesine sabitler, solda kesilmez */
    z-index: 99999;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropbtn {
    background: rgba(10, 8, 7, 0.85);
    color: #e5c17e;
    padding: 8px 15px;
    font-size: 14px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    border: 1px solid rgba(229, 193, 126, 0.4);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.lang-dropdown:hover .lang-dropbtn {
    border-color: #e5c17e;
    background: rgba(10, 8, 7, 1);
}

/* MOUSE AŞAĞI İNERKEN KAPANMAMASI İÇİN GİZLİ KÖPRÜ (KRİTİK KISIM) */
.lang-dropdown::after {
    content: '';
    position: absolute;
    bottom: -15px; /* Buton ile açılır menü arasındaki boşluğu doldurur */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
    display: block;
    z-index: 99;
}

/* AÇILIR MENÜ KISMI */
.lang-dropdown-content {
    display: none;
    position: absolute;
    background-color: #0a0807;
    min-width: 150px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.8);
    z-index: 100;
    border: 1px solid #c2a464;
    border-radius: 6px;
    top: 100%; 
    right: 0; /* Butonun sağ hizasından aşağı doğru açılır */
    margin-top: 10px; 
    overflow: hidden;
}

.lang-dropdown-content a {
    color: #e0e0e0;
    padding: 12px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-family: 'Readex Pro', sans-serif;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lang-dropdown-content a:last-child { border-bottom: none; }

.lang-dropdown-content a:hover {
    background-color: rgba(229, 193, 126, 0.15);
    color: #e5c17e;
    padding-left: 20px; /* Mouse üzerine gelince yazının hafif sağa kayması */
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
    animation: fadeInLang 0.2s ease-in-out;
}

@keyframes fadeInLang {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobil cihazlar için ekrana oturtma */
@media screen and (max-width: 768px) {
    .fixed-lang-menu {
        top: 10px;
        right: 15px;
    }
}