/* TacCasino — üst duyuru şeridi + ana sayfa popup */

.bb-ann-popup {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.bb-ann-popup:not(.hidden) {
  display: flex !important;
}

.bb-ann-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.bb-ann-popup__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: min(92vh, 620px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, #14100c 0%, #1a1510 42%, #080604 100%);
  border: 1px solid rgba(190, 154, 117, 0.45);
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  font-family: Roboto, Lato, Poppins, sans-serif;
}

.bb-ann-popup__hero {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  max-height: 240px;
  overflow: hidden;
  border-bottom: 1px solid rgba(190, 154, 117, 0.28);
  background: linear-gradient(180deg, #080604, #1a1510);
}

.bb-ann-popup__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 16, 26, 0.88) 100%);
}

.bb-ann-popup__hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  object-position: center top;
}

.bb-ann-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: background 0.2s ease;
}

.bb-ann-popup__close:hover {
  background: rgba(190, 154, 117, 0.65);
}

.bb-ann-popup__close i {
  font-size: 16px;
}

.bb-ann-popup__title {
  margin: 0;
  padding: 16px 52px 12px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.25;
}

.bb-ann-popup__body {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 22px 10px;
  flex: 1;
  min-height: 0;
}

.bb-ann-popup__body--no-img .bb-ann-popup__content {
  width: 100%;
}

.bb-ann-popup__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bb-ann-popup__text {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}

.bb-ann-popup__text p {
  margin: 0 0 10px;
  color: inherit;
}

.bb-ann-popup__text p:last-child {
  margin-bottom: 0;
}

.bb-ann-popup__text a {
  color: #d4bc82;
}

.bb-ann-popup__cta {
  display: block;
  width: 100%;
  text-align: center;
  background: #0a0a0a !important;
  color: #fff !important;
  border: 1px solid rgba(190, 154, 117, 0.4);
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.bb-ann-popup__cta:hover {
  background: linear-gradient(140deg, #f0ebe3, #be9a75) !important;
  border-color: #be9a75;
  color: #111 !important;
}

.bb-ann-popup__dismiss {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 18px;
  cursor: pointer;
  user-select: none;
  margin-top: auto;
}

.bb-ann-popup__dismiss-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: auto;
}

.bb-ann-popup__check {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  position: relative;
}

.bb-ann-popup__dismiss-input:checked + .bb-ann-popup__check {
  background: #be9a75;
  border-color: #be9a75;
}

.bb-ann-popup__dismiss-input:checked + .bb-ann-popup__check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.bb-ann-popup__dismiss-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
}

body.bb-ann-open,
html.bb-ann-open {
  overflow: hidden;
}

.bb-top-bar {
  position: relative;
  z-index: 10060;
  width: 100%;
  background: linear-gradient(90deg, #0c0a08 0%, #1a1510 28%, #14100c 50%, #1a1510 72%, #0c0a08 100%);
  border-bottom: 1px solid rgba(190, 154, 117, 0.38);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(212, 188, 130, 0.07);
  font-family: Roboto, Lato, Poppins, sans-serif;
}

.bb-top-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 188, 130, 0.04) 45%,
    rgba(190, 154, 117, 0.08) 50%,
    rgba(212, 188, 130, 0.04) 55%,
    transparent 100%
  );
  opacity: 0.85;
}

.bb-top-bar.bb-top-bar--hidden {
  display: none !important;
}

.bb-top-bar__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 58px;
  padding: 14px 48px 14px 14px;
  max-width: 1900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.bb-top-bar__chev {
  display: none !important;
}

.bb-top-bar__slider {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.bb-top-bar__ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.bb-top-bar__ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: bb-top-ticker-scroll var(--bb-ticker-duration, 22s) linear infinite;
}

.bb-top-bar__ticker-track.is-static {
  animation: none;
  justify-content: center;
  width: 100%;
}

.bb-top-bar__ticker-group {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-right: 48px;
}

.bb-top-bar__ticker-sep {
  color: rgba(212, 188, 130, 0.75);
  font-size: 10px;
  line-height: 1;
}

@keyframes bb-top-ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.bb-top-bar__slides {
  display: flex;
  width: 100%;
  transition: transform 0.42s ease-in-out;
  will-change: transform;
}

.bb-top-bar__slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  box-sizing: border-box;
}

.bb-top-bar__text-link {
  display: block;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.bb-top-bar__text {
  margin: 0;
  color: rgba(232, 235, 245, 0.96);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.bb-top-bar__hl {
  color: #f0ebe3;
  font-weight: 800;
  padding: 5px 11px;
  margin: 0 4px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(190, 154, 117, 0.32), rgba(26, 21, 16, 0.7));
  border: 1px solid rgba(212, 188, 130, 0.18);
  box-shadow: 0 0 14px rgba(190, 154, 117, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bb-top-bar__text-link:hover .bb-top-bar__text {
  color: #fff;
}

.bb-top-bar__text-link:hover .bb-top-bar__hl {
  color: #f0ebe3;
}

.bb-top-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 1px solid rgba(190, 154, 117, 0.3);
  border-radius: 8px;
  background: rgba(190, 154, 117, 0.16);
  color: #f0ebe3;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bb-top-bar__close:hover {
  color: #fff;
  background: rgba(190, 154, 117, 0.32);
  border-color: rgba(212, 188, 130, 0.35);
}

@media (max-width: 768px) {
  .bb-ann-popup {
    padding: 12px;
  }

  .bb-ann-popup__dialog {
    max-width: 100%;
    max-height: 94vh;
    border-radius: 18px;
  }

  .bb-ann-popup__hero {
    max-height: 200px;
  }

  .bb-ann-popup__hero-img {
    max-height: 200px;
  }

  .bb-ann-popup__title {
    font-size: 17px;
    padding: 14px 44px 10px;
  }

  .bb-ann-popup__body {
    flex-direction: column;
    gap: 0;
    padding: 0 16px 8px;
  }

  .bb-ann-popup__text {
    font-size: 13px;
    max-height: 140px;
  }

  .bb-ann-popup__dismiss {
    padding: 8px 16px 14px;
  }

  .bb-top-bar__inner {
    min-height: 52px;
    padding: 12px 42px 12px 12px;
    gap: 0;
  }

  .bb-top-bar__slide {
    padding: 10px 8px;
  }

  .bb-top-bar__text {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .bb-top-bar__hl {
    padding: 4px 9px;
  }

  .bb-top-bar__close {
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
}
