@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- 1. TEMEL AYARLAR VE DEĞİŞKENLER --- */
:root {
    --bg-color: #101119;
    --surface-color: #1c1c2b;
    --primary-color: #a855f7;
    --accent-color: #2dd4bf;
    --pink-color: #f472b6;
    --orange-color: #fb923c;
    --text-color: #e0e0e0;
    --text-muted: #94a3b8;
    --live-color: #4ade80;
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* --- 2. ARKA PLAN EFEKTLERİ --- */
.background-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4; will-change: transform; animation-play-state: paused; }
.live-background .blob { animation-play-state: running; }
.blob1 { width: 400px; height: 400px; background: var(--primary-color); top: -100px; left: -100px; animation: move1 25s infinite alternate; }
.blob2 { width: 500px; height: 500px; background: var(--accent-color); bottom: -150px; right: -150px; animation: move2 30s infinite alternate; }
.blob3 { width: 300px; height: 300px; background: var(--pink-color); top: 50%; right: -150px; animation: move3 28s infinite alternate; }
.blob4 { width: 350px; height: 350px; background: var(--orange-color); bottom: 50%; left: -100px; animation: move4 22s infinite alternate; }
@keyframes move1 { from { transform: translate(0, 0) scale(1) rotate(0deg); } to { transform: translate(20vw, 30vh) scale(1.2) rotate(180deg); } }
@keyframes move2 { from { transform: translate(0, 0) scale(1.2) rotate(0deg); } to { transform: translate(-30vw, -20vh) scale(0.8) rotate(-180deg); } }
@keyframes move3 { from { transform: translate(0, 0) scale(0.8) rotate(0deg); } to { transform: translate(-20vw, -30vh) scale(1.1) rotate(180deg); } }
@keyframes move4 { from { transform: translate(0, 0) scale(1.1) rotate(0deg); } to { transform: translate(30vw, 20vh) scale(0.9) rotate(-180deg); } }

.music-note { position: absolute; font-size: 28px; color: var(--accent-color); user-select: none; pointer-events: none; animation: float-away 3s ease-out forwards; z-index: 9999; text-shadow: 0 0 8px rgba(45, 212, 191, 0.7); }
@keyframes float-away { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(-100px) scale(0.5) rotate(20deg); } }

