:root { 
    --primary: #254a9a; 
    --secondary: #182c55;
    --accent: #ef4444; 
    --dark: #0f172a; 
    --text: #334155;
    --bg: #f8fafc;
    --glass: rgba(255, 255, 255, 0.95);
}

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

body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: var(--text); 
    background-color: var(--bg); 
    overflow-x: hidden; 
}

/* NAVBAR */
nav {
    position: sticky; top: 0; background: var(--glass); backdrop-filter: blur(10px);
    z-index: 1000; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); padding: 15px 5%;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--accent); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.download-btn { background: var(--primary); color: white !important; padding: 8px 20px; border-radius: 20px; }

/* HERO SECTION */
.hero { 
    background: linear-gradient(-45deg, var(--dark), var(--primary), #3b82f6);
    background-size: 400% 400%; animation: gradientBG 15s ease infinite;
    color: white; padding: 80px 5%; text-align: center; 
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }
.store-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.store-btn { 
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); 
    padding: 12px 25px; border-radius: 12px; color: white; text-decoration: none; 
    display: flex; align-items: center; gap: 10px; font-weight: 600; transition: 0.3s; backdrop-filter: blur(5px);
}
.store-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }

/* NEWS SECTION */
.news-section { padding: 60px 5%; max-width: 1400px; margin: 0 auto; }
.section-title { font-size: 2rem; color: var(--dark); margin-bottom: 20px; }

