/* ===== Variables ===== */
:root {
  --bg-primary: #1a1028;
  --bg-secondary: #271242;
  --bg-card: #2e1650;
  --accent-pink: #ff2fa0;
  --accent-pink-soft: rgba(255, 47, 160, 0.35);
  --accent-gold: #e8c15a;
  --text-white: #ffffff;
  --text-gray: #c0b4d4;
  --border-pink: rgba(255, 47, 160, 0.45);
  --green: #22c55e;
  --blue: #2f9bff;
  --radius-lg: 18px;
  --radius-md: 14px;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(255, 47, 160, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 35% at 0% 60%, rgba(100, 20, 180, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 100% 80%, rgba(255, 47, 160, 0.07) 0%, transparent 55%);
  color: var(--text-white);
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 3, 18, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex-shrink: 0;
}

.navbar__logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar__logo-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.2);
  filter: blur(12px);
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.navbar__brand:hover .navbar__logo-glow {
  opacity: 1;
}

.navbar__logo {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--accent-pink);
  font-size: 18px;
}

.navbar__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar__brand-line1 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-white);
}

.navbar__brand-line2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-gold);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 4px;
  backdrop-filter: blur(10px);
}

.navbar__menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar__menu a svg {
  width: 16px;
  height: 16px;
}

.navbar__menu a:hover,
.navbar__menu a.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.navbar__menu-btn svg {
  width: 20px;
  height: 20px;
}

.navbar__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  background: linear-gradient(to bottom, #1f1400, #120b00);
  color: #fcd34d;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  box-shadow: 0 10px 35px rgba(251, 191, 36, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.navbar__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.navbar__cta:hover {
  transform: translateY(-1px);
  border-color: rgba(252, 211, 77, 0.4);
  color: #fde68a;
  box-shadow: 0 18px 45px rgba(251, 191, 36, 0.28);
}

.navbar__cta:active {
  transform: translateY(1px);
}

/* Mobile menu (dropdown links) */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a:not(.navbar__cta) {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-menu a:not(.navbar__cta) svg {
  width: 16px;
  height: 16px;
}

.mobile-menu a:not(.navbar__cta):hover,
.mobile-menu a.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== Container ===== */
.container {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.page-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  margin: 40px 0 24px;
}

/* ===== Profile Grid: 3 columns on desktop, 2 on mobile ===== */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* ===== Card entrance animation ===== */
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.profile-grid .group {
  animation: card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform;
}

/* ===== Card Styles ===== */
.group {
  position: relative;
  display: block;
  text-decoration: none;
  cursor: pointer;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1),
              box-shadow 0.4s ease;
}

.group:hover,
.hover\:scale-105:hover,
.profile-grid .group:hover {
  transform: scale(1.04) translateY(-6px) !important;
  box-shadow:
    rgba(236, 72, 153, 0.75) 0px 0px 0px 2px,
    rgba(236, 72, 153, 0.35) 0px 24px 56px 0px !important;
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.12);
}

.group:hover .group-hover\:text-pink-300 {
  color: #f472b6 !important;
}

