/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500&display=swap');

/* Değişkenler */
:root {
    --bg-dark: #121212; /* Koyu siyah */
    --bg-light: #1E1E1E; /* Biraz daha açık siyah/koyu gri */
    --primary-accent: #FFFFFF; /* Beyaz vurgu */
    --text-light: #F5F5F5;
    --text-dark: #A3A3A3;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* Temel Stiller */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #ffffff;
}

/* Header */
.site-header {
    background: rgba(18, 18, 18, 0.8); /* --bg-dark ile uyumlu */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header img {
    height: 4rem; 
    width: auto;
}

.nav-link {
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link.active {
    color: var(--primary-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* Ana İçerik */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-accent);
    border-radius: 2px;
}

.info-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.05);
}


/* Butonlar */
.custom-button {
    display: inline-block;
    background: var(--primary-accent);
    color: var(--bg-dark);
    padding: 12px 28px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--primary-accent);
    cursor: pointer;
}

.custom-button:hover {
    transform: translateY(-3px);
    background-color: transparent;
    color: var(--primary-accent);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-dark);
    padding: 2rem 1rem;
    color: var(--text-dark);
}

.footer-links a, .language-selector a, .legal-links a {
    transition: color 0.3s ease;
}
.footer-links a:hover, .language-selector a:hover, .legal-links a:hover {
    color: var(--text-light);
}

.social-icons a {
    color: var(--text-dark);
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
    color: var(--text-light);
    transform: scale(1.1);
}

/* Slider */
.pagination-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}
.pagination-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}
.pagination-dots .dot.active {
    background-color: var(--primary-accent);
    transform: scale(1.1);
}

.slide-content > span {
    background-color: var(--primary-accent) !important;
    color: var(--bg-dark) !important;
}

/* Öne Çıkan Oyunlar */
.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: transparent;
}
.filter-btn:hover {
    background-color: var(--bg-light);
    color: var(--text-light);
}
.filter-btn.active {
    background-color: var(--primary-accent);
    color: var(--bg-dark);
    border-color: var(--primary-accent);
}

.featured-game-card {
    transition: transform 0.3s ease;
}
.featured-game-card:hover {
    transform: translateY(-8px);
}
.featured-game-card .image-container img {
    transition: transform 0.4s ease;
}
.featured-game-card:hover .image-container img {
    transform: scale(1.05);
}
.game-title {
    color: var(--text-light);
}
.game-genre {
    color: var(--text-dark);
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--bg-dark);
}
.badge.new {
    background-color: var(--primary-accent);
}
.badge.upcoming {
    background-color: #f59e0b; /* Amber 500 */
}

/* Admin Paneli */
.tab-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background: none;
    color: var(--text-dark);
    position: relative;
    transition: color 0.3s ease;
}
.tab-button:hover {
    color: var(--text-light);
}
.tab-button.active {
    color: var(--primary-accent);
}
.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-accent);
}

/* İletişim Formu */
.contact-input {
    width: 100%;
    padding: 0.75rem;
    background-color: #2a2a2a;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    transition: border-color 0.3s ease;
}
.contact-input:focus {
    outline: none;
    border-color: var(--primary-accent);
}

