/* ============================================
   ECHO ÇEVİRİ - ANA SAYFA 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;
}
/* === ANA SAYFA WRAPPER === */
.home-wrapper {
    color: #fff;
    padding-bottom: 40px;
}

.section-margin {
    margin-top: 50px;
    margin-bottom: 50px;
}

.section-title {
    font-size: 26px;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid #4CAF50;
    font-weight: 600;
    color: #e5e5e5;
}

/* === SLIDER STİLLERİ === */
.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 550px;
    margin: 30px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: all;
}

.slide-backdrop {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-backdrop .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 35%, transparent 85%),
                linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.slide-content {
    position: absolute;
    bottom: 70px;
    left: 50px;
    max-width: 550px;
    z-index: 10;
}

.slide-title {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.slide-desc {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.slide-btn {
    display: inline-block;
    padding: 13px 30px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.slide-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

/* Slider Navigasyon (Alt Küçük Resimler) */
.slider-nav {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    gap: 12px;
    z-index: 15;
}

.nav-item {
    width: 110px;
    height: 65px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.5;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
}

.nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-item.active {
    border-color: #4CAF50;
    opacity: 1;
}

.nav-item:hover {
    opacity: 1;
}

/* === TRENDLER BÖLÜMÜ (ARKA PLANSIZ) === */
#trends-start {
    background: transparent !important;
    padding: 0 !important;
    width: 90%;
    max-width: 1400px;
    margin: 50px auto;
}

.trends-grid {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 20px;
    padding-top: 10px;
    justify-content: center;
}

/* Scrollbar Stili */
.trends-grid::-webkit-scrollbar {
    height: 8px;
}

.trends-grid::-webkit-scrollbar-track {
    background: #141414;
    border-radius: 4px;
}

.trends-grid::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

.trends-grid::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

.trend-card {
    display: flex;
    align-items: flex-end;
    position: relative;
    min-width: 200px;
    transition: transform 0.2s;
}

.trend-card:hover {
    transform: translateY(-5px);
}

/* Büyük Rakam (Arka Planda) */
.trend-number {
    font-size: 140px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px #3a3a3a;
    position: absolute;
    left: -25px;
    bottom: -20px;
    z-index: 1;
    font-family: Arial, sans-serif;
    pointer-events: none;
}

.trend-poster {
    z-index: 2;
    margin-left: 35px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
    transition: all 0.2s;
}

.trend-card:hover .trend-poster {
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
}

.trend-poster img {
    width: 160px;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* === YENİ İÇERİKLER BÖLÜMÜ (ARKA PLANSIZ) === */
.content-container.section-margin {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    width: 90%;
    max-width: 1400px;
    margin: 50px auto !important;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.grid-card {
    background-color: #141414;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    border: 1px solid #1e1e1e;
}

.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;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === REKLAM ALANLARI === */
.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) {
    .hero-slider-container {
        height: 450px;
    }
    
    .slide-content {
        max-width: 450px;
    }
    
    .slide-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    header input[type="text"] {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-slider-container {
        height: 350px;
        margin: 20px 10px;
    }
    
    .slide-content {
        max-width: 80%;
        left: 25px;
        bottom: 40px;
    }
    
    .slide-title {
        font-size: 26px;
    }
    
    .slide-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .slider-nav {
        display: none;
    }
    
    .trend-number {
        font-size: 90px;
        left: -15px;
    }
    
    .trend-poster img {
        width: 130px;
        height: 195px;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .side-ad-wrapper {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 22px;
    }
    
    .main-nav a {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .hero-slider-container {
        height: 280px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-desc {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}