:root {
    /* Ana renkler */
    --primary-color: #ff4081;
    --primary-hover: #e91e63;
    --secondary-color: #2196f3;
    --secondary-hover: #1976d2;
    --accent-color: #ffeb3b;
    
    /* Arka plan renkleri (koyu tema) */
    --bg-dark: #121212;
    --bg-card: rgba(40, 40, 40, 0.95);
    --bg-card-hover: rgba(50, 50, 50, 0.95);
    
    /* Metin renkleri */
    --text-light: #f5f5f5;
    --text-muted: #aaaaaa;
    --text-dark: #333333;
    
    /* Gölgeler */
    --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.3);
    
    /* Yuvarlama */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Animasyon süreleri */
    --trans-fast: 0.3s;
    --trans-med: 0.5s;
    --trans-slow: 0.8s;
    
    /* Responsive boyutlar */
    --container-width: 1200px;
}

/* Açık tema değişkenleri */
[data-theme="light"] {
    /* Ana renkler - açık tema için uyarlanmış */
    --primary-color: #e91e63;
    --primary-hover: #c2185b;
    --secondary-color: #1976d2;
    --secondary-hover: #0d47a1;
    
    /* Arka plan renkleri */
    --bg-dark: #f5f5f5;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: rgba(245, 245, 245, 0.95);
    
    /* Metin renkleri */
    --text-light: #333333;
    --text-muted: #666666;
    --text-dark: #121212;
    
    /* Gölgeler - daha hafif */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 6px 12px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark), #1a1a1a);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.5s ease;
    font-size: 20px;
}

/* Açık tema için body arka planı */
[data-theme="light"] body {
    background: linear-gradient(135deg, var(--bg-dark), #e0e0e0);
}

/* Temel Container Stili */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Stili - Sabit pozisyonda (sticky değil) */
header {
    width: 100%;
    padding: 15px 0;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    position: relative; /* sticky yerine relative */
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: background-color 0.5s ease;
    flex-wrap: wrap;
}

/* Açık tema header */
[data-theme="light"] header {
    background-color: rgba(240, 240, 240, 0.9);
}

.site-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform var(--trans-fast), color var(--trans-fast);
    margin-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="light"] .site-title {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.site-title img {
    height: 50px;
    width: 50px;
    margin-right: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: transform var(--trans-fast);
}

.site-title:hover {
    transform: scale(1.05);
    color: var(--accent-color);
}

.site-title:hover img {
    transform: rotate(10deg);
}

/* Header Kontrolleri - Site Başlığı ve Diğer Düğmeler için Konteynır */
.header-controls {
    display: flex;
    align-items: center;
    margin-right: 20px;
    gap: 15px;
}

/* Tema Değiştirici */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.theme-toggle-button {
    background: none;
    border: none;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all var(--trans-fast);
}

.theme-toggle-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(15deg);
}

.theme-toggle-icon {
    width: 28px;
    height: 28px;
    fill: var(--text-light);
    transition: transform var(--trans-med);
}

/* Dil Seçici - Bayraklarla Geliştirilmiş */
.language-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.language-selector a {
    padding: 8px 12px;
    margin: 0 5px;
    text-decoration: none;
    color: var(--text-light);
    opacity: 0.7;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--trans-fast);
}

.language-selector a::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 12px;
    background-size: cover;
    background-position: center;
    margin-right: 6px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.language-selector a span {
    margin-left: 5px;
    font-size: 16px;
}

/* Bayrak ikonları */
.language-selector a[href*="/en"]::before {
    background-image: url('https://flagcdn.com/w20/gb.png');
}

.language-selector a[href*="/tr"]::before {
    background-image: url('https://flagcdn.com/w20/tr.png');
}

.language-selector a[href*="/zh"]::before {
    background-image: url('https://flagcdn.com/w20/cn.png');
}

.language-selector a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transform: translateY(-2px);
}

[data-theme="light"] .language-selector a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.language-selector a.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Animasyonlu dil seçicisi hover efekti */
.language-selector a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--trans-med);
}

.language-selector a:hover::after,
.language-selector a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Ana İçerik */
main {
    padding: 2px 0;
}

