/* ========================================================
   ARCADİUM — Bio Link Sayfası Stilleri
   Sade CSS3 (Bağımlılıksız, Modern, Mobil Uyumlu)
   Kompakt & Orantılı (~%15 daha kompakt panel)
   ======================================================== */

:root {
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  --button-bg: rgba(255, 255, 255, 0.07);
  --button-border: rgba(255, 255, 255, 0.14);
  --button-hover-bg: rgba(255, 255, 255, 0.16);
  --button-hover-border: rgba(255, 255, 255, 0.28);
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.75);
  --overlay-color: rgba(8, 10, 20, 0.55);
  --panel-radius: 20px;
  --button-radius: 12px;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: #0a0a12;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================================
   Arka Plan Video Katmanı
   Video tüm ekranı kaplar (object-fit: cover)
   Yüklenene kadar poster / background-image görünür
   ======================================================== */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #0a0a12;
  background-image: url('../images/bg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Koyu Şeffaf Karartma Katmanı (Videonun üstünde, panelin altında) */
.video-bg__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--overlay-color);
  pointer-events: none;
}

/* ========================================================
   Sayfa Kökü ve Dikey/Yatay Ortalama
   Kısa ekranlarda dikey kaydırmayı korur
   ======================================================== */
.page-root {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  opacity: 0;
  animation: pageFadeIn 0.7s ease forwards;
  animation-delay: 0.1s;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: auto;
}

/* ========================================================
   Cam Efektli Orta Panel (Glass Panel)
   Ölçüler: %15 daha kompakt: max-width 380px, padding 16px, 20px radius
   Şeffaf dolgu ve ince beyaz kenarlık
   ======================================================== */
.glass-panel {
  width: 100%;
  max-width: 380px;
  box-sizing: border-box;
  padding: 16px 15px 13px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--panel-radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  text-align: center;
  height: auto;
}

/* Logo: yaklaşık 234px genişlik (%15 orantılı küçültülmüş) */
.glass-panel__logo-wrap {
  margin: 0 auto 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-panel__logo {
  display: block;
  width: 100%;
  max-width: 234px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}

/* Başlık: 25px (%15 orantılı küçültülmüş, boşluğu azaltılmış) */
.glass-panel__title {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* ========================================================
   Bağlantı Listesi ve Butonlar
   Buton yüksekliği 51px (50-52px aralığında), boşluk 10px
   İkonlar solda, metinler tam ortada (15.5px)
   ======================================================== */
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-item {
  margin: 0;
  padding: 0;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 51px;
  min-height: 51px;
  box-sizing: border-box;
  padding: 0 14px;
  border-radius: var(--button-radius);
  text-decoration: none;
  color: var(--text-primary);
  background: var(--button-bg);
  border: 1px solid var(--button-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast),
              background var(--transition-fast),
              border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  background: var(--button-hover-bg);
  border-color: var(--button-hover-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  outline: none;
}

.link-card:active {
  transform: translateY(0);
}

/* İkon: solda sabit */
.link-card__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
  line-height: 1;
  width: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  pointer-events: none;
}

/* Metin: 15.5px ve tam ortalanmış */
.link-card__text {
  font-size: 15.5px;
  font-weight: 500;
  text-align: center;
  width: 100%;
  padding: 0 28px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========================================================
   Alt Bilgi / Ajans İmzası: 12.5px (Okunaklı & Net)
   ======================================================== */
.footer-hint {
  margin: 11px 0 2px;
  font-size: 12.5px;
  color: var(--text-muted);
  opacity: 0.9;
  letter-spacing: 0.01em;
}

.footer-hint a {
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer-hint a:hover {
  text-decoration: underline;
  opacity: 1;
}

.footer-hint a b {
  font-weight: 600;
}

/* ========================================================
   Mobil & Düşük Ekran Uyumluluğu
   Buton yüksekliği en az 44px (burada 46px), yatay taşma yok
   ======================================================== */
@media (max-width: 480px) {
  .page-root {
    padding: 12px 10px;
  }

  .glass-panel {
    padding: 14px 11px 11px;
    border-radius: 18px;
  }

  .glass-panel__logo {
    max-width: 205px;
  }

  .glass-panel__title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .link-list {
    gap: 8px;
  }

  .link-card {
    height: 46px;
    min-height: 46px;
  }

  .link-card__text {
    font-size: 14px;
    padding: 0 24px;
  }

  .link-card__icon {
    left: 12px;
    font-size: 0.95rem;
  }

  .footer-hint {
    font-size: 11.5px;
    margin-top: 9px;
  }
}

/* Düşük Hareket Tercihi */
@media (prefers-reduced-motion: reduce) {
  .page-root {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .link-card {
    transition: none;
  }

  .link-card:hover {
    transform: none;
  }
}
