/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  background: #000000;
  border-bottom: 1px solid #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-sp {
  color: #ff6b35;
}

.logo-love {
  color: #ffffff;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ff6b35;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-search {
  position: relative;
  width: 280px;
}

.header-search-input {
  width: 100%;
  height: 42px;
  padding: 0 44px 0 16px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-search-input::placeholder {
  color: #888888;
}

.header-search-input:focus {
  border-color: #ff6b35;
  background: #141414;
}

.header-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #888888;
  pointer-events: none;
}

.btn-outline,
.btn-primary {
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-outline {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  background: #ff6b35;
  border: 1px solid #ff6b35;
  color: #ffffff;
}

.btn-primary:hover {
  background: #e55a28;
  border-color: #e55a28;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px 20px;
}

/* Featured Models Section */
.featured-models {
  margin-bottom: 24px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 32px;
}

.featured-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0;
}

.featured-models .section-header,
.stories-section .section-header,
.models-section .section-header {
  margin-bottom: 10px;
}

.featured-models .section-title,
.stories-section .section-title,
.models-section .section-title {
  font-size: 20px;
  font-weight: 600;
}

.destaques-swiper-wrap {
  position: relative;
}

.destaques-swiper {
  overflow: hidden;
  cursor: grab;
}

.destaques-swiper:active {
  cursor: grabbing;
}

.destaques-swiper .swiper-slide {
  height: auto;
}

.destaque-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.destaque-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.destaque-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    transparent 45%
  );
  pointer-events: none;
}

.destaque-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 16px;
  text-align: left;
}

.destaque-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.destaques-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.destaques-nav:hover {
  background: rgba(0, 0, 0, 0.85);
}

.destaques-next {
  right: -8px;
}

.destaques-prev {
  left: -8px;
}

.destaques-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

@media (min-width: 1280px) {
  .destaque-name {
    font-size: 16px;
  }

  .destaque-overlay {
    padding: 14px 12px;
  }
}

