/* ===================== GENEL YAPI ===================== */
html, body {
    height: 100%;                        /* Sayfa yüksekliği tam */
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F7F7F7;
}

#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  pointer-events: none;  /* Etkileşimi kapat, tıklamaları engellemesin */
  opacity: 0.3;         /* Fazla dikkat çekmesin, istersen arttırılabilir */
}


/*TAZE HAFIZA YAZISI*/
.logo {
    font-size: 1em;           /* Yazı büyüklüğü */
    font-weight: 100;           /* Kalın yazı */
    color: #fff;                /* Beyaz renk (karanlık zemin için) */
    text-align: center;         /* Ortala */
    margin-top: 0px;           /* Üst boşluk */
    margin-bottom: 0px;         /* Alt boşluk */
    cursor: pointer;            /* Üzerine gelince el simgesi */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Hafif gölge efekti */
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);     /* Üzerine gelince hafif büyüsün */
    color: #00FFFF;             /* ton efekti */
}

.site-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: -1px; /* Logo ile yazı arasındaki boşluk */
}

.site-logo {
  height: 48px; /* İsteğe göre 40px-48px yapabilirsin */
  width: auto;
}

.tarih-mini {
    display: inline-block;
    background-color: #E5E4E2;
    color: #333;
    padding: 5px 10px;
    font-size: 0.75em;
    font-weight: 500;
    font-family: 'Arial', sans-serif;
    border-radius: 8px;
    margin-top: 10px;
    
}

 .anabaslik {
    font-size: 55px;
} 

header a {
    color: white;
    text-decoration: none;
}

nav a {
    margin: 0 10px;
}

main {
    padding: 0px;
    flex: 1;                            /* İçerik alanı uzasın, footer alta insin */
}

.haber-kutu-baslik {
  text-align: center;
  font-size: 22px;
  font-weight: 550;
  font-family: 'Poppins', sans-serif;
  color: #111;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, #2A3439, #91A3B0);
  border-image-slice: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  background: #E5E4E2;
  border-radius: 6px 6px 0 0;
}

.haber-kutu-baslik a {
  text-decoration: none;     /* Altı çiziliyi kaldır */
  color: inherit;            /* Yazı rengini başlıkla aynı yap */
  transition: transform 0.2s, color 0.2s;
  display: inline-block;     /* transform düzgün çalışsın */
}

.haber-kutu-baslik a:hover {
  transform: scale(1.01);    /* Hafif büyüme efekti */
  color: #FFBF00;            /* İstersen farklı renk de verebilirsin */
}

