:root {
  --bg-secondary: #2e2e2e;
  --bg-primary: #000000;
  --bg-card-default: hsla(0, 0%, 8%, 1);
  --bg-selected: hsla(211, 100%, 50%, 1);
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --blue-accent: #3f88f7;
  --button-bg-secondary: #2c2c2c;
  --button-tx-secondary: #ffffff;
  --button-bg-primary: hsla(0, 0%, 12%, 1);
  --button-tx-primary: #ffffff;
  --button-bg-promo: hsla(0, 0%, 100%, 1);
  --button-tx-promo: #000;
  --root-vh: calc(var(--vh, 1vh) * 100);
  --bullet-progress: 0%;
  --swiper-theme-color: #007aff;
  --swiper-navigation-size: 44px;
  --tg-viewport-height: 100vh;
  --tg-viewport-stable-height: 100vh;
  --vh: 7.42px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  user-select: none; /* Prevent text selection */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
}

a {
  text-decoration: none;
  width: 100%;
}

a:hover {
  text-decoration: none;
}


/* Resimlerin sağ tıklanmasını engelle */
img {
  pointer-events: none;
}

body {
  background-color: #121212;
  color: white;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  overflow-y: auto;
  /* Hide scrollbar but allow scrolling */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for all elements */
::-webkit-scrollbar {
  display: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background-color: #000000;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
}

.logo2 {
  display: flex;
  align-items: center;
}

.logo2 img {
  height: 40px;
}

.search-container {
  flex: 1;
  max-width: 540px;
  margin: 0 20px;
}

.search-bar {
  width: 100%;
  padding: 12px 20px 12px 50px;
  border-radius: 30px;
  border: none;
  background-color: #333;
  color: #aaa;
  font-size: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
  background-repeat: no-repeat;
  background-position: 15px center;
}

.search-bar:focus {
  outline: none;
  background-color: #444;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-btn {
  background-color: #0d8aff;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

.login-btn:hover {
  background-color: #0a6ecc;
}

/* Navigation Tabs Styles */
.nav-tabs {
  display: flex;
  justify-content: center;
  background-color: #000000;
  padding: 0 0 15px 0;
}

.tab-button {
  background: none;
  border: none;
  color: #777;
  font-size: 28px;
  font-weight: bold;
  padding: 10px 25px;
  cursor: pointer;
  transition: color 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
  overflow: hidden;
}

.tab-button::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: #0d8aff;
  border-radius: 3px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-button.active::before {
  width: 30px;
}

.tab-button.active::after {
  display: none;
}

.tab-button:hover {
  color: #aaa;
}

.tab-button.active {
  color: white;
}

/* Sub Navigation Styles */
.sub-nav-container {
  display: flex;
  justify-content: center;
  background-color: #000000;
  padding: 0 0 20px 0;
  width: 100%;
}

.sub-nav {
  display: none;
  flex-wrap: wrap; /* Butonların alt satıra geçmesini sağlar */
  gap: 10px;
  max-width: 100%;
  justify-content: center;
}

.sub-nav.active {
  display: flex;
}

.sub-nav-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.sub-nav-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0d8aff;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

.sub-nav-button:hover {
  background-color: #444;
  transform: translateY(-2px);
}

.sub-nav-button.active {
  background-color: #0d8aff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(13, 138, 255, 0.3);
}

/* Banner Slider Styles */
.banner-container {
  padding: 0 30px 20px;
  background-color: #000000;
}

.banner-slider {
  display: none;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 300px;
  touch-action: pan-y;
}

.banner-slider.active {
  display: block;
}

.banner-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.banner-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.banner-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  max-width: 60%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.banner-subtitle {
  font-size: 20px;
  max-width: 60%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.banner-button {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: white;
  color: #000;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  z-index: 10;
}

.banner-button:hover {
  background-color: #f0f0f0;
}

.banner-navigation {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.banner-dots {
  display: flex;
  gap: 5px;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.banner-dot.active {
  background-color: rgba(255, 255, 255, 0.5);
  width: 20px;
  border-radius: 10px;
}

.banner-dot-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: rgba(255, 255, 255, 1);
  border-radius: inherit;
}

.banner-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.banner-arrow svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Category Sections Styles */
.category-section {
  padding: 0 30px 20px;
  background-color: #000000;
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.65, 0, 0.35, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.category-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.category-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Halkin Ustu Carousel Styles */
.halkin-ustu-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
}

.halkin-ustu-carousel:active {
  cursor: grabbing;
}

.halkin-ustu-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.halkin-ustu-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.casino-card {
  background-color: #1e1e1e;
  border-radius: 15px;
  padding: 15px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 10px;
}

.casino-logo {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casino-number {
  position: absolute;
  bottom: 1px;
  right: 2px;
  width: 15px;
  height: 15px;
  background-color: #ff9500;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  color: #000;
}

.casino-info {
  display: flex;
  flex-direction: column;
}

.casino-name {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.casino-rating {
  color: #4caf50;
  font-size: 14px;
}

.casino-bonus {
  color: #ff3e3e;
  font-size: 14px;
  font-weight: bold;
}

.casino-bonus-secondary {
  display: flex;
  gap: 10px;
}

.bonus-pill {
  background-color: rgba(255, 255, 0, 0.2);
  color: #ffff00;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.casino-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  height: fit-content;
}

.casino-button:hover {
  background-color: #444;
}

.category-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #333333fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
}

.halkin-ustu-carousel:hover .category-nav,
.lisansli-carousel:hover .category-nav,
.en-iyi-cevrimici-kumarhane-carousel:hover .category-nav,
.kripto-carousel:hover .category-nav,
.bahis-sirketleri-carousel:hover .category-nav,
.en-iyiler-carousel:hover .category-nav,
.yasal-carousel:hover .category-nav,
.bonuslarla-carousel:hover .category-nav,
.poker-odasi-carousel:hover .category-nav,
.telegram-carousel:hover .category-nav,
.poker-lisansli-carousel:hover .category-nav,
.freeroll-carousel:hover .category-nav,
.ozel-teklifler-carousel:hover .category-nav {
  opacity: 1;
}

.category-nav:hover {
  background-color: #444444fa;
}

.category-prev {
  left: 10px;
}

.category-next {
  right: 10px;
}

.category-nav svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Lisansli Grid Styles */
.lisansli-wrapper,
.kripto-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.kripto-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.kripto-slide {
  grid-template-columns: repeat(3, 1fr);
}

/* Lisanslı bölümü için düzenlemeler */
.lisansli-slide {
  display: flex;
  flex-wrap: nowrap;
  gap: 0px;
  padding: 10px 0;
  min-width: auto; /* min-width: 100% yerine */
}

.lisansli-card {
  flex: 0 0 auto;
  width: 140px; /* Sabit genişlik */
  margin-right: 10px;
}

/* Lisanslı kartları için boyut ve stil düzenlemeleri */
.lisansli-card {
  flex: 0 0 auto;
  width: 140px; /* En İyi 10 Çevrim içi Kumarhane kartları ile aynı genişlik */
  height: 233.6px; /* 208px'den 233.6px'e yükseltildi */
  margin-right: 10px;
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* İçerik düzenlemesi için ek stiller */
.lisansli-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lisansli-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.lisansli-bonus {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.lisansli-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  margin-top: auto; /* Butonu kartın altına sabitler */
}

.lisansli-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: translateX(0px); /* Piksel bazlı dönüşüm */
}

.lisansli-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
}

.kripto-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
  border-radius: 15px;
}

.lisansli-carousel:active,
.kripto-carousel:active {
  cursor: grabbing;
}

.lisansli-card:hover,
.kripto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.kripto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.kripto-card {
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s;
}

.kripto-card:hover {
  transform: translateY(-5px);
}

.kripto-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
}

.kripto-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kripto-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.kripto-bonus {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.kripto-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.kripto-button:hover {
  background-color: #444;
}

.bonuslarla-carousel,
.telegram-carousel,
.poker-lisansli-carousel,
.freeroll-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
}

/* Bahis Şirketleri bölümü için düzenlemeler */
.poker-odasi-carousel,
.bahis-sirketleri-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
  border-radius: 15px;
}

.poker-odasi-carousel:active,
.bahis-sirketleri-carousel:active {
  cursor: grabbing;
}

.poker-odasi-wrapper,
.bahis-sirketleri-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: translateX(0px); /* Piksel bazlı dönüşüm */
}

