/*
 * Meryap Anasayfa Mobil Düzeltme v3
 * Buton + istatistik modern tasarım
 */

@media (max-width: 768px) {

  /* === HERO LAYOUT === */
  .overflow-hidden > section:first-child {
    overflow: visible !important;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 0 !important;
  }

  .overflow-hidden > section:first-child > .relative.z-10 {
    position: relative !important;
    padding-top: 96px !important;
    padding-bottom: 32px !important;
    flex-shrink: 0 !important;
  }

  .overflow-hidden > section:first-child > .absolute.bottom-10 {
    display: none !important;
  }

  .overflow-hidden > section:first-child > .absolute.bottom-0 {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }

  /* H1 */
  .overflow-hidden > section:first-child h1 {
    font-size: clamp(30px, 8vw, 42px) !important;
    line-height: 1.12 !important;
  }

  /* ===================================================
     BUTONLAR — modern, pill şekli, glassmorphism efekti
     =================================================== */

  /* Buton konteyner */
  .overflow-hidden > section:first-child .flex-col.sm\:flex-row,
  .overflow-hidden > section:first-child .flex.flex-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 0 4px !important;
  }

  /* ANA BUTON — altın gradient, gölgeli */
  .overflow-hidden > section:first-child .btn-gold {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #d4af62 0%, #b8892e 50%, #d4af62 100%) !important;
    background-size: 200% 100% !important;
    color: #1a1208 !important;
    border: none !important;
    box-shadow:
      0 8px 32px rgba(196, 164, 90, 0.45),
      0 2px 8px rgba(0,0,0,0.25),
      inset 0 1px 0 rgba(255,255,255,0.25) !important;
    text-shadow: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
  }

  /* İKİNCİ BUTON — frosted glass, şeffaf */
  .overflow-hidden > section:first-child .btn-outline {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 15px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1.5px solid rgba(196, 164, 90, 0.6) !important;
    color: #fff !important;
    box-shadow:
      0 4px 16px rgba(0,0,0,0.2),
      inset 0 1px 0 rgba(255,255,255,0.1) !important;
    box-sizing: border-box !important;
  }

  /* ===================================================
     İSTATİSTİK ÇUBUĞU — premium kart tasarımı
     =================================================== */

  .overflow-hidden > section:first-child > .absolute.bottom-0 > .container {
    padding: 0 !important;
  }

  /* Grid: 2x2 */
  .overflow-hidden > section:first-child > .absolute.bottom-0 .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
    background: linear-gradient(135deg, #1c1508, #2a1f0a) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  /* Her istatistik kartı */
  .overflow-hidden > section:first-child > .absolute.bottom-0 .grid > div {
    padding: 22px 16px !important;
    text-align: center !important;
    position: relative !important;
    background: transparent !important;
    border: none !important;
  }

  /* Aralarına ince altın çizgi */
  .overflow-hidden > section:first-child > .absolute.bottom-0 .grid > div::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 20% !important;
    height: 60% !important;
    width: 1px !important;
    background: rgba(196, 164, 90, 0.3) !important;
  }
  .overflow-hidden > section:first-child > .absolute.bottom-0 .grid > div:nth-child(2n)::after {
    display: none !important;
  }

  /* Yatay ayraç - 1. ve 2. sıra arasında */
  .overflow-hidden > section:first-child > .absolute.bottom-0 .grid > div:nth-child(1),
  .overflow-hidden > section:first-child > .absolute.bottom-0 .grid > div:nth-child(2) {
    border-bottom: 1px solid rgba(196, 164, 90, 0.2) !important;
  }

  /* Rakamlar */
  .overflow-hidden > section:first-child > .absolute.bottom-0 .grid > div > div:first-child {
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    background: linear-gradient(135deg, #f0d890, #c4a45a) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 6px !important;
  }

  /* Etiketler */
  .overflow-hidden > section:first-child > .absolute.bottom-0 .grid > div > div:last-child {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    color: rgba(255, 255, 255, 0.55) !important;
    text-transform: uppercase !important;
  }

  /* =============================================
     CTA BÖLÜMÜ - alt butonlar
     ============================================= */
  .overflow-hidden section:last-child .btn-gold,
  .overflow-hidden section:last-child .btn-outline {
    width: 100% !important;
    justify-content: center !important;
    display: flex !important;
  }

}

@media (min-width: 769px) and (max-width: 1023px) {
  .overflow-hidden > section:first-child > .absolute.bottom-0 .grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
