.cards-container {
    display: flex;
    flex-wrap: wrap;       /* Kartlar satır dolunca alt satıra geçer */
    gap: 5px;              /* Kartlar arası boşluk */
    justify-content: flex-start;
}

/* Kart boyutu: bir satıra 8 kart sığacak şekilde */
.card {
    flex: 0 0 calc(16.5% - 5px); /* 100 / 8 = 12.5%, gap dikkate alındı */
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

/* Görsel kare */
.card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Overlay stili */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .product-overlay {
    opacity: 1;
}

.product-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2px;
}

.product-overlay ul li a:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

/* Kart yazıları */
.card-body p {
    font-size: 0.9rem !important; /* minimal font */
    margin-bottom: 1px !important;
    text-align: center !important;
}

.card-body-x p {
    font-size: 14px !important;
	font-weight: bold !important;
    margin-bottom: 1px !important;
    text-align: center !important;
}

.card-title.silver {
  color: #c0c0c0;
  text-shadow: 
    0 0 5px #ffffff,
    0 0 10px #c0c0c0,
    0 0 20px #a9a9a9;
  font-weight: bold;
}

.card-title.gold {
  color: #FFD700;
  text-shadow: 
    0 0 5px #fff3b0,
    0 0 10px #FFD700,
    0 0 20px #FFA500;
  font-weight: bold;
}

.card-title.premium {
  color: #8A2BE2;
  text-shadow: 
    0 0 5px #b666ff,
    0 0 10px #8A2BE2,
    0 0 20px #5d0099;
  font-weight: bold;
}

/* Event Listesi başlığı */
.accordion-button {
  background: linear-gradient(
    270deg,
    #007bff,
    #6f42c1,
    #e83e8c,
    #007bff
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
  font-weight: bold;
}

/* Event listesi li öğeleri */
.accordion-body ul li {
  background: linear-gradient(
    270deg,
    #FFD700,
    #FFA500,
    #FFD700
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShift 5s ease infinite;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Başlık gradient animasyonu */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Liste gradient animasyonu */
@keyframes goldShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Navbar linkleri için RGB animasyonlu elmas parıltı */
.navbar-nav .nav-link {
  /* background: linear-gradient(
    270deg,
    #ff0000,
    #ff9900,
    #ffff00,
    #33cc33,
    #3399ff,
    #9900ff,
    #ff0000
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  color: #000000; /* Siyah yazı rengi */
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #ffffff,
    0 0 15px #ffffff;
  font-weight: 600; /* BOLD */
  /* animation: rgbGlow 30s linear infinite; */
  transition: all 0.1s ease;
}

/* Hover efekti */
.navbar-nav .nav-link:hover {
  text-shadow:
    0 0 10px #ffffff,
    0 0 20px #ffffff,
    0 0 30px #ffffff,
    0 0 40px #ffffff;
}

/* RGB animasyonu */
/* @keyframes rgbGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
} */

.glow-red {
  position: relative;
  display: inline-block;
  font-weight: bold;
  font-size: 1rem;
  color: orange; /* Temel yazı rengi */
  overflow: hidden;
  white-space: nowrap; /* Yazının tek satır olmasını sağlar */
  animation: moveText 10s linear infinite;
}

/* Parlama efekti */
.glow-red::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,100) 50%, rgba(255,255,255,250) 100%);
  transform: skewX(-20deg);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: -75%; }
}

.logo-text {
  font-weight: bold;
  font-size: 1rem;
  color: #000000 !important;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  animation: none;
}

/*
.logo-text {
  font-weight: bold;
  font-size: 1rem;
  background: linear-gradient(270deg, red, orange, yellow, green, cyan, blue, violet, red);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rgbFlow 8s linear infinite;
}

@keyframes rgbFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
*/

.glow-head-x {
  position: relative;
  display: inline-block;
  font-weight: bold;
  font-size: 20px;
  color: black; /* Temel yazı rengi */
  overflow: hidden;
  white-space: nowrap; /* Yazının tek satır olmasını sağlar */
  animation: moveText 10s linear infinite;
}

/* Parlama efekti */
.glow-head-x::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,100) 50%, rgba(255,255,255,250) 100%);
  transform: skewX(-20deg);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: -75%; }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0,0,0,0.8);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  width: 80%; max-width: 900px;
  height: 80%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 1000;
}

#shopierFrame {
  width: 100%; height: 100%;
  border: none;
}

/* Etiket sınıfı */
.sieger {
    font-family: 'Arial', sans-serif; /* İstersen buraya Google Font ekleyebilirsin */
    font-weight: bold;                /* Kalın yazı */
    color: rgb(255, 255, 0);          /* RGB olarak renk: kırmızımsı-turuncu */
    font-size: 16px;                  /* Yazı boyutu */
    padding: 5px 10px;                /* İç boşluk */
    border-radius: 5px;               /* Köşeleri yuvarlat */
    background-color: rgb(0, 0, 0);   /* Arka plan rengi */
    display: inline-block;            /* Satır içinde görünmesi için */
}

.flash {
  --flash-duration: 1.5s;      /* Yanıp sönme hızı */
  display: inline-block;
  margin: 0 auto;
  background-color: #E9EEF5;
  color: #FF0000;               /* Başlangıç rengi kırmızı */
  padding: 0.25em 0.5em;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  animation: flash var(--flash-duration) ease-in-out infinite;
}

@keyframes flash {
  0%, 100% { opacity: 1; }     /* renk yerine opacity kullan */
  50%      { opacity: 0; }
}

/* Tercih edilen hareketi azaltan cihazlar için fallback */
@media (prefers-reduced-motion: reduce) {
  .flash {
    animation: none;
    color: #FFD400;
    opacity: 1;
  }
}

.discount-box {
  background: #000;           /* siyah arka plan */
  color: #FFD400;             /* sarı yazı */
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

/* Çerçevesiz, başlıksız modal */
.modal-content.custom-modal {
    border: none;
    border-radius: 8px;
    box-shadow: none;
    background: #fff; /* Temiz beyaz görünüm */
    padding: 0;
    overflow: hidden; /* içerik taşmasın, scroll olmasın */
}

/* Modal dialog responsive genişlik ve yükseklik */
.modal-dialog.custom-modal-dialog {
    width: 90%;        /* Mobilde ekranın %90'ını kaplasın */
    max-width: 800px;  /* Masaüstünde maksimum genişlik */
    height: 500px;     /* Masaüstünde sabit yükseklik */
    margin: 30px auto;
}

/* Modal body iframe tam yer kaplasın */
.modal-body.custom-modal-body {
    padding: 0;
    width: 100%;
    height: 100%;
}

/* Mobilde yüksekliği ekranın %80’i olacak */
@media (max-width: 768px) {
    .modal-dialog.custom-modal-dialog {
        height: 80vh; /* viewport height */
    }
}