/* Bahis Şirketleri slide'ları için düzenlemeler */
.poker-odasi-slide,
.bahis-sirketleri-slide {
  display: flex;
  flex-wrap: nowrap;
  gap: 0px;
  padding: 10px 0;
  min-width: auto; /* min-width: 100% yerine */
}

.poker-odasi-card,
.bahis-card {
  flex: 0 0 auto;
  width: 140px; /* Sabit genişlik */
  height: 233.6px; /* En İyi 10 Çevrim içi Kumarhane kartları ile aynı yükseklik */
  margin-right: 10px;
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.bahis-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Bahis kartı içeriği için düzenlemeler */
.bahis-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bahis-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.bahis-bonus {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.bahis-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  margin-top: auto; /* Butonu kartın altına sabitler */
}

.bahis-sirketleri-carousel:active,
.en-iyiler-carousel:active,
.yasal-carousel:active,
.bonuslarla-carousel:active,
.poker-odasi-carousel:active,
.telegram-carousel:active,
.poker-lisansli-carousel:active,
.freeroll-carousel:active {
  cursor: grabbing;
}

.bahis-sirketleri-wrapper,
.en-iyiler-wrapper,
.poker-odasi-wrapper,
.bonuslarla-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.en-iyiler-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.yasal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.bonuslarla-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.poker-odasi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}



