/* =========================
   BASE
========================= */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0c0c0f url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
  background-size: cover;
  color: #fff;
  /* Inline <style>’daki body padding-top’ı ezmek için override en sonda gelecek */
  padding-top: 110px;
}

/* =========================
   CONTAINER
========================= */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 24px 12px;
  max-width: 1320px;
  margin: auto;
  box-sizing: border-box;
}

/* =========================
   CARD WRAPPER & CARD (SÜPER KOMPAKT)
========================= */
.card-wrapper {
  flex: 1 1 calc(20% - 16px);
  box-sizing: border-box;
  max-width: 200px;           /* 220 → 200: kart dış boyutu küçüldü */
  position: relative;
}

/* Breakpoints (420 → 360 px tek sütun) */
@media (max-width: 1100px) { .card-wrapper { flex: 1 1 calc(25% - 16px); } }
@media (max-width: 800px)  { .card-wrapper { flex: 1 1 calc(33.33% - 16px); } }
@media (max-width: 600px)  { .card-wrapper { flex: 1 1 calc(50% - 16px); } }
@media (max-width: 360px)  { .card-wrapper { flex: 1 1 100%; max-width: none; } }

.card {
  background: linear-gradient(145deg, #1a1a1d, #111);
  border: 1px solid var(--accent, rgba(0,255,255,0.18)); /* 2px → 1px */
  border-radius: 12px;         /* 14 → 12 */
  padding: 10px;               /* 14 → 10: iç boşluk azaltıldı */
  text-align: center;
  box-shadow: 0 0 10px var(--accent, rgba(0,255,255,0.05));
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  box-shadow: 0 0 14px var(--accent, rgba(0,255,255,0.22));
  transform: translateY(-2px);
}

/* — LOGO BLOĞUNU EN MİNİMALE İNDİR — */
.card .logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 0;             /* 12px → 2px: üst/alt boşluk neredeyse yok */
}