/* Oyun Konteyner Stili - Boşluklar azaltıldı */
.oyun-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 8px;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease;
    border: 2px solid transparent;
    transition: border-color var(--trans-med), background var(--trans-med), box-shadow var(--trans-med);
}

.oyun-container:hover {
    border-color: var(--primary-color);
}

/* Başlık daha kompakt */
.oyun-container h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 15px;
    transition: all var(--trans-fast);
}

[data-theme="light"] .oyun-container h2 {
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.oyun-container h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: background var(--trans-med);
}

/* Oyun İframe Konteyner ve Çerçeve Ayarları */
#oyunFrame {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 oran için */
    overflow: hidden;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

#oyunFrame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important; 
    height: 100% !important;
    border: 0;
    transform: scale(1);
    transform-origin: center center;
}

/* Ad-Blocker Uyarı Stili */
.adblock-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    color: white;
    text-align: center;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.adblock-warning.active {
    display: flex;
}

.adblock-warning-content {
    background-color: #f44336;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.adblock-warning h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.adblock-warning p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: white;
}

.adblock-warning-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: white;
}

/* Yorum ve Derecelendirme Sistemi Modernize Edilmiş Stiller */
.rating-system {
    background: var(--background-secondary);
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rating-system:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.rating-system h3 {
    margin-bottom: 20px;
    font-size: 1.8rem; /* 1.6rem'den 1.8rem'e çıkardım */
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.rating-system h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    border-radius: 3px;
}

.rating-stats {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    flex-wrap: wrap;
}

.rating-stats-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 10px;
    position: relative;
}

.rating-stats-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.rating-stats-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.rating-stats-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 40px;
    padding: 0 5px;
    color: #ddd;
    transition: color 0.3s ease;
}

.star-rating label:before {
    content: "★";
}

/* Hover ve seçim için */
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffdd44;
    text-shadow: 0 0 5px rgba(255, 221, 68, 0.5);
}

/* Animasyon */
.star-rating label:hover,
.star-rating input:checked ~ label {
    transform: scale(1.2);
    transition: transform 0.3s, color 0.3s;
}

.star-rating-hint {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.star-rating:hover .star-rating-hint {
    opacity: 1;
}

.comment-form {
    margin-bottom: 30px;
}

.comment-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-form-col {
    flex: 1;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 64, 129, 0.2);
    outline: none;
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.comment-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.comment-form button:hover {
    background-color: var(--primary-color-darker);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 64, 129, 0.3);
}

.comment-form button:active {
    transform: translateY(0);
}

.comment-form button svg {
    margin-right: 8px;
}

.success-message,
.error-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.3s ease;
}