/* CATEGORIES */
.categories { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 15px; margin-bottom: 30px; scrollbar-width: none; }
.categories::-webkit-scrollbar { display: none; }
.category-btn {
    background: white; border: 1px solid #e2e8f0; color: var(--text); padding: 8px 20px;
    border-radius: 20px; cursor: pointer; font-weight: 600; font-size: 0.9rem; transition: 0.3s; white-space: nowrap;
}
.category-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.category-btn:hover:not(.active) { background: #f1f5f9; }

/* NEWS GRID */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; min-height: 60vh; }
.news-card { 
    background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: 0.3s; display: flex; flex-direction: column; cursor: pointer; border: 1px solid #e2e8f0;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.news-img { width: 100%; height: 200px; object-fit: cover; background: #e2e8f0; }
.news-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.news-tag { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px;}
.news-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.news-desc { font-size: 0.9rem; color: #64748b; margin-bottom: 15px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
.news-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: #94a3b8; font-weight: 500; border-top: 1px solid #f1f5f9; padding-top: 15px;}
.loading { text-align: center; padding: 50px; color: var(--primary); font-size: 1.2rem; font-weight: 600; grid-column: 1 / -1; }

/* SCREENSHOTS */
.ss-section { padding: 60px 5%; background: var(--dark); color: white; text-align: center;}
.ss-container { display: flex; overflow-x: auto; gap: 20px; padding: 20px 0; scrollbar-width: thin; }
.ss-card { flex: 0 0 200px; text-align: center; }
.ss-card img { width: 100%; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); border: 2px solid rgba(255,255,255,0.1); }
.ss-card p { margin-top: 10px; font-weight: 600; font-size: 0.9rem; color: #cbd5e1; }
footer { background: #020617; color: white; text-align: center; padding: 30px; font-size: 0.9rem; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2rem; }
}
/* SAYFALAMA (PAGINATION) TASARIMI */
.pagination-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-bottom: 20px;}
.page-btn { background: white; border: 1px solid #e2e8f0; color: var(--text); padding: 8px 16px; border-radius: 8px; cursor: pointer; font-weight: 600; transition: 0.3s; }
.page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.page-btn:hover:not(.active) { background: #f1f5f9; }

/* EN ÜST FİNANS VE TARİH ŞERİDİ (YAPIŞKAN & MAVİ TASARIM) */
.top-bar {
    background: #1e3a8a; /* Turan Medya'nın koyu mavisi */
    color: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* 👇 Şeridi en üste yapıştırır, aşağı inince kaybolmaz */
    position: sticky;
    top: 0;
    z-index: 9999;
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    /* 👇 Hızı 40 saniyeden 90 saniyeye çıkardık (Çok daha ağır ve okunabilir) */
    animation: tickerAnim 90s linear infinite; 
}

.ticker:hover { animation-play-state: paused; }

@keyframes tickerAnim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.finance-item {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
    color: #cbd5e1; /* İsimler açık gri */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.finance-item span {
    margin-left: 8px;
    font-weight: 700;
}

/* Mavi arka planda daha iyi parlaması için yeşil ve kırmızının tonu açıldı */
.finance-item .up { color: #4ade80; } 
.finance-item .down { color: #f87171; } 
.finance-item .neutral { color: #e2e8f0; }

.datetime-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15); /* Siyah yerine hafif beyaz saydamlık */
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 500;
    margin-left: 20px;
}
.datetime-display .time { color: #ffffff; font-weight: 700; font-variant-numeric: tabular-nums; }
.datetime-display .date { color: #e2e8f0; }
/* =========================================
   PREMIUM HERO ALANI TASARIMI
========================================= */

/* AFİLLİ BAŞLIK TASARIMI */
.premium-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

/* "Turan Medya" yazısı için özel metalik/parlak efekt */
.brand-highlight {
    display: inline-block;
    font-weight: 900; 
    font-size: 3.5rem; 
    
    /* Gradyan Metin Efekti */
    background: linear-gradient(to right, #ffffff 0%, #e2e8f0 50%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    
    /* Hafif Parlama Gölgesi */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    letter-spacing: -1px;
}

/* TEKİL PLAY STORE BUTONU */
.store-buttons.single-badge {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.play-only-btn {
    background: #0f172a; /* Çok şık koyu lacivert/siyah */
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.play-only-btn:hover {
    transform: translateY(-5px); /* Üzerine gelince yukarı zıplar */
    box-shadow: 0 10px 25px rgba(0,0,0,0.4); /* Derinlik gölgesi */
    color: #38bdf8; /* Hover durumunda yazı hafif mavi olur */
}

/* Mobil Cihazlar İçin Metin Boyutu Ayarı */
@media (max-width: 768px) {
    .premium-title { font-size: 2.2rem; }
    .brand-highlight { font-size: 2.6rem; }
}
/* =========================================
   MENÜ VE HERO BİRLEŞİMİ (ŞEFFAF NAV)
========================================= */

/* Arka planı üstteki borsa şeridiyle uyumlu hale getirdik */
.combined-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
}

/* Menünün beyaz arka planını tamamen sildik */
.transparent-nav {
    background: transparent !important;
    box-shadow: none !important;
    padding: 25px 5% 10px 5% !important;
}

/* Logonun rengini beyaza çevirdik */
.transparent-nav .logo {
    color: #ffffff !important;
}

/* Linklerin rengini açık gri yaptık */
.transparent-nav .nav-links a {
    color: #cbd5e1 !important; 
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Mouse üzerine gelince parlayan beyaz */
.transparent-nav .nav-links a:hover {
    color: #ffffff !important; 
}

/* İçeriği tam ortaya hizaladık */
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
/* EKRAN GÖRÜNTÜLERİ (VİTRİN) TASARIMI */
.ss-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px; /* Resimlerin genişliği */
}

/* Resimlere Telefon Çerçevesi Efekti */
.ss-card img {
    width: 100%;
    height: auto;
    border-radius: 24px; /* Telefon ekranı gibi kıvrımlı */
    border: 6px solid #1e293b; /* Koyu renk telefon kasası / çerçevesi */
    box-shadow: 0 15px 30px rgba(0,0,0,0.5); /* Derinlik gölgesi */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #000; /* Yüklenirken siyah zemin */
}

/* Mouse ile üzerine gelince hafif yukarı kalksın */
.ss-card:hover img {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

.ss-card p {
    margin-top: 20px;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
/* =========================================
   MOBİL CİHAZLAR İÇİN ÖZEL AYARLAR
========================================= */
@media (max-width: 768px) {
    /* 1. Üstteki Borsa Şeridini İnceltme ve Düzenleme */
    .top-bar {
        padding: 5px 12px !important; /* Şeridi daha ince yap */
    }

    .finance-item {
        font-size: 0.75rem !important; /* Yazıları biraz küçült */
        margin-right: 25px !important; /* Aralarındaki boşluğu azalt */
    }

    /* Mobilde sağdaki tarih/saat kısmını gizle ki borsa rahat aksın */
    .datetime-display {
        display: none !important;
    }
}
/* =========================================
   FOOTER LOGO AYARI (UFAK İKON GÖRÜNÜMÜ)
========================================= */
footer img.footer-logo {
    height: 40px !important; /* 🔥 İŞTE BU! Boyutu 40px'e sabitledik (İstersen 30px yap daha da ufalır) */
    width: auto !important;  /* Genişlik otomatik ayarlansın, resim bozulmasın */
    margin-bottom: 15px;     /* Altındaki "© 2026 Turan Medya" yazısına yapışmasın */
    
    /* Ortalamak için gerekli ayarlar */
    display: block;
    margin-left: auto;
    margin-right: auto;
}
<style>
    .ss-container {
        display: flex;
        overflow-x: auto; /* Yan yana kaydırılabilir yapar */
        gap: 20px;
        padding: 20px 0;
        scrollbar-width: thin; /* Modern tarayıcılar için ince scroll */
    }
    .ss-card {
        flex: 0 0 250px; /* Kartların genişliğini sabit tutar */
        text-align: center;
    }
    .ss-card img {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }
</style>
