@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap");

:root {
  --bg-light: #ffffff;
  --accent-blue: #0ea5e9;
  --accent-cyan: #22d3ee;
  --text-main: #0f172a;
  --glass-white: rgba(255, 255, 255, 0.8);
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-light);
  /* Yumuşak bir derinlik için hafif gradient */
  background: radial-gradient(circle at top right, #f0f9ff, #fdf4ff, #ffffff);
  color: var(--text-main);
  margin: 0;
  overflow-x: hidden;
}

/* Arkaplan Işıltıları (Soft Blobs) */
.blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #e0f2fe, #f5f3ff);
  filter: blur(100px);
  opacity: 0.6;
  z-index: -1;
  border-radius: 50%;
}

.blob-1 {
  top: -10%;
  right: -5%;
}
.blob-2 {
  bottom: 5%;
  left: -5%;
  background: #ecfeff;
}

/* Light Glassmorphism */
.glass {
  background: var(--glass-white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.text-gradient {
  background: linear-gradient(to right, #0284c7, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-shadow {
  box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.3);
}
html,
body {
  max-width: 100%;
  overflow-x: hidden; /* Yatay kaydırmayı tamamen kapatır */
  position: relative;
}
/* --- Etkinlik Alanı Düzeni --- */
.events-section {
  position: relative;
  padding: 80px 0;
  width: 100%;
}

/* Container genişliğini sınırlamak için (eğer yoksa) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.events-grid {
  display: grid;
  /* 3 Sütunlu yapı: Yazı (2 birim) - Küçük Kartlar (3 birim) - Büyük Kart (4 birim) */
  grid-template-columns: 1.5fr 2fr 3fr;
  gap: 30px;
  align-items: center;
}

/* 1. Sütun: Başlıklar */
.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.section-desc {
  color: #64748b; /* Gri ton */
  line-height: 1.6;
  font-size: 1rem;
}

/* 2. Sütun: Küçük Kartlar */
.mini-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mini-card {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.15);
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.icon-box.icon-purple {
  background: linear-gradient(135deg, #f3e8ff, #d8b4fe);
  color: #7c3aed;
}

.card-content h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.card-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

/* 3. Sütun: Büyük Promo Kartı */
.promo-card {
  position: relative;
  background: linear-gradient(
    145deg,
    #0f172a,
    #1e293b
  ); /* Koyu kontrast için */
  /* Veya tamamen beyaz istersen: background: #ffffff; ve border: 1px solid... kullanabilirsin */
  color: white;
  padding: 40px;
  border-radius: 30px;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

/* Eğer Büyük Kartın da BEYAZ olmasını istersen üstteki .promo-card'ı silip bunu kullan: */
/*
.promo-card {
    background: white;
    color: var(--text-main);
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.1);
    ... diğer özellikler aynı
}
*/

.promo-content {
  position: relative;
  z-index: 2;
}

.promo-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.promo-content p {
  opacity: 0.8;
  margin-bottom: 30px;
  line-height: 1.6;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.9); /* Koyu kart üzerindeyse */
}

/* Arkaplan Süsü (Opsiyonel) */
.blob-3 {
  position: absolute;
  left: 10%;
  top: 20%;
  width: 400px;
  height: 400px;
  background: #e0f2fe;
  filter: blur(80px);
  opacity: 0.5;
  z-index: -1;
}

/* Responsive Düzenleme */
@media (max-width: 992px) {
  .events-grid {
    grid-template-columns: 1fr; /* Mobilde tek sütun */
    gap: 40px;
  }

  .section-title {
    text-align: center;
  }

  .section-desc {
    text-align: center;
  }
}
/* Tıklanabilir olduğu belli olsun */
.mini-card {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.5); /* Varsayılan kenarlık */
}

/* Aktif (Seçili) Kart Tasarımı */
.mini-card.active-card {
  background: rgba(255, 255, 255, 0.95); /* Daha beyaz */
  border: 1px solid var(--accent-blue); /* Mavi kenarlık */
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
  transform: scale(1.02); /* Hafif büyüme */
}

/* 3. Kart için Turuncu İkon Rengi */
.icon-box.icon-orange {
  background: linear-gradient(135deg, #ffedd5, #fdba74);
  color: #ea580c;
}

/* Sağ taraftaki yazı değişirken animasyon olsun */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- Yayıncılar Bölümü --- */
.publishers-section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.publishers-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Responsive Grid */
  gap: 30px;
  justify-content: center;
}

/* Yayıncı Kartı */
.publisher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publisher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

/* Avatar Alanı */
.pub-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.pub-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.platform-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #000; /* TikTok Siyahı */
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid white;
}

