/* Genel Stiller */
:root {
    --primary-color: #00CED1; /* Turkuaz */
    --secondary-color: #008B8B; /* Koyu Turkuaz */
    --dark-color: #121212;
    --light-color: #f4f4f4;
    --text-light: #ffffff;
    --text-dark: #333333;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Taşan içeriği gizle */
    position: relative; /* Dağılan harflerin konumlaması için */
    cursor: none; /* Varsayılan imleci gizle */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    cursor: none;
    color: var(--primary-color);
    transition: var(--transition);
}

#logo {
    display: inline-block;
    position: relative; /* Animasyon için konumlanma */
    z-index: 10; /* Diğer elemanların üstünde olması için */
    cursor: none;
}

#logo:hover {
    text-shadow: 0 0 10px var(--primary-color);
    animation: shake 0.5s ease-in-out;
}

/* Logo animasyonu için stiller */
.exploded-logo-container {
    pointer-events: none; /* Tıklamaları geçirsin */
}

/* Harflerin kaçma ve hareket animasyonu için stil düzenlemeleri */
.exploded-logo-container span {
    text-shadow: 0 0 12px var(--primary-color), 0 0 20px var(--primary-color);
    opacity: 0.9;
    z-index: 1000;
    will-change: transform, left, top; /* Performans iyileştirmesi */
    filter: brightness(1.2); /* Daha parlak */
    letter-spacing: 1px;
    pointer-events: none; /* Fare etkileşimlerini normal hale getir */
}

/* Harfler hareket ederken renk değişimi için animasyon */
@keyframes glowEffect {
    0% { 
        text-shadow: 0 0 12px var(--primary-color), 0 0 20px var(--primary-color);
        filter: brightness(1.2);
    }
    50% { 
        text-shadow: 0 0 16px var(--primary-color), 0 0 25px var(--primary-color), 0 0 40px var(--primary-color);
        filter: brightness(1.6);
    }
    100% { 
        text-shadow: 0 0 12px var(--primary-color), 0 0 20px var(--primary-color);
        filter: brightness(1.2);
    }
}

.exploded-logo-container span {
    animation: glowEffect 3s infinite alternate;
    animation-timing-function: ease-in-out;
}

/* Fare işaretçisi çevresinde görsel ipucu oluştur */
body.logo-animated {
    cursor: none; /* Fareyi gizle */
}

/* ESKI IMLEÇ STILI - KALDIRILDI */

/* Harflerin üzerine gelindiğinde efektleri */
.exploded-logo-container span:hover {
    filter: brightness(1.8);
    transition: all 0.15s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    transform: scale(1.2) rotate(0deg) !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    position: relative;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

.theme-toggle {
    display: flex;
    align-items: center;
}

.theme-toggle button {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle button:hover {
    transform: rotate(30deg);
}

/* Ana İçerik */
main {
    flex: 1;
}

.hero {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 4rem 2rem;
    text-align: center;
    background-image: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Bölümler */
section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Oyunlar Bölümü */
.games-container, .news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.featured-games, .latest-news {
    text-align: center;
}

.featured-games .btn-secondary, .latest-news .btn-secondary {
    display: inline-block;
    margin: 0 auto;
}

.game-card, .news-card {
    background-color: var(--dark-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.game-card:hover, .news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.game-img, .news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-info, .news-info {
    padding: 1.5rem;
    color: var(--text-light);
}

.game-info h3, .news-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.game-info p, .news-info p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.game-info .btn, .news-info .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Logo animasyonu ve etkileşimleri için stiller */
.logo-animated {
    cursor: none !important; /* İmleç gizle */
}

.exploded-logo-container span {
    pointer-events: none; /* İmleç etkileşimlerini iyileştirmek için */
    transition: all 0.3s ease;
    will-change: transform, filter, left, top; /* Performans iyileştirmesi */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Özel imleç efekti */
.cursor-effect {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    /* mix-blend-mode özelliği kaldırıldı - yazılar üzerinde kırmızı rengi önlemek için */
    transform: translate(-50%, -50%);
}

.cursor-inner {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.cursor-outer {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    left: 0;
    top: 0;
    opacity: 0.5;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.2;
    }
}

.exploded-logo-container span {
    animation: letter-glow 3s infinite alternate;
}

@keyframes letter-glow {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
        filter: brightness(1);
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
        filter: brightness(1.3);
    }
}

/* Link ve butonlar için tıklanabilir imleci devre dışı bırak */
a, button, .btn, [role="button"] {
    cursor: none !important;
} 