/* style.css - V30.0 (FINAL: FIXED GRID, GLASS UI & TIMELINE) */

/* 1. FONTLAR VE İKONLAR */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Space+Grotesk:wght@300;500;700;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap');

/* 2. DEĞİŞKENLER */
:root {
    --bg-body: #050505;
    --bg-card: #0e0e10;
    --primary: #00d2ff;     /* Neon Mavi */
    --accent: #ff0055;      /* Canlı Pembe */
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.15);
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* 3. SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* 4. GENEL YAPI */
body {
    background-color: var(--bg-body); 
    color: var(--text-main); 
    font-family: var(--font-body);
    overflow-x: hidden; 
    min-height: 100vh;
    background-image: radial-gradient(circle at 50% 0%, #1a1b2e 0%, #000000 80%);
    background-attachment: fixed; 
    display: flex; flex-direction: column;
    opacity: 0; transition: opacity 0.5s ease-in-out;
}
body.loaded { opacity: 1; }

a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }

/* 5. BUTONLAR */
/* Eski ana buton (yedek) */
.btn-main {
    padding: 16px 40px; background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff !important; font-weight: 700; border-radius: 6px; border: none; cursor: pointer;
    font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase;
    transition: 0.3s; display: inline-block; box-shadow: 0 0 20px rgba(0, 210, 255, 0.2); text-align: center;
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(0, 210, 255, 0.5); }

/* YENİ GLASS BUTON (Ana Tasarım Dili) */
.btn-glass {
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff !important;
    font-weight: 700;
    border-radius: 6px;
    font-family: var(--font-head);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}
.w-full { width: 100%; } /* Form butonları için tam genişlik */

.steam-btn {
    padding: 15px 40px; background: linear-gradient(135deg, #1b2838, #2a475e);
    color: #fff; font-weight: 700; border-radius: 6px; border: 1px solid #66c0f4;
    cursor: pointer; font-family: var(--font-head); letter-spacing: 1px; display: inline-flex; align-items: center; gap: 10px;
    transition: 0.3s;
}
.steam-btn:hover { box-shadow: 0 0 30px #66c0f4; transform: translateY(-3px); }

.wishlist-btn {
    padding: 15px 30px; background: transparent; border: 1px solid rgba(255,255,255,0.3);
    color: #fff; font-weight: 700; border-radius: 6px; cursor: pointer; transition: 0.3s;
}
.wishlist-btn:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* 6. NAVBAR */
nav {
    display: flex; justify-content: space-between; align-items: center; padding: 25px 50px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95), transparent);
    position: fixed; width: 100%; top: 0; z-index: 1000; backdrop-filter: blur(5px);
}
.logo { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #ccc; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; }
.nav-links a:hover, .nav-links a.active { color: #fff; text-shadow: 0 0 15px var(--primary); }
.lang-btn { border: 1px solid var(--border); color: #fff; padding: 5px 15px; border-radius: 4px; background: transparent; cursor: pointer; }

/* 7. GRID SİSTEMİ (KESİN 3 SÜTUN) */
.grid-fixed {
    display: grid;
    /* Masaüstünde kesinlikle 3 eşit parçaya böl */
    grid-template-columns: repeat(3, minmax(350px, 1fr)); 
    gap: 40px; 
    width: 100%;
}

/* 8. KART TASARIMI (TAM KARE) */
.universal-card {
    background: var(--bg-card); 
    border: 1px solid var(--border); 
    border-radius: 20px;
    overflow: hidden; 
    transition: 0.4s; 
    position: relative; 
    width: 100%;
    min-height: 400px;
    
    /* Tam Kare olması için */
    aspect-ratio: 1 / 1; 
    
    display: flex; 
    flex-direction: column;
}
.universal-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.card-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: 0.6s; z-index: 0; }
.universal-card:hover .card-img { transform: scale(1.1); opacity: 0.4; }
.card-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 1;
    background: linear-gradient(to top, #000 15%, transparent 100%);
    padding: 40px; display: flex; flex-direction: column; justify-content: flex-end;
}
.card-tag { font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; color: var(--primary); }
.universal-card h2, .universal-card h3 { font-family: var(--font-head); font-size: 2.2rem; margin-bottom: 5px; line-height: 1; color: #fff; }
.universal-card p { font-size: 1.1rem; color: #ccc; }

/* 9. MODAL POPUP */
.news-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}
.news-modal-overlay.active {
    display: flex;
}
.news-modal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
    animation: popUp 0.3s ease;
    overflow-y: auto;
}
.news-modal-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}
.news-modal-content .modal-date {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}
.news-modal-content h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #fff;
}
.news-modal-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.05);
}
.close-modal:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}
@keyframes popUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 9. GELİŞTİRME / TOPLULUK ALANI */
.dev-card { /* Eski kalıntı, kullanılmıyor ama uyumluluk için */ background: rgba(255,255,255,0.03); padding: 40px 20px; border-radius: 12px; }