footer {
    background: #eee;
    text-align: center;
    padding: 5px;
    font-size: 0.7em;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.test-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.test-aciklama {
  font-style: italic;
  margin-bottom: 20px;
  color: #444;
}

.soru-karti {
  margin-bottom: 30px;
}

.soru-karti ul {
  list-style-type: none;
  padding-left: 0;
}

.soru-karti li {
  margin-bottom: 8px;
}

.test-gonder-buton {
  padding: 10px 20px;
  background-color: #292929;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.test-gonder-buton:hover {
  background-color: #444;
}

.sonuc-gorsel {
    max-width: 250px;
    border-radius: 10px;
    display: block;
    margin: 10px auto;
}

@keyframes renkDegis2 {
  0%   { background-color: #F5F5F5; color: #333; }
  25%  { background-color: #E5E4E2; color: #222; }
  50%  { background-color: #C0C0C0; color: #111; }
  75%  { background-color: #E5E4E2; color: #000; }
  100% { background-color: #F5F5F5; color: #333; }
}
.sonuc-kapsayici {
    max-width: 800px;
    margin: 0px auto;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    animation: renkDegis2 5s infinite ease-in-out;
}

.sonuc-kapsayici h2 {
    margin-top: 20px;
    color: #222;
}

.sonuc-kapsayici p {
    font-size: 1.1em;
    color: #444;
    margin-top: 10px;
}

.sonuc-yorum-test {
  color: #000000;              /* Gri tonlu yazı rengi */
  font-style: italic;       /* Eğik yazı */
  margin-top: 0px;         /* Yukarıdan boşluk */
  font-size: 1rem;          /* Yazı boyutu (isteğe göre değiştirilebilir) */
  line-height: 1.6;
}

.diger-testlere-don {
  color: black;           /* Siyah yazı */
  text-decoration: none;  /* Alt çizgiyi kaldırır */
  font-weight: bold;      /* Yazıyı kalın yapar */
  padding: 8px 12px;
  border: 1px solid #ccc; /* Hafif bir çerçeve */
  border-radius: 36px;
  background-color: #f2f2f2;
  display: inline-block;
  transition: background-color 0.3s;
}

/* tests.html sayfasındaki başlığın ayarı */
.tests-baslik {
  margin: 20px auto;
  padding: 0 20px;
  text-align: center;
  max-width: 800px;
}

/* tavsiyeler.html sayfasındaki başlığın ayarı */
.tavsiyeler-baslik {
  margin: 20px auto;
  padding: 0 20px;
  text-align: center;
  max-width: 800px;
}


/* ===================== KARTLAR ===================== */
.cards, .kartlar {
    display: flex;
    justify-content: center;        /* Ortalamak için */
    gap: 20px;                      /* Kartlar arası boşluk */
    margin: 20px auto;
    padding: 20px;
    flex-wrap: nowrap;             /* ❗ Kartlar alt alta geçmesin */
    overflow-x: auto;              /* ❗ Taşarsa yatay scroll göster */
    max-width: 100%;               /* Ekranı tam kaplasın */
}


.card, .kart, .test-item {
    background: #BC8F8F;                /* Kartların arka plan rengi */
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 0.7px solid #1B1B1B; 
    transition: transform 0.3s ease;

    width: 100%;          /* Bulunduğu alanı tam kaplasın */
    max-width: 600px;      /* 🔸 Sağ tarafa doğru uzamasın */
    margin-left: auto;     /* Ortalamak için */
    margin-right: auto;    /* Ortalamak için */
}

.card:hover, .kart:hover, .test-item:hover {
    transform: translateY(-5px);
}

.card h3 a, .test-item h3 a, .kart h3 a {
    text-decoration: none;
    color: #222;
}

.card p, .test-item p {
    font-size: 0.95em;
    color: #292929;
}

.test-item-link {
  text-decoration: none;  /* Link alt çizgisi kalksın */
  color: inherit;         /* Yazı rengi değişmesin */
  display: block;         /* Tüm kutuyu kapsasın */
}


/* ===================== TEST SONUCU STİLİ ===================== */
.result-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.result-image {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.result-text {
    max-width: 600px;
}


/* ===================== HERO BOX ===================== */
.hero-box {
    background-color: #E5E4E2;        /* Dikkat çekici arka plan */
    border-left: 3px solid #010B13;   /* Sol şerit vurgusu */
    border-right: 3px solid #010B13;
    padding: 3px;
    margin-bottom: 5px;
    border-radius: 5px;
}


/* ===================== TAVSİYE KUTULARI ===================== */
.tip-box {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 5px 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgb(0, 0, 0);
    transition: transform 0.2s;
}

.tip-box:hover {
    transform: translateY(-5px);
}


/* ===================== ALINTI BLOĞU ===================== */
.end-quote {
    text-align: center;
    font-style: italic;
    font-size: 1.2em;
    margin-top: 40px;
    background-color: #f3f3f3;
    padding: 15px;
    border-radius: 8px;
}


/* ===================== GALERİ STİLİ ===================== */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grid-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.grid-gallery img:hover {
    transform: scale(1.03);
}


/* HEADER AYARLARI */
#star-header {
  position: relative;
  overflow: hidden;
  background: #0b1020;
  z-index: 0;
    padding-top: 0px;       /* Üst boşluk azaltıldı */
  padding-bottom: 3px;    /* Alt boşluk azaltıldı */
  text-align: center;
}



header h1, header nav {
  position: relative;                        /* Yıldızların üstünde görünmesi için */
  z-index: 1;
}


.gundem-item {
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
}


.gundem-item img {
  width: 100%;
  height: 240px;
  border-radius: 3px;
  
  
}

.gundem-item p {
  margin: 5px 0 0;
  font-size: 18px;
}

.gundem-item a {      /* Anasayfadaki Haber yazılarının rengi */
  text-decoration: none;
  color: #000;  /* İstediğin bir renk varsa onu da koyabilirsin */
  font-weight: 500;
  font-family: 'Source Sans Pro', sans-serif;
}

.gundem-item a:hover {
  text-decoration: underline;
  color: #d7a100;      /* Anasayfadaki Haber yazılarının mouse ile üstüne gelince değişen rengi */
}

.gundem-foto {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}





.haber-link {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.haber-link:hover {
  text-decoration: underline;
  color: #b30000;
}

.kategori-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  flex-wrap: wrap; /* mobilde alta geçebilsin */
}

.gundem-ozet {
  background-color: #E5E4E2;
  border: none;
  border-radius: 7px;
  padding: 10px 16px;
  width: 30%;
  min-width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}




.gundem-ozet h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 21px;
}

  .haber-foto-sola {
    width: 350px;
    height: auto;
    border-radius: 0px;
    flex-shrink: 0;
  }

    .haber-icerik {
    flex: 1;
  }

.haber-icerik img {
  max-width: 90%;
  max-height: 300px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

  .haber-icerik h2 {
    margin-top: 0;
    font-size: 24px;
  }

  .haber-icerik p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
  }

  .haber-kaynak {
  clear: both;
  margin-top: 40px;
  text-align: left;
  font-size: 12px;
}
.haber-kaynak a {
  color: #061431;
  text-decoration: underline;
}
 

 .icerik-tarihi {
  text-align: center;
  color: gray;
  font-size: 13px;
  margin-top: 0px;
  margin-bottom: 0px;
}

@media (min-width: 768px) { /*MASAÜSTÜNDE ANASAYFA HABERLERİNİ BİRBİRİNDEN AYIRAN  ŞERİT*/
.gundem-item {
  position: relative;
  padding-top: 20px;
  margin-top: 20px;
}

.gundem-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.865), transparent);
}

  .haber-baslik {
  padding: 3px 4px;
  font-size: 23px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: #000000;
  line-height: 1.4;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0px;
  margin-left: auto;       /* Ortalamak için */
  margin-right: auto;
  word-wrap: break-word;   /* Uzun kelimeleri kırmak için */
  word-break: break-word;
  max-width: 700px;        /* Masaüstü için sınırlama */
}

  .haber-detay-kutu {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
 .onceki-sonraki-butonlar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 0 40px;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
 }

 .onceki-sonraki-butonlar a {
  text-decoration: none;
  color: rgb(1, 11, 19);
  font-size: 13px;
 }

}



/* ==========  MOBİL  ========== */
@media only screen and (max-width: 768px) {  /* Ekran genişliği 768px veya daha küçükse (mobil cihazlar) bu stiller uygulanır */

  body, html {
    overflow-x: hidden;  /* Yatay kaydırmayı tamamen kapatır */
    background: #e5e4e23c;  
    color: #000000;  /* Tüm yazıların varsayılan rengi beyaz */
    font-family: 'Inter', sans-serif;  /* Yazı tipi olarak 'Inter' ailesi kullanılır */
  }


  header h1, .alt-baslik {
    color: #ffffff;  /* Başlık ve alt başlıkların rengi beyaz yapılır */
  }

#star-header {
  position: relative;
  overflow: hidden;
  background: #111111;
  z-index: 0;
}


  .alt-baslik {            /* Haberler, teknoloji, testler ve daha fazlası yazısı */
  font-size: 13px;
  text-align: center;
  margin-bottom: 16px;     /* Yazının altına boşluk ekler */
  }

  .kart, .card, .tip-box {
    background-color: #F7F7F7;  /* Kart'a tıkladığında gözüken renk */
    border-radius: 12px;  /* Kenarları yuvarlatılmış kutular */
    color: #000000;  /* Kart içindeki metinlerin rengi */
     /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.941);  /* Hafif gölgeli görünüm */
  }

  .test-item {
    background-color: #BC8F8F;  /* Kart arka planı: şeffaf beyaz (gece moduna uygun) */
    border-radius: 12px;  /* Kenarları yuvarlatılmış kutular */
    color: #000000;  /* Kart içindeki metinlerin rengi */
    height: auto;
    width: 70%;           /* Ekranı daha verimli kullan */
    max-width: none;      /* Maksimum genişlik sınırı kaldır */
    margin-left: auto;
    margin-right: auto;
    padding: 10px;        /* İç boşluğu biraz artır */
  }

  .kart h3, .card h3, .test-item h3 {
    font-size: 1.15em;  /* Başlık boyutu biraz büyük */
    font-weight: 600;   /* Kalın font */
  }

  .kart p, .test-item p {
    font-size: 0.95em;  /* Paragraf metin boyutu */
    color: #000000;     /* Açık gri metin rengi */
  }

  footer {
    background: #000000;  /* Footer arka planı siyah */
    color: #cccccc;       /* Footer yazıları açık gri */
  }

  nav a {
    background-color: #E5E4E2;  /* Şeffaf açık arka plan */
    top: 3px;
    color: #000000;         /* Yazılar beyaz */
    padding: 6px 12px;      /* İç boşluk */
    border-radius: 20px;     /* Buton/kutu köşeleri yuvarlak */
    font-size: 10px;        /* Küçük boy font */
  }


  .gundem-item a p {
    color: #000000;   /* Anasayfadaki Haber başlıklarının renk ayarı */
    font-size: 16px;
  }

      header h1 {
        font-size: 1.4em;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    .result-container {
        flex-direction: column;
        align-items: center;
    }

    .result-image {
        max-width: 90%;
    }

    .result-text {
        max-width: 100%;
    }

    .kart, .card {
        padding: 7px;
    }

  .kategori-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
  }

.gundem-ozet {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  padding: 7px;
  padding-bottom: 3px;   /* Noktalara yer açıyoruz */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  min-height: 380px;
  position: relative;
  background-color: #bebfc54a;
  box-sizing: border-box;
}

  .haber-kutu-baslik {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .gundem-item {
    display: inline-block;
    width: 95%;
    min-width: 99%;
    height: auto;
    scroll-snap-align: start;
    background-color: #F5F5F5;
    border: 0.1px solid #C0C0C0;
    border-radius: 12px;
    /*box-shadow: 0 2px 6px rgba(0,0,0,0.1);*/
    overflow: hidden;
    transition: transform 0.3s ease;
  }


  .gundem-item p {
    padding: 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
  }


  .haber-baslik {
    padding: 3px 4px;
  margin: 8px;
  line-height: 1.4;
  overflow: hidden;
   text-align: center;
  font-size: 23px;
  margin-top: 10px;
  margin-bottom: 0px;
  color: #111;
  white-space: normal;

}

  #merak-kutu,
  #yazilar-kutu,
  #teknoloji-kutu {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 10px 0;
  }

#merak-pagination.slider-pagination,
#yazilar-pagination.slider-pagination,
#teknoloji-pagination.slider-pagination {
  position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
  }

  .slider-dot {
    width: 7px;
    height: 7px;
    background-color: #ccc;
    border-radius: 50%;
    transition: background-color 0.3s;
  }

  .slider-dot.active {
    background-color: rgb(0, 0, 0);
  }

  .kartlar {
    display: flex;
    flex-direction: column;  /* Kartlar alt alta */
    gap: 10px;               /* Aralarında boşluk */
    margin-top: 20px;        /* Üstten boşluk */
    padding: 0 10px;         /* Yandan boşluk */
  }

  .card {
    width: 90%;                /* Kart ekran genişliğini kaplar */
    max-width: 400px;           /* Maksimum 400px olur */
    padding: 5px;              /* İç boşluk */
    border-radius: 12px;        /* Yuvarlatılmış köşeler */
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.978);  /* Hafif gölge efekti */
    
  }

  .card h3 {
    font-size: 18px;    /* Kart başlığı boyutu */
    color: #000000;     /* Beyaz başlık */
  }

  .card p {
    font-size: 14px;    /* Küçük paragraf metni */
    color: #000000;     /* Açık gri metin rengi */
  }

  /* Detay sayfasındaki yazıyı görselin altına al */
