/* ===============================
   HAMSİBAHİS CUSTOM FINAL CSS
================================ */

:root {
  --hamsi-red: #dd0045;
  --hamsi-red-dark: #8f002d;
  --hamsi-blue: #083b78;
  --hamsi-dark: #070b12;
  --hamsi-panel: #0b1220;
  --hamsi-soft: #101827;
}

/* HEADER */
header {
  background: rgba(7, 11, 18, 0.94) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  z-index: 80 !important;
}

header img {
  max-height: 52px;
}

header nav ul {
  gap: 10px !important;
}

header nav ul li a {
  border-radius: 999px !important;
  padding: 10px 14px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: .2px;
}

header nav ul li a:hover {
  background: rgba(221, 0, 69, 0.16) !important;
  color: var(--hamsi-red) !important;
}

header button,
header .cursor-pointer {
  border-radius: 14px !important;
}

header .cursor-pointer {
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
}

header .cursor-pointer:hover {
  background: rgba(221, 0, 69, 0.12);
}

@media (max-width: 768px) {
  header .h-16 {
    height: 64px !important;
  }

  header img {
    max-height: 42px !important;
  }

  header .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  header .gap-2 {
    gap: 6px !important;
  }

  header .cursor-pointer {
    padding: 4px 6px;
  }

  header button.lg\:hidden {
    background: rgba(221, 0, 69, 0.18) !important;
    border: 1px solid rgba(221, 0, 69, 0.35);
  }
}

/* GRID ORTALAMA */
@media (min-width: 768px) {
  .row-auto {
    justify-content: center !important;
  }
}

/* ===============================
   DUYURU BAR
================================ */

#custom-info-bar-area {
  width: 100%;
  padding: 0 16px;
  margin: 10px 0 16px;
  position: relative;
  z-index: 40 !important;
}

#custom-info-bar-area * {
  box-sizing: border-box;
}

#custom-info-bar-area .gb-info-bar-area {
  height: 45px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(90deg, #070b12, #111a28, #070b12);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

#custom-info-bar-area .gb-info-icon {
  width: 46px;
  height: 45px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hamsi-red);
  color: #fff;
  font-size: 18px;
  z-index: 2;
}

#custom-info-bar-area .gb-scroll-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

#custom-info-bar-area .gb-marquee-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 80px;
  padding-left: 100%;
  animation: hamsiMarquee 35s linear infinite;
}

#custom-info-bar-area .gb-marquee-text {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

#custom-info-bar-area .gb-info-close {
  width: 38px;
  height: 38px;
  min-width: 38px;
  margin-right: 4px;
  border-radius: 10px;
  background: rgba(221,0,69,.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#custom-info-bar-area .gb-info-close:hover {
  background: var(--hamsi-red);
}

@keyframes hamsiMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (max-width: 768px) {
  #custom-info-bar-area {
    padding: 0 10px;
    margin: 8px 0 12px;
  }

  #custom-info-bar-area .gb-info-bar-area {
    height: 40px;
  }

  #custom-info-bar-area .gb-info-icon {
    width: 42px;
    height: 40px;
    min-width: 42px;
  }

  #custom-info-bar-area .gb-marquee-text {
    font-size: 12px;
  }

  #custom-info-bar-area .gb-marquee-wrapper {
    animation-duration: 24s;
  }
}

/* Popup açılınca duyuru üstte kalmasın */
[role="dialog"],
.fixed.inset-0,
[data-state="open"] {
  z-index: 9999 !important;
}

/* ===============================
   SADECE ANA BANNER SLIDER EFEKTİ
================================ */

[data-hamsi-enhanced="1"] {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.06);
}

[data-hamsi-enhanced="1"] img[alt="Slide"] {
  transform: none !important;
  animation: none !important;
  filter: contrast(1.04) saturate(1.06);
}

[data-hamsi-enhanced="1"] .hamsi-extra-glow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background:
    linear-gradient(120deg, transparent 25%, rgba(255,255,255,.08) 45%, transparent 65%),
    radial-gradient(circle at 70% 30%, rgba(221,0,69,.16), transparent 25%);
  mix-blend-mode: screen;
  opacity: .55;
  animation: hamsiSoftGlowMove 7s ease-in-out infinite;
}

[data-hamsi-enhanced="1"] .hamsi-particle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  overflow: hidden;
}

[data-hamsi-enhanced="1"] .hamsi-particle-layer span {
  position: absolute;
  bottom: -10px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  box-shadow:
    0 0 8px rgba(255,255,255,.7),
    0 0 14px rgba(221,0,69,.45);
  animation: hamsiParticleRise linear infinite;
  opacity: .45;
}

[data-hamsi-enhanced="1"]::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -80%;
  width: 40%;
  height: 180%;
  pointer-events: none;
  z-index: 6;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,.04) 30%,
    rgba(255,255,255,.30) 48%,
    rgba(221,0,69,.20) 55%,
    transparent 75%
  );
  transform: rotate(12deg);
  mix-blend-mode: screen;
  animation: hamsiHeroGlowPass 5.5s ease-in-out infinite;
}

