/* ============================================
   ECHO ÇEVİRİ - LİSTELEME SAYFALARI CSS
   ============================================ */

/* === GENEL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* === LİSTELEME WRAPPER === */
.content-container {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    width: 90%;
    max-width: 1400px;
    margin: 50px auto !important;
}

.section-title {
    font-size: 26px;
    margin-bottom: 25px;
    margin-top: 20px;
    padding-left: 15px;
    border-left: 5px solid #4CAF50;
    font-weight: 600;
    color: #e5e5e5;
}

/* === İÇERİK GRİD === */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.grid-card {
    background-color: #141414;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    border: 1px solid #1e1e1e;
    display: block;
    text-decoration: none;
    color: #fff;
    height: auto;
    padding-bottom: 10px;
}

.grid-card:hover {
    transform: translateY(-6px);
    border-color: #2a2a2a;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.card-image {
    position: relative;
    height: 145px;
    overflow: hidden;
    background-color: #0a0a0a;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-type {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-game {
    background-color: #4CAF50;
    color: white;
}

.badge-movie_tv {
    background-color: #e91e63;
    color: white;
}

.card-info {
    padding: 16px;
}

.card-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e5e5e5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

/* === REKLAM KARTI === */
.ad-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111 !important;
    min-height: 200px;
}

/* === REKLAM ALANLARI (SAĞ-SOL) === */
.side-ad-wrapper {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
}

.side-ad-left {
    left: 10px;
}

.side-ad-right {
    right: 10px;
}

/* === SAYFALAMA === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-page {
    padding: 10px 18px;
    background-color: #1e1e1e;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s;
    font-weight: 500;
    border: 1px solid #2a2a2a;
}

.btn-page:hover {
    background-color: #2a2a2a;
    border-color: #4CAF50;
    transform: translateY(-2px);
}

.btn-page.active {
    background-color: #4CAF50;
    color: white;
    pointer-events: none;
    border-color: #4CAF50;
}

/* === BOŞ İÇERİK MESAJI === */
.content-container p {
    padding: 20px;
    color: #ccc;
    font-size: 15px;
}

/* === RESPONSİVE TASARIM === */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .content-container {
        width: 95%;
        margin: 30px auto !important;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .card-image {
        height: 120px;
    }
    
    .card-info h3 {
        font-size: 15px;
    }
    
    .card-desc {
        font-size: 12px;
    }
    
    .pagination {
        gap: 8px;
        margin-top: 25px;
        margin-bottom: 40px;
    }
    
    .btn-page {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .side-ad-wrapper {
        display: none;
    }
}

@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-title {
        font-size: 20px;
        padding-left: 12px;
        border-left-width: 4px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .pagination {
        gap: 6px;
    }
    
    .btn-page {
        padding: 7px 12px;
        font-size: 13px;
    }
}