:root {
    --bg-body: #121212;       /* Çok koyu gri (neredeyse siyah) */
    --bg-card: #1e1e1e;       /* Kartlar için biraz daha açık */
    --primary: #ff4757;       /* Canlı kırmızı/pembe (Aksiyon rengi) */
    --secondary: #2ed573;     /* Neon yeşil (Onay/Güven rengi) */
    --text-main: #dfe6e9;     /* Ana metin rengi (Beyazımsı) */
    --text-muted: #a4b0be;    /* Sönük metin rengi */
    --shadow: 0 4px 20px rgba(0,0,0,0.5); /* Derin gölge */
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background: var(--bg-body); 
    margin: 0; 
    padding: 0; 
    color: var(--text-main); 
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* HEADER */
.poki-header { 
    background: var(--bg-card); 
    border-bottom: 2px solid #333; 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: var(--shadow);
}
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 900; color: white; letter-spacing: -1px; text-transform: uppercase; }
.logo span { color: var(--primary); }
.nav-links a { margin-left: 20px; font-weight: 600; font-size: 15px; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }

/* LAYOUT & CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 15px; }

/* HERO ALANI (Vitrin Yazısı) */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #1e1e1e, #121212);
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
}
.hero-section h1 { margin: 0; font-size: 28px; color: white; }
.hero-section h1 span { color: var(--secondary); }
.hero-section p { color: var(--text-muted); margin-top: 10px; font-size: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* GRID (Oyun Listesi) */
.section-title { border-left: 5px solid var(--primary); padding-left: 15px; font-size: 20px; margin-bottom: 20px; color: white; }

.poki-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
    gap: 20px; 
    margin-bottom: 50px; 
}
.game-card { 
    background: var(--bg-card); 
    border-radius: 15px; 
    overflow: hidden; 
    aspect-ratio: 1; 
    position: relative; 
    box-shadow: var(--shadow); 
    border: 1px solid #333;
}
.game-card:hover { 
    transform: translateY(-7px); 
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.3); /* Hoverda kırmızı parlama */
    border-color: var(--primary);
}
.game-thumb { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.game-card:hover .game-thumb { opacity: 0.4; transform: scale(1.1); }

.card-overlay { 
    position: absolute; 
    bottom: 0; left: 0; right: 0; 
    padding: 15px; 
    background: linear-gradient(to top, rgba(0,0,0,1), transparent);
    z-index: 2;
}
.play-icon { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    font-size: 40px; color: white; transition: 0.3s; z-index: 3;
    opacity: 0;
}
.game-card:hover .play-icon { transform: translate(-50%, -50%) scale(1); opacity: 1; }

.game-title { display: block; font-weight: bold; font-size: 15px; color: white; }
.game-cat { font-size: 12px; color: var(--primary); font-weight: bold; margin-top: 2px; display: block; }

/* OYUN SAYFASI DÜZENİ */
.game-layout { display: flex; gap: 25px; margin-top: 30px; }
.game-stage { flex: 3; }
.sidebar { flex: 1; }

.game-frame { 
    background: black; 
    border-radius: 15px; 
    overflow: hidden; 
    position: relative; 
    padding-top: 56.25%; 
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    border: 1px solid #333;
}
.game-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.game-controls { margin-top: 15px; }
.btn-full { 
    width: 100%; background: var(--primary); color: white; 
    border: none; padding: 15px; border-radius: 10px; 
    font-weight: bold; font-size: 16px; cursor: pointer; 
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-full:hover { background: #ff6b81; }

.game-meta { 
    background: var(--bg-card); 
    padding: 25px; 
    border-radius: 15px; 
    margin-top: 25px; 
    border: 1px solid #333;
}
.game-meta h1 { font-size: 24px; color: white; margin-bottom: 10px; }
.game-meta p { color: var(--text-muted); font-size: 15px; }

/* SIDEBAR */
.sidebar-list { background: var(--bg-card); padding: 20px; border-radius: 15px; border: 1px solid #333; }
.sidebar-list h4 { margin: 0 0 15px 0; color: white; border-bottom: 1px solid #333; padding-bottom: 10px; }
.sidebar-list li { margin-bottom: 10px; }
.sidebar-list a { 
    display: block; background: #121212; padding: 12px; 
    border-radius: 8px; color: var(--text-muted); font-size: 14px; 
    border-left: 3px solid transparent;
}
.sidebar-list a:hover { 
    background: #000; color: white; padding-left: 20px; border-left: 3px solid var(--secondary);
}

/* SEO MAKALE ALANI (Alt Kısım) */
.seo-footer { 
    background: var(--bg-card); 
    padding: 40px; 
    margin-top: 60px; 
    border-top: 3px solid var(--primary);
}
.seo-footer h2 { color: white; font-size: 22px; }
.seo-footer p { color: var(--text-muted); font-size: 15px; margin-bottom: 15px; }
.seo-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.seo-tags span { background: #333; color: #ccc; padding: 5px 10px; border-radius: 5px; font-size: 12px; }

/* FOOTER */
footer { background: black; padding: 30px 0; margin-top: 0; text-align: center; font-size: 14px; color: #666; }

/* MOBİL AYARLAR */
@media (max-width: 768px) {
    .game-layout { flex-direction: column; }
    .hero-section h1 { font-size: 22px; }
    .poki-grid { grid-template-columns: repeat(2, 1fr); } /* Mobilde 2 sütun */
}

/* REKLAM ORTALAMA AYARI */
.ad-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

/* AdSense bazen taşma yapar, bunu engeller */
.ad-header ins {
    max-width: 100%;
    display: inline-block;
}