.bahis-card,
.kripto-card,
.bonuslarla-card,
.telegram-card,
.poker-lisansli-card,
.poker-odasi-card,
.freeroll-card {
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s;
  position: relative;
}

/* Yasal bölümü için grid düzenlemesi */
.yasal-container {
  padding: 0 30px 20px;
  background-color: #000000;
}

/* Kaydırma özelliğini kaldır ve grid yapısı oluştur */
.yasal-carousel {
  position: relative;
  overflow: visible; /* overflow: hidden yerine */
  cursor: default; /* grab cursor'ı kaldır */
  border-radius: 15px;
  touch-action: auto; /* pan-x yerine */
}

/* Wrapper'ı grid yapısına dönüştür */
.yasal-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 sütunlu grid */
  gap: 15px;
  transition: none; /* transform geçişini kaldır */
  transform: none !important; /* translateX'i devre dışı bırak */
}

/* Slide'ları kaldır, doğrudan kartları göster */
.yasal-slide {
  min-width: auto; /* min-width: 100% yerine */
  display: contents; /* Grid içinde doğrudan kartları göster */
}

/* Kartların stilini düzenle */
.yasal-card {
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 233.6px; /* Diğer kartlarla aynı yükseklik */
}

.yasal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Kart içeriği için düzenlemeler */
.yasal-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yasal-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.yasal-bonus {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.yasal-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  margin-top: auto; /* Butonu kartın altına sabitler */
}

/* Navigasyon oklarını gizle */
.yasal-carousel .category-nav {
  display: none;
}

/* En İyiler bölümü için grid düzenlemesi */
.en-iyiler-container {
  padding: 0 30px 20px;
  background-color: #000000;
}

/* Kaydırma özelliğini kaldır ve grid yapısı oluştur */
.en-iyiler-carousel {
  position: relative;
  overflow: visible; /* overflow: hidden yerine */
  cursor: default; /* grab cursor'ı kaldır */
  border-radius: 15px;
  touch-action: auto; /* pan-x yerine */
}

/* Grid yapısını oluştur */
.en-iyiler-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 sütunlu grid */
  gap: 15px;
}

/* Kartların stilini düzenle */
.en-iyiler-card {
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 233.6px; /* Diğer kartlarla aynı yükseklik */
}

.en-iyiler-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Kart içeriği için düzenlemeler */
.en-iyiler-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.en-iyiler-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.en-iyiler-bonus {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.en-iyiler-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  margin-top: auto; /* Butonu kartın altına sabitler */
}

/* Navigasyon oklarını gizle */
.en-iyiler-carousel .category-nav {
  display: none;
}

.bahis-card:hover,
.en-iyiler-card:hover,
.yasal-card:hover,
.bonuslarla-card:hover,
.poker-odasi-card:hover,
.telegram-card:hover,
.poker-lisansli-card:hover,
.freeroll-card:hover {
  transform: translateY(-5px);
}

.bahis-rating,
.en-iyiler-rating,
.lisansli-rating,
.kripto-rating,
.yasal-rating,
.bonuslarla-rating,
.poker-odasi-rating,
.telegram-rating,
.poker-lisansli-rating,
.freeroll-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #4caf50;
  color: white;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 14px;
}

.bahis-logo,
.en-iyiler-logo,
.yasal-logo,
.bonuslarla-logo,
.poker-odasi-logo,
.telegram-logo,
.poker-lisansli-logo,
.freeroll-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
}

