body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0A0F2C;
  background-image: url('assets/img/background.png'); /* Küçük ikon, desen, vs. */
  background-size: 175px; /* Görselin tekrar boyutu */
  background-repeat: repeat; /* Her yöne döşeme */
  background-attachment: fixed;
  color: #e0c878;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

a:active {
  color: inherit;
  text-decoration: none;
}

/* HEADER */
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  margin-bottom: 2px;
  margin-top: 8px; /* İstersen 10px veya daha fazla yapabilirsin */
  background: linear-gradient(145deg, #f0d878, #d9b85c);
  color: #0A0F2C;
  border-radius: 12px;
  box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.4),
              inset -2px -2px 5px rgba(0, 0, 0, 0.2),
              0 2px 6px rgba(224, 200, 120, 0.4);
  box-sizing: border-box;
}

@media (min-width: 769px) {
  nav.social {
    display: grid;
    grid-template-columns: repeat(2, auto); /* 2'li kolon */
    gap: 5px 10px; /* satır ve sütun aralığı */
    justify-content: center; /* ortala */
    align-items: center;
  }
}

.logo img {
  height: auto; /* veya ne kadar büyük olmasını istiyorsan */
  width: auto;
  max-height: 80px; /* Üst sınır koymak istersen */
}

nav.social a {
  display: inline-block;
  margin-left: 10px;
}

nav.social img {
  width: 120px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

nav.social img:hover {
  transform: scale(1.15);
}

nav.social a:hover {
  color: #ffffff;
}

/* MAİN */
main {
  padding: 5px 0;
}

h2 {
  width: 100%; /* Container kadar genişlik */
  background: linear-gradient(145deg, #f0d878, #d9b85c); /* Altın geçiş */
  color: #0A0F2C;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.4),
              inset -2px -2px 5px rgba(0, 0, 0, 0.2),
              0 2px 6px rgba(224, 200, 120, 0.4);
  box-sizing: border-box; /* Padding dışına taşma olmasın */
}

/* === ANA SPONSOR ALANI - Responsive Grid === */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Her zaman 4 kolon */
  justify-content: center;
  gap: 20px;

}
.sponsor-card {
  position: relative;
  overflow: hidden;
  background: rgba(18, 25, 53, 0.95);
  border: 1px solid #e0c878;
  border-radius: 12px;
  padding: 1px; /* Sadece 1px iç boşluk */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Resmi ortalamak için wrapper */
.sponsor-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo boyutu */
.sponsor-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: filter 0.3s ease;
  display: block;
  border-radius: 10px;
}
.sponsor-logo {
  display: block;           /* Satır içi değil blok gibi davransın */
  margin: 8px auto 0 auto;  /* Üstten 8px boşluk, yatayda ortala */
  width: 80%; 
  max-width: 305px;         /* Genişliği taşırmasın */
  height: auto;             /* Oran korunsun */
  object-fit: contain;      /* Logonun içeriği sıkışmasın */
}

/* Hover'da çıkan metin */
.hover-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 44, 0.7);
  color: #e0c878;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  box-sizing: border-box;
}

/* Hover efekti aktif */
@media (min-width: 769px) {
.sponsor-card:hover .sponsor-img {
  filter: blur(2px);
}

.sponsor-card:hover {
  box-shadow: 0 0 15px rgba(224, 200, 120, 0.4);
}
.sponsor-card:hover .hover-overlay {
  opacity: 1;
}
}


.sponsor-mobile-text {
  display: none;
  font-size: 14px;
  color: #e0c878;
  text-align: center;
  margin: 10px auto;
  font-weight: 600;
  line-height: 1.4;
  max-width: 90%; /* Çok uzamasın */
}

@media (max-width: 768px) {
  .sponsor-mobile-text {
    display: block;
  }
}



/* VIP */
/* === VIP SPONSOR ALANI === */

.vip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Her zaman 4 kolon */
  gap: 20px;

  align-items: stretch; /* ✨ Kartları eşit boyda hizalar */
}

/* VIP sponsor kutusu */
.vip-card {
  background: rgba(22, 29, 58, 0.95);
  border: 1px solid #e0c878;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

/* Hover efekti */
.vip-card:hover {
  box-shadow: 0 0 15px rgba(224, 200, 120, 0.4);
}

/* VIP firma logosu */
.vip-card img {
  max-width: 100%;
  max-height: 90px; /* Tavsiye edilen logo yüksekliği */
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 6px;
}

/* Başlık */
.vip-card h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  color: #f0e5c0;
}

/* Açıklama */
.vip-card p {
  margin: 0 0 10px;
  color: #e0c878;
  font-size: 14px;
  
  
}


/* BUTTON */
.btn {
  display: inline-block;
  padding: 8px 16px;
  background: #e0c878;
  color: #0a0f2c;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #fffbe6;
  color: #000;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #e0c878;
  margin-top: 40px;
  font-size: 14px;
}

/* SAĞ POPUP */
.popup-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(18, 25, 53, 0.95);
  border: 1px solid #e0c878;
  border-radius: 10px;
  padding: 15px 20px;
  z-index: 999;
  width: 260px;
  box-shadow: 0 0 15px rgba(224, 200, 120, 0.3);
}

.popup h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #f6d878;
}