/* Yazı Alanları */
.pub-info h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.username {
  font-family: "Courier New", monospace; /* Teknoloji hissi için */
  color: var(--accent-blue);
  font-size: 0.9rem;
  display: block;
  margin-top: 5px;
  margin-bottom: 20px;
}

/* Buton */
.btn-profile {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-profile:hover {
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

/* --- MODAL (POPUP) CSS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6); /* Arkaplan karartma */
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none; /* Varsayılan gizli */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 24px;
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #64748b;
}

.modal-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.modal-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 20px 0;
}

.social-title {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  display: block;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
}

.social-btn:hover {
  transform: scale(1.02);
}

.social-btn.tiktok {
  background: #000;
  color: white;
}
.social-btn.instagram {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
}
.social-btn.youtube {
  background: #ff0000;
  color: white;
}
/* --- KAYAN YAZI (MARQUEE) ALANI --- */
.marquee-wrapper {
    width: 100%;
    margin-bottom: 30px; /* Slider veya içerikten önce boşluk */
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10; /* Blobların üzerinde dursun */
}

.marquee-container {
    width: 100%;
    max-width: 1200px; /* Container sınıfınla aynı */
    margin: 0 20px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    /* Glass Effect (Mevcut değişkenlerinle) */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.15);
}

/* Sol Taraftaki Sabit Rozet */
.marquee-badge {
    background: linear-gradient(135deg, var(--accent-blue), #3b82f6);
    color: white;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 5px 0 15px rgba(14, 165, 233, 0.3);
    flex-shrink: 0; /* Küçülmesini engeller */
}

.marquee-badge i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Kayan Yazı Alanı */
.marquee-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Kayan Track (Animasyonlu Kısım) */
.marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: absolute;
    will-change: transform;
    animation: scrollText 25s linear infinite; /* Hızı buradan ayarla */
}

/* Mouse üzerine gelince dursun */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    padding: 0 30px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.marquee-item i {
    font-size: 6px; /* Ayırıcı nokta */
    color: var(--accent-cyan);
    margin-right: 15px;
    opacity: 0.7;
}

/* Animasyon Keyframe */
@keyframes scrollText {
    0% {
        transform: translateX(100%); /* Sağdan başla */
    }
    100% {
        transform: translateX(-150%); /* Sola git */
    }
}

/* Mobilde Düzenleme */
@media (max-width: 768px) {
    .marquee-badge {
        padding: 0 15px;
        font-size: 0.8rem;
    }
    .marquee-badge span {
        display: none; /* Mobilde sadece ikon kalsın */
    }
    .marquee-badge i {
        margin-right: 0;
    }
}
/* --- KAYAN YAZI (MARQUEE) - DÜZELTİLMİŞ FİNAL HALİ --- */

.marquee-wrapper {
    background: #ffffff;
    border-radius: 16px; /* Köşeleri biraz daha modern yuvarlattık */
    /* Gölge ve kenarlık ile derinlik katalım */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); 
    border: 1px solid rgba(226, 232, 240, 0.8);
    
    /* EN ÖNEMLİ KISIMLAR BURADA: */
    overflow: hidden; /* Mavi kutunun köşelerden taşmasını engeller */
    height: 56px; /* Sabit yükseklik veriyoruz ki hizalama bozulmasın */
    display: flex;
    align-items: stretch; /* İçindeki elemanları tam boya uzatır */
    position: relative;
    z-index: 10;
}