.bahis-logo img,
.en-iyiler-logo img,
.yasal-logo img,
.bonuslarla-logo img,
.poker-odasi-logo img,
.telegram-logo img,
.poker-lisansli-logo img,
.freeroll-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bahis-name,
.en-iyiler-name,
.yasal-name,
.bonuslarla-name,
.poker-odasi-name,
.telegram-name,
.poker-lisansli-name,
.freeroll-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.bahis-bonus,
.en-iyiler-bonus,
.yasal-bonus,
.bonuslarla-bonus,
.poker-odasi-bonus,
.telegram-bonus,
.poker-lisansli-bonus,
.freeroll-bonus {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.bahis-button,
.en-iyiler-button,
.yasal-button,
.bonuslarla-button,
.poker-odasi-button,
.telegram-button,
.poker-lisansli-button,
.freeroll-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.bahis-button:hover,
.en-iyiler-button:hover,
.yasal-button:hover,
.bonuslarla-button:hover,
.poker-odasi-button:hover,
.telegram-button:hover,
.poker-lisansli-button:hover,
.freeroll-button:hover {
  background-color: #444;
}

/* Content Styles */
.content-container {
  position: relative;
  height: calc(800px - 480px); /* Adjusted for banner */
  overflow: hidden;
}

.tab-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  pointer-events: none;
}

.tab-content::-webkit-scrollbar {
  display: none;
}

.tab-content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1;
}

