/**
 * Luminie - Redesign 2026
 * Yeni hero, size özel öneriler, mobil uygulama promosyonu ve
 * resources sayfası için ortak (ana sayfa ile aynı) kart sistemi.
 * Bu dosya en SON yüklenir; mevcut stilleri güvenle override eder.
 */

/* ============================================================
   HERO (Ana Sayfa) - Aurora
   ============================================================ */
body.homepage .hero-section.lum-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 12% -10%, rgba(59,130,246,.16), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(139,92,246,.18), transparent 55%),
    radial-gradient(700px 500px at 60% 120%, rgba(236,72,153,.10), transparent 60%),
    #fbfdff !important;
  padding: 56px 0 76px !important;
}

.lum-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: .45;
  animation: lumfloat 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.lum-blob.lb1 { width: 280px; height: 280px; background: #93c5fd; top: -70px; left: -50px; }
.lum-blob.lb2 { width: 230px; height: 230px; background: #c4b5fd; bottom: -60px; right: 8%; animation-delay: -3s; }
.lum-blob.lb3 { width: 160px; height: 160px; background: #fbcfe8; top: 28%; right: 40%; animation-delay: -5s; }
@keyframes lumfloat { 0%,100%{transform:translateY(0) translateX(0)} 50%{transform:translateY(-24px) translateX(12px)} }

.lum-hero .container { position: relative; z-index: 2; }

.lum-hero-grid {
  display: grid !important;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.lum-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 20px;
}
.lum-hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}

/* Hero metni koyu (açık aurora zemin) */
body.homepage .lum-hero .hero-title {
  color: #0f172a !important;
  letter-spacing: -1px;
  line-height: 1.08;
}
body.homepage .lum-hero .hero-subtitle {
  color: #475569 !important;
  max-width: 520px;
}
body.homepage .lum-hero .motivational-message small,
body.homepage .lum-hero .motivational-message { color: #64748b !important; }

/* Hero CTA butonları */
body.homepage .lum-hero .btn-hero {
  background: linear-gradient(135deg, #3B82F6, #8B5CF6) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 26px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(59,130,246,.3) !important;
}
body.homepage .lum-hero .btn-hero:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(59,130,246,.4) !important;
}
body.homepage .lum-hero .btn-hero-outline {
  background: #fff !important;
  color: #3B82F6 !important;
  border: 2px solid #c7d2fe !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
}
body.homepage .lum-hero .btn-hero-outline:hover {
  border-color: #3B82F6 !important;
  transform: translateY(-2px) !important;
}

/* Premium kullanıcı mini istatistikleri (korunan blok) okunur renk */
body.homepage .lum-hero .user-stats-mini .stat-number { color: #0f172a !important; }
body.homepage .lum-hero .user-stats-mini .stat-label { color: #64748b !important; }

/* Hero görseli (sağ) - düzenli kart ızgarası (yan yana, hizalı) */
.lum-hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}
.lum-hero-visual .glow {
  position: absolute; inset: 24px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  filter: blur(70px); opacity: .13; border-radius: 50%; z-index: 0;
  pointer-events: none;
}
.lum-fcard {
  position: relative; z-index: 1; width: 100%; background: #fff;
  border-radius: 18px; box-shadow: 0 18px 40px rgba(15,23,42,.14);
  overflow: hidden; border: 1px solid #e2e8f0;
  animation: lumfloatcard 7s ease-in-out infinite;
}
.lum-fcard .ph {
  height: 118px; overflow: hidden;
  background: linear-gradient(135deg, #eef2ff, #faf5ff);
  display: grid; place-items: center;
}
.lum-fcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.lum-fcard .ph i { font-size: 32px; color: #c7d2fe; }
.lum-fcard .bd { padding: 11px 13px; }
.lum-fcard .ti {
  font-size: 13.5px; font-weight: 700; line-height: 1.3; color: #0f172a;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Hafif kademeli hizalama */
.lum-fcard.f1 { animation-delay: 0s; }
.lum-fcard.f2 { margin-top: 34px; animation-delay: -2.5s; }
.lum-fcard.f3 { margin-top: -14px; animation-delay: -4.5s; }
@keyframes lumfloatcard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

/* Tıklanabilir hero kartları */
a.lum-fcard { text-decoration: none; color: inherit; display: block; cursor: pointer; }
.lum-fcard:hover { animation-play-state: paused; transform: translateY(-6px) !important; box-shadow: 0 26px 54px rgba(59,130,246,.22) !important; }
.lum-fcard:hover .ti { color: #3B82F6; }
.lum-fcard .ph { position: relative; }
.lum-fcard-tag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(124,58,237,.92); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .2px;
  padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(124,58,237,.35);
}

@media (max-width: 991px) {
  .lum-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .lum-hero-visual { max-width: 460px; margin: 4px auto 0; }

  .lum-hero-badge {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    line-height: 1.35;
  }

  body.homepage .lum-hero .hero-title {
    font-size: clamp(1.65rem, 5vw, 2.25rem) !important;
  }

  .lum-user-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .lum-user-chips .lum-chip,
  .lum-user-chips a.lum-chip {
    max-width: 100%;
  }

  .lum-user-chips .lum-chip * {
    pointer-events: none;
  }

  body.homepage .lum-hero .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
  }

  body.homepage .lum-hero .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  body.homepage .lum-hero .hero-ctas .btn * {
    pointer-events: none;
  }

  .lum-fcard.f2,
  .lum-fcard.f3 {
    margin-top: 0;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .lum-hero-visual {
    max-width: 520px;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .lum-fcard .ph { height: 100px; }
  .lum-fcard .ti { font-size: 12px; }
}
@media (max-width: 420px) {
  .lum-hero-visual { grid-template-columns: 1fr; }
  .lum-fcard.f2, .lum-fcard.f3 { margin-top: 0; }
}
@media (max-width: 600px) {
  body.homepage .hero-section.lum-hero { padding: 34px 0 46px !important; }
}

/* ============================================================
   SIZE ÖZEL ÖNERİLER - Yatay kaydırmalı zengin kartlar
   ============================================================ */
body.homepage .lum-reco { background: linear-gradient(135deg, #faf5ff, #eff6ff); }
.lum-reco .section-title-wrapper { text-align: center; margin-bottom: 1.5rem; }
.lum-reco-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px;
  gap: 18px; overflow-x: auto; padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
}
.lum-reco-scroll::-webkit-scrollbar { height: 8px; }
.lum-reco-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
.lum-rcard {
  scroll-snap-align: start; background: #fff; border-radius: 16px;
  border: 1px solid #e2e8f0; box-shadow: 0 4px 16px rgba(15,23,42,.06);
  display: flex; gap: 13px; padding: 13px; transition: .25s; text-decoration: none;
}
.lum-rcard:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(139,92,246,.16); }
.lum-rcard .thumb {
  width: 76px; height: 76px; border-radius: 13px; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, #eef2ff, #faf5ff); display: grid; place-items: center;
}
.lum-rcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.lum-rcard .thumb i { font-size: 24px; color: #c7d2fe; }
.lum-rcard .rb { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.lum-rcard .rc {
  font-size: 11px; font-weight: 700; color: #7c3aed; text-transform: uppercase;
  letter-spacing: .4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lum-rcard .rt {
  font-size: 14.5px; font-weight: 700; line-height: 1.3; margin: 3px 0 8px; color: #0f172a;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lum-rcard .rl { font-size: 12.5px; font-weight: 700; color: #3B82F6; }

/* ============================================================
   MOBİL UYGULAMA PROMOSYONU
   ============================================================ */
body.homepage .lum-app-wrap { padding: 1rem 0 3.5rem; }
.lum-app {
  position: relative; overflow: hidden; color: #fff; border-radius: 28px;
  background: linear-gradient(135deg, #1e1b4b, #3730a3 55%, #6d28d9);
  padding: 48px 52px; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 30px; align-items: center; box-shadow: 0 30px 60px rgba(76,29,149,.3);
}
.lum-app .pblob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .4; pointer-events: none; }
.lum-app .pb1 { width: 300px; height: 300px; background: #7c3aed; top: -100px; right: 10%; }
.lum-app .pb2 { width: 220px; height: 220px; background: #2563eb; bottom: -90px; left: -40px; }
.lum-app .pc { position: relative; z-index: 2; }
.lum-app .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.lum-app h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -.5px; margin-bottom: 12px; color: #fff; }
.lum-app p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 440px; margin-bottom: 20px; }
.lum-app .feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.lum-app .feats div { display: flex; align-items: center; gap: 11px; font-size: 15px; color: rgba(255,255,255,.92); }
.lum-app .feats i { color: #a5b4fc; }
.lum-app .cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lum-gplay {
  display: inline-flex; align-items: center; gap: 12px; background: #000;
  border: 1px solid rgba(255,255,255,.25); padding: 12px 22px; border-radius: 14px;
  transition: .25s; text-decoration: none; color: #fff;
}
.lum-gplay:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.4); color: #fff; }
.lum-gplay i { font-size: 30px; }
.lum-gplay small { font-size: 11px; opacity: .85; display: block; }
.lum-gplay b { font-size: 18px; font-weight: 700; }
.lum-app .rate { font-size: 14px; color: rgba(255,255,255,.85); }
.lum-app .rate .stars { color: #fbbf24; font-size: 15px; }
.lum-app .lum-app-note {
  font-size: 13px; color: rgba(255,255,255,.72); max-width: 440px; margin: -8px 0 0;
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.45;
}
.lum-app .lum-app-note i { color: #c4b5fd; margin-top: 2px; flex-shrink: 0; }
.lum-app-visual { position: relative; z-index: 2; display: grid; place-items: center; min-height: 320px; }
.lum-screens { position: relative; width: min(100%, 340px); }
.lum-screens-slider {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
}
.lum-screens-viewport {
  position: relative; aspect-ratio: 390 / 844; border-radius: 32px;
  background: #0b1020; border: 10px solid #111827;
  box-shadow: 0 28px 56px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08) inset;
  overflow: hidden; touch-action: pan-y pinch-zoom;
}
.lum-screens-viewport::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 42%; height: 26px; background: #111827; border-radius: 0 0 14px 14px; z-index: 3; pointer-events: none;
}
.lum-screens-track {
  display: flex; height: 100%;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.lum-screens-track.is-dragging { transition: none; }
.lum-screen-shot { flex: 0 0 auto; flex-shrink: 0; margin: 0; height: 100%; }
.lum-screen-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.lum-screens-nav {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; flex-shrink: 0;
  display: grid; place-items: center; font-size: 14px;
  transition: background .2s, transform .2s, border-color .2s;
}
.lum-screens-nav:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.45); }
.lum-screens-nav:active { transform: scale(.94); }
.lum-screens-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lum-screens-footer {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; flex-wrap: wrap;
}
.lum-screens-count {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.88); letter-spacing: .02em; min-width: 3.2rem;
}
.lum-screens-dots { display: flex; justify-content: center; gap: 8px; }
.lum-screens-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.35); cursor: pointer; transition: transform .2s, background .2s;
}
.lum-screens-dots button.is-active { background: #fff; transform: scale(1.15); }
.lum-screens-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 480px) {
  .lum-screens { width: min(100%, 300px); }
  .lum-screens-slider { gap: 6px; }
  .lum-screens-nav { width: 36px; height: 36px; font-size: 12px; }
}
@media (max-width: 991px) {
  .lum-app { grid-template-columns: 1fr; text-align: center; padding: 40px 26px; }
  .lum-app p, .lum-app .feats, .lum-app .lum-app-note { margin-left: auto; margin-right: auto; }
  .lum-app .lum-app-note { justify-content: center; }
  .lum-app .feats div { justify-content: center; }
  .lum-app .cta { justify-content: center; }
  .lum-app .pill { margin-left: auto; margin-right: auto; }
  .lum-app-visual { order: -1; margin-bottom: 8px; }
}

/* ============================================================
   RESOURCES SAYFASI - Ana sayfa ile ORTAK modern kart sistemi
   ============================================================ */
body.resources .resources-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
}
/* Bootstrap col sarmalayıcılarını grid hücresine indir */
body.resources .resources-grid > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: initial !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.resources .resources-grid .content-card-wrapper,
body.resources .resources-grid .content-card-link,
body.resources .resources-grid .content-card { height: 100%; }

body.resources .resources-grid .content-card {
  padding: 0 !important;
  margin-bottom: 0 !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.05) !important;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}
body.resources .resources-grid .content-card.premium {
  border-color: rgba(245, 158, 11, 0.35) !important;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 45%) !important;
}
body.resources .resources-grid .content-card.free { border-color: rgba(16, 185, 129, 0.28) !important; }
body.resources .resources-grid .content-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(99, 102, 241, 0.28) !important;
  box-shadow: 0 4px 8px rgba(15,23,42,.05), 0 16px 32px rgba(15,23,42,.1) !important;
}

body.resources .resources-grid .content-card-image-container {
  position: relative;
  padding-top: 58% !important;
  height: auto !important;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%) !important;
  overflow: hidden;
}
body.resources .resources-grid .content-card-image-container img {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover;
}

body.resources .resources-grid .content-card-badges {
  position: absolute; top: 0.5rem !important; left: 0.5rem !important; right: auto !important;
  z-index: 2 !important; display: flex !important; flex-direction: row !important;
  flex-wrap: wrap !important; gap: 0.28rem !important;
  max-width: calc(100% - 2.5rem) !important; align-items: flex-start !important;
}
body.resources .resources-grid .content-card-badges span {
  color: #fff !important; padding: 0.25rem 0.55rem !important; border-radius: 50px !important;
  font-size: clamp(0.6875rem, 0.62rem + 0.35vw, 0.8125rem) !important; font-weight: 700 !important;
  line-height: 1.25 !important; min-height: 1.375rem !important;
  display: inline-flex !important; align-items: center !important; gap: 0.2rem !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14) !important;
  white-space: nowrap !important; backdrop-filter: none !important;
}
body.resources .resources-grid .content-card-badges span i {
  font-size: 0.8em !important; flex-shrink: 0;
}
body.resources .resources-grid .badge-premium { background: linear-gradient(135deg, #f59e0b, #ef4444) !important; }
body.resources .resources-grid .badge-free { background: linear-gradient(135deg, #10b981, #059669) !important; }
body.resources .resources-grid .badge-featured { background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important; }

body.resources .resources-grid .content-card-body { padding: 1rem 1.1rem 0.65rem !important; flex: 1; display: flex; flex-direction: column; }
body.resources .resources-grid .content-card-category {
  display: inline-block; font-size: 0.72rem !important; font-weight: 600 !important;
  margin-bottom: 0.45rem !important; padding: 0.22rem 0.6rem; border-radius: 999px;
  background: rgba(139, 92, 246, 0.1); color: #7c3aed !important; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.resources .resources-grid .content-card-title {
  font-size: 1rem !important; font-weight: 700 !important; line-height: 1.35 !important;
  color: #0f172a !important; display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; overflow: hidden; margin: 0;
}
body.resources .resources-grid .content-card-description {
  display: -webkit-box !important; font-size: 0.875rem !important; color: #64748b !important;
  line-height: 1.55 !important; margin-top: 0.45rem !important; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; overflow: hidden;
}
body.resources .resources-grid .read-more-link { display: none !important; }

body.resources .resources-grid .content-card-footer {
  padding: 0.75rem 1.1rem 1rem !important; border-top: 1px solid #f1f5f9; margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
}
body.resources .resources-grid .footer-stats {
  font-size: 0.8rem !important; gap: 0.75rem !important; color: #64748b !important;
  display: flex; font-variant-numeric: tabular-nums;
}
body.resources .resources-grid .footer-stats i { color: #94a3b8; font-size: 0.75rem !important; }
body.resources .resources-grid .footer-arrow {
  width: 34px !important; height: 34px !important; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem !important;
  background: #eef2ff !important; color: #6366f1 !important;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
body.resources .resources-grid .content-card:hover .footer-arrow {
  background: #6366f1 !important; color: #fff !important; transform: translateX(2px);
}
body.resources .resources-grid .placeholder-image {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2rem !important; color: #cbd5e1 !important;
}
body.resources .resources-grid .favorite-btn {
  top: 0.65rem !important; right: 0.65rem !important; width: 38px !important; height: 38px !important;
  font-size: 16px !important; box-shadow: 0 4px 14px rgba(15,23,42,.12) !important;
}

@media (max-width: 1199px) {
  body.resources .resources-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1rem !important; }
}
@media (max-width: 991px) {
  body.resources .resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.9rem !important; }
}
@media (max-width: 575px) {
  body.resources .resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.75rem !important; }
  body.resources .resources-grid .content-card-title { font-size: 0.92rem !important; }
  body.resources .resources-grid .content-card-description { display: none !important; }
}
@media (max-width: 380px) {
  body.resources .resources-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   HERO İYİLEŞTİRMELER (yerleşim + giriş/premium kullanıcı)
   ============================================================ */

/* Hero istatistik kartlarını tek satıra sığdır */
body.homepage .lum-hero .hero-stats-mini {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}
body.homepage .lum-hero .stat-mini-card {
  min-width: 0 !important;
  flex: initial !important;
  padding: 13px 14px !important;
  gap: 11px !important;
}
body.homepage .lum-hero .stat-mini-icon {
  width: 38px !important; height: 38px !important; font-size: 17px !important;
}
body.homepage .lum-hero .stat-mini-number { font-size: 23px !important; }
body.homepage .lum-hero .stat-mini-label { font-size: 11px !important; }

/* Giriş yapan / premium kullanıcı çipleri */
.lum-user-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.lum-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid #e2e8f0; color: #475569;
  font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15,23,42,.06); text-decoration: none;
}
.lum-chip i { color: #ef4444; }
.lum-chip--premium { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; border-color: transparent; }
.lum-chip--premium i { color: #fff; }
.lum-chip--cta { background: linear-gradient(135deg, #3B82F6, #8B5CF6); color: #fff; border-color: transparent; transition: .2s; }
.lum-chip--cta i { color: #fff; }
.lum-chip--cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(59,130,246,.35); color: #fff; }

/* Motivasyon mesajı kutusu */
body.homepage .lum-hero .motivational-message {
  background: rgba(255,255,255,.65); border: 1px solid #eef2f7;
  border-radius: 12px; padding: 10px 14px; display: inline-block;
  backdrop-filter: blur(6px);
}
body.homepage .lum-hero .motivational-message small { color: #64748b !important; font-style: italic; }

/* Premium üyeye özel Telegram kanal butonu */
.btn-hero-telegram {
  background: linear-gradient(135deg, #0088cc, #229ED9) !important;
  color: #fff !important; border: none !important;
  padding: 14px 22px !important; border-radius: 12px !important;
  font-weight: 700 !important; display: inline-flex; align-items: center;
  box-shadow: 0 10px 24px rgba(0,136,204,.3) !important;
}
.btn-hero-telegram:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(0,136,204,.42) !important; color: #fff !important;
}

/* Hero görseli alanını sınırla, taşmayı engelle */
body.homepage .lum-hero-visual { max-width: 480px; margin-left: auto; }

@media (max-width: 480px) {
  body.homepage .lum-hero .hero-stats-mini { gap: 7px !important; }
  body.homepage .lum-hero .stat-mini-card { padding: 10px !important; }
  body.homepage .lum-hero .stat-mini-number { font-size: 19px !important; }
  body.homepage .lum-hero .stat-mini-icon { width: 32px !important; height: 32px !important; font-size: 14px !important; }
}

/* ============================================================
   COMPACT HERO + FAST CONTENT ACCESS (v2 redesign)
   - Daha az yükseklik, mantıklı yerleşim, içerik hemen erişilir
   - Eski dağınık stat kartları ve uzun görseller kaldırıldı
   ============================================================ */
body.homepage .hero-section.lum-hero { padding: 28px 0 36px !important; }
.lum-hero-compact {
  display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 24px; align-items: center;
}
@media (max-width: 920px) {
  .lum-hero-compact { grid-template-columns: 1fr; }
}
.lum-hero-compact .hero-title { font-size: clamp(1.55rem, 4.2vw, 2.15rem) !important; line-height: 1.1 !important; margin-bottom: 6px !important; }
.lum-hero-compact .hero-subtitle { font-size: .92rem !important; margin-bottom: 8px !important; color: #475569 !important; }
.lum-hero-previews {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; position: relative;
}
.lum-hero-previews .glow-mini {
  position: absolute; inset: -6px; background: radial-gradient(closest-side, rgba(59,130,246,.11), transparent 70%); z-index: 0; border-radius: 16px; pointer-events: none;
}
.preview-thumb {
  position: relative; z-index: 1; aspect-ratio: 1.08/1; border-radius: 11px; overflow: hidden;
  box-shadow: 0 6px 16px rgba(15,23,42,.09); border: 1px solid #e2e8f0; background: #f8fafc; display: block;
}
.preview-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.preview-thumb:hover img { transform: scale(1.07); }
.preview-thumb .tag {
  position: absolute; top: 4px; left: 4px; z-index: 2; font-size: 9px; line-height: 1;
  padding: 1px 5px; border-radius: 99px; background: rgba(124,58,237,.92); color: #fff;
  display: inline-flex; align-items: center; gap: 2px; font-weight: 700;
}
.hero-stats-line {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px;
}
.hero-stats-line .hs-item {
  font-size: 11.5px; background: #fff; border: 1px solid #e2e8f0; padding: 3px 9px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px; color: #475569; white-space: nowrap;
}
.hero-stats-line .hs-item strong { color: #111827; font-weight: 700; }
.hero-ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.hero-ctas .btn-hero, .hero-ctas .btn-hero-outline, .hero-ctas .btn-hero-telegram {
  padding: 9px 14px !important; font-size: .87rem !important; border-radius: 10px !important;
}
.lum-user-chips { gap: 5px; margin: 6px 0 2px; }
.lum-user-chips .lum-chip { font-size: 11.5px; padding: 4px 9px; }

/* Immediate access bar - no extra section padding, low profile */
.quick-reco-bar { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; padding: 6px 0; }
.quick-reco-bar .qtitle { font-weight: 700; color: #64748b; font-size: 12px; margin-right: 6px; white-space: nowrap; }
.quick-reco-pill {
  display: inline-block; background: #fff; color: #3730a3; border: 1px solid #c7d2fe;
  padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; text-decoration: none;
  max-width: 170px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle;
}
.quick-reco-pill:hover { background: #eef2ff; color: #312e81; }

/* Slim app promo */
body.homepage .lum-app-wrap { padding: .25rem 0 1.25rem; }
body.homepage .lum-app { padding: 20px 24px; border-radius: 18px; }
body.homepage .lum-screens { width: min(100%, 320px); }

/* Hide legacy tall elements that caused dağınık layout and extra scroll */
body.homepage .lum-hero-visual,
body.homepage .hero-stats-mini,
body.homepage .user-stats-mini,
body.homepage .quick-reco-bar { display: none !important; }

/* ============================================================
   v3 — Taşma düzeltmesi + tek kişiselleştirme alanı
   ============================================================ */
body.homepage,
body.homepage .page-content { overflow-x: clip; max-width: 100%; }

body.homepage .hero-section.lum-hero {
  overflow: hidden;
  padding: 18px 0 22px !important;
}

.lum-hero-compact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.lum-hero-text,
.lum-hero-previews-wrap {
  min-width: 0;
}

.lum-hero-previews-wrap {
  width: 100%;
  max-width: 260px;
  margin-left: auto;
}

.lum-previews-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #7c3aed;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lum-previews-label--muted { color: #64748b; }

.lum-hero-previews {
  max-width: 100%;
  gap: 6px;
}

.preview-thumb {
  aspect-ratio: 1;
  max-height: 96px;
  min-width: 0;
}

.preview-thumb .preview-ph {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 22px;
  color: #c7d2fe;
  background: linear-gradient(135deg, #eef2ff, #faf5ff);
}

.lum-chip--telegram {
  background: linear-gradient(135deg, #0088cc, #229ed9) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.lum-chip--telegram i { color: #fff !important; }

.lum-chip--telegram:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 136, 204, 0.35);
  color: #fff !important;
}

body.homepage .lum-hero .btn-hero,
body.homepage .lum-hero .btn-hero-outline {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.homepage .homepage-content-section.section-padding {
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

body.homepage .homepage-content-grid .content-card-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  align-items: flex-start !important;
  max-width: calc(100% - 44px) !important;
}

body.homepage .homepage-content-grid .content-card-badges span {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .lum-hero-compact { grid-template-columns: 1fr; }
  .lum-hero-previews-wrap { max-width: 100%; margin: 8px 0 0; }
  .lum-hero-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preview-thumb { max-height: 88px; }
}

@media (max-width: 480px) {
  body.homepage .hero-section.lum-hero { padding: 14px 0 18px !important; }
  .preview-thumb { max-height: 72px; }
  .hero-stats-line { display: none; }
}

/* ============================================================
   v4 — Büyük sayaç istatistikleri + floating öneri kartları (mock)
   ============================================================ */
body.homepage .hero-section.lum-hero {
  overflow: visible !important;
  padding: 22px 0 32px !important;
}

body.homepage .hero-stats-showcase {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

body.homepage .hero-stats-line { display: none !important; }

body.homepage .hs-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
  border: 1px solid #e2e8f0;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

body.homepage .hs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--hs-accent, #667eea);
}

body.homepage .hs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

body.homepage .hs-card--purple { --hs-accent: #667eea; }
body.homepage .hs-card--pink { --hs-accent: #e74c3c; }
body.homepage .hs-card--orange { --hs-accent: #f39c12; }

body.homepage .hs-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--hs-accent) 12%, white);
  color: var(--hs-accent);
}

body.homepage .hs-num {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

body.homepage .hs-num.is-done {
  animation: lumHsPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lumHsPop {
  0% { transform: scale(0.92); opacity: 0.85; }
  55% { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

body.homepage .hs-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: #64748b;
  margin-top: 4px;
}

/* Floating öneriler — sadece masaüstü (≥992px), mock hero-visual */
.lum-hero-previews-wrap,
.lum-hero-previews {
  display: none !important;
}

@media (min-width: 992px) {
  .lum-hero-compact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px) !important;
    align-items: center !important;
  }

  .lum-hero-float-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .lum-float-head {
    position: static;
    z-index: 1;
    max-width: 100%;
    flex-shrink: 0;
  }

  .lum-float-label {
    position: static;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #7c3aed;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.92);
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid #e9d5ff;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
  }

  .lum-float-label--muted {
    color: #64748b;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  }

  .lum-float-desc {
    margin: 8px 0 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
    font-weight: 500;
    max-width: 100%;
  }

  .lum-hero-float {
    position: relative;
    height: 340px;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    flex-shrink: 0;
  }

  .lum-hero-float .glow {
    position: absolute;
    inset: 36px 20px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    filter: blur(70px);
    opacity: 0.16;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
  }

  .lum-hero-float .lum-fcard {
    position: absolute !important;
    width: 188px !important;
    max-height: none !important;
    margin: 0 !important;
    animation: lumfloatcard 7s ease-in-out infinite;
  }

  .lum-hero-float .lum-fcard.f1 { top: 8px; left: 8px; z-index: 3; }
  .lum-hero-float .lum-fcard.f2 { top: 118px; right: 0; z-index: 4; animation-delay: -2.5s; }
  .lum-hero-float .lum-fcard.f3 { bottom: 10px; left: 52px; z-index: 2; animation-delay: -4.5s; }

  .lum-hero-float .lum-fcard .ph { height: 112px; }

  .lum-hero-float .lum-fcard:hover {
    animation-play-state: paused;
    transform: translateY(-8px) rotate(0deg) !important;
    box-shadow: 0 26px 54px rgba(59, 130, 246, 0.22) !important;
  }
}

@keyframes lumfloatcard {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

/* ============================================================
   v5 — Mobil hero (≤991px): tek kolon, çakışma yok
   ============================================================ */
@media (max-width: 991px) {
  body.homepage .hero-section.lum-hero {
    overflow: hidden !important;
    padding: 16px 0 20px !important;
  }

  body.homepage .lum-hero .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .lum-hero-compact {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  .lum-hero-text {
    order: 1;
    width: 100%;
  }

  .lum-hero-float-wrap {
    order: 2;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .lum-float-head {
    width: 100%;
    margin-bottom: 4px;
  }

  .lum-float-label {
    position: static !important;
    margin: 0 0 6px !important;
    align-self: flex-start;
  }

  .lum-float-desc {
    margin: 0 0 10px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    max-width: 100%;
  }

  .lum-hero-float {
    height: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 2px 10px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .lum-hero-float .glow {
    display: none !important;
  }

  .lum-hero-float .lum-fcard {
    position: static !important;
    flex: 0 0 168px !important;
    width: 168px !important;
    scroll-snap-align: start;
    animation: none !important;
    transform: none !important;
    margin: 0 !important;
  }

  .lum-hero-float .lum-fcard .ph {
    height: 100px !important;
  }

  .lum-hero-float .lum-fcard .bd {
    padding: 10px 12px !important;
  }

  .lum-hero-float .lum-fcard .ti {
    font-size: 12.5px !important;
    -webkit-line-clamp: 2;
  }

  .lum-hero-badge {
    font-size: 11px;
    padding: 6px 10px;
    max-width: 100%;
    line-height: 1.35;
  }

  .lum-hero-compact .hero-title {
    font-size: 1.45rem !important;
  }

  .lum-user-chips {
    flex-wrap: wrap;
    gap: 6px !important;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 8px !important;
  }

  .hero-ctas .btn-hero,
  .hero-ctas .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  /* İstatistikler: 3 sütun sıkışmasın — yatay kaydır veya dikey kart */
  body.homepage .hero-stats-showcase {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    overflow-x: auto !important;
    margin-top: 14px !important;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  body.homepage .hs-card {
    flex: 0 0 148px !important;
    min-width: 148px !important;
    padding: 14px 12px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  body.homepage .hs-card::before {
    width: 100% !important;
    height: 3px !important;
    top: 0;
    left: 0;
  }

  body.homepage .hs-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }

  body.homepage .hs-num {
    font-size: 1.65rem !important;
  }

  body.homepage .hs-lbl {
    font-size: 10px !important;
  }
}

@media (max-width: 480px) {
  body.homepage .hero-stats-showcase {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow-x: visible !important;
  }

  body.homepage .hs-card {
    flex: none !important;
    min-width: 0 !important;
    width: 100% !important;
    flex-direction: row !important;
    text-align: left !important;
    align-items: center !important;
  }

  body.homepage .hs-card::before {
    width: 4px !important;
    height: 100% !important;
    top: 0;
    left: 0;
  }

  .lum-hero-float .lum-fcard {
    flex: 0 0 152px !important;
    width: 152px !important;
  }
}

/* ============================================================
   v9 — Rozetler: okunabilir boyut (a11y), yatay, görseli az kaplar
   Metin her zaman görünür; min ~11px (0.6875rem). İkon-only yok.
   ============================================================ */
body.homepage .homepage-content-grid .content-card-image-container,
body.resources .resources-grid .content-card-image-container {
  container-type: inline-size;
  container-name: lum-card-thumb;
}

body.homepage .homepage-content-grid .content-card-badges,
body.resources .resources-grid .content-card-badges {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  flex-flow: row wrap !important;
  align-items: flex-start !important;
  gap: 0.35rem !important;
  top: 0.5rem !important;
  left: 0.5rem !important;
  max-width: calc(100% - 2.75rem) !important;
}

body.homepage .homepage-content-grid .content-card-badges span,
body.resources .resources-grid .content-card-badges span {
  font-size: clamp(0.6875rem, 0.62rem + 0.35vw, 0.8125rem) !important;
  padding: 0.25rem 0.55rem !important;
  line-height: 1.25 !important;
  min-height: 1.375rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14) !important;
  white-space: nowrap !important;
}

body.homepage .homepage-content-grid .content-card-badges span i,
body.resources .resources-grid .content-card-badges span i {
  font-size: 0.72em !important;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  body.homepage .homepage-content-grid .content-card-badges,
  body.resources .resources-grid .content-card-badges {
    top: 0.4rem !important;
    left: 0.4rem !important;
    gap: 0.3rem !important;
    max-width: calc(100% - 2.5rem) !important;
  }

  body.homepage .homepage-content-grid .content-card-badges span,
  body.resources .resources-grid .content-card-badges span {
    font-size: clamp(0.6875rem, 0.6rem + 0.55vw, 0.75rem) !important;
    padding: 0.22rem 0.48rem !important;
  }
}

/* Dar kart: hafif küçültme, yine okunabilir alt sınır */
@container lum-card-thumb (max-width: 200px) {
  body.homepage .homepage-content-grid .content-card-badges span,
  body.resources .resources-grid .content-card-badges span {
    font-size: 0.6875rem !important;
    padding: 0.2rem 0.42rem !important;
  }
}