.fixed-banner {
  position: fixed;
  top: 100px;
  z-index: 1000;
  width: 140px;
}

.fixed-banner.left-banner {
  left: 10px;
}

.fixed-banner.right-banner {
  right: 10px;
}

.banner-inner {
  background-color: rgba(18, 25, 53, 0.95);
  border: 1px solid #e0c878;
  border-radius: 12px;
  padding: 10px;
  overflow: hidden;
  text-align: center;
  position: relative;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: glowPulse 2s infinite ease-in-out;
  transition: all 0.3s ease;
}

/* YANIP SÖNME EFEKTİ */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 10px rgba(224, 200, 120, 0.9);
  }
  50% {
    box-shadow: 0 0 15px rgba(224, 200, 120, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(224, 200, 120, 0.9);
  }
}
.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: none;
  transition: backdrop-filter 0.3s ease, opacity 0.3s ease;
  z-index: 1;
}
/* GÖRSELİ BLUR YAP */

.banner-img-wrapper {
  transition: filter 0.3s ease;
}

/* Hover sadece görseli etkiler */
.banner-inner:hover .banner-img-wrapper {
  filter: blur(3px);
}

/* GÖRSEL STİLİ */
.banner-inner img {
  width: auto;
  max-width: 200px;
  max-height: 300px;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* YAZI HEP NET KALIR */
.banner-text {
  color: #e0c878;
  font-size: 16px;
  font-weight: 600;
  z-index: 2;
}


/* === Kapatma Butonu (X) === */
.close-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  color: #e0c878;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 1001;
  font-weight: bold;
}

.close-btn:hover {
  color: #ffffff;
}

/* === MOBİL SLIDER STİLLERİ === */
.mobile-banner-slider {
  display: none;
}
@media (max-width: 768px) {
  .logo img {
    height: 60px;
    width: auto;
  }
}
@media (max-width: 768px) {
  nav.social {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; /* 👈 hem yatay hem dikey boşluk */
    justify-items: center;
    padding: 100;
  }

  nav.social a img {
    width: 100%;
    height: auto;
    max-width: 120px;
    margin: 0 !important; /* 👈 img'e özel boşluk varsa iptal */
    padding: 0 !important;
    display: block;
  }
    nav.social a {
    width: 120px;
    margin: 0 !important; /* 👈 varsa tüm margin'leri sıfırla */
    padding: 0 !important;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  nav.social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    max-width: 100%;
  }

  nav.social a {
    width: 70px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav.social img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}


@media (max-width: 768px) {
  .fixed-banner {
    display: none;
  }

  .sponsor-grid,
  .vip-grid {
    grid-template-columns: repeat(2, 1fr); /* Mobilde 2 sütun */
  }
}
 
.mobile-banner-slider {
  position: fixed;
  bottom: 10px;
  left: 20px;
  right: 20px;
  z-index: 999;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(224, 200, 120, 0.3);
  background-color: rgba(18, 25, 53, 0.95);
  border: 1px solid #e0c878;
  padding: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-banner-slider .slide {
  display: flex;
  align-items: center;         /* Dikey hizalama */
  justify-content: center;     /* Yatay ortalama */
  gap: 12px;                   /* Logo ile yazı arası boşluk */
  color: #e0c878;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.mobile-banner-slider img {
  width: 100px;         /* Küçük sabit logo boyutu */
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
}

.slide-text {
  color: #e0c878;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  flex-grow: 1;
}

.mobile-banner-slider .close-btn {
  position: absolute;
  top: 4px;
  right: 8px;
  background: none;
  border: none;
  color: #e0c878;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

.mobile-banner-slider .close-btn:hover {
  color: white;
}

@media (min-width: 769px) {
  .mobile-banner-slider {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 100px; /* Banner boyutuna göre ayarla */
  }
}

.site-footer {
  background-color: rgba(224, 200, 120, 0.1); /* Hafif altın tonunda, opak */
  padding: 10px 20px;
  text-align: center;
  font-size: 13px;
  color: #e0c878;
  border-top: 1px solid #e0c878;
  border-radius: 8px 8px 0 0;
  margin-top: 40px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.site-footer a {
  color: #f5d36b;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #ffffff;
}


.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 44, 0.4); /* Yarı saydam koyu bir arka plan */
  backdrop-filter: blur(6px);             /* Arkayı bulanıklaştırır */
  -webkit-backdrop-filter: blur(6px);     /* Safari desteği */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup-content {
  background: #121935;
  border: 3px solid #e0c878;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 0 15px rgba(224, 200, 120, 0.4);
}

.popup-content img {
  max-width: 50%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.popup-content p {
  color: #e0c878;
  font-weight: 600;
  margin-bottom: 12px;
}


.popup-btn {
  background: none;         /* Arka planı kaldır */
  color: #e0c878;           /* Yazı rengi (altın tonu) */
  padding: 0;               /* İç boşluk sıfır */
  border-radius: 0;         /* Köşe yumuşatma iptal */
  text-decoration: none;    /* Alt çizgi istemiyorsan */
  font-weight: normal;      /* Kalınlık normal */
  font-size: 16px;          /* Yazı boyutu */
}
.popup-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

.popup-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  font-size: 24px;
  color: #e0c878;
  cursor: pointer;
}
