/* Temel Ayarlar ve Değişkenler */
:root {
    --primary-color: #f7a300; 
    --secondary-color: #ffcc00; 
    --dark-bg: #1a1a1a; 
    --light-bg: #2a2a2a; 
    --text-color: #ffffff;
    --text-dark: #e0e0e0; 
    --border-color: #333333; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block; 
    vertical-align: middle; 
}

/* Başlık Stilleri */
.section-title, h2.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    margin-top: 50px; 
    color: var(--text-color);
    border-bottom: 4px solid var(--primary-color);
    padding-bottom: 15px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

/* Header */
.site-header {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.05);
}

/* Butonlar */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    text-align: center;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 163, 0, 0.6);
}
.btn-secondary {
    background-color: var(--light-bg);
    color: var(--text-color);
    border: 1px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 163, 0, 0.6);
}


/* Ana Banner (Header Altında) */
.main-banner {
    padding: 20px 0; 
    background-color: var(--dark-bg); 
}

.main-banner .container { 
    max-width: 1200px; 
    padding: 0; 
}

.main-banner a {
    display: block; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-banner a:hover {
    transform: scale(1.01); 
    box-shadow: 0 12px 35px rgba(247, 163, 0, 0.3);
}

.main-banner img {
    width: 100%; 
}

/* Slogan Metni (Banner Altında) */
.slogan {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary-color);
    margin: 30px 20px; 
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}


/* Makale Alanı */
.article-section {
    background-color: var(--light-bg);
    padding: 30px 40px;
    border-radius: 15px;
    margin: 40px auto; 
    max-width: 1160px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.article-content {
    overflow: hidden;
    position: relative;
    max-height: 100px; /* Başlangıç yüksekliği (JS ile aynı olmalı) */
    transition: max-height 0.7s ease-in-out; 
}

.article-content.expanded {
     max-height: 3000px; /* Yeterince BÜYÜK bir değer */
    -webkit-mask-image: none;
    mask-image: none; 
}

.article-content.collapsed {
     max-height: 100px; /* Başlangıç yüksekliği */
     -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.article-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}
.article-content p:last-of-type {
    margin-bottom: 0;
}

.read-more-btn {
    display: block;
    width: fit-content; 
    margin: 25px auto 0; 
    padding: 10px 30px; 
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.read-more-btn:hover {
    background-color: var(--secondary-color);
}


/* Kart (Film Afişi) Tasarımı */
.provider-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    padding: 40px 0;
}
.card { background-color: var(--light-bg); border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid var(--border-color); }
.card:hover { transform: translateY(-10px) scale(1.04); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8); border-color: var(--primary-color); }
.card a { text-decoration: none; color: var(--text-color); display: block; }
.card img { width: 100%; height: 280px; object-fit: cover; border-bottom: 3px solid var(--primary-color); transition: border-bottom-color 0.3s ease; }
.card:hover img { border-bottom-color: var(--secondary-color); }
.card-title { font-size: 1.35rem; font-weight: bold; text-align: center; padding: 20px 15px; margin: 0; min-height: 70px; display: flex; align-items: center; justify-content: center; color: var(--primary-color); text-shadow: 1px 1px 3px rgba(0,0,0,0.3); }


