/* Avataria Türkiye — Duvar (topluluk paylaşımları)
   site.css değişkenlerini kullanır: --ink --muted --line --cyan --gold --pink --bg-card */

/* ====================== Sayfa başlığı ====================== */
.wall-head {
  text-align: center;
  padding-top: 28px;
}
.wall-head .kicker-sm {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 213, 122, .08);
}
.wall-head h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wall-head p {
  margin: 0 auto;
  max-width: 540px;
  color: var(--muted);
  font-size: 15px;
}
.wall-meta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.wall-meta strong { color: var(--ink); }
.wall-meta .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* ====================== Feed ızgarası ====================== */
.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 18px;
}

.wall-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: 0 16px 44px rgba(0, 0, 0, .26);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.wall-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 141, 239, .45);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .34), 0 0 0 1px rgba(91, 141, 239, .15) inset;
}

.wall-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.wall-card__avatar {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--deep, #0a0e1c);
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}
.wall-card__who { min-width: 0; flex: 1; line-height: 1.25; }
.wall-card__nick {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wall-card__time { font-size: 11px; color: var(--muted); }
.wall-card__id {
  flex-shrink: 0;
  font-size: 11px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  color: rgba(207, 226, 255, .45);
}

.wall-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0a0e1c;
  overflow: hidden;
}
.wall-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.wall-card:hover .wall-card__media img { transform: scale(1.05); }
.wall-card__badge {
  position: absolute;
  top: 9px; left: 9px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.wall-card__badge--selfie { background: rgba(91, 141, 239, .92); color: #fff; }
.wall-card__badge--room   { background: rgba(255, 213, 122, .92); color: #0a0e1c; }

.wall-card__caption {
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  word-break: break-word;
}

/* ====================== Boş durum ====================== */
.wall-empty {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .03);
}
.wall-empty__icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(91, 141, 239, .18), rgba(255, 213, 122, .10));
  border: 1px solid rgba(91, 141, 239, .25);
}
.wall-empty h2 { margin: 0 0 8px; font-size: 21px; color: var(--ink); }
.wall-empty p { margin: 0 auto; max-width: 420px; color: var(--muted); font-size: 14px; }

/* ====================== Ana sayfa şeridi ====================== */
.wall-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.wall-strip__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0e1c;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.wall-strip__item:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 141, 239, .45);
}
.wall-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.wall-strip__item:hover img { transform: scale(1.06); }
.wall-strip__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 10px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent);
}

@media (max-width: 720px) {
  .wall-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}
