.custom-container {
  padding: 16px;
  font-family: 'Poppins', sans-serif;
}

.custom-section {
  border-radius: 16px;
  padding: 24px 16px;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: visible;
  min-height: 100px;
}

/* Kırmızı arka plan */
.custom-section.red {
  background: url('https://raw.githubusercontent.com/omeryakar123/gamimg/904cc0546642d8d6cdca7901bbd23096d884ae6f/vipreverse.png') !important;
  background-size: cover;
  background-position: center;
}

/* Mavi arka plan */
.custom-section.blue {
  background: url('https://raw.githubusercontent.com/omeryakar123/gamimg/2e7ee773631e6a1c82271f78ddf2d804e7b9eca8/vi%C4%B1p.png') !important;
  background-size: cover;
  background-position: center;
}

.custom-section h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #fff;
}

/* Casino ve Spor özel renk */
.custom-section.casino h2,
.custom-section.spor h2 {
  color: #00f;
}

.custom-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.custom-items a {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.custom-items a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.custom-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 20px;
  background-color: white;
  color: black;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s;
  width: 100%;
}

.custom-btn:hover {
  background-color: #f1f1f1;
  color: #e31e63;
}

.custom-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 24px;
}

.custom-image img {
  width: auto;
  max-width: 100%;
  height: 900px;
  object-fit: contain;
  display: block;
  margin-bottom: -20px;
}

/* Web - 768px ve üstü */
@media (min-width: 768px) {
  .custom-section {
    height: 430%;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    text-align: left;
    min-height: 400px;
  }

  .custom-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .custom-section h2 {
    font-size: 28px;
    max-width: 100%;
  }

  .custom-items {
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .custom-image {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 0;
  }

  .custom-image img {
    position: absolute;
    bottom: -25px;
    right: 0;
    height: 900px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    margin: 0;
  }

  .custom-btn {
    width: auto;
    margin-top: 24px;
    font-size: 16px;
    padding: 16px 24px;
  }
}

/* Mobil özel görünüm */
@media (max-width: 767px) {
  .custom-section {
    flex-direction: column;
    align-items: center;
    justify-content: center; /* YATAY VE DİKEY ORTALAMA */
    text-align: center;
    padding: 24px 16px;
    height: auto !important;
  }

  .custom-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* DİKEY ORTALAMA */
    z-index: 2;
    text-align: center;
  }

  .custom-section h2 {
    font-size: 22px;
    margin-bottom: 12px;
    text-align: center;
  }

  .custom-items {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
    text-align: center;
  }

  .custom-btn {
    width: 100%;
    margin-top: 20px;
    font-size: 14px;
    padding: 12px 20px;
    text-align: center;
  }

  .custom-image {
    width: 100%;
    justify-content: center;
    align-items: center; /* DİKEY ORTALAMA */
    position: relative;
    margin-top: 24px;
    z-index: 1;
    text-align: center;
  }

  .custom-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    margin-bottom: 0;
  }

  .slot__title {
    display: none;
  }
}