/* Main content wrapper */
.main-content-wrapper {
  position: relative;
  transition: opacity 0.6s cubic-bezier(0.65, 0, 0.35, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

/* Main content wrapper - Yeni animasyon stilleri */
/*.main-content-wrapper {
  position: relative;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, perspective;
  perspective: 1000px;
}

.main-content-wrapper.fade-out {
  opacity: 0;
  transform: translateX(-50px) rotateY(-10deg);
  transform-origin: left center;
}

.main-content-wrapper.fade-in {
  opacity: 1;
  transform: translateX(0) rotateY(0);
  transform-origin: center center;
}

/* Alternatif animasyon sınıfları - İstenirse kullanılabilir */
/*.main-content-wrapper.slide-out {
  opacity: 0;
  transform: translateX(-100px);
}

.main-content-wrapper.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.main-content-wrapper.zoom-out {
  opacity: 0;
  transform: scale(1.1);
}

.main-content-wrapper.zoom-in {
  opacity: 1;
  transform: scale(1);
}*/

/* Main content wrapper - Karartma animasyonu */
.main-content-wrapper {
  position: relative;
  transition: opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
  will-change: opacity, background-color;
}

.main-content-wrapper.fade-out {
  opacity: 0;
  background-color: rgba(0, 0, 0, 1);
}

.main-content-wrapper.fade-in {
  opacity: 1;
  background-color: transparent;
}

/* Eski animasyon sınıflarını kaldırdım */
.main-content-wrapper.slide-out,
.main-content-wrapper.slide-in,
.main-content-wrapper.zoom-out,
.main-content-wrapper.zoom-in {
  display: none;
}

/* Promotional Buttons */
.promo-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.promo-button {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 160px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.promo-button:hover {
  transform: translateY(-5px);
}

.promo-button-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  background-size: cover;
  background-position: center;
}

.promo-label {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  align-self: flex-start;
}

.promo-title {
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.daily-bonus {
  background-size: cover;
  background-image: url(/images/showcase-daily.png), linear-gradient(237.96deg, #ffd60a, #ff9f0a);
  -webkit-background-size: 90%, 100% 100%;
  background-size: 90%, 100% 100%;
  -webkit-background-position: 200% -35%;
  background-position: 200% -35%;
  background-repeat: no-repeat;
}

.daily-bonus .promo-label {
  background-color: #ff4d4d;
}

.fortune-wheel {
  background-size: cover;
  background-image: url(/images/showcase-fortune.png), linear-gradient(0deg, #48075c, #48075c),
    linear-gradient(113.61deg, #bf5af200, #bf5af2b3);
  -webkit-background-size: 90%, 100% 100%;
  background-size: 90%, 100% 100%;
  -webkit-background-position: 200% -35%;
  background-position: 200% -35%;
  background-repeat: no-repeat;
}

.fortune-wheel .promo-label {
  background-color: #9370db;
}

.free-chest {
  background-size: cover;
  background-image: url(/images/showcase-case.png), linear-gradient(0deg, #0977e6, #0977e6),
    linear-gradient(113.61deg, #0a84ff00, #0a84ffb3);
  -webkit-background-size: 90%, 100% 100%;
  background-size: 90%, 100% 100%;
  -webkit-background-position: 200% -35%;
  background-position: 200% -35%;
  background-repeat: no-repeat;
}

.free-chest .promo-label {
  background-color: #4169e1;
}

.lisansli-wrapper,
.kripto-wrapper,
.bonuslarla-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

/* Kripto Paralı bölümü için grid düzenlemesi */
.kripto-container {
  padding: 0 30px 20px;
  background-color: #000000;
}

/* Kaydırma özelliğini kaldır ve grid yapısı oluştur */
.kripto-carousel {
  position: relative;
  overflow: visible; /* overflow: hidden yerine */
  cursor: default; /* grab cursor'ı kaldır */
  border-radius: 15px;
  touch-action: auto; /* pan-x yerine */
}

/* Wrapper'ı grid yapısına dönüştür */
.kripto-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 sütunlu grid */
  gap: 15px;
  transition: none; /* transform geçişini kaldır */
  transform: none !important; /* translateX'i devre dışı bırak */
}

/* Slide'ları kaldır, doğrudan kartları göster */
.kripto-slide {
  min-width: auto; /* min-width: 100% yerine */
  display: contents; /* Grid içinde doğrudan kartları göster */
}

/* Kartların stilini düzenle */
.kripto-card {
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s;
  height: 233.6px; /* Diğer kartlarla aynı yükseklik */
}

/* Navigasyon oklarını gizle */
.kripto-carousel .category-nav {
  display: none;
}

/* Bonuslarla bölümü için düzenlemeler */
.bonuslarla-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
  border-radius: 15px;
}

.bonuslarla-carousel:active {
  cursor: grabbing;
}

.bonuslarla-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: translateX(0px); /* Piksel bazlı dönüşüm */
}

/* Bonuslarla slide'ları için düzenlemeler */
.bonuslarla-slide {
  display: flex;
  flex-wrap: nowrap;
  gap: 0px;
  padding: 10px 0;
  min-width: auto; /* min-width: 100% yerine */
}

.bonuslarla-card {
  flex: 0 0 auto;
  width: 175px; /* Sabit genişlik - 4 kart için daha geniş */
  height: 233.6px; /* En İyi 10 Çevrim içi Kumarhane kartları ile aynı yükseklik */
  margin-right: 10px;
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.bonuslarla-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Bonuslarla kartı içeriği için düzenlemeler */
.bonuslarla-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonuslarla-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.bonuslarla-bonus {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.bonuslarla-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  margin-top: auto; /* Butonu kartın altına sabitler */
}

.lisansli-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lisansli-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #002855;
}

.lisansli-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.lisansli-button:hover {
  background-color: #444;
}

/*.lisansli-rating {
    align-self: flex-start;
    background-color: #4caf50;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    top: 10px;
    right: 10px;
}*/

.en-iyi-cevrimici-kumarhane-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
  border-radius: 15px;
}

.en-iyi-cevrimici-kumarhane-carousel:active {
  cursor: grabbing;
}

.en-iyi-cevrimici-kumarhane-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* En İyi Çevrimici Kumarhane için düzenlemeler */
.en-iyi-cevrimici-kumarhane-slide {
  display: flex;
  flex-wrap: nowrap;
  gap: 0px;
  padding: 10px 0;
  min-width: auto; /* min-width: 100% yerine */
}

.en-iyi-cevrimici-kumarhane-card {
  flex: 0 0 auto;
  width: 140px; /* Sabit genişlik */
  margin-right: 10px;
}

.en-iyi-cevrimici-kumarhane-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: translateX(0px); /* Piksel bazlı dönüşüm */
}

.en-iyi-cevrimici-kumarhane-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
}

.en-iyi-cevrimici-kumarhane-card {
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.en-iyi-cevrimici-kumarhane-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.en-iyi-cevrimici-kumarhane-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #4caf50;
  color: white;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 14px;
}

.en-iyi-cevrimici-kumarhane-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.en-iyi-cevrimici-kumarhane-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #002855;
}

.en-iyi-cevrimici-kumarhane-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.en-iyi-cevrimici-kumarhane-bonus {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.en-iyi-cevrimici-kumarhane-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.en-iyi-cevrimici-kumarhane-button:hover {
  background-color: #444;
}

/* Özel Teklifler Carousel Styles */
.ozel-teklifler-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
  margin-bottom: 20px;
}

.ozel-teklifler-carousel:active {
  cursor: grabbing;
}

.ozel-teklifler-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ozel-teklifler-slide {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  padding: 10px 0;
}

.ozel-teklif-card {
  position: relative;
  flex: 1;
  width: 310px; /* Sabit genişlik */
  height: 260px;
  flex: none;
  border-radius: 15px;
  overflow: hidden;
  background-color: #1a1a1a;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.ozel-teklif-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.ozel-teklif-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.ozel-teklif-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* veya contain, nasıl görünmesini istiyorsan */
}

.ozel-teklif-content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
  z-index: 2;
}

