/* Homepage feed layout — base (mobile tweaks in home.css) */
:root {
  --bg: #0a0212;
  --surface: #160a25;
  --surface-2: rgba(255, 255, 255, 0.04);
  --accent: #bc13fe;
  --border: rgba(188, 19, 254, 0.2);
  --text: #ffffff;
  --muted: #c8b8dc;
  --muted-2: #9d8fb3;
}

.wrap {
  max-width: 100%;
  width: 100%;
  margin: 8px 0 20px;
  padding: 0;
}

.hero {
  background: linear-gradient(135deg, rgba(26, 8, 41, 0.95) 0%, rgba(13, 4, 21, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.18s ease;
  white-space: nowrap;
}

.pill:hover {
  border-color: rgba(188, 19, 254, 0.35);
  background: rgba(188, 19, 254, 0.1);
}

.pill.primary {
  background: linear-gradient(135deg, #6a1b9a, #bc13fe);
  border: none;
  box-shadow: 0 6px 20px rgba(188, 19, 254, 0.28);
}

.filter-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-toolbar__form {
  margin: 0;
}

.filter-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 150px;
  min-width: 0;
}

.filter-field__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.filter-field__select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: #12091d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.filter-field__select:focus {
  outline: none;
  border-color: rgba(188, 19, 254, 0.45);
}

.feed-panel {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.feed-panel h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
}

.feed-panel p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.feed-panel .feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feed-panel .feed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.feed-panel .feed-btn.primary {
  background: linear-gradient(135deg, #6a1b9a, #bc13fe);
  color: #fff;
}

.feed-panel .feed-btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border);
}

.region-save-form select {
  width: 100%;
  margin-bottom: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #12091d;
  border: 1px solid var(--border);
  color: #fff;
  font-size: 14px;
}

.region-save-form button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #6a1b9a, #bc13fe);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.online-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.online-filter form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.online-filter select {
  min-width: 160px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #12091d;
  border: 1px solid var(--border);
  color: #fff;
  font-size: 14px;
}

.online-filter button {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.badge-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7dffb0;
  font-size: 11px;
  font-weight: 800;
}

.badge-online::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.8);
}

.grid-prem {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.tile-prem {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tile-prem:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.tile-prem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-prem .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 10px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 35%, transparent 100%);
  z-index: 2;
}

.tile-prem .name {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge-top {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #ffd740, #ff9100);
  color: #1a0a00;
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 900;
  z-index: 5;
}

.btn-want {
  grid-column: 1 / -1;
  aspect-ratio: unset;
  min-height: 76px;
  flex-direction: row;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(188, 19, 254, 0.35);
  background: linear-gradient(135deg, rgba(106, 27, 154, 0.18), rgba(188, 19, 254, 0.1));
  color: #f0d7ff;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.btn-want:hover {
  border-color: rgba(188, 19, 254, 0.55);
  background: linear-gradient(135deg, rgba(106, 27, 154, 0.28), rgba(188, 19, 254, 0.16));
}

.btn-want__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 64, 0.16);
  color: #ffd740;
  font-size: 20px;
  flex-shrink: 0;
}

.btn-want__body strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.btn-want__body span {
  font-size: 12px;
  color: var(--muted);
}

.rows-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 12px;
  background: rgba(22, 10, 37, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.row-item:hover {
  border-color: rgba(188, 19, 254, 0.35);
  background: rgba(28, 12, 46, 0.95);
  transform: translateY(-1px);
}

.row-img {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-content {
  min-width: 0;
}

.row-content h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.row-meta {
  display: flex;
  gap: 6px;
  color: var(--muted-2);
  font-size: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.row-meta span {
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.row-right {
  text-align: right;
  flex-shrink: 0;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
}

.row-item.woman {
  background: linear-gradient(135deg, rgba(255, 77, 166, 0.1), rgba(22, 10, 37, 0.92));
  border-color: rgba(255, 77, 166, 0.22);
}

.row-item.man {
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.08), rgba(22, 10, 37, 0.92));
  border-color: rgba(0, 153, 255, 0.18);
}

.row-item.couple {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(22, 10, 37, 0.92));
  border-color: rgba(255, 215, 0, 0.2);
}

.pagination-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 8px;
  padding: 0;
}

.pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: 0.18s ease;
  white-space: nowrap;
}

.pag-btn:hover {
  border-color: var(--accent);
}

.pag-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.pag-info {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 10px;
}

.pag-info span {
  color: var(--accent);
}

.flash-success {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.35);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  color: #7dffb0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .wrap {
    max-width: 100%;
    overflow-x: clip;
  }

  .grid-prem {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