/* --- 3. ANA YAPI VE BAŞLIK --- */
.main-container { width: 100%; max-width: 960px; text-align: center; background: rgba(16, 17, 25, 0.5); padding: 40px; border-radius: 24px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid var(--border-color); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); z-index: 1; animation: fadeIn 1s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- 4. NAVİGASYON KARTLARI --- */
.navigation-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.nav-card { background: var(--surface-color); padding: 25px; border-radius: 16px; text-decoration: none; color: var(--text-color); border: 1px solid var(--border-color); text-align: left; position: relative; overflow: hidden; transition: all 0.3s ease; }
.nav-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 200%; height: 200%; background: conic-gradient(transparent, var(--accent-color), var(--primary-color), transparent 30%); transform: translate(-50%, -50%); animation: rotate-border 4s linear infinite; opacity: 0; transition: opacity 0.4s ease; }
.nav-card:hover::before { opacity: 1; }
.nav-card .card-icon, .nav-card .card-content { position: relative; z-index: 2; }
.nav-card::after { content: ''; position: absolute; inset: 1px; background: var(--surface-color); border-radius: 15px; z-index: 1; }
@keyframes rotate-border { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.card-icon { font-size: 1.5em; margin-bottom: 15px; display: block; }
.card-content h2 { font-size: 1.4em; margin: 0 0 8px 0; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.card-content p { font-size: 0.9em; color: var(--text-muted); line-height: 1.5; }

/* --- 5. DİL BUTONLARI --- */
.language-switcher { position: absolute; top: 20px; right: 30px; display: flex; gap: 10px; z-index: 100; }
.lang-btn { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text-color); padding: 8px 12px; border-radius: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.lang-btn:hover { background-color: rgba(255, 255, 255, 0.2); border-color: var(--accent-color); }
.lang-btn.active { background-color: var(--accent-color); color: var(--bg-color); border-color: var(--accent-color); }

/* --- 6. FOOTER VE SOSYAL MEDYA --- */
.social-links { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border-color); display: flex; justify-content: center; align-items: center; gap: 25px; }
.social-links a img { height: 28px; opacity: 0.7; filter: grayscale(20%); transition: all 0.3s ease; }
.social-links a:hover img { opacity: 1; filter: grayscale(0%) drop-shadow(0 0 8px var(--accent-color)); transform: scale(1.1); }
.page-footer { width: 100%; margin-top: 20px; padding-top: 20px; text-align: center; flex-shrink: 0; }
.page-footer p { margin-bottom: 8px; }
.page-footer p.disclaimer { font-size: 0.8em; color: var(--text-muted); max-width: 800px; margin-left: auto; margin-right: auto; }
.text-primary { color: var(--primary-color); font-weight: 600; }
.text-gemini { color: var(--pink-color); font-weight: 600; }
.text-company { color: var(--orange-color); font-weight: 600; }

/* ====== DİKEY YERLEŞİM VE GENİŞ TASARIM GÜNCELLEMESİ ====== */

/* 1. Başlık ve Geri Sayım Kapsayıcısını Dikey Hizala */
.top-section-wrapper {
    display: flex;
    flex-direction: column; /* ÖNEMLİ: Yerleşimi dikey (alt alta) yapar */
    align-items: center;    /* Tüm içeriği yatayda ortalar */
    gap: 25px;              /* Başlık ve sayaç arasına boşluk koyar */
    margin-bottom: 40px;
}

/* 2. Header (Başlık) Bölümünün Metnini Ortala */
.top-section-wrapper header {
    text-align: center;
    margin-bottom: 0;
}
.top-section-wrapper header h1 {
    font-size: 2.5em; /* Başlığı tekrar biraz büyütüyoruz */
}

/* 3. Geri Sayım Bölümünü Genişlet */
.countdown-section {
    width: 90%;       /* Ana konteynerin %90'ı kadar genişle */
    max-width: 700px; /* Çok büyük ekranlarda aşırı genişlemesini önle */
    margin: 0;
}

/* 4. İkonların boyutunu ve boşluğunu ayarla */
.mode-switcher {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.mode-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    filter: grayscale(80%);
    opacity: 0.7;
}
.mode-icon:hover {
    transform: scale(1.1);
    filter: grayscale(20%);
    opacity: 1;
}
.mode-icon.active {
    filter: grayscale(0%);
    opacity: 1;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

/* 5. Ana kapsayıcıyı daha kompakt hale getir */
.season-countdown-container {
    padding: 25px;
    background-color: rgba(25, 22, 41, 0.8);
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(128, 90, 213, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
}

/* 6. Tüm metin elementlerinin boyutunu ve boşluklarını ayarla */
.season-countdown-container h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.season-info {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #d1d1d1;
}
.season-info .highlight {
    color: var(--primary-color);
}

/* 7. Progress Bar'ı incelt ve gradientli doldur */
.progress-bar-container {
    height: 6px;
    margin-bottom: 15px;
    width: 100%;
    background-color: #1e1e3f;
    border-radius: 20px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    border-radius: 20px;
    transition: width 0.5s ease-in-out;
    background: linear-gradient(90deg, var(--primary-color), var(--pink-color));
    background-size: 200% 100%;
    animation: gradient-animation 3s ease infinite;
}
@keyframes gradient-animation {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 8. Zamanlayıcının arka planını kaldır ve rengini ayarla */
.countdown-timer {
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}
.countdown-timer span {
    background: linear-gradient(45deg, var(--primary-color), var(--pink-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* 9. En alttaki tarih metinlerini renklendir */
.season-end-info, .season-start-info {
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    color: var(--text-muted); /* Başlık rengi */
}
.date-highlight {
    background: none;
    -webkit-text-fill-color: var(--text-color); /* Tarih rengi */
    color: var(--text-color);
    font-weight: 600;
}

/* 10. Mobil ve Küçük Ekranlar İçin Ayarlama (Bu artık ana stilde olduğu için medya sorgusu gereksiz) */
@media (max-width: 850px) {
    .top-section-wrapper header h1 {
        font-size: 2.2em; /* Mobil için başlığı biraz küçültelim */
    }
    .countdown-section {
        width: 100%; /* Mobilde tam genişlik kullan */
    }
}
@media (min-width: 768px) {
    .navigation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}