.ozel-teklif-amount {
  font-size: 60px;
  font-weight: bold;
  color: #f8e16c;
  margin-bottom: 5px;
}

.ozel-teklif-type {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.ozel-teklif-casino {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  padding: 0 15px;
  z-index: 2;
}

.ozel-teklif-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Eklendi: Logonun küçülmesini engeller */
}

.ozel-teklif-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Değiştirildi: cover yerine contain kullanıldı */
  aspect-ratio: 1 / 1; /* Eklendi: 1:1 en-boy oranı zorlar */
  background-color: #1a1a1a; /* Arka plan rengi eklendi */
}

.ozel-teklif-name {
  font-size: 18px;
  font-weight: bold;
  color: white;
  margin-right: 5px; /* İsim ve rating arasında boşluk */
}

.ozel-teklif-rating {
  font-size: 14px;
  color: #4caf50;
  display: inline-flex; /* Inline olarak göster */
  align-items: center;
}

.ozel-teklif-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background-color 0.2s;
}

.ozel-teklif-arrow:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.ozel-teklif-arrow svg {
  width: 20px;
  height: 20px;
}

.ozel-teklifler-carousel:hover .category-nav {
  opacity: 1;
}

/* Telegram Section Styling - Similar to Lisanslı Section */

.telegram-card {
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 233.6px;
}

.telegram-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.telegram-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #4caf50;
  color: white;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 14px;
}

.telegram-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.telegram-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #002855;
}

.telegram-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.telegram-bonus {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.telegram-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  margin-top: auto;
}

.telegram-button:hover {
  background-color: #444;
}

/* Responsive design for smaller screens */

@media (max-width: 500px) {


  .banner-slider {
    height: 150px;
    min-height: 150px;
  }

  .banner-title {
    top: 16px;
    left: 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
  }

  .banner-subtitle {
    top: 14px;
    left: 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    text-align: left;
  }
  
  .banner-button {
    bottom: 16px;
    left: 16px;
  }
  
}

/* Promosyon butonları için mevcut CSS kodlarınız var, 
   sadece 500px ve altı için düzenlemeler ekleyeceğiz */

   @media (max-width: 500px) {
    .promo-buttons {
      height: 240px;
      min-height: 240px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      grid-template-areas:
        "daily fortune"
        "daily case";
      gap: 8px;
      margin-top: 30px;
      margin-bottom: 20px;
    }
    
    .daily-bonus {
      grid-area: daily;
      background-image: url("/images/showcase-daily-mobile.png"), linear-gradient(237.96deg, #ffd60a, #ff9f0a);
      background-position: right bottom;
    }
    
    .fortune-wheel {
      grid-area: fortune;
      background-position: right bottom;
    }
    
    .free-chest {
      grid-area: case;
      background-position: right bottom;
    }
    
    .promo-button {
      height: auto;
      max-height: 240px;
      border-radius: 16px;
      padding: 12px;
    }
    
    .promo-label {
      font-size: 11px;
      padding: 4px 8px;
      border-radius: 10px;
    }
    
    .promo-title {
      font-size: 18px;
      margin-top: 6px;
    }
  }

/* Freeroll Turnuvaları Section Styling - Similar to Lisanslı Section */
.poker-lisansli-grid,
.telegram-grid,
.en-iyiler-grid,
.yasal-wrapper,
.kripto-wrapper,
.freeroll-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.freeroll-card {
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 233.6px;
}

.freeroll-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.freeroll-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #4caf50;
  color: white;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 14px;
}

.freeroll-logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.freeroll-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #002855;
}