.haber-detay-kutu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.haber-foto-sola {
  width: 100%;
  max-width: 700px;      /* Büyük telefonlarda büyüyebilir */
  height: auto;          /* Oranı bozulmasın */
  object-fit: cover;     /* Gerektiğinde kırp ama oranı bozma */
  border-radius: 0px;
  display: block;
  margin: 0 auto;
}

.haber-icerik {
  width: 100%;
  max-width: 700px;
  padding: 0 10px;
}

.haber-icerik p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #111;           /* #fefefe yerine daha okunabilir koyu ton */
  text-align: justify;
 }

 .haber-icerik img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

  .haber-kaynak {
  clear: both;
  margin-top: 40px;
  text-align: left;
  font-size: 12px;
}
.haber-kaynak a {
  color: #061431;
  text-decoration: underline;
}

 body {
  max-width: 100vw;
  overflow-x: hidden;
}

.onceki-sonraki-butonlar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 0 40px;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.onceki-sonraki-butonlar a {
  text-decoration: none;
  color: rgb(1, 11, 19);
  font-size: 13px;
}

}

/*-------HAMBURGER MENÜ AYARLARI---------*/

.hamburger-menu {
  position: absolute;       /* Sayfaya göre konumlandır */
  top: 1px;                /* Keşfet butonunun altına */
  left: 1px;               /* Sol boşluk */
  cursor: pointer;
  font-size: 21px;
  background-color: #3d5761fd;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  z-index: 1000;
}