[data-hamsi-enhanced="1"] ~ button[aria-label="Previous slide"],
[data-hamsi-enhanced="1"] ~ button[aria-label="Next slide"] {
  width: 52px !important;
  height: 52px !important;
  background: rgba(7,11,18,.55) !important;
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

[data-hamsi-enhanced="1"] ~ button[aria-label="Previous slide"]:hover,
[data-hamsi-enhanced="1"] ~ button[aria-label="Next slide"]:hover {
  background: rgba(221,0,69,.82) !important;
}

[data-hamsi-enhanced="1"] ~ div button[aria-label^="Go to slide"] {
  width: 34px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.32) !important;
}

[data-hamsi-enhanced="1"] ~ div button[aria-label^="Go to slide"].bg-white,
[data-hamsi-enhanced="1"] ~ div button[aria-label^="Go to slide"][class*="bg-white scale"] {
  background: var(--hamsi-red) !important;
  box-shadow: 0 0 14px rgba(221,0,69,.9);
}

@keyframes hamsiHeroGlowPass {
  0% { left: -80%; opacity: 0; }
  18% { opacity: .9; }
  55% { opacity: .7; }
  100% { left: 135%; opacity: 0; }
}

@keyframes hamsiSoftGlowMove {
  0% { opacity: .35; transform: translateX(-4%); }
  50% { opacity: .7; transform: translateX(4%); }
  100% { opacity: .35; transform: translateX(-4%); }
}

@keyframes hamsiParticleRise {
  0% { transform: translateY(0) scale(.8); opacity: 0; }
  20% { opacity: .55; }
  100% { transform: translateY(-420px) scale(1.4); opacity: 0; }
}

@media (max-width: 768px) {
  [data-hamsi-enhanced="1"] {
    height: 250px !important;
    border-radius: 12px;
  }

  [data-hamsi-enhanced="1"] ~ button[aria-label="Previous slide"],
  [data-hamsi-enhanced="1"] ~ button[aria-label="Next slide"] {
    width: 42px !important;
    height: 42px !important;
  }

  [data-hamsi-enhanced="1"] ~ div button[aria-label^="Go to slide"] {
    width: 22px !important;
    height: 5px !important;
  }
}


/* HAMSİ VIP CANLI DESTEK FIX */

.fixed.bottom-0.md\:bottom-6.right-0.md\:right-6.z-50 {
    border: none !important;
}

.fixed.bottom-0.md\:bottom-6.right-0.md\:right-6.z-50 > div:first-child {
  background: linear-gradient(135deg,#dd0045,#8f002d) !important;
  min-height: 78px !important;
}

.fixed.bottom-0.md\:bottom-6 .flex-1.p-6.flex.flex-col.justify-center.bg-white {
  background: linear-gradient(180deg,#111827,#0b1220) !important;
  padding: 14px !important;
  justify-content: flex-start !important;
  overflow-y: auto !important;
}

/* Eski formu tamamen gizle */
.fixed.bottom-0.md\:bottom-6 .flex-1.p-6.flex.flex-col.justify-center.bg-white > .text-center,
.fixed.bottom-0.md\:bottom-6 .flex-1.p-6.flex.flex-col.justify-center.bg-white > .space-y-4 {
  display: none !important;
}

/* VIP blok */
.hamsi-vip-support {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hamsi-secure-bar,
.hamsi-online-row,
.hamsi-vip-card,
.hamsi-channel {
  background: #151d2d;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
}

.hamsi-secure-bar {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  color: #cbd5e1;
  font-size: 12px;
}

.hamsi-secure-bar b {
  color: #22c55e;
}

.hamsi-online-row {
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:10px 14px;
}

.hamsi-online-viewport {
  width:100%;
  overflow:hidden;
}

.hamsi-online-track {
  display:flex;
  gap:30px;
  white-space:nowrap;
  animation:hamsiOnlineScroll 18s linear infinite;
}

.hamsi-online-track span {
  color:#e5e7eb;
  font-size:13px;
  font-weight:700;
}

.hamsi-online-track span::before {
  content:"●";
  color:#22c55e;
  margin-right:8px;
}
.hamsi-vip-card {
  padding: 16px;
}

.hamsi-agent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hamsi-agent-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg,#dd0045,#083b78);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.hamsi-agent h4 {
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  margin: 0 !important;
}

.hamsi-agent p {
  color: #9ca3af !important;
  font-size: 12px !important;
  margin: 2px 0 0 !important;
}

.hamsi-vip-desc {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.5;
}

.hamsi-safe-badge {
  width: fit-content;
  margin: 12px auto;
  padding: 5px 10px;
  border-radius: 999px;
  color: #d6b46a;
  background: rgba(214,180,106,.10);
  border: 1px solid rgba(214,180,106,.22);
  font-size: 11px;
  font-weight: 800;
}

.hamsi-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: none;
  font-weight: 900;
  font-size: 14px;
  margin-top: 8px;
  cursor: pointer;
}

.hamsi-btn-red {
  background: linear-gradient(135deg,#dd0045,#9b0032);
  color: #fff;
}

.hamsi-btn-gold {
  background: linear-gradient(
    135deg,
    #25b7ee 0%,
    #1ea7e1 45%,
    #118ac0 100%
  ) !important;

  color: #ffffff !important;

  box-shadow:
    0 12px 28px rgba(30,167,225,.30),
    inset 0 1px rgba(255,255,255,.15);

  border: 1px solid rgba(255,255,255,.08);
}

.hamsi-btn-gold:hover {
  background: linear-gradient(
    135deg,
    #35c5fa 0%,
    #28b4ed 50%,
    #1498d1 100%
  ) !important;

  transform: translateY(-1px);
}
.hamsi-btn-outline {
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.12);
  line-height: 1.35;
}

.hamsi-channels-title {
  color: #d6b46a;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 900;
  margin: 6px 2px;
}

.hamsi-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  transition: .2s;
}