/* ===== Card inner image transition ===== */
.group-hover\:scale-110 {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.w-full { width: 100%; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
.overflow-hidden { overflow: hidden; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.pointer-events-none { pointer-events: none; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.cursor-pointer { cursor: pointer; }
.object-cover { object-fit: cover; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* Gradient overlay */
.bg-gradient-to-t {
  background-image: linear-gradient(to top, rgba(26, 16, 40, 0.9) 0%, rgba(26, 16, 40, 0.2) 45%, transparent 100%);
}

/* ===== Shimmer badge (VIP/GOLD/PLATİN) ===== */
.shimmer-badge {
  position: relative;
  overflow: hidden;
}

.shimmer-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: shimmer-sweep 2.4s ease-in-out infinite;
}

@keyframes shimmer-sweep {
  0% { left: -60%; }
  55% { left: 130%; }
  100% { left: 130%; }
}

/* Badge & positioning */
.top-3 { top: 0.75rem; }
.left-3 { left: 0.75rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-1\.5 { bottom: 0.375rem; }
.right-1\.5 { right: 0.375rem; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.min-w-0 { min-width: 0; }

.gap-0\.5 { gap: 0.125rem; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }

.text-white { color: #ffffff; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }

.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.leading-tight { line-height: 1.25; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-wide { letter-spacing: 0.025em; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.p-2 { padding: 0.5rem; }
.pr-11 { padding-right: 2.75rem; }

.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.w-2\.5 { width: 0.625rem; }
.h-2\.5 { height: 0.625rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-9 { width: 2.25rem; }
.h-9 { height: 2.25rem; }

.bg-white { background-color: #ffffff; }
.bg-\[\#25D366\] { background-color: #25D366; }
.hover\:bg-\[\#20BA5A\]:hover { background-color: #20BA5A; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-black\/30 { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); }
.active\:scale-90:active { transform: scale(0.9); }

/* Pulses */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ===== Telegram butonu (orijinal marka rengi + gradyan) ===== */
.tg-btn {
  background: linear-gradient(180deg, #2AABEE 0%, #229ED9 100%);
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.5), 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tg-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.65), 0 2px 6px rgba(0, 0, 0, 0.25);
}

.tg-btn:active { transform: scale(0.9); }

.tg-btn svg { fill: #ffffff; }

.wa-pulse {
  animation: wa-pulse-ring 2s ease-out infinite;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.wa-pulse:hover {
  transform: scale(1.12) !important;
}

@keyframes wa-pulse-ring {
  0% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* Responsive sm (min-width: 640px) */
@media (min-width: 640px) {
  .sm\:bottom-2 { bottom: 0.5rem; }
  .sm\:right-2 { right: 0.5rem; }
  .sm\:w-10 { width: 2.5rem; }
  .sm\:h-10 { height: 2.5rem; }
  .sm\:w-\[18px\] { width: 18px; }
  .sm\:h-\[18px\] { height: 18px; }
  .sm\:p-3 { padding: 0.75rem; }
  .sm\:pr-12 { padding-right: 3rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-\[10px\] { font-size: 10px; }
  .sm\:w-3 { width: 0.75rem; }
  .sm\:h-3 { height: 0.75rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
}

/* Responsive md (min-width: 768px) */
@media (min-width: 768px) {
  .md\:p-4 { padding: 1rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-\[11px\] { font-size: 11px; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
}

/* ===== FAQ ===== */
.faq-section {
  margin-top: 64px;
  padding-bottom: 60px;
}

.faq-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 28px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 47, 160, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-item__icon {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--accent-pink);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.open .faq-item__answer {
  max-height: 220px;
}

.faq-item__answer p {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-gray);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid rgba(255, 47, 160, 0.15);
  background: var(--bg-secondary);
  padding: 48px 0 28px;
}

.footer__text {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 36px;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__col h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-white);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 14px;
  color: var(--text-gray);
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--accent-pink);
}

.footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--text-gray);
  text-align: center;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  margin: 28px 0 20px;
  font-size: 13px;
  color: var(--text-gray);
}

.breadcrumb a {
  color: var(--text-gray);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent-pink);
}

.breadcrumb span {
  color: var(--text-white);
}

/* ===== Profile Detail ===== */
.profile-detail {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.profile-detail__photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-pink);
}

.profile-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-pink);
  color: var(--text-white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.profile-detail__badge--vip {
  background: rgb(236, 72, 153);
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.profile-detail__badge--vip .vip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-white);
  flex-shrink: 0;
  animation: vip-pulse 1.6s ease-in-out infinite;
}

.profile-detail__badge--gold {
  background-color: #eab308;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.25);
}

.profile-detail__badge--plat {
  background: linear-gradient(135deg, #9ca3af 0%, #f1f5f9 50%, #8b93a1 100%);
  color: #1f2937;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.35);
}

.profile-detail__name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.profile-detail__location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-pink);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 28px;
}

.profile-detail__location svg {
  width: 15px;
  height: 15px;
  fill: var(--accent-pink);
  flex-shrink: 0;
}

.profile-detail__about-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.profile-detail__about-text {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.profile-detail__info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 47, 160, 0.18);
  border-radius: var(--radius-md);
  padding: 16px;
}

.info-card__label {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.info-card__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
}

.message-btn-wide {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border: none;
  border-radius: var(--radius-md);
  background: #25D366;
  color: var(--text-white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  animation: wa-pulse-ring 2s ease-out infinite;
  text-decoration: none;
}

.message-btn-wide svg {
  width: 20px;
  height: 20px;
  fill: var(--text-white);
}

.message-btn-wide:hover {
  background: #20BA5A;
}

/* Profil detayındaki geniş Telegram butonu — .message-btn-wide'ın yeşilini ezmesi için
   iki sınıflı (daha özgül) seçici kullanılıyor. */
.message-btn-wide.tg-btn {
  background: linear-gradient(180deg, #2AABEE 0%, #229ED9 100%);
  animation: none;
  box-shadow: 0 4px 18px rgba(34, 158, 217, 0.4);
}

.message-btn-wide.tg-btn:hover {
  background: linear-gradient(180deg, #2AABEE 0%, #229ED9 100%);
  filter: brightness(1.08);
  transform: none;
  box-shadow: 0 8px 26px rgba(34, 158, 217, 0.55);
}

.message-btn-wide.tg-btn:active { transform: scale(0.99); }

/* ===== Other Listings (Profile Detail) ===== */
.other-listings {
  margin-top: 20px;
  padding-top: 44px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(255, 47, 160, 0.15);
}

.other-listings__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 900px) {
  .navbar__inner {
    padding: 0 16px;
  }
  .navbar__menu {
    display: none;
  }
  .navbar__menu-btn {
    display: flex;
  }
  /* Logo: hide line1 on mobile, keep line2 (STARS) + icon */
  .navbar__brand-line1 {
    display: none;
  }
  .navbar__brand-line2 {
    font-size: 15px;
  }
  /* İlan Ver always visible on mobile, next to hamburger */
  .navbar__actions > .navbar__cta {
    display: inline-flex;
    padding: 0 14px;
    height: 40px;
    font-size: 12px;
    letter-spacing: 1px;
  }
  .navbar__actions > .navbar__cta svg {
    display: none;
  }
  /* Grid: 2 columns on tablet / mobile */
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
  }
  .profile-detail {
    grid-template-columns: 1fr;
  }
  .profile-detail__photo {
    height: 380px;
  }
}

@media (max-width: 600px) {
  /* Grid: 2 columns on mobile */
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .footer__columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .profile-detail__info-cards {
    grid-template-columns: 1fr;
  }
  .page-title {
    font-size: 26px;
    margin: 28px 0 18px;
  }
  .faq-title {
    font-size: 24px;
  }
  .faq-item__question {
    padding: 16px;
    font-size: 14px;
  }
  .profile-detail__name {
    font-size: 24px;
  }
  .profile-detail__photo {
    height: 320px;
  }
}

@media (max-width: 380px) {
  .navbar__brand-line2 {
    font-size: 13px;
  }
  .navbar__actions > .navbar__cta {
    padding: 0 10px;
    font-size: 11px;
  }
  .profile-grid {
    gap: 8px;
  }
}

.seo-regions {
  margin: 36px 0;
  padding: 24px;
  border: 1px solid rgba(150, 100, 255, .25);
  border-radius: 16px;
}

.seo-regions h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.seo-regions p {
  margin-bottom: 18px;
  line-height: 1.7;
}

.seo-regions__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-regions__links a {
  padding: 10px 14px;
  border: 1px solid rgba(150, 100, 255, .35);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}

.seo-regions__links a:hover {
  border-color: #a855f7;
}
.server-profile-links[hidden] {
  display: none !important;
}

/* ===== V4: CLS-stable initial profile grid ===== */
.profile-grid--skeleton {
  margin-bottom: 40px;
}
.profile-skeleton {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 1rem;
  background: #2e1650;
  box-shadow: rgba(236, 72, 153, 0.18) 0 4px 32px;
}
.profile-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(0,0,0,.08));
}
@media (max-width: 768px) {
  .profile-grid--skeleton { margin-bottom: 28px; }
}
.server-profile-links[hidden] { display: none !important; }

/* ===== V5 FINAL: instant visual paint + stable geometry ===== */
.profile-skeleton img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Card entrance animation costs paint and can confuse synthetic layout metrics. */
.profile-grid .group {
  animation: none;
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  .group, .group-hover\:scale-110 { transition: none !important; }
}
