/* ==========================================================================
   itch.io Birebir Ekran Görüntüsü Uyumlu Siyah Temalı Oyun & Video Vitrini
   - Saf Siyah (#000000)
   - Kutucuksuz dikişsiz oyun kartları
   - News kısmında büyük YouTube video slider (Sadeleştirilmiş ok tuşları ile)
   ========================================================================== */

:root {
    --bg-black: #000000;
    --text-primary: #ffffff;
    --text-title-red: #da2c4d; /* itch.io kırmızı vurgu */
    --text-description: #bbbbbb;
    --text-muted: #666666;
    
    --border-color: #161616;
    --accent-red: #da2c4d;
    --accent-red-hover: #f0395c;
    
    --radius-cover: 18px; /* Kapak fotoğraflarının yuvarlatılmış köşesi */
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* BASE SIFIRLAMA */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-black);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* SİYAH SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #000000;
}
::-webkit-scrollbar-thumb {
    background: #222222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

/* ==========================================================================
   HEADER & BANNER & MİNİMAL SOSYAL LİNKLER
   ========================================================================== */

.header-container {
    width: 100%;
    background-color: var(--bg-black);
}

.banner-wrapper {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background-color: #050505;
}

/* Crisp Net Banner */
.profile-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: none !important;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

/* NAV ÇUBUĞU & MİNİMAL LİNKLER */
.nav-bar {
    width: 100%;
    background-color: var(--bg-black);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.social-links-minimal {
    display: flex;
    align-items: center;
    gap: 24px;
}

.minimal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-family: var(--font-mono);
    transition: opacity 0.2s ease;
}

.minimal-link .link-icon {
    color: #888888;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.minimal-link .link-text {
    color: var(--text-title-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.minimal-link:hover .link-text {
    color: #ff3a5e;
}

.minimal-link:hover .link-icon {
    color: #ffffff;
}

/* ==========================================================================
   ANA İÇERİK
   ========================================================================== */

.main-content {
    flex: 1;
    width: 100%;
    background-color: var(--bg-black);
    padding: 36px 0 64px 0;
}

.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   1. OYUN KARTLARI IZGARASI (GAMES)
   ========================================================================== */

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.game-card {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.card-cover-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-cover);
    overflow: hidden;
    background-color: #0a0a0a;
}

.card-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.game-card:hover .card-cover-img {
    transform: scale(1.05);
}

.card-body {
    padding: 14px 0 0 0;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-title-red);
    margin-bottom: 4px;
    line-height: 1.3;
}

.card-description {
    font-size: 0.875rem;
    color: var(--text-description);
    line-height: 1.4;
    margin-bottom: 4px;
}

.card-tag {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2px;
}

.platform-icon {
    color: #666666;
    display: flex;
    align-items: center;
}

.game-card:hover .platform-icon {
    color: #999999;
}

/* ==========================================================================
   2. NEWS YOUTUBE VİDEO SLIDER / CAROUSEL (BÜYÜTÜLMÜŞ ÇERÇEVE & SADE OKLAR)
   ========================================================================== */

.news-section {
    margin-top: 56px;
}

.video-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1050px; /* Büyütülmüş video çerçevesi */
    margin: 0 auto;
}

.carousel-track-container {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background-color: #000000;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Responsive 16:9 YouTube Video Oynatıcı Çerçevesi */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Oran */
    background-color: #050505;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    padding: 14px 18px;
    background-color: #080808;
    border-top: 1px solid #141414;
}

.video-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ULTRA SADE SİYAH YAN OK TUŞLARI */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.carousel-arrow:hover {
    color: #ffffff;
    transform: translateY(-50%) scale(1.2);
}

.prev-arrow {
    left: -40px;
}

.next-arrow {
    right: -40px;
}

/* İNDİKATÖR NOKTALARI */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #222222;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-dot.active {
    background-color: var(--text-title-red);
    width: 20px;
    border-radius: 10px;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-black);
    padding: 24px;
    text-align: center;
    margin-top: auto;
}

.footer-content p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .banner-wrapper {
        height: 180px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .prev-arrow {
        left: 4px;
        color: #ffffff;
        background: rgba(0,0,0,0.6);
        border-radius: 50%;
    }

    .next-arrow {
        right: 4px;
        color: #ffffff;
        background: rgba(0,0,0,0.6);
        border-radius: 50%;
    }

    .social-links-minimal {
        gap: 16px;
    }
}