/* Menü kutusu hamburgerin altına açılır  */
.dropdown-menu {
  display: none;
  flex-direction: column;
  background-color: #E5E4E2; /*bac3b1*/
  position: absolute;
  top: 100px;               /* hamburger'den biraz aşağı */
  left: 20px;
  border-radius: 8px;
  width: 180px;
  box-shadow: 0 4px 12px #696969;
  z-index: 1000;
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-menu a {
  padding: 12px 16px;
  color: #000000;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid #333;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background-color: #00FFFF;
}

.soru-gorsel {
  max-width: 50%;
  height: auto;
  margin-top: 10px;
  border-radius: 8px;
}

 .flip-clock {
 display: flex;
 justify-content: center;
 align-items: center;
 font-family: 'Courier New', Courier, monospace;
 margin-top: 0px;
 font-size: 1.3rem;
 background-color: #ff000000;
 color: #ffffff;
 border-radius: 8px;
 padding: px 0px;
 /*box-shadow: 0 0 8px rgba(0,255,255,0.3);*/
}

.digit {
 background-color: #2a34398c;
 padding: 5px 7px;
 margin: 0 0px;
 border-radius: 4px;
 /*box-shadow: inset 0 -2px 0 #000;*/
 transition: all 0.3s ease;
}


.colon {
 color: #F2F3F4;
 font-size: 15px;
}

.flip-date {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  margin-top: 8px;
}

.date-part {
  background-color: #2a34398c;
  color: #ffffff;
  padding: 3px 0px;
  margin: 0 4px;
  border-radius: 4px;
  box-shadow: inset 0 -2px 0 #000;
  min-width: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.date-colon {
  color: #F2F3F4;
  font-size: 11px;
}


.star-drift {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #ffffffaa;
  border-radius: 50%;
  animation: drift 30s linear infinite;
}

@keyframes drift {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(20vw);
    opacity: 0;
  }
}

@media (min-width: 768px) {

  .haber-detay-kutu {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px;
  }

  .haber-foto-sola {
    width: 85%;
    height: 85%;
    border-radius: 12px;
    display: block;
    margin: 20px auto;
    max-height: 400px;
    max-width: 400px;
    object-fit: cover;
  }

  .haber-icerik {
    margin-top: 30px;
  }

  .haber-icerik p {
    font-size: 17px;
    line-height: 1.8;
    color: #222;
    text-align: left;
    margin-bottom: 20px;
  }

  .haber-icerik h2,
  .haber-icerik h3 {
    font-size: 20px;
    margin: 30px 0 10px;
    color: #111;
  }

  .haber-kaynak {
    margin-top: 50px;
    font-size: 14px;
    color: #444;
    text-align: left;
  }

  .haber-kaynak a {
    color: #0d234a;
    text-decoration: underline;
  }

  .onceki-sonraki-butonlar {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    font-size: 13px;
    padding: 0 30px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .onceki-sonraki-butonlar a {
    text-decoration: none;
    color: #333;
  }

}

.kategori-listesi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.kategori-baslik {
  font-size: 23px;
}  

.haber-kart {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 10px;
  transition: transform 0.2s ease;
}

.haber-kart:hover {
  transform: scale(1.02);
}

.haber-kart img.haber-foto {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.haber-kart a {
  text-decoration: none;
  color: inherit;
}

.haber-kart h3 {
  color: #111; /* Siyah ton */
  font-size: 1.05rem;
  margin-top: 12px;
  transition: color 0.2s ease;
}

.haber-kart:hover h3 {
  color: #000; /* Üzerine gelince daha koyu siyah */
}

.ust-kategori-menusu {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 3px;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 6px 0;
  border-radius: 8px;
}

.ust-kategori-menusu a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.ust-kategori-menusu a:hover {
  color: #00FFFF;
}

.desktop-only {
  display: none;
}

@media screen and (min-width: 768px) {
  .desktop-only {
    display: block;
  }
}

.sonucu-paylas {
  margin-top: 5px;               /* Buton ile üstteki öğe arasına boşluk bırakır */
  display: flex;                  /* Flexbox düzeni kurar */
  justify-content: center;       /* Butonu yatayda ortalar */
  gap: 10px;                      /* Birden fazla öğe varsa aralarına boşluk bırakır */
}

.sonucu-paylas button {
  background-color: #333;         /* Butonun arka plan rengi koyu gri */
  color: #fff;                    /* Yazı rengi beyaz */
  border: none;                   /* Kenarlık yok */
  padding: 5px 8px;             /* İç boşluk: yukarı-aşağı 10px, sağ-sol 16px */
  border-radius: 8px;             /* Köşeleri yuvarlaklaştırır */
  font-size: 13px;                /* Yazı boyutu */
  cursor: pointer;                /* Fare üzerine gelince el işareti olur */
  transition: background 0.2s ease; /* Arka plan rengi yumuşakça değişsin */
}

.sonucu-paylas button:hover {
  background-color: #111;         /* Üzerine gelince daha koyu griye geçiş */
}

.test-kartlar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 30px 0;
  padding: 0 10px;
}

.test-kart {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.2s ease;
}

.test-kart:hover {
  transform: translateY(-5px);
}

.test-kart img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.test-kart-icerik {
  padding: 12px;
}

.test-kart-icerik h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.test-kart-icerik p {
  font-size: 0.95rem;
  color: #444;
}

.test-kart a {
  text-decoration: none; /* linklerin altı çizilmesin */
  color: inherit;         /* rengini varsayılan başlık/metin renginden al */
}

.test-kart a:hover {
  text-decoration: none;  /* hover’da da çizgi olmasın */
}

.rehber-container {
  background-color: #f8f8f8;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 2rem auto;
  max-width: 700px;
}

#soru-metin {
  text-align: center;
}

.secenekler {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.secenekler button {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #FFDEAD;
  color: rgb(0, 0, 0);
  transition: background-color 0.3s;
  cursor: pointer;
}

.secenekler button:hover {
  background-color: #FFBF00;
}

#sonuc-container {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
}

#sonuc-metin {
  font-size: 1.3rem;
  margin-top: 1rem;
  color: #333;
}