.freeroll-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.freeroll-bonus {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.freeroll-button {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  margin-top: auto;
}

.freeroll-button:hover {
  background-color: #444;
}

/* Responsive design for smaller screens */


@media (max-width: 500px) {
  .poker-lisansli-grid,
  .telegram-grid,
  .en-iyiler-grid,
  .yasal-wrapper,
  .kripto-wrapper,
  .freeroll-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Özel Bonuslar Carousel Styles - Özel Teklifler stillerinin kopyası */
.ozel-bonuslar-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
  margin-bottom: 20px;
}

.ozel-bonuslar-carousel:active {
  cursor: grabbing;
}

.ozel-bonuslar-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ozel-bonuslar-slide {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  padding: 10px 0;
}

.ozel-bonus-card {
  position: relative;
  flex: 1;
  width: 310px; /* Sabit genişlik */
  height: 260px;
  flex: none;
  border-radius: 15px;
  overflow: hidden;
  background-color: #1a1a1a;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.ozel-bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.ozel-bonus-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.ozel-bonus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* veya contain, nasıl görünmesini istiyorsan */
}

.ozel-bonus-content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
  z-index: 2;
}

.ozel-bonus-amount {
  font-size: 60px;
  font-weight: bold;
  color: #f8e16c;
  margin-bottom: 5px;
}

.ozel-bonus-type {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.ozel-bonus-casino {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  padding: 0 15px;
  z-index: 2;
}

.ozel-bonus-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Eklendi: Logonun küçülmesini engeller */
}

.ozel-bonus-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Değiştirildi: cover yerine contain kullanıldı */
  aspect-ratio: 1 / 1; /* Eklendi: 1:1 en-boy oranı zorlar */
  background-color: #1a1a1a; /* Arka plan rengi eklendi */
}

.ozel-bonus-name {
  font-size: 18px;
  font-weight: bold;
  color: white;
  margin-right: 5px; /* İsim ve rating arasında boşluk */
}

.ozel-bonus-rating {
  font-size: 14px;
  color: #4caf50;
  display: inline-flex; /* Inline olarak göster */
  align-items: center;
}

.ozel-bonus-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background-color 0.2s;
}

.ozel-bonus-arrow:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.ozel-bonus-arrow svg {
  width: 20px;
  height: 20px;
}

.ozel-bonuslar-carousel:hover .category-nav {
  opacity: 1;
}

/* Özel Bonuslar Poker Carousel Styles - Özel Teklifler stillerinin kopyası */
.ozel-bonuslar-carousel-poker {
  position: relative;
  overflow: hidden;
  touch-action: pan-x;
  cursor: grab;
  margin-bottom: 20px;
}

.ozel-bonuslar-carousel-poker:active {
  cursor: grabbing;
}

.ozel-bonuslar-wrapper-poker {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ozel-bonuslar-slide-poker {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  padding: 10px 0;
}

.ozel-bonus-card-poker {
  position: relative;
  flex: 1;
  width: 310px; /* Sabit genişlik */
  height: 260px;
  flex: none;
  border-radius: 15px;
  overflow: hidden;
  background-color: #1a1a1a;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.ozel-bonus-card-poker:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.ozel-bonus-image-poker {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.ozel-bonus-image-poker img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* veya contain, nasıl görünmesini istiyorsan */
}

.ozel-bonus-content-poker {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
  z-index: 2;
}

.ozel-bonus-amount-poker {
  font-size: 60px;
  font-weight: bold;
  color: #f8e16c;
  margin-bottom: 5px;
}

.ozel-bonus-type-poker {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.ozel-bonus-casino-poker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  padding: 0 15px;
  z-index: 2;
}

.ozel-bonus-logo-poker {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 10px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Eklendi: Logonun küçülmesini engeller */
}

.ozel-bonus-logo-poker img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Değiştirildi: cover yerine contain kullanıldı */
  aspect-ratio: 1 / 1; /* Eklendi: 1:1 en-boy oranı zorlar */
  background-color: #1a1a1a; /* Arka plan rengi eklendi */
}

.ozel-bonus-name-poker {
  font-size: 18px;
  font-weight: bold;
  color: white;
  margin-right: 5px; /* İsim ve rating arasında boşluk */
}

.ozel-bonus-rating-poker {
  font-size: 14px;
  color: #4caf50;
  display: inline-flex; /* Inline olarak göster */
  align-items: center;
}

.ozel-bonus-arrow-poker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background-color 0.2s;
}

.ozel-bonus-arrow-poker:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.ozel-bonus-arrow-poker svg {
  width: 20px;
  height: 20px;
}

.ozel-bonuslar-carousel-poker:hover .category-nav {
  opacity: 1;
}

/* Page Transition Overlay - Modified to cover only body area */
.page-transition-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Update the main content wrapper to position the overlay properly */
.main-content-wrapper {
  position: relative;
  transition: opacity 0.3s ease-in-out;
  will-change: opacity;
}