.success-message {
    background-color: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.error-message {
    background-color: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #F44336;
}

.comments-list {
    margin-top: 30px;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-header h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.3rem;
}

.comments-header .average-rating {
    display: flex;
    align-items: center;
    color: #ffdd44;
    font-size: 20px;
}

.comments-header .average-rating span {
    margin-left: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.comment {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comment:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comment:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    color: var(--text-color);
    font-size: 1.2rem; /* 1.1rem'den 1.2rem'e çıkardım */
}

.comment-rating {
    color: #ffdd44;
    font-size: 18px;
    margin-bottom: 10px;
}

.comment-content {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 1.1rem; /* Font boyutunu 1.1rem'e çıkardım */
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: right;
}

.loading-comments {
    text-align: center;
    color: var(--text-muted);
    padding: 30px;
    font-style: italic;
}

/* Mobil duyarlı düzenlemeler */
@media (max-width: 768px) {
    .rating-stats {
        flex-direction: column;
    }
    
    .rating-stats-item {
        width: 100%;
        padding: 10px 0;
    }
    
    .rating-stats-item:not(:last-child)::after {
        display: none;
    }
    
    .rating-stats-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .comment-form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .star-rating label {
        font-size: 35px;
    }
    
    body {
        font-size: 18px; /* Mobilde 18px'e düşürüyorum ama desktopa göre yine de arttırılmış */
    }
    
    /* Mobilde site başlığını büyüttüm */
    .site-title {
        margin: 0 auto 10px;
        font-size: 2.2rem; /* 2rem'den 2.2rem'e çıkardım */
    }
    
    /* Mobilde oyun container başlığını büyüttüm */
    .oyun-container h2 {
        font-size: 1.7rem; /* 1.5rem'den 1.7rem'e çıkardım */
        margin-bottom: 10px;
    }
    
    /* Mobilde oyun listesi başlığını büyüttüm */
    .oyun-listesi-container h3 {
        font-size: 1.7rem; /* 1.5rem'den 1.7rem'e çıkardım */
        margin-bottom: 8px;
    }
    
    /* Mobilde arama kutusu font boyutunu arttırdım */
    .search-bar input {
        padding: 8px 15px;
        font-size: 1.1rem; /* 1rem'den 1.1rem'e çıkardım */
    }
    
    /* Mobilde oyun kart yazı boyutunu arttırdım */
    .oyun-kapak span {
        font-size: 1.1rem; /* 1rem'den 1.1rem'e çıkardım */
    }
}

@media (max-width: 480px) {
    /* Çok küçük ekranlarda site başlığını büyüttüm */
    .site-title {
        font-size: 1.7rem; /* 1.5rem'den 1.7rem'e çıkardım */
        max-width: 90%;
    }
    
    .site-title img {
        height: 30px;
        width: 30px;
        margin-right: 8px;
    }
    
    /* Çok küçük ekranlarda dil seçiciyi büyüttüm */
    .language-selector a {
        padding: 4px 6px;
        margin: 0 2px;
        font-size: 1rem; /* 0.9rem'den 1rem'e çıkardım */
    }
    
    .language-selector a span {
        margin-left: 18px;
    }
    
    /* Çok küçük ekranlarda oyun kart yazı boyutunu arttırdım */
    .oyun-kapak span {
        padding: 6px 8px;
        font-size: 1rem; /* 0.9rem'den 1rem'e çıkardım */
    }
    
    /* Kartları büyüt */
    .oyun-listesi {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .oyun-kapak {
        height: 110px;
    }
    
    /* Tema değiştirici daha da kompakt */
    .theme-toggle-button {
        width: 32px;
        height: 32px;
    }
    
    .theme-toggle-icon {
        width: 18px;
        height: 18px;
    }
}

/* Animasyonlu Arka Plan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right top, var(--primary-color) -600%, transparent 70%),
                radial-gradient(circle at left bottom, var(--secondary-color) -600%, transparent 70%);
    z-index: -1;
    opacity: 0.4;
    transition: background 0.5s ease;
}

[data-theme="light"] body::before {
    opacity: 0.2;
}

/* İmleç takipçisini tamamen kaldır */
body::after {
    display: none;
}

/* Hızlı Oyun Arama */
.search-bar {
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-size: 18px;
    font-family: inherit;
    transition: all var(--trans-fast);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .search-bar input {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.search-bar input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 64, 129, 0.3);
}

[data-theme="light"] .search-bar input:focus {
    background: rgba(0, 0, 0, 0.08);
}

/* Tam ekran buton stillerini kaldırıyorum */
/* Aşağıdaki kod bloklarını silebilirsiniz */

/* Tam Ekran Çıkış Buton Stili */
.exit-fullscreen-button {
    display: none !important; /* Tamamen gizle */
}

/* Tam ekran modu için özel stiller - ihtiyaç olmadığından kaldırıyorum */
:fullscreen #gameIframe,
:-webkit-full-screen #gameIframe,
:-moz-full-screen #gameIframe {
    display: none;
}

/* Mobil uyumluluk iyileştirmeleri */
@media (max-width: 768px) {
    .oyun-container {
        margin: 0 auto;
        padding: 8px;
    }
    
    .oyun-container h2 {
        font-size: 1.5rem;
    }
    
    .oyun-listesi-container h3 {
        font-size: 1.4rem;
    }
    
    #oyunFrame {
        padding-bottom: 75%;
    }
    
    /* Mobilde daha kompakt arama kutusu */
    .search-bar {
        margin: 0 auto 20px;
    }
    
    .search-bar input {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Temizlenmiş Reklam Alanları */
/* Tüm reklam stilleri kaldırıldı */

/* Auto ads için her bölüm arası yer hazırla */
main > * + * {
    margin-top: 2px;
}

.oyun-listesi {
    margin-top: 10px;
}

/* Mobil responsive iyileştirmeler */
@media (max-width: 768px) {
    /* Mobilde oyun ve reklam alanları arasındaki boşlukları azalt */
    .oyun-container {
        margin: 0 auto;
        padding: 8px;
    }
    
    .oyun-listesi-container {
        margin: 0 auto;
        padding: 10px 8px 5px; /* Alt padding düşürüldü */
    }
    
    /* Diğer responsive düzenlemeler */
    main {
        padding: 0;
    }
}

/* Iframe içeriğini tam olarak gösterebilmek için */
.isolated-game-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform: scale(1) !important;
}

#isolatedGameIframe {
    width: 100% !important;
    height: 100% !important;
    transform: scale(1) !important;
    transform-origin: center center;
    filter: none !important;
}

/* Yükleme dönücüsü */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spinner 1s ease-in-out infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Parlama animasyonu */
.star-rating label {
    position: relative;
    overflow: hidden;
}

.star-rating label:hover:before {
    animation: sparkle 0.5s ease-in-out;
}

@keyframes sparkle {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
        color: #ffd700;
        text-shadow: 0 0 20px #ffdd44;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Yeni yorum animasyonu */
.comment-animation {
    animation: newComment 3s ease-in-out;
}

@keyframes newComment {
    0%, 100% {
        background: rgba(255, 255, 255, 0.03);
    }
    50% {
        background: rgba(var(--primary-color-rgb, 255, 64, 129), 0.1);
        box-shadow: 0 0 20px rgba(var(--primary-color-rgb, 255, 64, 129), 0.3);
    }
}

/* Değerlendirme istatistikleri animasyonu */
.rating-stats-number {
    position: relative;
    display: inline-block;
}

.rating-stats-number.updated {
    animation: numberUpdate 1s ease-in-out;
}

@keyframes numberUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
        color: #ffd700;
    }
    100% {
        transform: scale(1);
    }
}