/* SSS (FAQ) Bölümü */
.faq-section { max-width: 900px; margin: 60px auto; padding: 40px; background-color: var(--light-bg); color: var(--text-dark); border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); border: 1px solid var(--border-color); }
.faq-section .section-title { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.faq-item { border-bottom: 1px solid var(--border-color); margin-bottom: 20px; padding-bottom: 5px; }
.faq-item:last-child { border-bottom: none; margin-bottom: 0; }
.faq-question { background: none; border: none; width: 100%; text-align: left; font-size: 1.3rem; font-weight: bold; padding: 18px 0; cursor: pointer; color: var(--text-color); position: relative; padding-right: 40px; transition: color 0.3s ease; }
.faq-question:hover { color: var(--primary-color); }
.faq-question::after { content: '+'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: var(--primary-color); transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.faq-answer p { padding: 0 15px 15px; margin: 0; font-size: 1.05rem; line-height: 1.8; color: var(--text-dark); }
.faq-item.active .faq-answer { max-height: 500px; } /* Yeterince büyük bir değer */


/* Footer */
.site-footer { background-color: #0d0d0d; color: #999; padding: 40px 0 20px; margin-top: 60px; border-top: 3px solid var(--primary-color); text-align: center; box-shadow: 0 -4px 10px rgba(0,0,0,0.4); }
.social-media { margin-bottom: 30px; }
.social-media a { display: inline-block; margin: 0 18px; font-size: 40px; color: #777; transition: all 0.3s ease; }
.social-media a:hover { color: var(--primary-color); transform: scale(1.15) rotate(5deg); }
.footer-links { margin-bottom: 25px; }
.footer-links a { color: var(--text-color); margin: 0 18px; font-weight: bold; font-size: 1.1rem; letter-spacing: 0.5px; }
.footer-links a:hover { color: var(--primary-color); }
.copyright { font-size: 0.95rem; color: #777; }


/* İç Sayfa Düzenlemeleri (Sağlayıcı ve Oyun) */
.provider-description, .game-description { background-color: var(--light-bg); color: var(--text-dark); padding: 40px 50px; border-radius: 15px; margin: 50px auto; max-width: 1160px; font-size: 1.15rem; box-shadow: 0 8px 20px rgba(0,0,0,0.3); border: 1px solid var(--border-color); }
.provider-description h2, .game-description h2, .game-description h3 { color: var(--primary-color); border-bottom: 2px solid var(--border-color); padding-bottom: 8px; margin-top: 30px; margin-bottom: 20px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px; padding: 40px 0; } 
.game-demo-placeholder { width: 100%; height: 550px; background-color: #000; border: 4px dashed var(--primary-color); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-radius: 15px; color: #fff; font-size: 1.8rem; font-weight: bold; box-shadow: 0 5px 20px rgba(247, 163, 0, 0.3); margin-bottom: 30px; }
.game-demo-placeholder span { font-size: 1.1rem; color: #ccc; margin-top: 15px; }


/* Mobil Uyumluluk */
/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .header-container { 
        display: flex; 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; 
        align-items: center; 
        gap: 10px; 
    }
    .logo { 
        width: 100%; 
        text-align: center; 
        margin-bottom: 15px; 
        order: -1; 
    }
    .btn { 
        padding: 10px 20px; 
        font-size: 0.9rem; 
        flex-grow: 1; 
        text-align: center; 
    }
    .btn-primary { flex-basis: 40%; }
    .btn-secondary { flex-basis: 40%; }

    /* Mobil Banner */
    .main-banner { padding: 15px 0; }
    .main-banner .container { padding: 0 10px; } 

    /* Mobil Slogan */
    .slogan { font-size: 1.2rem; margin: 20px 15px; }
    
    /* Mobil Makale */
    .article-section { padding: 20px; margin: 30px auto; }
    .article-section h2 { font-size: 1.6rem; }
    .article-content p { font-size: 1rem; }
    .article-content.collapsed { max-height: 80px; } 
    .article-content.expanded { max-height: 4000px; }

    /* DÜZELTME: Ana Başlık font boyutu küçültüldü */
    .section-title, h2.section-title { 
        font-size: 1.8rem; /* 2rem'den küçültüldü */
        margin-bottom: 30px; 
        margin-top: 30px; 
        /* Gerekirse kelime bölme eklenebilir ama font küçültmek daha iyi */
        /* overflow-wrap: break-word; */
        /* word-break: break-word; */
    }

    .provider-grid, .game-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; }

    .card img { height: 200px; }
    
    .card-title { 
        font-size: 0.9rem; 
        min-height: 45px; 
        padding: 8px 5px; 
        overflow-wrap: break-word;
        word-wrap: break-word; 
        word-break: break-word; 
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .game-demo-placeholder { height: 250px; font-size: 1.2rem; }
    .game-demo-placeholder span { font-size: 0.9rem; }
    .provider-description, .game-description { padding: 25px; font-size: 1rem; margin: 30px auto; }
    
    .faq-section { padding: 25px; margin: 40px auto; }
    
    /* DÜZELTME: SSS Sorusu taşma önlemleri */
    .faq-question { 
        font-size: 1.05rem; /* Gerekirse biraz daha küçültülebilir */
        padding: 12px 0; 
        padding-right: 45px; /* İkon için daha fazla yer */
        /* Taşma ve bölme kuralları */
        overflow-wrap: break-word;
        word-wrap: break-word; 
        word-break: break-word; 
        /* Dikey hizalama için eklenebilir */
        /* display: flex; */
        /* align-items: center; */
    }
    .faq-question::after { 
        font-size: 1.4rem; 
        right: 5px; 
        /* Eğer flex kullanırsak hizalama için */
        /* top: auto; */ 
        /* transform: none; */
        /* align-self: center; */
    }
    
    .footer-links a { margin: 0 10px; font-size: 0.95rem; }
    .social-media a { font-size: 30px; margin: 0 12px; }

}