@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    --bg-color: #000000;
    --text-color: #f5f5f5;
    --accent-blue: #0078f2;
    --hover-gray: #2a2a2a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* --- 1. HEADER (FERAHLATILMIŞ VERSİYON) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px; /* Kenar boşlukları arttı */
    height: 80px; /* Sabit yükseklik */
    background-color: rgba(10, 10, 10, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
    backdrop-filter: blur(10px);
}

/* Sol Taraf: Logo ve Menü Grubu */
.nav-left {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Logo Ayarları */
.logo {
    display: flex;
    align-items: center;
    margin-right: 60px; /* Logo ile menü arasına mesafe koyduk */
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    transition: opacity 0.3s;
}
.logo:hover img { opacity: 0.8; }

/* Menü Linkleri */
.nav-links {
    display: flex;
    gap: 40px; /* LİNKLERİN ARASINI AÇTIK */
    height: 100%;
    align-items: center;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px; /* Daha zarif font boyutu */
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: #fff;
}

/* Link Alt Çizgi Efekti */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Sağ Taraf: Buton ve Profil */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Get Launcher Butonu */
.btn-launcher {
    background-color: var(--accent-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-launcher:hover {
    background-color: #0060c2;
    box-shadow: 0 0 15px rgba(0, 120, 242, 0.4);
}

/* Profil İkonu */
.profile-container { position: relative; }

.profile-icon {
    width: 42px; height: 42px;
    background: #2a2a2a;
    color: #ccc;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 18px;
}

.profile-icon:hover {
    background: #444;
    color: #fff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 60px; right: 0;
    background: #1a1a1a;
    width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 10px;
    border: 1px solid #333;
    z-index: 1001;
}

.dropdown-menu.active { display: block; }

.dropdown-menu a {
    display: block;
    color: #ddd;
    text-decoration: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: 0.2s;
}

.dropdown-menu a:hover { background: #333; color: #fff; }

/* --- 2. HERO SLIDER --- */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 85vh;
    background: #050505;
    display: flex;
    flex-direction: column;
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0.7;
    transition: background-image 0.5s ease-in-out;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-content {
    position: relative; z-index: 2;
    padding: 120px 60px;
    max-width: 700px;
}

.hero-title { font-size: 64px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; }
.hero-desc { font-size: 18px; color: #ccc; margin-bottom: 30px; line-height: 1.5; }

.btn-play {
    padding: 18px 45px;
    background: white; color: black;
    text-decoration: none; font-weight: 800;
    border-radius: 30px; display: inline-block;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-play:hover { background: #ddd; transform: scale(1.05); }

/* Küçük Kartlar */
.hero-thumbnails {
    position: absolute;
    bottom: 40px; left: 60px; right: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    z-index: 10;
}

.thumb-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex; align-items: center; gap: 15px;
    transition: 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.thumb-card:hover, .thumb-card.active {
    background: rgba(255,255,255,0.15);
    border-left: 4px solid var(--accent-blue);
    transform: translateY(-5px);
}

.thumb-img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.thumb-info h4 { font-size: 14px; font-weight: bold; margin-bottom: 4px; }
.thumb-info span { font-size: 12px; color: #aaa; }

/* --- 3. CAROUSEL --- */
.library-section {
    padding: 60px;
    background: #000;
}

.section-title { font-size: 24px; margin-bottom: 30px; font-weight: 700; color: #fff; }

.carousel-container {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
}

.carousel-container::-webkit-scrollbar { height: 8px; }
.carousel-container::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.carousel-container::-webkit-scrollbar-track { background: #000; }

.game-poster {
    min-width: 220px;
    height: 330px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-poster:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(0, 120, 242, 0.25);
    z-index: 5;
}

/* --- YENİ EKLENEN MODERN CSS --- */

/* Hero Overlay (Yazı okunabilirliği için) */
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 1;
}

/* Badge (Şimdi Yayında Etiketi) */
.badge-new {
    background: var(--accent-blue);
    color: white; padding: 5px 12px; font-size: 12px; font-weight: bold;
    border-radius: 4px; display: inline-block; margin-bottom: 15px; letter-spacing: 1px;
}

/* Hero Buton Grubu */
.hero-buttons { display: flex; gap: 15px; align-items: center; margin-top: 30px; }
.btn-wishlist {
    color: #fff; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 8px;
    transition: 0.3s;
}
.btn-wishlist:hover { color: var(--accent-blue); }

/* --- GAME LIBRARY GÜNCELLEMESİ --- */
.section-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.carousel-nav button {
    background: #333; color: white; border: none; width: 40px; height: 40px;
    border-radius: 50%; cursor: pointer; transition: 0.3s;
}
.carousel-nav button:hover { background: var(--accent-blue); }

/* Gelişmiş Oyun Kartı */
.game-poster {
    min-width: 240px; height: 380px; /* Boyut büyüdü */
    background: transparent; overflow: visible; /* Gölge için */
    display: flex; flex-direction: column; gap: 10px;
}
.poster-img {
    width: 100%; height: 300px; border-radius: 8px;
    background-size: cover; background-position: center;
    transition: transform 0.3s;
}
.game-poster:hover .poster-img { transform: translateY(-5px); }

.poster-info { padding: 5px; }
.genre { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.game-poster h3 { font-size: 16px; margin: 4px 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-tag {
    display: inline-block; background: #222; padding: 5px 10px; border-radius: 4px; font-size: 13px;
}
.price-tag.free { background: #28a745; color: white; }

/* --- GRID LAYOUT (HAFTANIN FIRSATLARI) --- */
.featured-grid { padding: 0 60px 60px; }
.grid-wrapper {
    display: grid; grid-template-columns: 2fr 1fr; gap: 30px; height: 450px;
}

/* Büyük İndirim Kartı */
.big-card {
    background-size: cover; background-position: center; border-radius: 12px; position: relative;
    display: flex; align-items: flex-end; overflow: hidden;
}
.big-card::after {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 60%);
}
.card-overlay { position: relative; z-index: 2; padding: 40px; width: 100%; }
.discount-badge {
    background: #ff0044; color: white; padding: 5px 10px; font-weight: bold; border-radius: 4px;
}
.big-card h3 { font-size: 32px; margin: 10px 0; }
.price-box { display: flex; gap: 15px; align-items: center; margin-top: 15px; }
.old-price { text-decoration: line-through; color: #888; font-size: 18px; }
.new-price { color: #fff; font-size: 24px; font-weight: bold; }

/* Küçük Yan Kartlar */
.small-cards { display: flex; flex-direction: column; gap: 15px; }
.small-card {
    flex: 1; background: #1a1a1a; border-radius: 8px; display: flex; align-items: center; padding: 15px;
    gap: 20px; transition: 0.3s; cursor: pointer;
}
.small-card:hover { background: #252525; transform: translateX(5px); }
.small-card img { width: 80px; height: 60px; border-radius: 6px; object-fit: cover; }
.small-info h4 { font-size: 16px; margin-bottom: 5px; }
.small-info span { color: #aaa; font-size: 14px; }

/* --- FOOTER --- */
footer { background: #080808; padding: 60px 60px 20px; border-top: 1px solid #222; margin-top: 60px; }
.footer-content {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #222; padding-bottom: 40px;
}
.footer-links h4 { color: #fff; margin-bottom: 20px; font-size: 16px; }
.footer-links a { display: block; color: #888; text-decoration: none; margin-bottom: 10px; font-size: 14px; transition: 0.3s; }
.footer-links a:hover { color: var(--accent-blue); }
.footer-social { display: flex; gap: 20px; justify-content: flex-end; }
.footer-social a { color: #fff; font-size: 20px; transition: 0.3s; }
.footer-social a:hover { color: var(--accent-blue); }
.footer-bottom { text-align: center; padding-top: 20px; color: #444; font-size: 12px; }

/* --- TK GAME STUDIOS FOOTER --- */
.tk-footer {
    background-color: #080808; /* Tam siyahın bir ton açığı */
    color: #f5f5f5;
    font-family: 'Inter', sans-serif;
    width: 100%;
    margin-top: 0;
    border-top: 1px solid #1f1f1f;
}

/* 1. Sosyal Medya Barı */
.tk-social-bar {
    background-color: #000;
    padding: 12px 60px;
    display: flex;
    justify-content: flex-end; /* Sağa yaslı */
    align-items: center;
    gap: 25px;
    border-bottom: 1px solid #1a1a1a;
}
.social-label { color: #999; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.social-icons { display: flex; gap: 15px; }
.social-icons a {
    color: #fff; background: #222; width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; text-decoration: none; transition: 0.3s; font-size: 13px;
}
.social-icons a:hover { background: #fff; color: #000; }

/* 2. Orta Kısım (Logo - Client Butonu) */
.tk-footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 45px 60px;
    background-color: #0d0d0d;
}

.footer-brand img { 
    height: 70px; /* Burayı 35 yerine 70 veya 80 yap */
    width: auto;  /* Orantılı büyümesi için bunu ekle */
    opacity: 1; 
}

/* Client İndirme Butonu */
.btn-tk-client {
    background-color: #262626;
    color: #fff;
    padding: 16px 45px;
    border-radius: 30px; /* Hap tasarım */
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px; /* Harfler arası açık */
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
}
.btn-tk-client:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-language { font-size: 12px; font-weight: 700; color: #ccc; cursor: pointer; display: flex; align-items: center; gap: 8px; }

/* 3. Alt Linkler ve Telif */
.tk-footer-bottom {
    display: grid;
    grid-template-columns: 200px 200px 1fr; /* Sol linkler sabit, sağ taraf esnek */
    gap: 40px;
    padding: 40px 60px 80px;
    background-color: #0d0d0d;
}

.footer-col { display: flex; flex-direction: column; gap: 15px; }
.footer-col a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.2s;
    letter-spacing: 0.5px;
}
.footer-col a:hover { color: var(--accent-blue); }

/* Telif Yazısı */
.footer-copyright {
    text-align: right;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.footer-copyright p {
    color: #666; /* Daha sönük gri */
    font-size: 11px;
    line-height: 1.5;
    max-width: 450px;
}

/* Mobil Uyumluluk */
@media (max-width: 900px) {
    .tk-footer-middle { flex-direction: column; gap: 30px; text-align: center; }
    .tk-footer-bottom { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-copyright { justify-content: center; text-align: center; }
    .tk-social-bar { justify-content: center; }
}

/* --- GAME PAGE STYLES --- */

/* Arka Plan Atmosferi */
.game-page-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    filter: blur(20px) brightness(0.2); /* Bulanık ve karanlık */
    z-index: -1;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Header & Breadcrumbs */
.game-header { margin-bottom: 30px; }
.breadcrumbs { font-size: 14px; color: #888; margin-bottom: 10px; }
.breadcrumbs a { color: #ccc; text-decoration: none; transition: 0.3s; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs i { font-size: 10px; margin: 0 10px; }
.game-title-main { font-size: 48px; font-weight: 900; letter-spacing: 1px; }

/* Grid Düzeni (Sol: İçerik, Sağ: Satın Alma) */
.game-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol 2 birim, Sağ 1 birim genişlik */
    gap: 40px;
}

/* --- SOL TARA MEDYA --- */
.media-gallery { margin-bottom: 40px; }
.main-media {
    width: 100%; height: 450px;
    background: #000; border-radius: 8px;
    overflow: hidden; position: relative; margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.main-media img { width: 100%; height: 100%; object-fit: cover; }

.thumbnail-strip {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px;
}
.thumb {
    width: 120px; height: 70px; flex-shrink: 0;
    cursor: pointer; opacity: 0.6; transition: 0.3s;
    border: 2px solid transparent; border-radius: 4px; overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.active { opacity: 1; border-color: var(--accent-blue); }

/* Açıklama ve Metinler */
.game-description h2, .system-requirements h2 {
    font-size: 20px; border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 20px; color: #fff;
}
.game-description p { color: #ccc; line-height: 1.6; margin-bottom: 20px; font-size: 15px; }

.features-list { list-style: none; margin-bottom: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.features-list li { color: #ddd; display: flex; align-items: center; gap: 10px; }
.features-list i { color: var(--accent-blue); }

/* Sistem Gereksinimleri */
.req-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
    background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px;
}
.req-col h3 { font-size: 14px; color: #888; margin-bottom: 15px; }
.req-col p { font-size: 13px; color: #ccc; margin-bottom: 8px; border-bottom: 1px solid #222; padding-bottom: 4px; }
.req-col strong { color: #fff; display: inline-block; width: 80px; }

/* --- SAĞ TARA (STICKY SIDEBAR) --- */
.game-sidebar {
    position: sticky;
    top: 100px; /* Header'ın altında yapışık kalır */
    height: fit-content;
}

.game-logo-box { margin-bottom: 20px; text-align: center; }
.sidebar-logo { width: 80%; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }

.purchase-card {
    background: #1a1a1a; padding: 25px; border-radius: 8px; border: 1px solid #333;
}

.price-row {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.discount-tag {
    background: #4c6b22; /* Steam Yeşili İndirim */
    color: #beee11; padding: 4px 10px; font-weight: bold; font-size: 20px; border-radius: 4px;
}
.prices { text-align: right; }
.old-price { display: block; text-decoration: line-through; color: #777; font-size: 14px; }
.current-price { color: #fff; font-size: 24px; font-weight: bold; }

/* Satın Al Butonları */
.btn-buy-now {
    display: block; width: 100%; text-align: center;
    background: var(--accent-blue); color: white;
    padding: 15px; font-weight: bold; text-decoration: none; border-radius: 4px;
    margin-bottom: 10px; text-transform: uppercase; transition: 0.3s;
}
.btn-buy-now:hover { background: #0060c2; box-shadow: 0 0 15px rgba(0, 120, 242, 0.4); }

.btn-cart {
    display: block; width: 100%; text-align: center;
    background: #333; color: white;
    padding: 12px; font-weight: 600; text-decoration: none; border-radius: 4px;
    margin-bottom: 20px; transition: 0.3s; font-size: 13px;
}
.btn-cart:hover { background: #444; }

.btn-wishlist-side {
    display: block; text-align: center; color: #888; text-decoration: none; font-size: 13px; transition: 0.3s;
}
.btn-wishlist-side:hover { color: #fff; }

/* Meta Bilgiler (Geliştirici vb.) */
.meta-info { margin-top: 25px; border-top: 1px solid #333; padding-top: 20px; }
.meta-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 13px; }
.meta-row span { color: #888; }
.meta-row strong { color: var(--accent-blue); }

/* Etiketler */
.game-tags { margin-top: 30px; }
.game-tags h3 { font-size: 16px; margin-bottom: 10px; color: #fff; }
.tags-container { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
    background: #222; color: #ccc; padding: 5px 12px; border-radius: 20px;
    font-size: 12px; cursor: pointer; transition: 0.3s; border: 1px solid #333;
}
.tag-pill:hover { background: #333; color: #fff; border-color: #555; }

/* MOBİL UYUM */
@media (max-width: 900px) {
    .game-layout { grid-template-columns: 1fr; } /* Mobilde tek sütun olsun */
    .game-sidebar { position: static; margin-top: 40px; }
    .main-media { height: 250px; }
}

/* --- ANİMASYONLAR --- */

/* --- USER PROFILE STYLES --- */

.profile-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* 1. HEADER KARTI */
.profile-header-card {
    background: #141414;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #222;
}

/* Kapak Fotoğrafı */
.profile-cover {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.cover-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to bottom, transparent 60%, #141414 100%);
}
.btn-edit-cover {
    position: absolute; right: 20px; top: 20px;
    background: rgba(0,0,0,0.6); color: #fff; border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 15px; border-radius: 4px; cursor: pointer; transition: 0.3s;
}
.btn-edit-cover:hover { background: rgba(0,0,0,0.8); }

/* Kullanıcı Bilgileri Barı */
.user-info-bar {
    padding: 0 40px 30px;
    display: flex;
    align-items: flex-end;
    gap: 30px;
    position: relative;
    top: -40px; /* Avatarı yukarı iter */
    margin-bottom: -20px;
}

.avatar-wrapper { position: relative; }
.user-avatar {
    width: 140px; height: 140px;
    border-radius: 50%;
    border: 5px solid #141414; /* Arka planla aynı renk sınır */
    object-fit: cover;
    background: #000;
}
.online-status {
    width: 25px; height: 25px;
    background: #2ecc71; /* Online Yeşili */
    border: 4px solid #141414;
    border-radius: 50%;
    position: absolute;
    bottom: 10px; right: 10px;
}

.user-details { flex: 1; padding-bottom: 15px; }
.name-row { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.username { font-size: 28px; font-weight: 800; color: #fff; margin: 0; }
.verified-badge { color: #1d9bf0; font-size: 20px; } /* Mavi Tik Rengi */
.user-tag {
    background: var(--accent-blue); color: #fff; padding: 2px 8px;
    border-radius: 4px; font-size: 10px; font-weight: bold;
}
.user-bio { color: #aaa; font-size: 14px; margin: 0; }

/* Level Kutusu */
.user-level-box {
    display: flex; align-items: center; gap: 15px;
    background: #1f1f1f; padding: 10px 20px; border-radius: 8px; border: 1px solid #333;
    padding-bottom: 15px;
}
.level-circle {
    text-align: center; border: 2px solid var(--accent-blue);
    border-radius: 50%; width: 50px; height: 50px;
    display: flex; flex-direction: column; justify-content: center;
}
.level-circle span { font-size: 8px; color: var(--accent-blue); font-weight: bold; }
.level-circle strong { font-size: 18px; color: #fff; line-height: 1; }

.xp-bar-container { width: 150px; }
.xp-info { display: flex; justify-content: space-between; font-size: 11px; color: #888; margin-bottom: 5px; }
.xp-track { width: 100%; height: 6px; background: #333; border-radius: 3px; overflow: hidden; }
.xp-fill { height: 100%; background: var(--accent-blue); border-radius: 3px; }

/* 2. PROFİL IZGARASI (GRID) */
.profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sol menü sabit, sağ içerik esnek */
    gap: 30px;
}

/* Sol Menü */
.profile-menu {
    display: flex; flex-direction: column; gap: 5px; margin-bottom: 30px;
}
.profile-menu a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 15px;
    color: #ccc; text-decoration: none; font-weight: 600;
    border-radius: 6px; transition: 0.2s;
}
.profile-menu a:hover, .profile-menu a.active {
    background: #1f1f1f; color: #fff;
}
.profile-menu i { width: 25px; }
.counter { background: #333; padding: 2px 8px; border-radius: 10px; font-size: 11px; }

.stats-box {
    background: #141414; padding: 20px; border-radius: 8px; border: 1px solid #222;
}
.stats-box h3 { font-size: 14px; color: #666; margin-bottom: 15px; }
.stat-row {
    display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 13px;
    border-bottom: 1px solid #1f1f1f; padding-bottom: 12px;
}
.stat-row:last-child { border: none; padding: 0; margin: 0; }
.stat-row span { color: #aaa; }
.stat-row strong { color: #fff; }

/* Sağ İçerik */
.recent-game-card {
    height: 200px; border-radius: 12px; overflow: hidden;
    background-size: cover; background-position: center;
    position: relative; margin-bottom: 30px;
    border: 1px solid #333;
}
.recent-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 30%, transparent);
    display: flex; align-items: center; justify-content: space-between; padding: 0 40px;
}
.status-text { color: #2ecc71; font-weight: bold; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.recent-info h2 { font-size: 32px; margin: 5px 0 10px; }
.play-stats { color: #aaa; font-size: 13px; display: flex; gap: 15px; }
.btn-join {
    background: var(--accent-blue); color: #fff; border: none;
    padding: 12px 25px; border-radius: 4px; font-weight: bold; cursor: pointer;
    display: flex; align-items: center; gap: 10px; transition: 0.3s;
}
.btn-join:hover { background: #fff; color: #000; }

/* Kütüphane Izgarası */
.section-heading { margin-bottom: 20px; font-size: 18px; border-left: 4px solid var(--accent-blue); padding-left: 10px; }
.library-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}
.lib-card {
    background: #1a1a1a; border-radius: 8px; overflow: hidden; transition: 0.3s; cursor: pointer;
}
.lib-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.lib-card img { width: 100%; height: 100px; object-fit: cover; }
.lib-info { padding: 10px; }
.lib-info h4 { font-size: 14px; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-info span { font-size: 11px; color: #888; }

/* MOBİL UYUM */
@media (max-width: 900px) {
    .user-info-bar { flex-direction: column; align-items: center; text-align: center; top: -60px; }
    .user-avatar { margin-bottom: 10px; }
    .profile-grid { grid-template-columns: 1fr; }
    .recent-overlay { flex-direction: column; justify-content: center; text-align: center; gap: 15px; }
}