/* 10. YAMA NOTLARI - TIMELINE (ÇİZGİLİ) */
.update-timeline { display: none; position: relative; padding-left: 50px; margin-top: 40px; border-left: 2px solid rgba(255, 255, 255, 0.1); }
.u-item { position: relative; margin-bottom: 60px; }
.u-item::before {
    content: ''; position: absolute; left: -57px; top: 5px; width: 12px; height: 12px;
    background: var(--bg-body); border: 3px solid var(--primary); border-radius: 50%;
    box-shadow: 0 0 10px var(--primary); transition: 0.3s;
}
.u-item:hover::before { background: var(--primary); transform: scale(1.3); }
.u-date { font-family: var(--font-head); color: var(--primary); font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 5px; display: block; }
.u-version { font-size: 1.5rem; font-weight: bold; color: #fff; margin-bottom: 15px; }
.u-content { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 25px; border-radius: 12px; }
.u-content ul { list-style: none; }
.u-content li { margin-bottom: 10px; color: #ccc; display: flex; gap: 10px; }
.u-content li::before { content: '>'; color: var(--accent); font-weight: bold; }

.update-selector-wrapper { display: flex; justify-content: center; gap: 30px; margin-bottom: 60px; }
.game-select-btn {
    background: var(--bg-card); border: 1px solid var(--border); padding: 20px;
    border-radius: 12px; cursor: pointer; text-align: center; width: 250px; transition: 0.3s;
}
.game-select-btn:hover, .game-select-btn.active { border-color: var(--primary); background: rgba(0, 210, 255, 0.05); }
.game-select-btn img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }
.game-select-btn h3 { font-family: var(--font-head); margin: 0; color: #fff; }

/* 11. OYUN DETAY */
.game-modern-hero {
    height: 80vh; position: relative; display: flex; align-items: flex-end; padding-bottom: 60px;
    background-size: cover; background-position: center; margin-top: 80px;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}
.game-modern-hero::before { content:''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.hero-content-modern { position: relative; z-index: 2; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; }
.modern-title { font-size: 5rem; font-family: var(--font-head); line-height: 1; text-shadow: 0 0 50px rgba(0,0,0,0.8); }
.content-panel { background: rgba(16, 16, 18, 0.9); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 20px; padding: 40px; margin-top: -50px; position:relative; z-index:5; }
.game-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.req-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.95rem; }
.req-table th { text-align: left; padding: 15px; border-bottom: 2px solid var(--border); color: var(--primary); font-family: var(--font-head); }
.req-table td { padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ccc; vertical-align: top; }

/* 12. DİĞER (BUG, CONTACT, HERO) */
.hero-title { font-size: 5.5rem; font-family: var(--font-head); line-height: 1.1; margin: 20px 0 30px 0; text-transform: uppercase; text-shadow: 0 0 50px rgba(0,0,0,0.5); }
.split-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.sidebar-sticky { position: sticky; top: 120px; }
.sidebar-menu { display: flex; flex-direction: column; gap: 15px; }
.sidebar-btn { padding: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; text-align: left; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 20px; color: #fff; text-decoration: none; }
.sidebar-btn:hover, .sidebar-btn.active { border-color: var(--primary); background: rgba(0, 210, 255, 0.05); }
.sidebar-btn img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.sidebar-btn i { font-size: 1.5rem; width: 30px; text-align: center; color: var(--text-muted); }
.form-box { background: var(--bg-card); padding: 50px; border-radius: 16px; border: 1px solid var(--border); }
.input-field { width: 100%; padding: 18px; background: #08080a; border: 1px solid var(--border); color: #fff; border-radius: 8px; margin-bottom: 25px; }

/* HAKKIMIZDA */
.timeline-scroll-wrapper { display: flex; gap: 60px; overflow-x: auto; padding: 40px 0; cursor: grab; }
.t-h-item { min-width: 350px; position: relative; padding-top: 40px; border-top: 2px solid var(--border); }
.t-h-item::before { content: ''; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; background: #000; border: 3px solid var(--primary); border-radius: 50%; }
.t-h-year { font-size: 3rem; font-family: var(--font-head); color: rgba(255,255,255,0.1); position: absolute; top: 20px; right: 0; }
.team-grid-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 50px; }
.team-card { width: 300px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 40px 20px; text-align: center; transition: 0.3s; }
.team-card:hover { border-color: var(--accent); transform: translateY(-10px); }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px auto; border: 3px solid var(--border); }
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 60px; margin-top: 60px; opacity: 0.6; }
.partner-logo { font-size: 2.5rem; color: #fff; display: flex; align-items: center; gap: 10px; font-weight: bold; font-family: var(--font-head); }

footer { padding: 60px 0; text-align: center; border-top: 1px solid var(--border); margin-top: auto; color: #666; background: #000; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    /* Masaüstünde 3 sütun olan yapı, mobilde tek sütuna düşer */
    .grid-fixed { grid-template-columns: 1fr; } 
    .game-layout, .split-layout { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-content-modern { flex-direction: column; align-items: flex-start; gap: 30px; }
}
@media (max-width: 768px) {
    .modern-title { font-size: 3.5rem; }
    .update-selector-wrapper { flex-direction: column; align-items: center; }
}