@media (max-width: 767px) {
  .featured-models .section-header,
  .stories-section .section-header,
  .models-section .section-header {
    margin-bottom: 8px;
  }

  .featured-models .section-title,
  .stories-section .section-title,
  .models-section .section-title {
    font-size: 16px;
    font-weight: 600;
  }

  .destaque-card {
    border-radius: 10px;
  }

  .destaque-img {
    aspect-ratio: 1 / 1;
  }

  .destaque-overlay {
    padding: 8px 10px;
  }

  .destaque-name {
    font-size: 13px;
    font-weight: 600;
  }
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.section-nav {
  display: flex;
  gap: 8px;
}

.nav-btn {
  background: #1a1a1a;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: #2a2a2a;
}

/* Stories Section */
.stories-section {
  margin-bottom: 32px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 32px;
}

.stories-inner {
  max-width: 1600px;
  margin: 0 auto;
}

.stories-wrap {
  position: relative;
}

.stories-container {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.stories-container.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.stories-container.is-dragging .story-item {
  pointer-events: none;
}

.stories-container::-webkit-scrollbar {
  display: none;
}

.story-item {
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.story-item:hover {
  transform: scale(1.05);
}

.story-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ff6b35;
  transition: border-color 0.2s ease;
}

.story-ring--seen {
  border-color: #666666;
}

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

/* Models Grid Section */
.models-section {
  margin-bottom: 40px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 32px;
}

.models-inner {
  max-width: 1600px;
  margin: 0 auto;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.model-card {
  display: block;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.model-card:hover {
  transform: translateY(-2px);
}

.model-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.model-name {
  padding: 10px 4px 0;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Info Section */
.info-section {
  margin-bottom: 40px;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 32px;
}

.info-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.3;
}

.info-content {
  margin-bottom: 24px;
}

.info-content p {
  margin-bottom: 16px;
  color: #cccccc;
  font-size: 16px;
  line-height: 1.7;
}

.info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  background: #2a2a2a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
  cursor: pointer;
}

.tag:hover {
  background: #ff6b35;
}

/* Footer */
.footer {
  background: #000000;
  border-top: 1px solid #1a1a1a;
  padding: 40px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 14px;
}

.footer-list a:hover {
  color: #ff6b35;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.news-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.news-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
}

.news-desc {
  color: #cccccc;
  font-size: 12px;
  margin-top: 2px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
  border-top: 1px solid #1a1a1a;
  margin-top: 40px;
  text-align: center;
}

.footer-bottom p {
  color: #888888;
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .header-search {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 10px;
    height: 64px;
    gap: 12px;
  }
  
  .logo {
    font-size: 20px;
  }

  .header-search {
    display: none;
  }

  .btn-outline {
    display: none;
  }

  .btn-primary {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
  }
  
  .main-content {
    padding: 10px 10px 16px;
  }

  .featured-models,
  .stories-section,
  .models-section {
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  .featured-models {
    margin-bottom: 20px;
  }

  .stories-section {
    margin-bottom: 24px;
  }

  .models-section {
    margin-bottom: 32px;
  }

  .featured-container,
  .stories-inner,
  .models-inner {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .featured-card {
    width: 240px;
  }
  
  .featured-img {
    height: 300px;
  }
  
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .model-name {
    font-size: 13px;
    padding-top: 8px;
  }
  
  .info-section {
    padding: 24px;
  }
  
  .info-title {
    font-size: 24px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .featured-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .featured-img {
    height: 250px;
  }
  
  .stories-container {
    gap: 12px;
  }
  
  .story-ring {
    width: 70px;
    height: 70px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444444;
}

/* Placeholder images */
.featured-img[src*="placeholder"],
.model-img[src*="placeholder"],
.story-img[src*="placeholder"],
.news-img[src*="placeholder"] {
  background: linear-gradient(45deg, #2a2a2a 25%, transparent 25%), 
              linear-gradient(-45deg, #2a2a2a 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, #2a2a2a 75%), 
              linear-gradient(-45deg, transparent 75%, #2a2a2a 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  position: relative;
}

.featured-img[src*="placeholder"]::after,
.model-img[src*="placeholder"]::after,
.story-img[src*="placeholder"]::after,
.news-img[src*="placeholder"]::after {
  content: "📷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #666;
}

/* Profile page (E-002 + E-015 polish) */
.profile-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  --profile-gutter-x: 16px;
}

.profile-bio-section--desktop {
  display: none;
}

.profile-page {
  animation: profile-fade-in 0.35s ease;
}

@keyframes profile-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-nav {
  margin-bottom: 20px;
}

.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px 8px 8px;
  margin-left: -8px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.profile-back:hover {
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.08);
}

.profile-back-icon {
  flex-shrink: 0;
}

/* Hero */
.profile-hero-row {
  margin-bottom: 24px;
}

.profile-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
}

.profile-info-column {
  display: none;
}

.profile-details-section--mobile .profile-details {
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
}

.profile-details-section--mobile {
  margin-bottom: 28px;
}

.profile-details-section--mobile .profile-details-panels {
  overflow: visible;
}

.profile-hero-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.profile-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.profile-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 24px 20px 20px;
}

.profile-name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.15;
}

.profile-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cccccc;
  font-size: 15px;
  font-weight: 500;
}

.profile-location-icon {
  flex-shrink: 0;
  color: #ff6b35;
}

/* Segmented tabs (profile details + media gallery) */
.profile-segmented-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
  background: #252525;
  border-bottom: 1px solid #333333;
}

.profile-segmented-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: #888888;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.profile-segmented-tab:hover:not(.is-active) {
  color: #cccccc;
  background: rgba(255, 255, 255, 0.06);
}

.profile-segmented-tab.is-active {
  background: #ff6b35;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.profile-segmented-tab:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

.profile-media-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.profile-media-tab__count {
  font-size: 0.92em;
  font-weight: 500;
  opacity: 0.72;
}

.profile-media-tab.is-active .profile-media-tab__count {
  opacity: 0.92;
}

.profile-details-panels {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.profile-details-panel {
  display: none;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 12px;
  align-content: start;
  font-size: 13px;
  line-height: 1.45;
}

.profile-details-panel.is-active {
  display: grid;
}

.profile-details-row {
  display: contents;
}

.profile-details-label,
.profile-details-value {
  padding: 9px 10px;
  background: #1a1a1a;
}

.profile-details-label {
  color: #ff6b35;
  font-weight: 700;
  white-space: nowrap;
  padding-right: 0;
  padding-left: 12px;
}

.profile-details-value {
  color: #cccccc;
  font-weight: 400;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  padding-left: 0;
  padding-right: 12px;
}

.profile-details-row--alt .profile-details-label,
.profile-details-row--alt .profile-details-value {
  background: #222222;
}

/* Body layout */
.profile-body {
  display: grid;
  gap: 28px;
  align-items: start;
}

.profile-content {
  min-width: 0;
}

/* Media gallery (Ensaio / Vídeos / Fotos amadoras) */
.profile-media-section {
  margin-bottom: 0;
}

.profile-media {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
}

.profile-media-panels {
  padding: 18px 20px;
}

.profile-media-panel {
  display: none;
}

.profile-media-panel.is-active {
  display: block;
}

.profile-media-empty {
  margin: 0;
  padding: 36px 16px;
  text-align: center;
  color: #888888;
  font-size: 15px;
}

.profile-section {
  margin-bottom: 28px;
}

.profile-section:last-child {
  margin-bottom: 0;
}

.profile-section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.profile-bio-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
}

.profile-bio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #252525;
  border-bottom: 1px solid #333333;
  flex-shrink: 0;
}

.profile-bio-contact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #333333;
  flex-shrink: 0;
}

.profile-bio-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2ee06a 0%, #20bd5a 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.profile-bio-whatsapp:hover {
  color: #ffffff;
  filter: brightness(1.05);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.48);
  transform: translateY(-1px);
}

