/* --- Değişkenler ve Temel Ayarlar --- */
:root {
    --bg-color: #020817;
    --accent-color: #00f2ff;
    --text-white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, .logo { font-family: 'Orbitron', sans-serif; }

/* Navigasyon */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 10%; position: fixed; width: 100%;
    background: rgba(2, 8, 23, 0.9); backdrop-filter: blur(10px); z-index: 1000;
}
.logo span { color: var(--accent-color); }
.nav-links { display: flex; list-style: none; }
.nav-links li a { color: white; text-decoration: none; margin-left: 30px; font-size: 14px; transition: 0.3s; }
.nav-links li a:hover { color: var(--accent-color); }

/* Hero Section */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: space-between;
    padding: 0 10%; background: radial-gradient(circle at 50% 50%, rgba(10, 25, 47, 0.8) 0%, #020817 100%), 
                url('images/realistic-manta-ray-sea-water.jpg'); 
    background-attachment: fixed; background-size: cover; background-position: center;
}
.hero-content { max-width: 550px; text-align: center; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 0 0 20px rgba(0,242,255,0.6); }
.hero-btns { margin-top: 30px; display: flex; justify-content: center; width: 100%; }

/* Yüzme Animasyonu */
@keyframes float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-15px) rotate(1deg); } 100% { transform: translateY(0px) rotate(0deg); } }
.hero-image img { width: 100%; max-width: 500px; filter: drop-shadow(0 0 30px var(--accent-color)); animation: float 5s ease-in-out infinite; }

/* Butonlar */
.btn { padding: 14px 35px; text-decoration: none; border-radius: 5px; font-weight: bold; display: inline-block; transition: 0.3s; cursor: pointer; border: none; }
.btn.primary { background: var(--accent-color); color: var(--bg-color); }
.btn:hover { transform: translateY(-5px); box-shadow: 0 0 20px var(--accent-color); }

/* Tanıtım (Intro) */
.game-intro { padding: 100px 10%; background: #030c1d; }
.intro-container { display: flex; align-items: center; gap: 50px; }
.intro-text { flex: 1; }
.section-title { font-size: 2.5rem; margin-bottom: 25px; color: var(--accent-color); text-align: center; width: 100%; }
.features-list { margin-top: 25px; list-style: none; }
.features-list li { margin-bottom: 12px; font-weight: 500; font-size: 1.1rem; }
.intro-media { flex: 1; border-radius: 15px; overflow: hidden; border: 1px solid var(--accent-color); box-shadow: 0 0 20px rgba(0, 242, 255, 0.2); }
.intro-media img { width: 100%; display: block; }

/* --- YENİ: Birleştirilmiş Arka Plan Alanı --- */
.abyss-content-wrapper {
    background-image: linear-gradient(rgba(2, 8, 23, 0.8), rgba(2, 8, 23, 0.9)), 
                      url(''); /* BURAYA TEK FOTOĞRAFI EKLE */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-bottom: 100px;
}

/* Kapsayıcı içindeki bölümlerin arka planlarını siliyoruz */
.characters, .game-gallery { 
    background: transparent !important; 
    padding: 80px 10%; 
    text-align: center; 
}

/* Karakter Kartları */
.char-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; margin-top: 50px; }
.char-card.small { background: var(--glass); padding: 25px; border-radius: 15px; border: 1px solid rgba(0,242,255,0.1); transition: 0.4s; backdrop-filter: blur(5px); }
.char-card.small:hover { border-color: var(--accent-color); transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1); }
.char-card img { width: 100%; height: 220px; object-fit: contain; margin-bottom: 15px; }
.char-info h3 { color: var(--accent-color); margin-bottom: 5px; }

/* Galeri */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; height: 250px; border: 1px solid rgba(0, 242, 255, 0.2); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.gallery-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(2, 8, 23, 0.9), transparent); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; opacity: 0; transition: 0.4s; }
.gallery-overlay span { color: var(--accent-color); font-family: 'Orbitron', sans-serif; font-size: 0.9rem; letter-spacing: 1px; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Baloncuklar */
#bubbles-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 999; overflow: hidden; }
.bubble { position: absolute; bottom: -50px; background: rgba(255, 255, 255, 0.3); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5); animation: rise var(--duration) ease-in infinite; }
@keyframes rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-110vh) translateX(var(--drift)); opacity: 0; } }

/* Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(5px); }
.modal-content { position: relative; margin: 5% auto; width: 80%; max-width: 900px; }
.close-modal { position: absolute; top: -50px; right: 0; color: var(--accent-color); font-size: 50px; font-weight: bold; cursor: pointer; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; border: 2px solid var(--accent-color); box-shadow: 0 0 30px var(--accent-color); }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

@media (max-width: 768px) {
    .intro-container { flex-direction: column; }
    .hero { flex-direction: column; text-align: center; padding-top: 120px; justify-content: center; }
    .hero h1 { font-size: 2.2rem; }
}