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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: #000;
}

.container {
  min-height: 100vh;
  position: relative;
  background: #000;
}

/* Desktop Background Only */
.desktop-background {
  display: none;
}
.onlyfans-link {
  display: block;
  cursor: pointer;
  text-decoration: none; /* remove underline */
}
@media (min-width: 638px) {
  .desktop-background {
    display: block;
    position: fixed;
    inset: 0;
    background-image: url("profile.webp");
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    filter: blur(48px);
    opacity: 0.6;
    transition: transform 0.1s ease-out;
  }

  .container {
    background: linear-gradient(
      135deg,
      rgba(147, 51, 234, 0.4) 0%,
      rgba(219, 39, 119, 0.3) 50%,
      rgba(234, 88, 12, 0.4) 100%
    );
  }
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0;
}

/* Mobile: Full screen, no padding */
@media (max-width: 767px) {
  .main-content {
    padding: 0;
    align-items: flex-start;
    min-height: 100vh;
  }
}

.profile-wrapper {
  width: 100%;
  max-width: 384px;
  margin: 0 auto;
}

/* Mobile: Full width */
@media (max-width: 767px) {
  .profile-wrapper {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
  }
}

/* Profile Card */
.profile-card {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(24px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.664);
  width: 100%;
  margin-top: 30px;
}

/* Mobile: No blur, no border radius, full width */
@media (max-width: 638px) {
  .profile-card {
    background: #000;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    margin-top: 0px;
  }
}

/* Profile Section */
.profile-section {
  position: relative;
}

.profile-image-container {
  aspect-ratio: 3/3.4;
  position: relative;
}

.profile-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* High Quality Image Settings */
.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: #000 solid 4px;
  transition: opacity 500ms ease-out;
  /* High quality image rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  /* Prevent image compression */
  backface-visibility: hidden;
  transform: translateZ(0);
  /* Smooth rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Black overlay for fade effect - Works on all devices */
@media (max-width: 676px) {
  .black-overlay {
    position: absolute;
    inset: 0;
    background: black;
    transition: opacity 700ms ease-out;
    opacity: 0;
    pointer-events: none;
  }

  .profile-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgb(0, 0, 0) 0%,
      rgba(0, 0, 0, 0.842) 20%,
      transparent 50%
    );
  }
}

/* Profile Info */
.profile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  color: white;
}

.profile-info-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-name {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 4px;
}

.profile-username {
  color: #858686;
  font-size: 14px;
  font-weight: bolder;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 2px;
}

@media (max-width: 639px) {
  .social-icon {
    width: 38px;
    height: 38px;
    font-size: 10px;
    margin-bottom: 10px;
  }
}

/* Profile Details */
.profile-details {
  font-size: 14px;
}

.profile-age {
  color: white;
  margin-bottom: 4px;
}

.highlight {
  font-weight: 500;
}

.profile-snap {
  color: #d1d5db;
  font-weight: bold;
}

/* Black Separator Area - Exactly like original */
.separator-area {
  background: #000;
  height: 12px;
  width: 100%;
}

/* OnlyFans Section with Rounded Corners */
.onlyfans-section {
  position: relative;
  background: #000;
  padding-left: 4px;
  padding-right: 4px;
}

.onlyfans-image-container {
  aspect-ratio: 16/9.5;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-left: 12px;
  margin-right: 12px;
}

/* High Quality OnlyFans Image */
.onlyfans-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* High quality image rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  /* Prevent image compression */
  backface-visibility: hidden;
  transform: translateZ(0);
  /* Smooth rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.onlyfans-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

/* OnlyFans Text - Bottom Aligned */
.onlyfans-text-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.onlyfans-text {
  color: white;
  font-size: 18px;
  font-weight: bold;
}

/* OnlyFans Icon */
.onlyfans-icon-container {
  position: absolute;
  top: 10px;
  right: 6px;
}

