/* Anadolu Finans promo — card + wide (embedded on kredisorgula ana sayfa) */

/* ═══════════════════════════════════════════
   CARD BANNER (mobile-first, square-ish)
═══════════════════════════════════════════ */
.banner-card {
  width: min(380px, 100%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 30px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(0,31,91,0.3);
  background: #ffffff;
  animation: cardEntrance 0.9s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes cardEntrance {
  from { opacity: 0; transform: scale(0.85) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Top stripe */
.stripe {
  height: 6px;
  background: linear-gradient(90deg, #e63329 45%, #001F5B 45%);
  animation: stripeReveal 0.6s ease-out 0.3s both;
  transform-origin: left;
}
@keyframes stripeReveal {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Background decoration */
.card-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 110% 110%, rgba(0,31,91,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #f9fbff 0%, #eef3ff 100%);
  z-index: 0;
}

/* Floating circles decoration */
.deco-circles {
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  z-index: 0;
  overflow: hidden;
}
.deco-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,31,91,0.04);
}
.deco-circle:nth-child(1) { width: 160px; height: 160px; top: -60px; right: -60px; }
.deco-circle:nth-child(2) { width: 100px; height: 100px; top: 20px; right: 20px; background: rgba(230,51,41,0.04); }

.card-inner {
  position: relative;
  z-index: 1;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* LOGO area */
.logo-block {
  animation: fadeSlideDown 0.7s ease-out 0.5s both;
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo-block img {
  width: 100%;
  max-width: 280px;
  display: block;
  object-fit: contain;
}

/* Divider */
.card-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(0,31,91,0.15), rgba(0,31,91,0.05));
  animation: expandWidth 0.5s ease-out 0.9s both;
  transform-origin: left;
}
@keyframes expandWidth {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Tagline */
.tagline {
  animation: fadeSlideUp 0.7s ease-out 1s both;
  text-align: center;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tagline p {
  font-size: 17px;
  font-weight: 800;
  color: #001F5B;
  line-height: 1.4;
  letter-spacing: -0.2px;
}
.tagline p span {
  color: #e63329;
}

/* Phone button */
.phone-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #001F5B 0%, #002d8a 100%);
  border-radius: 14px;
  padding: 16px 20px;
  animation: fadeSlideUp 0.7s ease-out 1.2s both;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.phone-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
}

.phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,31,91,0.35);
}

/* Shimmer on button */
.phone-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  animation: btnShimmer 2.5s ease-in-out 2s infinite;
}
@keyframes btnShimmer {
  0%   { left: -80%; }
  100% { left: 130%; }
}

.phone-icon-wrap {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: #e63329;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: iconPulse 2s ease-in-out 1.8s infinite;
}
@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,51,41,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(230,51,41,0); }
}

.phone-icon-wrap svg {
  width: 20px; height: 20px; fill: white;
}

.phone-info {
  position: relative;
  z-index: 1;
}
.phone-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.phone-number {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Tiny badge */
.cta-badge {
  text-align: center;
  animation: fadeSlideUp 0.6s ease-out 1.4s both;
}
.cta-badge span {
  display: inline-block;
  background: rgba(0,31,91,0.07);
  color: #001F5B;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
}

/* ═══════════════════════════════════════════
   WIDE BANNER (horizontal, desktop)
═══════════════════════════════════════════ */
.banner-wide {
  width: min(728px, 100%);
  height: 120px;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(230, 51, 41, 0.55);
  animation: cardEntrance 0.9s cubic-bezier(0.34,1.56,0.64,1) 0.2s both;
  display: flex;
  align-items: center;
}

.banner-wide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(230, 51, 41, 0.85);
  pointer-events: none;
  z-index: 2;
}

.wide-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f9fbff 0%, #eef3ff 100%);
}

.wide-stripe {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #e63329, #c0392b);
}

.wide-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: wideShimmer 3s ease-in-out 1.5s infinite;
}
@keyframes wideShimmer {
  0%   { left: -55%; }
  100% { left: 110%; }
}

.wide-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 24px;
  gap: 0;
}

.wide-logo {
  width: 200px;
  flex-shrink: 0;
  animation: fadeSlideDown 0.7s ease-out 0.6s both;
}
.wide-logo img {
  width: 100%;
  object-fit: contain;
}

.wide-divider {
  width: 1px;
  height: 60px;
  background: rgba(0,31,91,0.15);
  margin: 0 24px;
  flex-shrink: 0;
  animation: fadeIn 0.5s ease-out 0.9s both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.wide-content {
  flex: 1;
  animation: fadeSlideUp 0.7s ease-out 1s both;
}

.wide-content .wide-tagline {
  font-size: 15px;
  font-weight: 800;
  color: #001F5B;
  line-height: 1.3;
  margin-bottom: 8px;
}
.wide-content .wide-tagline span { color: #e63329; }

.wide-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wide-icon {
  width: 32px; height: 32px;
  background: #e63329;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  animation: iconPulse 2s ease-in-out 1.8s infinite;
}
.wide-icon svg { width: 16px; height: 16px; fill: white; }

.wide-phone-num {
  font-size: 20px;
  font-weight: 900;
  color: #001F5B;
  letter-spacing: 0.5px;
}

/* ─── Modal shell (ana sayfa ilk yükleme) ─── */
.anadolu-promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(15, 22, 36, 0.75);
  backdrop-filter: blur(5px);
}

.anadolu-promo-overlay.is-open {
  display: flex;
}

.anadolu-promo-overlay__panel {
  position: relative;
  max-width: 100%;
  max-height: 92vh;
  overflow: auto;
  padding-top: 8px;
}

.anadolu-promo-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: #001F5B;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.anadolu-promo-close:hover {
  background: #eef3ff;
  transform: scale(1.05);
}

.anadolu-banner-inline {
  padding: 8px 0 32px;
  display: flex;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
}

.anadolu-banner-inline .banner-wide {
  width: min(920px, 100%);
}

@media (max-width: 720px) {
  .banner-wide {
    height: auto;
    min-height: 0;
    min-height: 128px;
    border-radius: 14px;
  }

  .banner-wide .wide-inner {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }

  .banner-wide .wide-divider {
    display: none;
  }

  .banner-wide .wide-logo {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .banner-wide .wide-content {
    width: 100%;
    text-align: center;
  }

  .banner-wide .wide-tagline {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .banner-wide .wide-phone-row {
    gap: 8px;
    justify-content: center;
  }

  .banner-wide .wide-icon {
    width: 28px;
    height: 28px;
  }

  .banner-wide .wide-icon svg {
    width: 14px;
    height: 14px;
  }

  .banner-wide .wide-phone-num {
    font-size: 18px;
    letter-spacing: 0.2px;
    line-height: 1.2;
    word-break: keep-all;
    white-space: nowrap;
    margin-left: 0;
  }

  .anadolu-promo-overlay {
    padding: 14px 10px;
  }

  .anadolu-promo-overlay__panel {
    width: 100%;
    padding-top: 0;
    padding-right: 42px;
  }

  .anadolu-promo-close {
    top: -12px;
    right: -2px;
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
}