/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 50% 0%, #1a1d24 0%, #0f1115 100%);
  color: #e5e7eb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Helper to block scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* HEADER */
.header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}

/* LOGO */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #fff;
}

.logo a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: inherit;
}

.logo i {
  color: #ec4899;
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.3));
}

/* DESKTOP NAV */
.nav-desktop {
  display: flex;
  gap: 20px;
}

.nav-desktop a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.nav-desktop a:hover {
  color: #fff;
}

/* TOP NAV */
.list-filters {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.nav-links {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  width: 100%;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* CARD */
.card {
  background: rgba(30, 34, 42, 0.4);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;

  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(236, 72, 153, 0.05);
}

.card:hover .top h2 {
  color: #ec4899;
}

/* LINK */
.profile-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}

/* LEFT */
.left {
  display: flex;
  gap: 16px;
  min-width: 0;
}

/* AVATAR */
.avatar {
  width: 64px;
  height: 64px;
  position: relative;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #111;
  border: 1px dashed #2a2f3a;
  color: #6b7280;
}

/* CONTENT */
.content {
  min-width: 0;
}

.top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top h2 {
  font-size: 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.badge {
  background: rgba(236, 72, 153, 0.1);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.2);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* META */
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #9ca3af;
  margin: 6px 0;
}

.meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge i {
  font-size: 10px;
}

.username {
  color: #f9a8d4;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* BIO */
.bio {
  font-size: 14px;
  color: #a1a1aa;
  margin-top: 6px;
  line-height: 1.5;
}

/* PROFILE URL */
.profile-url {
  font-size: 12px;
  color: #f472b6;
  margin-top: 6px;
  word-break: break-all;
}

/* STATS */
.stats-wrapper {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 240px;
  align-items: center;
  justify-content: center;
}

.stats-title {
  width: 100%;
  font-size: 10px;
  font-family: 'Outfit', sans-serif;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.stats {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column; /* Changed to stack label and value */
  align-items: center;   /* Center items horizontally */
  gap: 4px;              /* Spacing between label and value */
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: #9ca3af;
}

.label {
  font-size: 10px;
  color: #71717a;
  text-transform: uppercase;
}

.value {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.pagination-btn, .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #9ca3af;
  background: rgba(30, 34, 42, 0.4);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 14px;
}

.pagination-btn {
  padding: 12px 20px;
  gap: 8px;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-link {
  width: 44px;
  height: 44px;
}

.pagination-btn:hover:not(.disabled), .page-link:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(236, 72, 153, 0.3);
}

.page-link.active {
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

.pagination-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-dots {
  color: #4b5563;
  font-size: 14px;
  padding: 0 4px;
}

.pagination-mobile-info {
  display: none;
  font-size: 14px;
  color: #9ca3af;
  font-weight: 500;
}

/* FOOTER */
.footer {
  max-width: 1100px;
  margin: 60px auto 0;
  text-align: center;
  padding: 40px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 12px;
  color: #4b5563;
  margin-top: 12px;
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s ease;
}

/* MOBILE — ONLY WRAP (NO STYLE CHANGES) */
@media (max-width: 768px) {
  .container {
    padding: 12px;
  }

  .logo {
    font-size: 26px;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .list-filters {
    justify-content: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .profile-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    gap: 12px;
  }

  .left {
    gap: 12px;
  }

  .avatar {
    width: 56px;
    height: 56px;
  }

  .stats-wrapper {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .stats {
    width: 100%;
    justify-content: center;
  }

  .stat {
    flex: 1;
    justify-content: center;
    max-width: 200px;
  }

  .meta {
    gap: 8px;
  }

  .pagination-numbers {
    display: none;
  }

  .pagination-mobile-info {
    display: block;
    white-space: nowrap;
  }

  .pagination-btn {
    flex: 1;
    justify-content: center;
    padding: 12px 10px;
  }
}

/* COOKIE NOTICE */
.cookie-notice {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.cookie-content {
  pointer-events: auto;
  background: rgba(26, 29, 36, 0.9);
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  width: 100%;
}

.cookie-content p {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.5;
}

.cookie-btn {
  background: #ec4899;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  background: #db2777;
  transform: scale(1.05);
}

/* AGE GATE */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 21, 0.95);
  -webkit-backdrop-filter: blur(20px); /* Safari support */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate-content {
  background: rgba(26, 29, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.age-gate-icon {
  font-size: 48px;
  color: #ec4899;
  margin-bottom: 20px;
}

.age-gate-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}

/* OFF-CANVAS MENU */
.off-canvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #0f1115;
  z-index: 10001;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.off-canvas.active {
  transform: translateX(0);
  visibility: visible;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.off-canvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.off-canvas-close {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-mobile a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mobile a:hover {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.2);
}

.off-canvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.off-canvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

.age-gate-content p {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 32px;
  font-size: 15px;
}

.age-gate-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.age-gate-btn {
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  text-align: center;
}

.age-gate-btn.accept {
  background: #ec4899;
  color: #fff;
}

.age-gate-btn.accept:hover {
  background: #db2777;
  transform: translateY(-2px);
}

.age-gate-btn.exit {
  background: rgba(255, 255, 255, 0.05);
  color: #d1d5db;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.age-gate-btn.exit:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}