.marquee-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%; /* Wrapper'ın boyunu tam kapla */
    padding: 0;
}

/* --- MAVİ SON DAKİKA ETİKETİ --- */
.marquee-badge {
    flex-shrink: 0; /* Asla küçülmesin */
    background: #0ea5e9; /* Mavi Renk */
    color: white;
    height: 100%; /* Tam yükseklik */
    padding: 0 30px; /* İç boşluk */
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
    /* Radius vermiyoruz çünkü wrapper'ın overflow:hidden özelliği bunu kesecek */
}

.marquee-content {
    flex: 1; /* Kalan tüm alanı kapla */
    height: 100%;
    display: flex;
    align-items: center; /* Yazıyı dikey ortala */
    overflow: hidden;
    position: relative;
    
    /* Yazının mavi kutunun altından çıkıyor gibi görünmesi için maske */
    mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
}

/* Hareket Eden Şerit */
.marquee-track {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
    width: max-content;
    animation: scroll-left 40s linear infinite; /* Hızı buradan ayarlayabilirsin */
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
}

.marquee-item i {
    font-size: 6px;
    color: #0ea5e9;
    opacity: 0.6;
}

/* Sonsuz Döngü Animasyonu */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobilde Düzenleme */
@media (max-width: 768px) {
    .marquee-wrapper {
        height: 48px; /* Mobilde biraz daha ince olabilir */
    }
    .marquee-badge {
        padding: 0 15px;
        font-size: 0.8rem;
    }
}
/* --- KAYAN YAZI (MARQUEE) - KESİN ÇÖZÜM V3 --- */

/* 1. Dış Taşıyıcı: Sadece konumlandırma yapar */
.marquee-wrapper {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    padding: 0 20px; /* Mobilde kenarlara yapışmasın diye */
    box-sizing: border-box;
}

/* 2. Ana Kutu: Beyaz arka plan ve çerçeve burada */
.marquee-container {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    height: 54px; /* Yüksekliği sabitledik */
    
    /* EN ÖNEMLİ KISIM: Maskeleme */
    border-radius: 12px; /* Köşe yuvarlaklığı */
    overflow: hidden;    /* İçindekileri bu yuvarlaklığa göre keser */
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    /* İç düzen */
    display: flex;       /* Yan yana diz */
    align-items: stretch; /* Yükseklikleri eşitle */
    
    /* TÜM BOŞLUKLARI ÖLDÜR */
    padding: 0 !important; 
    gap: 0 !important;
}

/* 3. Mavi Etiket: Köşeleri düz yapıyoruz, dış kutu onu kesecek */
.marquee-badge {
    background: #0ea5e9;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 25px; /* Yazının sağ/sol boşluğu */
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Yazı alt satıra inmesin */
    
    /* Kenarları SIFIRLA (Dış kutu kesecek) */
    border-radius: 0 !important; 
    margin: 0 !important;
    height: 100%; /* Kutu boyu kadar uzasın */
}

/* İkon ayarı */
.marquee-badge i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* 4. Kayan Yazı Alanı */
.marquee-content {
    flex: 1; /* Kalan tüm alanı kapla */
    display: flex;
    align-items: center;
    background: #ffffff; /* Arka plan beyaz */
    overflow: hidden;    /* Dışarı taşan yazıyı gizle */
    position: relative;
    height: 100%;
}

.marquee-track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: scrollText 30s linear infinite;
    will-change: transform;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.marquee-item i {
    font-size: 6px;
    color: #0ea5e9;
    margin-right: 10px;
    opacity: 0.6;
}

/* Animasyon */
@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobil Ayarı */
@media (max-width: 768px) {
    .marquee-container {
        height: 48px;
    }
    .marquee-badge {
        padding: 0 15px;
        font-size: 0.75rem;
    }
    .marquee-badge span {
        display: inline-block; /* Mobilde yazıyı gizleme, görünsün */
    }
}