.profile-bio-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.32);
}

.profile-bio-whatsapp:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.profile-bio-whatsapp .profile-whatsapp-icon {
  flex-shrink: 0;
}

.profile-social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.profile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.profile-social-link:hover {
  transform: scale(1.08);
  opacity: 0.92;
}

.profile-social-icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
}

.profile-bio-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  margin: 0;
  flex-shrink: 0;
}

.profile-bio-body {
  padding: 18px 20px;
}

.profile-bio {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.75;
}

.profile-bio + .profile-bio {
  margin-top: 14px;
}

/* Gallery grid */
.profile-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.profile-gallery-item {
  margin: 0;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  transition: transform 0.2s ease;
}

.profile-gallery-item:hover {
  transform: translateY(-2px);
}

.profile-gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: inherit;
  overflow: hidden;
  position: relative;
  color: inherit;
  font: inherit;
}

.profile-gallery-trigger:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

.profile-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.profile-gallery--videos .profile-gallery-item,
.profile-gallery--videos .profile-gallery-trigger {
  position: relative;
}

.profile-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  transition: background 0.2s ease;
}

.profile-gallery-trigger--video:hover .profile-video-play,
.profile-gallery-trigger--video:focus-visible .profile-video-play {
  background: rgba(0, 0, 0, 0.48);
}

.profile-video-play svg {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

/* Media lightbox */
body.profile-lightbox-open {
  overflow: hidden;
}

body.profile-lightbox-open .profile-whatsapp-fab {
  opacity: 0;
  pointer-events: none;
}

.profile-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  --lightbox-gutter-x: 48px;
}

.profile-lightbox[hidden] {
  display: none;
}

.profile-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: default;
  pointer-events: auto;
}

.profile-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  pointer-events: none;
}

.profile-lightbox__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(100vw - (var(--lightbox-gutter-x) * 2));
  height: 100vh;
  min-width: 0;
  min-height: 0;
  pointer-events: auto;
  cursor: default;
}

.profile-lightbox__media {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  user-select: none;
  cursor: default;
  pointer-events: auto;
}

.profile-lightbox__video {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 0;
  user-select: none;
  cursor: default;
  pointer-events: auto;
}

.profile-lightbox__iframe {
  width: calc(100vw - (var(--lightbox-gutter-x) * 2));
  height: 100vh;
  border: none;
  border-radius: 0;
  background: #000000;
  pointer-events: auto;
  cursor: default;
}

.profile-lightbox__video-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ff6b35;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
  pointer-events: auto;
  cursor: pointer;
}

.profile-lightbox__video-link:hover {
  background: #ff8555;
  color: #ffffff;
}

.profile-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  pointer-events: auto;
}

.profile-lightbox__close:hover {
  opacity: 0.75;
}

.profile-lightbox__close:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

.profile-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, background 0.2s ease;
  pointer-events: auto;
}

.profile-lightbox__nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.profile-lightbox__nav:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

.profile-lightbox__nav--prev {
  left: 16px;
}

.profile-lightbox__nav--next {
  right: 16px;
}

.profile-lightbox__nav.is-disabled,
.profile-lightbox__nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.profile-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #cccccc;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  pointer-events: none;
}

/* WhatsApp floating action button */
.profile-whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-whatsapp-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.profile-whatsapp-fab .profile-whatsapp-icon {
  flex-shrink: 0;
}