.hamsi-channel:hover {
  background: rgba(221,0,69,.12);
  border-color: rgba(221,0,69,.35);
}

.hamsi-channel-icon {
  font-size: 22px;
}

.hamsi-channel strong {
  color: #fff;
  font-size: 14px;
}

.hamsi-channel small {
  color: #9ca3af;
  font-size: 11px;
}

@keyframes hamsiOnlineScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .fixed.bottom-0.md\:bottom-6.right-0.md\:right-6.z-50 {
    top: 88px !important;
    height: calc(100dvh - 88px) !important;
    width: 100% !important;
    border-radius: 0 !important;
  }

  .fixed.bottom-0.md\:bottom-6.right-0.md\:right-6.z-50 > div:first-child {
    padding-top: 14px !important;
    min-height: 76px !important;
  }
}

/* Sistemin kendi Görüşmeye Başla butonunu gizle */

.fixed.bottom-0.md\:bottom-6
.flex-1.p-6.flex.flex-col.justify-center.bg-white
> button:first-of-type {
    display: none !important;
}

/* Chrome - Edge - Opera */

.fixed.bottom-0.md\:bottom-6 .flex-1::-webkit-scrollbar {
    width: 8px;
}

.fixed.bottom-0.md\:bottom-6 .flex-1::-webkit-scrollbar-track {
    background: #0b1220;
    border-radius: 20px;
}

.fixed.bottom-0.md\:bottom-6 .flex-1::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #dd0045,
        #9b0032
    );
    border-radius: 20px;
    border: 2px solid #0b1220;
}

.fixed.bottom-0.md\:bottom-6 .flex-1::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #f00655,
        #b00038
    );
}

/* KÜÇÜLTÜLMÜŞ CANLI DESTEK BUTONU - FINAL */

/* Ana buton: her zaman yuvarlak Hamsi kırmızısı */
.fixed.bottom-20.md\:bottom-6.right-4.md\:right-6.z-50 button {
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #dd0045 0%, #b00038 55%, #7a0026 100%) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow:
    0 14px 34px rgba(221,0,69,.45),
    0 0 26px rgba(221,0,69,.34) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  overflow: visible !important;
}

/* İçindeki Destek yazısını tamamen kaldır */
.fixed.bottom-20.md\:bottom-6.right-4.md\:right-6.z-50 button span {
  display: none !important;
}

/* İkon */
.fixed.bottom-20.md\:bottom-6.right-4.md\:right-6.z-50 button svg {
  width: 28px !important;
  height: 28px !important;
  color: #fff !important;
  stroke: #fff !important;
}

/* Hover’da buton şekli değişmesin */
.fixed.bottom-20.md\:bottom-6.right-4.md\:right-6.z-50 button:hover {
  width: 62px !important;
  height: 62px !important;
  border-radius: 999px !important;
  transform: scale(1.07) !important;
  background: linear-gradient(135deg, #f00655 0%, #b00038 100%) !important;
}

/* Pulse halka */
.fixed.bottom-20.md\:bottom-6.right-4.md\:right-6.z-50 button::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  border: 2px solid rgba(221,0,69,.35);
  animation: hamsiMiniSupportPulse 2.4s infinite;
  pointer-events: none;
}

/* Hover tooltip */
.fixed.bottom-20.md\:bottom-6.right-4.md\:right-6.z-50 button::after {
  content: "Canlı Destek";
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(7,11,18,.96);
  color: #fff;
  border: 1px solid rgba(221,0,69,.28);
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

.fixed.bottom-20.md\:bottom-6.right-4.md\:right-6.z-50 button:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes hamsiMiniSupportPulse {
  0% { transform: scale(.9); opacity: .75; }
  100% { transform: scale(1.32); opacity: 0; }
}

/* Mobilde tooltip kapalı kalsın */
@media (max-width: 768px) {
  .fixed.bottom-20.md\:bottom-6.right-4.md\:right-6.z-50 button {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
  }

  .fixed.bottom-20.md\:bottom-6.right-4.md\:right-6.z-50 button:hover {
    width: 56px !important;
    height: 56px !important;
  }

  .fixed.bottom-20.md\:bottom-6.right-4.md\:right-6.z-50 button::after {
    display: none !important;
  }
}