.onlyfans-icon {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onlyfans-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* Navigation Tabs */
.nav-tabs {
  background: black;
}

.tab-container {
  display: flex;
  justify-content: center; /* Center the tabs */
  gap: 14px; /* Small gap between tabs */
}

.tab-button {
  padding: 0 0 14px 4px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  transition: color 200ms ease-out;
  min-height: 44px;
  border-radius: 8px;
}

.tab-button:hover {
  color: #d1d5db;
}

.tab-button.active {
  color: white;
}

/* Content Area */
.content-area {
  background: black;
  position: relative;
  overflow: hidden;
}

.content-slider {
  display: flex;
  transition: transform 500ms ease-in-out;
  width: 200%;
}

.content-panel {
  width: 50%;
  flex-shrink: 0;
}

.content-inner {
  padding: 12px 12px;
  text-align: center;
}

.gradient-icon {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  display: flex;
  margin: 0 auto;
}
.gradient-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  align-items: center;
  justify-content: center;
}

.media-icon {
  background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
}

.content-title {
  font-family: "Inter", Arial, sans-serif;
  font-style: normal;
  font-weight: bold;
  color: var(--colorTextMain, var(--colorOnPrimary, #fff));
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
  font-size: 6.33vw;
  line-height: 6.78vw;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.content-description {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-family: "Inter", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--colorTextMain, var(--colorOnPrimary, #fff));
  text-align: center;
  margin: 0;
  margin-bottom: 0;
  width: 100%;
  font-size: 4vw;
  line-height: 5vw;
  opacity: 0.4;
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Desktop: Use px for font size and line height for better scaling */
@media (min-width: 640px) {
  .black-overlay {
    position: absolute;
    inset: 0;
    background: black;
    transition: opacity 700ms ease-out;
    opacity: 0;
    pointer-events: none;
  }

  .profile-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgb(0, 0, 0) 0%,
      rgba(0, 0, 0, 0.959) 20%,
      transparent 50%
    );
  }
  .content-title {
    font-size: 24px; /* or any large value you want */
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .content-description {
    font-size: 18px;
    line-height: 24px;
  }

  /* .main-content {
    padding: 16px;
  } */

  .profile-wrapper {
    max-width: 580px; /* Increase page width */
  }

  .profile-card {
    border-radius: 24px;
    width: 100%;
    max-width: 600px; /* Match wrapper width */
  }

  .profile-image-container {
    aspect-ratio: 3/3.1;
    position: relative;
  }

  .profile-info {
    padding: 24px;
  }

  .profile-info-content {
    gap: 16px;
  }

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

  .social-icons {
    gap: 1px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .profile-details {
    font-size: 14px;
  }

  .black-overlay {
    position: absolute;
    inset: 0;
    background: black;
    transition: opacity 700ms ease-out;
    opacity: 0;
    pointer-events: none;
  }

  .profile-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgb(0, 0, 0) 12%,
      rgba(0, 0, 0, 0.973) 8%,
      transparent 60%
    );
  }

  .separator-area {
  background: #000000;
  height: 8px;
  width: 100%;
}

  .onlyfans-text {
    font-size: 24px;
  }

  .onlyfans-text-container {
    padding: 10px;
  }

  .onlyfans-icon-container {
    top: 16px;
    right: 16px;
  }

  .onlyfans-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .tab-button {
    padding: 0px 0px 8px 0;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    transition: color 200ms ease-out;
    min-height: 44px;
    border-radius: 8px;
  }

  .tab-button:hover {
    color: #d1d5db;
  }

  .tab-button.active {
    color: white;
  }

  .content-inner {
    padding: 12px 24px;
    font-weight: 500;
  }

  .gradient-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    display: flex;
    margin: 0 auto;
  }

  .icon-inner {
    width: 24px;
    height: 24px;
  }
}

/* Custom scrollbar for desktop */
@media (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 6px;
  }

  ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
  }
}

/* Prevent zoom on input focus on iOS */
@media screen and (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px;
  }
}