/* Remove the old transition styles that aren't working properly */
.main-content-wrapper.fade-out,
.main-content-wrapper.fade-in,
.main-content-wrapper.slide-out,
.main-content-wrapper.slide-in,
.main-content-wrapper.zoom-out,
.main-content-wrapper.zoom-in {
  display: none;
}

/* Add these media queries at the end of your CSS file to make the halkin-ustu area mobile responsive */

/* Media query for tablets and smaller devices */
@media (max-width: 768px) {
  .halkin-ustu-slide {
    grid-template-columns: 1fr; /* Change to single column on tablets */
    gap: 10px;
  }

  .casino-card {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    padding: 10px;
  }

  .casino-logo {
    width: 50px;
    height: 50px;
  }

  .casino-name {
    font-size: 16px;
  }

  .casino-button {
    padding: 6px 15px;
  }

  .category-nav {
    width: 40px;
    height: 40px;
  }
}

/* Media query for mobile phones */
@media (max-width: 500px) {

  /* Halkin Ustu specific styles for mobile */
  .halkin-ustu-slide {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .casino-card {
    grid-template-columns: 50px 1fr auto;
    padding: 8px;
    gap: 8px;
  }

  .casino-logo {
    width: 40px;
    height: 40px;
  }

  .casino-number {
    width: 12px;
    height: 12px;
    font-size: 10px;
  }

  .casino-name {
    font-size: 14px;
  }

  .casino-rating {
    font-size: 12px;
  }

  .casino-bonus {
    font-size: 12px;
  }

  .casino-button {
    padding: 5px 12px;
    font-size: 12px;
  }

  .category-nav {
    width: 35px;
    height: 35px;
    top: 40%;
  }

  .category-nav svg {
    width: 20px;
    height: 20px;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.soon-notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.soon-notification-overlay.show {
  opacity: 1;
  visibility: visible;
}

.ultra-notification {
  position: relative;
  width: 90%;
  max-width: 420px;
  background: rgba(18, 18, 20, 0.8);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(20px);
}

.ultra-notification.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.notification-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(var(--blue-accent-rgb, 63, 136, 247), 0.15) 0%,
    rgba(var(--blue-accent-rgb, 63, 136, 247), 0) 70%
  );
  pointer-events: none;
  z-index: -1;
}

.notification-content {
  position: relative;
  z-index: 1;
}

.notification-header {
  display: flex;
  align-items: center;
  padding: 20px 20px 0;
  position: relative;
}

.notification-icon-wrapper {
  margin-right: 12px;
  flex-shrink: 0;
}

.notification-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-accent, #3f88f7), #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 
    0 4px 12px rgba(37, 99, 235, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.notification-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

.notification-title-wrapper {
  flex-grow: 1;
}

.notification-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notification-close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary, rgba(255, 255, 255, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.notification-body {
  padding: 12px 20px 20px;
  position: relative;
}

.notification-message {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary, rgba(255, 255, 255, 0.8));
  opacity: 0.9;
  max-width: 90%;
}

.notification-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-accent, #3f88f7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.notification-progress-container {
  display: flex;
  align-items: center;
  padding: 0 20px 20px;
  gap: 10px;
}

.notification-progress {
  flex-grow: 1;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.notification-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--blue-accent, #3f88f7), #60a5fa);
  border-radius: 4px;
  transition: width 5s cubic-bezier(0, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.notification-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.notification-time {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  min-width: 24px;
  text-align: center;
}

/* Mobil uyumluluk */
@media (max-width: 480px) {
  .ultra-notification {
    width: 92%;
    max-width: 350px;
  }
  
  .notification-title {
    font-size: 18px;
  }
  
  .notification-message {
    font-size: 14px;
  }
  
  .notification-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  
  .notification-close {
    width: 32px;
    height: 32px;
  }
}

/* Animasyon efektleri */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); }
  to { transform: translateY(0); }
}

/* CSS değişkenleri için RGB değerleri */
:root {
  --blue-accent-rgb: 63, 136, 247;
}

/* Lazy loading için stil */
.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}
.lazy.loaded {
  opacity: 1;
}

/* Opsiyonel: Yükleme animasyonu */
.lazy-placeholder {
  background: #f0f0f0;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: 1.5s shine linear infinite;
  border-radius: 5px;
}

@keyframes shine {
  to {
      background-position-x: -200%;
  }
}