/* ============================================
   ECHO ÇEVİRİ - ARAMA SAYFASI 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;
}

/* === ARAMA SAYFASI CONTAINER === */
.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;
}

/* === ARAMA INPUT === */
.search-input-box {
    margin-bottom: 30px;
}

.search-input-box input[type="text"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    border-radius: 5px;
    transition: all 0.2s;
}

.search-input-box input[type="text"]:focus {
    outline: none;
    border-color: #4CAF50;
    background-color: #141414;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.search-input-box input[type="text"]::placeholder {
    color: #666;
}

/* === İÇ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 !important;
    color: #999 !important;
    line-height: 1.5 !important;
    margin-top: 5px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: left !important;
}

/* === SONUÇ MESAJLARI === */
#search_results_container p {
    color: #ff9800;
    text-align: center;
    padding: 40px 20px;
    font-size: 15px;
}

/* === 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;
}

/* === 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;
    }
    
    .search-input-box input[type="text"] {
        padding: 12px;
        font-size: 1em;
    }
    
    .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 !important;
    }
    
    .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;
    }
    
    .search-input-box input[type="text"] {
        padding: 10px;
        font-size: 0.95em;
    }
    
    .card-image {
        height: 180px;
    }
}