#sonuc-container button {
  margin-top: 1.5rem;
  padding: 10px 18px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #444;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

#sonuc-container button:hover {
  background-color: #000;
}




/* ====== SADECE ANASAYFA (index) MASAÜSTÜ ====== */
@media (min-width: 1024px) {
  #index-page .kategori-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Masaüstünde bölüm kutusunu nötrle */
  #index-page .gundem-ozet {
    overflow: visible !important;
    white-space: normal !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
    width: 100% !important;     /* 🔑 üç sütun görünümünü önler */
    min-width: 0 !important;    /* 🔑 300px sınırını kaldırır */
  }

  /* Başlık */
  #index-page .haber-kutu-baslik {
    text-align: left;
    font-size: 1.6rem;
    margin: 10px 0 20px;
    background: none !important;
    border: none !important;
    padding: 0;
    line-height: 1.2;
  }
  #index-page .haber-kutu-baslik a {
    text-decoration: none;
    color: #111;
    padding-left: 12px;
    border-left: 4px solid #00BFFF;
  }

  /* İç kutuları grid yap */
  #index-page #merak-kutu,
  #index-page #yazilar-kutu,
  #index-page #teknoloji-kutu {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
  }

  /* Kart */
  #index-page .gundem-item {
    width: 100% !important;
    min-width: unset !important;
    display: flex !important;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  #index-page .gundem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  }

  #index-page .gundem-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
  }

  #index-page .haber-baslik {
    font-size: 1.1rem !important;
    font-weight: 600;
    margin: 12px !important;
    text-align: left !important;
    color: #111 !important;
    white-space: normal !important;
  }

  /* Masaüstünde slider noktaları görünmesin */
  #index-page .slider-pagination {
    display: none !important;
  }
}