/* Hover efektleri */
.comment-form button {
    position: relative;
    overflow: hidden;
}

.comment-form button:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transition: all 0.5s ease;
}

.comment-form button:hover:after {
    left: 100%;
}

/* Animasyonlar */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.comment-animation {
    animation: pulse 2s infinite;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Oyun Listesi Konteyneri Stili */
.oyun-listesi-container {
    max-width: var(--container-width);
    margin: 10px auto 0; /* 5px'ten 10px'e çıkardım */
    padding: 20px 15px 10px; /* 15px 10px 5px'ten 20px 15px 10px'e çıkardım */
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: slideIn 1s ease;
    transition: background var(--trans-med), box-shadow var(--trans-med);
}

.oyun-listesi-container h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 30px 0 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.oyun-listesi-container h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: var(--secondary-color);
    border-radius: var(--radius-sm);
    transition: background-color var(--trans-med);
}

/* Oyun Listesi Grid Stili - boşluklar azaltıldı */
.oyun-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* 170px'ten 180px'e çıkardım */
    gap: 15px; /* 10px'ten 15px'e çıkardım - Daha ferah bir görünüm için */
    justify-content: center;
    margin-top: 15px; /* 10px'ten 15px'e çıkardım */
    margin-bottom: 15px; /* 10px'ten 15px'e çıkardım */
}

/* Oyun Kartı Stili */
.oyun-link {
    text-decoration: none;
    transition: transform var(--trans-med);
    display: block;
}

.oyun-kapak {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 150px; /* 130px'ten 150px'e çıkardım */
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--trans-med);
    display: flex;
    align-items: flex-end;
}

.oyun-kapak span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    transition: all var(--trans-fast);
    opacity: 1;
}

[data-theme="light"] .oyun-kapak span {
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 80%, transparent 100%);
    color: white;
}

.oyun-link:hover .oyun-kapak {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.oyun-link:hover .oyun-kapak span {
    padding-bottom: 12px;
}

.oyun-kapak::after {
    content: attr(data-play-text);
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--trans-fast);
}

