/* style.css */
/* Proje Renk Paleti */
:root {
    --bg: #0a0a0f;
    --surface: #111118;
    --surface2: #16161f;
    --border: rgba(255, 255, 255, 0.07);
    --demon: #c0392b;
    --demon-light: #e74c3c;
    --demon-glow: rgba(192, 57, 43, 0.3);
    --god: #2980b9;
    --god-light: #3498db;
    --god-glow: rgba(41, 128, 185, 0.3);
    --gold: #f39c12;
    --gold-light: #f1c40f;
    --text: #e8e4d8;
    --text-dim: #8a8575;
    
    /* Font Tanımlamaları */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Container & Bölümler */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text);
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 15px auto;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.1) 0%, rgba(10, 10, 15, 1) 50%, rgba(41, 128, 185, 0.1) 100%);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--gold-light);
    font-size: 2.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-gold {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold);
    color: var(--bg);
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.4);
}

/* Factions Grid */
.faction-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faction-card {
    background-color: var(--surface2);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.faction-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.faction-card p {
    color: var(--text-dim);
    margin-bottom: 20px;
}

.faction-card ul {
    list-style: none;
    color: var(--text);
}

.faction-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.faction-card ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Hover Efektleri - Chaos vs Cosmos Dengesi */
.faction-card.chaos:hover {
    border-color: var(--demon);
    box-shadow: 0 0 25px var(--demon-glow);
}
.faction-card.chaos h3 {
    color: var(--demon-light);
}

.faction-card.cosmos:hover {
    border-color: var(--god);
    box-shadow: 0 0 25px var(--god-glow);
}
.faction-card.cosmos h3 {
    color: var(--god-light);
}

/* Lore & Gameplay Texts */
.lore-text p, .gameplay-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Footer */
footer {
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    padding: 30px 0;
    text-align: center;
    color: var(--text-dim);
}

footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

/* Animasyonlar (JS Tarafından Tetiklenecek) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .faction-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none; /* Mobilde basit bir görünüm için linkler gizlendi, istenirse hamburger menu eklenebilir */
    }
    .navbar {
        justify-content: center;
    }
}