.card .logo-wrapper img {
  display: block;
  width: auto;
  height: 96px;               /* 110 → 96: kart küçülünce orantı */
  max-width: 100%;
  object-fit: contain;
  padding: 0;                  /* 6 → 0: görsel kenar boşluğu kaldırıldı */
  background: transparent;     /* #191919 → none: gri arka kutu kalktı */
  border-radius: 6px;          /* 10 → 6: daha sıkı */
  filter: drop-shadow(0 0 4px #00f2ff55); /* yumuşak parlama */
}

/* — METNİ YUKARI ÇEK — */
.card h2 {
  font-size: 15px;             /* 16 → 15 */
  margin: 6px 0 4px;           /* Üste yakın */
  color: var(--accent, #00f2ff);
  line-height: 1.2;
}

.card p {
  font-size: 12.5px;           /* 13 → 12.5 */
  color: #cfd8dc;
  margin: 4px 0 8px;           /* boşluk azaltıldı */
  min-height: 0;               /* 26px zorunlu yükseklik kaldırıldı */
}

/* — BUTONU KÜÇÜLT — */
.card .btn {
  background: linear-gradient(to right, var(--accent, #00f2ff), #0ff);
  color: #000;
  font-weight: 700;
  font-size: 12.5px;           /* 13 → 12.5 */
  padding: 6px 12px;           /* 6x14 → 6x12 */
  border-radius: 16px;         /* 18 → 16 */
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent, #00f2ff66);
  transition: 0.2s;
}
.card .btn:hover {
  background: linear-gradient(to right, #0ff, var(--accent, #00f2ff));
  box-shadow: 0 0 14px var(--accent, #00f2ffaa);
}

/* =========================
   TOP BANNER (GENEL STİL)
   — Pozisyon & yerleşim en sonda override edilecek
========================= */
.top-banner {
  width: 100%;
  background: #0c0c0f;
  text-align: center;
  z-index: 9999;
  padding: 12px 10px;          /* 15 → 12: bar daha ince */
  box-shadow: 0 2px 12px rgba(0, 255, 255, 0.15);
  border-bottom: 2px solid #00f2ff;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;                    /* 15 → 12 */
  flex-wrap: nowrap;
  overflow-x: visible;
}

@media (max-width: 820px) {
  .top-banner { justify-content: center; flex-wrap: wrap; row-gap: 8px; }
}

.top-banner a { flex: 0 0 auto; }

.top-banner img {
  height: 72px;                /* 80 → 72 */
  width: auto;
  max-width: 200px;
  object-fit: contain;
  border-radius: 14px;          /* 16 → 14 */
  padding: 6px 10px;            /* 6x12 → 6x10 */
  background: #111;
  box-shadow: 0 0 18px #00f2ff88, 0 0 8px #00f2ff44;
  border: 2px solid #00f2ff;
  transition: 0.3s ease;
}

.top-banner img:hover {
  transform: scale(1.04);
  box-shadow: 0 0 26px #00f2ffaa, 0 0 16px #00f2ff88;
}

.top-banner .finder-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;                /* 80 → 72 */
  padding: 6px 10px;           /* 6x12 → 6x10 */
  background: #111;
  border: 2px solid #00f2ff;
  border-radius: 14px;         /* 16 → 14 */
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 18px #00f2ff88, 0 0 8px #00f2ff44;
  transition: 0.3s ease;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .top-banner img { height: 60px; padding: 4px 8px; border-radius: 12px; }
  .top-banner .finder-btn { height: 60px; padding: 4px 10px; font-size: 14px; border-radius: 12px; }
}
@media (max-width: 380px) {
  .top-banner img { height: 54px; padding: 3px 6px; }
  .top-banner .finder-btn { height: 54px; padding: 3px 8px; font-size: 13px; }
}

/* =========================
   POPUP (BASE)
========================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1px);
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px;
  overflow-y: auto;
  box-sizing: border-box;
}

.popup-box {
  position: relative;
  background: #0c0c0f;
  width: min(680px, 100%);
  padding: 22px;               /* 24 → 22 */
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 40px #ff660088;
  border: 2px solid #ff6600;
  cursor: pointer;
  box-sizing: border-box;
  margin: 10px 0;
}

.popup-box h2 {
  color: #ff6600;
  font-size: 19px;             /* 20 → 19 */
  text-shadow: 0 0 10px #ff6600;
  margin-bottom: 14px;         /* 18 → 14 */
  font-weight: bold;
  line-height: 1.35;
  pointer-events: none;
}

.popup-btn {
  display: inline-block;
  padding: 9px 18px;           /* 10x20 → 9x18 */
  background: #0c0c0f;
  color: #ff6600;
  font-weight: bold;
  font-size: 14px;             /* 15 → 14 */
  border: 2px solid #ff6600;
  border-radius: 10px;
  box-shadow: 0 0 12px #ff660088;
  text-decoration: none;
}

@media (max-width: 560px) {
  .popup-box { padding: 18px; border-radius: 14px; }
  .popup-box h2 { font-size: 17px; margin-bottom: 12px; }
  .popup-btn { font-size: 13px; padding: 8px 16px; }
}

/* =========================
   HIGHLIGHT COLORS
========================= */
.highlight-green { color: #22c55e; font-weight: 900; }
.highlight-blue  { color: #3b82f6; font-weight: 900; }
.highlight-red   { color: #ef4444; font-weight: 900; }

/* =========================
   POPUP NEON EFFECTS
   (MAVİ AĞIRLIKLI TEMA)
========================= */
.popup-overlay {
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(59,130,246,.22), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, rgba(56,189,248,.18), transparent 65%),
    rgba(0,0,0,.60);
  animation: overlayBreath 6s ease-in-out infinite;
}
@keyframes overlayBreath {
  0%,100% { backdrop-filter: blur(0px); }
  50%     { backdrop-filter: blur(1px); }
}

.popup-box {
  background: rgba(10,10,14,.92);
  border: 2px solid transparent;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 28px rgba(59,130,246,.55),
    0 0 36px rgba(37,99,235,.45),
    0 0 46px rgba(56,189,248,.40);
  animation: neonFlash 1.8s ease-in-out infinite;
}
.popup-box::before,
.popup-box::after { pointer-events: none; }

@keyframes neonFlash {
  0%{
    box-shadow:
      0 0 0 1px rgba(255,255,255,.08) inset,
      0 0 18px rgba(59,130,246,.45),
      0 0 24px rgba(37,99,235,.35),
      0 0 30px rgba(56,189,248,.30);
  }
  50%{
    box-shadow:
      0 0 0 1px rgba(255,255,255,.10) inset,
      0 0 32px rgba(59,130,246,.95),
      0 0 44px rgba(37,99,235,.85),
      0 0 60px rgba(56,189,248,.80);
  }
  100%{
    box-shadow:
      0 0 0 1px rgba(255,255,255,.08) inset,
      0 0 18px rgba(59,130,246,.45),
      0 0 24px rgba(37,99,235,.35),
      0 0 30px rgba(56,189,248,.30);
  }
}

#promoTitle {
  color: #e6f3ff;
  text-shadow:
    0 0 6px rgba(56,189,248,.9),
    0 0 18px rgba(59,130,246,.8),
    0 0 32px rgba(37,99,235,.6);
  animation: titleGlow 3.8s ease-in-out infinite;
}
@keyframes titleGlow {
  0%,100% {
    text-shadow:
      0 0 5px rgba(56,189,248,.8),
      0 0 16px rgba(59,130,246,.75),
      0 0 28px rgba(37,99,235,.45);
    transform: translateY(0);
  }
  50% {
    text-shadow:
      0 0 10px rgba(56,189,248,1),
      0 0 26px rgba(59,130,246,.95),
      0 0 52px rgba(37,99,235,.75);
    transform: translateY(-1px);
  }
}

/* Popup button neon + pulse (MAVİ TEMA) */
.popup-overlay .popup-btn {
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  border: none;
  font-weight: 800;
  box-shadow:
    0 0 22px rgba(59,130,246,.9),
    0 0 40px rgba(37,99,235,.75);
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .2s ease;
  animation: btnPulse 2s ease-in-out infinite;
}
.popup-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 0 26px rgba(59,130,246,1),
    0 0 54px rgba(37,99,235,.9);
}
@keyframes btnPulse {
  0%,100%{
    box-shadow:
      0 0 22px rgba(59,130,246,.9),
      0 0 40px rgba(37,99,235,.75);
  }
  50%{
    box-shadow:
      0 0 30px rgba(59,130,246,1),
      0 0 60px rgba(37,99,235,.9);
  }
}

.popup-close{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 0 10px rgba(148,163,184,.25);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.popup-close:hover{
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 0 16px rgba(59,130,246,.75),
    0 0 28px rgba(37,99,235,.55);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .popup-overlay,
  .popup-box::before,
  .popup-box::after,
  #promoTitle,
  .popup-btn,
  .popup-btn::after { animation: none !important; }
}

/* =====================================================
   OVERRIDE: TOP-BANNER’I ALTA SABİTLE
===================================================== */

/* Bar yüksekliği için değişken; responsive’ta güncelliyoruz */
:root { --topbar-h: 72px; }     /* 80 → 72: bar küçüldü */
@media (max-width: 560px) { :root { --topbar-h: 60px; } }
@media (max-width: 380px) { :root { --topbar-h: 54px; } }

/* İçerik altta sabit barın altında kalmasın (iPhone safe area ile) */
body {
  padding-top: 0 !important;
  padding-bottom: calc(var(--topbar-h) + env(safe-area-inset-bottom)) !important;
}

/* Banner’ı altta sabit yap */
.top-banner{
  position: fixed !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2147483000 !important; /* popup (2147483647) altında kalsın */
  border-bottom: none !important;
  border-top: 2px solid #00f2ff !important;
  box-shadow: 0 -2px 12px rgba(0, 255, 255, 0.15) !important; /* gölge yukarı */
}

/* Mobilde yatay taşma ve kaydırma davranışı */
@media (max-width: 900px){
  .top-banner{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch;
    justify-content:flex-start !important;
    align-items:center !-important;
    gap:12px !important;
    padding:10px 8px !important;
  }
  .top-banner a,
  .top-banner .finder-btn{ flex:0 0 auto !important; }
  .top-banner img{ height:60px !important; width:auto !important; }
  .top-banner .finder-btn{
    height:60px !important; padding:4px 10px !important; font-size:14px !important; border-radius:12px !important;
  }
}
@media (max-width: 420px){
  .top-banner img{ height:54px !important; }
  .top-banner .finder-btn{
    height:54px !important; padding:3px 8px !important; font-size:13px !important;
  }
}

/* === KART YÜKSEKLİĞİ SABİTLEME — METNİ KISALT, BUTONU ALTA SABİTLE === */
.card{
  display: flex;               /* kartı dikey esnek yap */
  flex-direction: column;
}
.card .info{
  display: flex;               /* başlık + açıklama + buton */
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;              /* içerik alanı esnesin */
}

/* Başlık: 1 satır, taşanı kes */
.card h2{
  line-height: 1.2;
  min-height: 1.2em;           /* 1 satırlık yer ayır */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

/* Açıklama: 2 satır, taşanı kes — boy sabit kalsın */
.card p{
  line-height: 1.35;
  min-height: calc(2 * 1.35em);/* 2 satırlık yer ayır */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  margin: 4px 0 8px;           /* (dosyandaki mevcut değerle uyumlu) */
}

/* Buton: her zaman kartın en altında dursun */
.card .btn{
  margin-top: auto;
}

/* === KART AÇIKLAMASINI 3 SATIR GÖSTER (TAVSİYE EDİLEN) === */
.card{
  display:flex;
  flex-direction:column;
}
.card .info{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
}

/* Başlık sabit kalıyor */
.card h2{
  line-height:1.2;
  min-height:1.2em;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:normal;
}

/* Açıklama: en fazla 3 satır */
.card p{
  line-height:1.35;
  min-height:calc(3 * 1.35em);      /* 3 satır alan ayır */
  display:-webkit-box;
  -webkit-line-clamp:3;             /* maksimum 3 satır */
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:normal;
  margin:4px 0 8px;
}

/* Buton: her zaman altta hizalı */
.card .btn{
  margin-top:auto;
}

/* === 1) POPUP BUTONLARI MOBİLDE ALT ALTA DÜZGÜN SIRALANSIN === */
.popup-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;                 /* geniş ekranda yan yana, dar ekranda sar */
  justify-content: center;
}
.popup-actions .popup-btn {
  min-width: 180px;
}

@media (max-width: 560px) {
  .popup-actions {
    flex-direction: column;        /* dar ekranda alt alta diz */
    align-items: stretch;          /* tam genişlik */
    gap: 12px;
  }
  .popup-actions .popup-btn {
    width: 100%;
    height: auto;                  /* sabit yükseklik varsa bozsun */
    line-height: 1.2;
    padding: 12px 14px;
    text-align: center;
  }
}

/* === 2) PROMO KOD BLOĞUNU POPUP'IN EN ALTINA, DAHA GÖRÜNÜR HALE GETİR === */

/* Kutuyu esnek yapalım ki footer hep altta dursun */
.popup-box {
  display: flex;
  flex-direction: column;
}

/* Footer alanı en alta itilsin */
.popup-footer {
  margin-top: auto;                /* içeriğe göre otomatik en alta */
}

/* Promokod bölümü – daha “janjanlı” */
.copy-wrap {
  position: relative;
  margin-top: 16px;
  padding: 14px 12px;
  border-radius: 12px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(76,201,240,.18), transparent 60%),
    radial-gradient(120% 140% at 100% 100%, rgba(34,197,94,.16), transparent 60%),
    rgba(15,17,22,.9);
  border: 1px solid rgba(76,201,240,.35);
  box-shadow:
    0 0 20px rgba(76,201,240,.35),
    0 0 36px rgba(34,197,94,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.copy-wrap::before {
  content: "Promokod";
  position: absolute;
  top: -10px;
  left: 12px;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: .3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #3b82f6);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 0 10px rgba(59,130,246,.6);
}

.copy-code {
  background: #0f172a;
  color: #a7f3d0;
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 18px;
  letter-spacing: 1px;
  border: 1px solid rgba(167,243,208,.35);
  box-shadow: inset 0 0 12px rgba(34,197,94,.25),
              0 0 16px rgba(56,189,248,.25);
}

.copy-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 900;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .2s ease;
  box-shadow: 0 0 20px rgba(34,197,94,.55);
}
.copy-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(34,197,94,.75), 0 0 40px rgba(59,130,246,.45);
}

/* Alt kısımda küçük durum metni */
.copy-status {
  text-align: center;
  margin-top: 8px;
  color: #86efac; /* yeşil */
  font-weight: 700;
  text-shadow: 0 0 8px rgba(34,197,94,.5);
}

/* Küçük ekranlarda promokod bloğu daha sıkı */
@media (max-width: 560px) {
  .copy-code { font-size: 16px; padding: 8px 12px; }
  .copy-btn  { padding: 9px 12px; }
}

.card .info p {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 500;
  color: #e0eaf6;
}

@media (max-width: 600px) {
  .card .info p {
    font-size: 1.05rem;
  }
}

/* === Uzun açıklama metinlerinin kesilmesini engelle === */
.card .info p {
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
  display: block !important;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 500;
  color: #e0eaf6;
}

/* === Kart açıklama metni: dengeli boy, taşma yok === */
.card .info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 160px; /* toplam yüksekliği sabit tutar */
  overflow: hidden;
}

.card .info p {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
  color: #e0eaf6;
  margin: 6px 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* maksimum 2 satır göster */
  -webkit-box-orient: vertical;
  white-space: normal;
}

/* === Popup kapatma butonu (küçük, sağ üstte, şık görünüm) === */
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;             /* sağ üst köşe */
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.popup-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* === Popup butonları: daha canlı neon yeşil parlama === */
/* (Bu bölüm ekstra override, istersen bunu da maviye çekebiliriz) */
.popup-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow:
    0 0 10px rgba(34, 197, 94, 0.7),
    0 0 20px rgba(34, 197, 94, 0.5),
    inset 0 0 6px rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.popup-btn:hover {
  background: linear-gradient(135deg, #32e875, #22c55e);
  box-shadow:
    0 0 20px rgba(34, 197, 94, 0.9),
    0 0 40px rgba(34, 197, 94, 0.6),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* === MOBİLDE POPUP BUTONLARININ TAŞMASINI %100 ENGELLE === */
@media (max-width: 640px) {
  .popup-actions {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .popup-btn {
    width: 100% !important;          /* tam genişlik */
    max-width: 100% !important;
    box-sizing: border-box !important;/* padding genişliğe dahil */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* === Popup'ı mobilde ekrana ortala (üste yapışmasın) === */
@media (max-width: 640px) {
  .popup-overlay {
    align-items: center !important;   /* dikey ortalama */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .popup-box {
    margin: 0 auto !important;        /* üst boşluğu sıfırla */
    transform: translateY(0) !important;
  }
}

/* =========================
   POPUP – MAVİ TAM TEMA
========================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(59,130,246,.22), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, rgba(56,189,248,.18), transparent 65%),
    rgba(0,13,30,.70);
  backdrop-filter: blur(1px);
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px;
  overflow-y: auto;
  box-sizing: border-box;
}

.popup-box {
  position: relative;
  background: #071426;
  width: min(680px, 100%);
  padding: 22px;
  border-radius: 16px;
  text-align: center;

  border: 2px solid #00aaff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 30px rgba(0,153,255,.5),
    0 0 50px rgba(0,100,255,.35);

  animation: neonBlue 2.2s ease-in-out infinite;
}

@keyframes neonBlue {
  0%,100% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,.06) inset,
      0 0 28px rgba(0,153,255,.45),
      0 0 40px rgba(0,100,255,.32);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,.10) inset,
      0 0 42px rgba(0,170,255,.95),
      0 0 70px rgba(0,130,255,.75);
  }
}

.popup-box h2 {
  color: #4ccaff;
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 14px;
  text-shadow:
    0 0 12px rgba(0,180,255,0.85),
    0 0 26px rgba(0,130,255,0.65);
}

.popup-btn {
  display: inline-block;
  padding: 9px 18px;
  background: #071426;
  color: #4ccaff;
  border: 2px solid #009dff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;

  box-shadow:
    0 0 14px rgba(0,150,255,0.55),
    0 0 30px rgba(0,100,255,0.35);

  cursor: pointer;
  text-decoration: none;
  transition: .2s ease;
}

.popup-btn:hover {
  background: #0a2038;
  color: #ffffff;
  box-shadow:
    0 0 24px rgba(0,180,255,0.75),
    0 0 50px rgba(0,130,255,0.55);
  transform: translateY(-1px);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .2s ease;
}

.popup-close:hover {
  background: rgba(255,255,255,.25);
  transform: scale(1.08);
  box-shadow:
    0 0 16px rgba(0,170,255,.85),
    0 0 26px rgba(0,130,255,.55);
}

/* Mobil */
@media (max-width: 560px) {
  .popup-box { padding: 18px; border-radius: 14px; }
  .popup-box h2 { font-size: 17px; }
  .popup-btn { font-size: 13px; padding: 8px 16px; }
}

/* === EN ÜSTTE ÖNE ÇIKAN BÜYÜK KUTUCUK (HERO) === */

.hero-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 12px 0;
  box-sizing: border-box;
}

.hero-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;

  background:
    radial-gradient(120% 160% at 0% 0%, rgba(59,130,246,0.28), transparent 60%),
    radial-gradient(120% 160% at 100% 100%, rgba(45,212,191,0.22), transparent 60%),
    #050811;
  border: 1px solid var(--accent, #00f2ff);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 30px rgba(56,189,248,0.6),
    0 0 60px rgba(37,99,235,0.45);
  text-decoration: none;
  color: #ffffff;
  overflow: hidden;
}

.hero-card:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 0 40px rgba(56,189,248,0.9),
    0 0 80px rgba(37,99,235,0.7);
  transform: translateY(-1px);
  transition: 0.2s ease;
}

.hero-info {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(148,163,184,0.5);
  color: #e0f2fe;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 22px;
  margin: 0 0 6px;
  line-height: 1.2;
  color: #f9fafb;
}

.hero-slogan {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #cbd5f5;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  background: linear-gradient(135deg, var(--accent, #00f2ff), #0ea5e9);
  color: #021319;
  box-shadow:
    0 0 16px rgba(34,197,235,0.8),
    0 0 32px rgba(56,189,248,0.5);
}

.hero-logo {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 18px;
  background: #020617;
  border: 1px solid rgba(148,163,184,0.6);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .hero-card {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .hero-logo {
    width: 90px;
    height: 90px;
  }
  .hero-title {
    font-size: 18px;
  }
}

/* === Hero GIF ortada === */
.hero-card {
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: url('images/hero.gif') center center / contain no-repeat;
    opacity: 1; /* GIF'in görünürlüğü – gerekirse düşürürüz */
    z-index: 0;
}

/* Yazıları öne getiriyoruz */
.hero-info,
.hero-logo {
    position: relative;
    z-index: 2;
}

/* Arka plan kendi ışık efektlerini kapatmak için isteğe bağlı: */
.hero-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.hero-gif-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 25px 0 35px;
}

.hero-gif {
    max-width: 100%;
    width: 480px;   /* İstersen büyütür/küçültürüz */
    height: auto;
    display: block;
}

/* === ORTADAKİ HERO VİDEO BLOĞU (ESKİ GIF YERİ) === */

.hero-gif-wrapper {
  width: 100%;
  max-width: 1320px;
  margin: 24px auto 32px;
  padding: 0 12px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.hero-gif-link {
  display: inline-block;
  text-decoration: none;
}

.hero-gif {
  max-width: 100%;
  width: 440px;   /* 1 tık küçük hali; istersen 420 yapabiliriz */
  height: auto;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

/* Küçük ekranlarda biraz daha daralt */
@media (max-width: 480px) {
  .hero-gif {
    width: 360px;
  }
}
.popup-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.popup-actions .popup-btn {
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
/* === POPUP BUTONLARI – SON VE TEMİZ HAL === */
.popup-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.popup-actions .popup-btn {
  width: 100% !important;
  display: block !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;

  font-size: 15px !important;
  font-weight: 800 !important;
  text-align: center !important;

  margin: 0 !important;
  box-sizing: border-box !important;

  /* Animasyon ve taşıntıyı KAPATIYORUZ */
  transform: none !important;
  animation: none !important;

  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: #ffffff !important;

  box-shadow:
    0 0 14px rgba(59,130,246,.7),
    0 0 28px rgba(37,99,235,.45) !important;
}

/* Hover sade */
.popup-actions .popup-btn:hover {
  filter: brightness(1.08);
}
/* ===============================
   POPUP BUTTON FINAL FIX
   (ÇAKIŞMASIZ, TEMİZ)
================================ */

.popup-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-items: stretch !important;
  margin-top: 16px;
}

.popup-actions .popup-btn {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;

  padding: 14px 16px !important;
  border-radius: 14px !important;

  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;

  text-align: center !important;
  white-space: normal !important;

  box-sizing: border-box !important;
  margin: 0 !important;

  /* ÇAKIŞMA YARATANLARI KAPAT */
  animation: none !important;
  transform: none !important;

  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: #ffffff !important;

  box-shadow:
    0 0 14px rgba(59,130,246,.7),
    0 0 28px rgba(37,99,235,.45) !important;
}

/* Hover sade ve kontrollü */
.popup-actions .popup-btn:hover {
  filter: brightness(1.08);
}
.popup-actions .popup-btn.alt {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}
/* === POPUP BUTONLARI – KESİN SABİT VE DÜZGÜN === */
.popup-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.popup-actions .popup-btn {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;

  padding: 14px 16px !important;
  line-height: 1.3 !important;
  height: auto !important;
  min-height: 52px !important;

  border-radius: 14px !important;
  text-align: center !important;
  white-space: normal !important;
}

/* İkinci buton (Telegram vs) farklı renk */
.popup-actions .popup-btn.alt {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}
/* ================================
   POPUP BUTTON FIX – FINAL OVERRIDE
================================ */

.popup-box .popup-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.popup-box .popup-actions .popup-btn {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;

  padding: 14px 18px !important;
  min-height: 54px !important;
  line-height: 1.35 !important;

  box-sizing: border-box !important;
  border-radius: 16px !important;

  text-align: center !important;
  white-space: normal !important;
}

/* ikinci buton rengi */
.popup-box .popup-actions .popup-btn.alt {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}

/* SEO için: kullanıcıya görünmez, botlara okunur */
.seo-hidden-text{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