.oyun-link:hover .oyun-kapak::after {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Stili */
footer {
    background-color: rgba(15, 15, 15, 0.9);
    padding: 30px 0; /* 25px'ten 30px'e çıkardım */
    margin-top: 30px; /* 20px'ten 30px'e çıkardım */
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color var(--trans-med), border-color var(--trans-med);
}

[data-theme="light"] footer {
    background-color: rgba(230, 230, 230, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer p {
    color: var(--text-muted);
    font-size: 1.1rem; /* 1rem'den 1.1rem'e çıkardım */
    transition: color var(--trans-med);
    margin-bottom: 15px;
}

/* Footer Navigasyon */
.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px; /* 15px'ten 20px'e çıkardım */
    margin-top: 20px; /* 15px'ten 20px'e çıkardım */
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.05rem; /* 0.95rem'den 1.05rem'e çıkardım */
    padding: 6px 12px; /* 5px 10px'ten 6px 12px'e çıkardım */
    border-radius: var(--radius-sm);
    transition: all var(--trans-fast);
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--trans-med);
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

[data-theme="light"] .footer-nav a {
    color: var(--text-dark);
}

/* SEO Dostu Bayrak İkonları için Link Yapısını Güncelleme */
.language-selector a:hover span {
    transform: scale(1.1);
}

/* Mobil Responsiveness için Footer Düzenlemeleri */
@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-nav a {
        font-size: 16px; /* 14px'ten 16px'e artırıldı */
        padding: 10px 15px; /* 8px 12px'den 10px 15px'e artırıldı */
        border-radius: var(--radius-md);
    }
}

/* Schema.org Markup için invisible data konteynerları */
.schema-data {
    display: none;
}

/* Breadcrumb navigasyon - SEO için önemli */
.breadcrumb {
    background: rgba(0, 0, 0, 0.1);
    padding: 12px 18px; /* 10px 15px'ten 12px 18px'e çıkardım */
    border-radius: var(--radius-sm);
    margin-bottom: 25px; /* 20px'ten 25px'e çıkardım */
    font-size: 1.1rem; /* 1rem'den 1.1rem'e çıkardım */
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* 8px'den 10px'e çıkardım */
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    color: var(--text-muted);
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll Davranışı */
html {
    scroll-behavior: smooth;
    font-size: 18px; /* 16px'den 18px'e artırıldı */
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .oyun-listesi {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .site-title {
        font-size: 2.4rem; /* 2.2rem'den 2.4rem'e artırıldı */
    }
}

@media (max-width: 768px) {
    body {
        font-size: 18px; /* 16px'den 18px'e artırıldı */
    }
    
    .site-title {
        font-size: 2rem; /* 1.8rem'den 2rem'e artırıldı */
    }
    
    .oyun-container h2, 
    .oyun-listesi-container h3 {
        font-size: 1.8rem; /* 1.6rem'den 1.8rem'e artırıldı */
        padding-left: 12px;
    }
    
    .oyun-listesi {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .oyun-kapak {
        height: 120px;
    }
    
    .oyun-kapak span {
        font-size: 16px; /* 14px'ten 16px'e artırıldı */
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .site-title {
        font-size: 1.6rem; /* 1.5rem'den 1.6rem'e artırıldı */
        margin-left: 10px;
    }
    
    .site-title img {
        height: 40px;
        width: 40px;
        margin-right: 10px;
    }
    
    .language-selector a {
        padding: 6px 8px; /* 5px 6px'dan 6px 8px'e artırıldı */
        margin: 0 3px;
    }
    
    .language-selector a span {
        font-size: 14px; /* 12px'den 14px'e artırıldı */
    }
    
    .oyun-kapak span {
        font-size: 15px; /* 13px'ten 15px'e artırıldı */
        padding: 8px 6px;
    }
    
    .oyun-listesi {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    
    .oyun-kapak {
        height: 110px;
    }
    
    .theme-toggle-button {
        width: 40px; /* 36px'ten 40px'e artırıldı */
        height: 40px; /* 36px'ten 40px'e artırıldı */
    }
    
    .theme-toggle-icon {
        width: 24px; /* 20px'den 24px'e artırıldı */
        height: 24px; /* 20px'den 24px'e artırıldı */
    }
}

/* Mobil ekranlarda daha okunabilir footer */
@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-nav a {
        font-size: 16px; /* 14px'ten 16px'e artırıldı */
        padding: 10px 15px; /* 8px 12px'den 10px 15px'e artırıldı */
        border-radius: var(--radius-md);
    }
}
