@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #09090b; 
    --bg-surface: #121214; 
    --bg-card: #18181b;
    --text-primary: #ffffff; 
    --text-secondary: #a1a1aa; 
    --text-gray: #71717a;
    --accent: #3b82f6; 
    --border: #27272a; 
    --font-main: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-primary); font-family: var(--font-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* Navigasyon */
nav { position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%); width: 92%; max-width: 1200px; z-index: 1000; background: rgba(24, 24, 27, 0.65); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 100px; transition: all 0.3s ease; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); }
nav.scrolled { background: rgba(24, 24, 27, 0.9); border-color: rgba(255, 255, 255, 0.15); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.8rem 0.6rem 1.5rem; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; }
.logo-img { height: 32px; width: auto; filter: invert(1); transition: transform 0.3s ease; }
.logo:hover .logo-img { transform: scale(1.1); }
.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-primary); }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; }
.btn-pill { border-radius: 50px; }
.btn-primary { background-color: var(--text-primary); color: var(--bg-main); }
.btn-primary:hover { background-color: #e4e4e7; transform: translateY(-1px); }
.btn-secondary { background-color: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { background-color: #27272a; }
.btn-outline { background-color: transparent; color: var(--text-primary); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-outline:hover { background-color: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.4); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* Hero */
.hero { padding: 180px 0 100px; text-align: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; background-image: url('V2X.png'); background-repeat: no-repeat; background-position: center; background-size: 600px; opacity: 0.03; filter: invert(1); z-index: -1; pointer-events: none; }
.hero-badge { display: inline-block; padding: 0.4rem 1rem; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 20px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 2rem; }
.hero h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 1.5rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.text-gray { color: var(--text-gray); }
.hero p { font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 2.5rem; }
.hero-buttons { display: flex; justify-content: center; gap: 1rem; }

/* Bölümler */
.section { padding: 6rem 0; }
.bg-surface { background-color: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: 2.2rem; font-weight: 700; letter-spacing: -1px; margin-bottom: 0.5rem; }
.section-desc { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 4rem; }

/* Özellikler Kartları */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card { background: var(--bg-main); border: 1px solid var(--border); padding: 2rem; border-radius: 16px; }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Ekip */
.team-grid { display: flex; flex-wrap: wrap; gap: 3rem; justify-content: flex-start; }
.team-member { display: flex; flex-direction: column; }
.avatar { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.team-member h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.handle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.role { font-size: 0.8rem; color: var(--text-primary); background: var(--bg-card); padding: 0.3rem 0.8rem; border-radius: 12px; border: 1px solid var(--border); display: inline-block; width: fit-content; }
.team-avatar-image { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); margin-bottom: 1rem; background: var(--bg-card); }

/* Oyunlar */
.games-layout { display: flex; flex-direction: column; gap: 3rem; }
.game-card { display: flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.game-card:hover { border-color: #3f3f46; }
.game-thumbnail { width: 40%; min-height: 250px; position: relative; padding: 1.5rem; }
.tag { position: absolute; top: 1.5rem; left: 1.5rem; padding: 0.3rem 0.8rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; }
.tag-beta { background: #3b82f6; color: #fff; } .tag-active { background: #10b981; color: #fff; } .tag-dev { background: #f59e0b; color: #000; }
.game-info { width: 60%; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.game-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.game-header h3 { font-size: 1.8rem; letter-spacing: -0.5px; }
.platform { font-size: 0.75rem; color: var(--text-secondary); border: 1px solid var(--border); padding: 0.2rem 0.6rem; border-radius: 4px; }
.game-info p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 1.05rem; }
.game-links { display: flex; gap: 1rem; }

/* İstatistikler */
.stats-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.stat-item { flex: 1; min-width: 200px; }
.stat-value { font-size: 3.5rem; font-weight: 800; letter-spacing: -2px; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-secondary); font-weight: 500; font-size: 1.1rem; }

/* Footer */
footer { padding: 4rem 0 2rem; }
.footer-layout { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4rem; flex-wrap: wrap; gap: 2rem; }
.footer-left { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-links a:hover { color: var(--text-primary); }
.footer-right { text-align: right; color: var(--text-secondary); font-size: 0.95rem; }
.social-links { display: flex; gap: 1.5rem; margin-top: 1rem; }
.social-links a { color: var(--text-primary); font-weight: 500; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; color: var(--text-gray); font-size: 0.85rem; }

/* === WIKI & FORMLAR === */
.wiki-list { display: flex; flex-direction: column; gap: 1.5rem; }
.wiki-card { background: var(--bg-card); border: 1px solid var(--border); padding: 1.5rem 2rem; border-radius: 12px; }
.wiki-category { font-size: 0.75rem; background: rgba(59, 130, 246, 0.2); color: var(--accent); padding: 0.2rem 0.6rem; border-radius: 4px; display: inline-block; margin-bottom: 0.8rem; font-weight: 600; }
.wiki-meta { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-secondary); }
.wiki-author-info { display: flex; align-items: center; gap: 10px; }
.wiki-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--border); }
.wiki-meta-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem; }
.wiki-title-link { color: var(--text-primary); }
.wiki-title-link:hover { color: var(--accent); }

.wiki-filter-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.wiki-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; }
.wiki-filter-grid .form-input { margin-bottom: 0; }
.wiki-filter-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.wiki-results-meta { color: var(--text-secondary); font-size: 0.9rem; margin: 0.7rem 0 1rem; }

.wiki-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.wiki-page-indicator { color: var(--text-secondary); font-size: 0.92rem; }

.wiki-editor-card { margin-top: 1.2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; }
.wiki-editor-card h3 { margin-bottom: 0.8rem; font-size: 1rem; }
.wiki-inline-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.wiki-comments-section { margin-top: 1.4rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; }
.wiki-comments-section h3 { margin-bottom: 0.8rem; font-size: 1rem; }
.wiki-comment-form { margin-bottom: 1rem; }
.wiki-comments-login-note { color: var(--text-secondary); margin-bottom: 1rem; }
.wiki-comment-list { display: flex; flex-direction: column; gap: 0.9rem; }
.wiki-comment-card { background: var(--bg-main); border: 1px solid var(--border); border-radius: 10px; padding: 0.9rem; }

.auth-box { background: var(--bg-card); border: 1px solid var(--border); padding: 3rem; border-radius: 16px; width: 100%; max-width: 400px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.form-input { width: 100%; background: var(--bg-main); border: 1px solid var(--border); color: var(--text-primary); padding: 1rem; border-radius: 8px; font-family: var(--font-main); margin-bottom: 1rem; outline: none; transition: border-color 0.3s; }
.form-input:focus { border-color: var(--accent); }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--text-secondary); font-size: 0.9rem; }
.lang-switch { display: flex; justify-content: flex-end; gap: 0.75rem; margin-bottom: 1rem; }
.lang-switch a { color: var(--text-secondary); font-size: 0.85rem; border: 1px solid var(--border); border-radius: 999px; padding: 0.3rem 0.65rem; }
.lang-switch a:hover { color: var(--text-primary); border-color: var(--text-secondary); }
.auth-switcher { display: flex; gap: 0.7rem; justify-content: center; }

.form-alert { margin-bottom: 1rem; padding: 0.8rem 0.95rem; border-radius: 10px; font-size: 0.9rem; border: 1px solid; }
.form-alert-success { color: #6ee7b7; border-color: rgba(16, 185, 129, 0.5); background: rgba(16, 185, 129, 0.12); }
.form-alert-error { color: #fda4af; border-color: rgba(244, 63, 94, 0.5); background: rgba(244, 63, 94, 0.12); }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
.profile-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 1.3rem; }
.profile-card h3 { margin-bottom: 0.9rem; font-size: 1.05rem; }
.profile-avatar-wrap { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.profile-avatar-preview { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.profile-public-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem; display: flex; gap: 1.2rem; align-items: center; }
.profile-avatar-public { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.divider { border: none; height: 1px; background: var(--border); margin: 1.25rem 0; }

.admin-grid { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.admin-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem; }
.admin-card h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.admin-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.admin-create-form { background: var(--bg-main); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
.admin-create-form h4 { font-size: 0.95rem; margin-bottom: 0.7rem; color: var(--text-secondary); font-weight: 600; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.admin-table th, .admin-table td { padding: 0.75rem; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.9rem; vertical-align: top; }
.admin-table th { color: var(--text-secondary); font-weight: 600; }
.admin-small { color: var(--text-secondary); font-size: 0.78rem; margin-top: 0.2rem; }

/* Mobil Uyumluluk */
@media (max-width: 900px) {
    nav { top: 0; width: 100%; border-radius: 0; }
    .nav-right { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .game-card { flex-direction: column; }
    .game-thumbnail { width: 100%; min-height: 200px; }
    .game-info { width: 100%; padding: 2rem; }
    .footer-layout { flex-direction: column; text-align: left; }
    .footer-right { text-align: left; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-public-card { flex-direction: column; align-items: flex-start; }
    .admin-table { min-width: 540px; }
    .wiki-meta { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
    .wiki-meta-right { align-items: flex-start; }
    .wiki-filter-grid { grid-template-columns: 1fr; }
}