.profile-whatsapp-icon {
  flex-shrink: 0;
}

/* 404 state */
.profile-not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 32px 16px 64px;
}

.profile-not-found-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 40px 32px;
}

.profile-not-found-label {
  display: inline-block;
  color: #ff6b35;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(255, 107, 53, 0.12);
  border-radius: 999px;
}

.profile-not-found-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.profile-not-found-text {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.profile-not-found-text strong {
  color: #ffffff;
  font-weight: 600;
}

.profile-not-found-hint {
  color: #888888;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.profile-not-found-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  min-width: 220px;
  height: 48px;
}

.profile-unlisted-banner {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.28);
  text-align: center;
}

.profile-unlisted-banner__text {
  margin: 0;
  font-weight: 600;
  color: #ffd666;
  letter-spacing: 0.02em;
}

.profile-page--unlisted .profile-bio-contact,
.profile-page--unlisted .profile-social-links,
.profile-page--unlisted .profile-whatsapp-fab {
  display: none !important;
}

.header .logo-link {
  text-decoration: none;
  color: inherit;
}

.profile-hero-img[src*="placeholder"],
.profile-gallery-img[src*="placeholder"] {
  background: linear-gradient(45deg, #2a2a2a 25%, transparent 25%),
              linear-gradient(-45deg, #2a2a2a 25%, transparent 25%),
              linear-gradient(45deg, transparent 75%, #2a2a2a 75%),
              linear-gradient(-45deg, transparent 75%, #2a2a2a 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

@media (min-width: 769px) {
  .profile-main {
    max-width: 1260px;
    padding: 20px 8px 48px;
  }

  .profile-hero-row {
    --profile-hero-height: 500px;
    --profile-hero-width: calc(var(--profile-hero-height) * 2 / 3);
    display: grid;
    grid-template-columns: var(--profile-hero-width) minmax(0, 1fr) 320px;
    gap: 14px;
    align-items: stretch;
  }

  .profile-hero {
    width: var(--profile-hero-width);
    max-width: 100%;
  }

  .profile-hero-img {
    width: 100%;
    height: var(--profile-hero-height);
    max-height: var(--profile-hero-height);
    aspect-ratio: 2 / 3;
    object-fit: cover;
  }

  .profile-bio-section--desktop {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    min-width: 0;
    height: var(--profile-hero-height);
  }

  .profile-bio-section--desktop .profile-bio-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }

  .profile-bio-section--desktop .profile-bio-header {
    flex-shrink: 0;
    padding: 12px 16px;
  }

  .profile-bio-section--desktop .profile-bio-title {
    font-size: 16px;
  }

  .profile-bio-section--desktop .profile-bio-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 14px;
  }

  .profile-bio-section--desktop .profile-bio {
    font-size: 14px;
    line-height: 1.6;
  }

  .profile-bio-section--desktop .profile-bio + .profile-bio {
    margin-top: 10px;
  }

  .profile-info-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--profile-hero-height);
  }

  .profile-info-column .profile-details {
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    min-height: 0;
  }

  .profile-details-section--mobile {
    display: none;
  }

  .profile-segmented-tabs {
    padding: 8px 6px;
    gap: 4px;
    flex-shrink: 0;
  }

  .profile-segmented-tab {
    font-size: 12px;
    padding: 8px 6px;
  }

  .profile-details-panels {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }

  .profile-bio-section--mobile {
    display: none;
  }

  .profile-hero-overlay {
    padding: 24px 16px 16px;
  }

  .profile-name {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .profile-main {
    padding: 12px var(--profile-gutter-x) 32px;
    --profile-gutter-x: 10px;
  }

  .profile-hero-row {
    margin-bottom: 20px;
  }

  .profile-hero {
    border-radius: 12px;
  }

  .profile-hero-overlay {
    padding: 20px 16px 16px;
  }

  .profile-name {
    font-size: 26px;
  }

  .profile-details-section--mobile {
    margin-bottom: 20px;
  }

  .profile-details-section--mobile .profile-details-tabs {
    padding: 8px 6px;
    gap: 4px;
  }

  .profile-details-section--mobile .profile-details-tab {
    font-size: 12px;
    padding: 8px 6px;
  }

  /* Media block — full viewport width on mobile */
  .profile-media-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .profile-media {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .profile-media-tabs {
    padding-left: 10px;
    padding-right: 10px;
  }

  .profile-media-tabs .profile-segmented-tab {
    font-size: 11px;
    padding: 8px 4px;
    white-space: normal;
    line-height: 1.15;
  }

  .profile-media-panels {
    padding: 12px 0 0;
  }

  .profile-media-empty {
    padding-left: 16px;
    padding-right: 16px;
  }

  .profile-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }

  .profile-gallery-item {
    border-radius: 0;
  }

  .profile-gallery-trigger,
  .profile-gallery-img,
  .profile-gallery .model-img {
    border-radius: 0;
  }

  .profile-gallery-item:hover {
    transform: none;
  }

  .profile-bio-card {
    padding: 0;
  }

  .profile-bio-body {
    padding: 18px 16px;
  }

  .profile-bio-contact {
    padding: 12px 14px;
    gap: 10px;
  }

  .profile-bio-whatsapp {
    font-size: 13px;
    min-height: 46px;
    padding: 11px 16px;
  }

  .profile-lightbox {
    --lightbox-gutter-x: 0;
  }

  .profile-lightbox__stage {
    width: 100vw;
    touch-action: pan-y pinch-zoom;
  }

  .profile-lightbox__media,
  .profile-lightbox__video {
    width: 100vw;
    height: auto;
    max-height: 100dvh;
    object-fit: contain;
  }

  .profile-lightbox__iframe {
    width: 100vw;
    height: 100dvh;
  }

  .profile-lightbox__nav {
    display: none;
  }

  .profile-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .profile-whatsapp-fab {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
}

/* Shared media player (stories + profile videos) */
body.media-player-open {
  overflow: hidden;
}

body.media-player-open .profile-whatsapp-fab {
  opacity: 0;
  pointer-events: none;
}

.media-player {
  position: fixed;
  inset: 0;
  z-index: 9600;
}

.media-player[hidden] {
  display: none;
}

.media-player__backdrop {
  position: absolute;
  inset: 0;
  background: #000000;
}

.media-player__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-player__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px 0;
  pointer-events: none;
}

.media-player__progress {
  flex: 1;
  display: flex;
  gap: 4px;
  min-width: 0;
  padding-top: 4px;
}

.media-player__progress-segment {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.media-player__progress-segment.is-complete {
  background: rgba(255, 255, 255, 0.95);
}

.media-player__progress-segment.is-active {
  background: rgba(255, 255, 255, 0.35);
}

.media-player__progress-fill {
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform-origin: left center;
  transform: scaleX(0);
}

.media-player__progress-segment.is-complete .media-player__progress-fill {
  transform: scaleX(1);
}

.media-player__close {
  pointer-events: auto;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-player__close:hover {
  opacity: 0.75;
}

.media-player__stage-wrap {
  position: relative;
  width: min(100vw, calc(100vh * 9 / 16));
  height: 100vh;
  max-height: 100dvh;
}

.media-player__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.media-player__video,
.media-player__image,
.media-player__iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  background: #000000;
}

.media-player__tap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 35%;
  z-index: 2;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.media-player__tap--prev {
  left: 0;
}

.media-player__tap--next {
  right: 0;
}

.media-player__play-pause {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 72px;
  height: 72px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.media-player__play-pause.is-playing {
  opacity: 0;
}

.media-player__play-pause.is-playing:hover,
.media-player__play-pause.is-playing:focus-visible {
  opacity: 1;
}

.media-player__icon-pause {
  display: none;
}

.media-player__play-pause.is-playing .media-player__icon-play {
  display: none;
}

.media-player__play-pause.is-playing .media-player__icon-pause {
  display: block;
}

.media-player__sidebar {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.media-player--gallery .media-player__model-nav {
  display: none;
}

.media-player__model-nav {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-player__model-nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.media-player__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  flex-shrink: 0;
}

.media-player__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-player__name {
  position: absolute;
  left: 20px;
  bottom: 24px;
  z-index: 4;
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.media-player__external-link {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 999px;
  background: #ff6b35;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 768px) {
  .media-player__stage-wrap {
    width: 100vw;
  }

  .media-player__sidebar {
    right: 10px;
    gap: 10px;
  }

  .media-player__avatar {
    width: 64px;
    height: 64px;
  }

  .media-player__name {
    left: 14px;
    bottom: 18px;
    font-size: 16px;
  }

  .media-player__top {
    padding: 10px 10px 0;
  }
}