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

body {
  font-family: "Poppins", sans-serif;
  background-color: #faf7f2;
  
  line-height: 1.5;
  color: #000;
}

.hidden {
  display: none;
}

/* Icons */
.icon {
  width: 1rem;
  height: 1rem;
}

/* Main Container */
.main-container {
  min-height: 100vh;
  padding: 1rem;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.logo {
  height: 1.25rem;
  padding-top: 0.25rem;
}

.globe {
  height: 1.25rem;
}

/* Content Wrapper */
.content-wrapper {
  margin: 0 auto;
  max-width: 48rem;
}

.cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Card Base Styles */
.card {
  max-width: 28rem;
  width: 22.5rem;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

@media (min-width: 640px) {
  .card {
    width: 25rem;
  }
}

/* Subscription Card */
.subscription-card .card-content {
  position: relative;
}

.background-image {
  height: 7rem;
  width: 100%;
  background-image: linear-gradient(90deg, #f79e59, #f7ab99), url("../images/banner.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.card-body {
  padding: 10px;
  margin-top: -2rem;
}

.profile-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar-container {
  border-radius: 50%;
  border: 4px solid white;
  background-color: white;
}

.avatar {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  overflow: hidden;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.background .medias-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  top: 80px;
  justify-content: end;
  color: #333;
}

.background .medias-container .count-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.count-list {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
}

.count-list .stat-display {
  display: flex;
  align-items: center;
  gap: 4px;
}

.count-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 6px;
  color: #67748e;
}

.svg-inline--fa {
  display: var(--fa-display, inline-block);
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}

.user-info {
  margin-top: 0.75rem;
  padding: 0 7px;
}

.user-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1e293b;
}

.user-name svg {
  font-size: 18px;
  color: rgba(253, 115, 80, 1);
}

.user-handle {
  font-size: 1rem;
  color: #333;
}

.user-bio {
  font-size: 14px;
  margin-top: 0.5rem;
  color: black;
  position: relative;
}

.user-bio.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.read-more-btn {
  color: #f97316;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-top: 0.25rem;
  display: inline-block;
}

.social-icons {
  margin-top: 0.5rem;
}

.instagram-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: black;
}

/* Subscriptions Section */
.subscriptions-section {
  margin-top: 1.5rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 500;
  color: black;
  text-align: left;
  padding: 6px 0 5px 4px;
}

.subscription-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 20px;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(45deg, #f68d3d 0%, #f69347 3%, #f7a96c 17%, #f9b887 30%, #f9c298 41%, #fac69e 50%, #f9c09d 67%, #f8af9a 88%, #f7a499 100%);
  border-radius: 30px !important;
  border: none;
  color: black;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.75rem;
}

.button-text {
  font-weight: 500;
}

.button-price {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 16px;
  font-weight: 500;
}

/* Promotions Section */
.promotions-section {
  margin-top: 1rem;
}

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

.toggle-button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
  font-weight: bold;
  color: black;
  background-color: #f3f4f6;
  padding: 0.25rem 0.75rem;
  padding-left: 13px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.chevron-icon {
  height: 0.75rem;
  width: 0.75rem;
  transition: transform 0.3s;
}

.chevron-icon.rotated {
  transform: rotate(180deg);
}

.promotions-content {
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  max-height: 200px;
  opacity: 1;
}

.promotions-content.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

/* Tabs Card */
.tabs-card {
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.2s;
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e5e7eb;
  overflow: hidden;
  --indicator-transform: translateX(0);
}

.tab-indicator::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 50%;
  background-color: #f97316;
  transition: transform 0.3s ease;
  transform: var(--indicator-transform, translateX(0));
}

.tab-indicator[data-position="media"]::after {
  transform: translateX(100%);
}

.tabs {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0.5rem;
}

.tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  padding-left: 3px;
  background: white;
  border: none;
  border-radius: 9999px;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
  font-size: 16px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.tab.active {
  background: white;
  color: #f97316;
}

.tab-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Post Card */
.post-card {
  
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.post-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-avatar {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  overflow: hidden;
}

.post-user-details {
  line-height: 1.25;
}

.post-user-name {
  font-weight: 500;
  font-size: 14px;
  color: #1e293b;
}

.post-user-handle {
  font-size: 14px;
  color: #333;
}

.post-menu {
  color: black;
}

.menu-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.videopostagem {
  text-align: center;
  overflow: hidden;
  position: relative;
  height: unset;
  width: 100%;
  cursor: pointer;
}

.videopostagem.fullwidth img {
  object-fit: cover;
  max-height: calc(100vh - 120px);
  width: 100%;
  display: inline-block;
  max-width: unset;
  height: calc(40vh - 120px) !important;
  background-color: #f4eee5;
}

.feed-card .icon-media-locked {
  background-color: #f4eee5;
  width: 100% !important;
  height: 660px !important;
}

.feed-card .post-details {
  color: #67748e;
}

.post-details {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.post-details svg {
  height: 50px;
}

.videopostagem .post-details {
  color: #67748e;
}

.mb-2 {
  margin-bottom: .5rem !important;
}

.post-footer {
  align-items: center;
  justify-content: space-between;
  color: black;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.action-icon,
.bookmark-icon {
  height: 1.25rem;
  width: 1.25rem;
}

/* Media Card */
.media-card {
  padding: 1rem;
}

.media-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.gradient-icon {
    font-size: 18px;
    color: #F6842C;
}

.filter-button {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 16px;
  transition: all 0.2s;
  background: none;
  color: black;
  border: none;
  cursor: pointer;
}

.filter-button:hover {
  background-color: #e5e7eb;
}

.filter-button.active {
  color: #fb923c;
  background-color: #FEEEE2;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.media-item {
  aspect-ratio: 1;
  border-radius: 0.375rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.media-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-item:has(.media-video)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.media-item:has(.media-video)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent white;
  z-index: 2;
  pointer-events: none;
}

/* Remove o ícone de play das imagens */
.media-item:has(.media-image)::before,
.media-item:has(.media-image)::after {
  display: none;
}

.media-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0.375rem;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.media-overlay .lock-icon {
  height: 2.5rem;
  width: 2.5rem;
  color: white;
}

/* Animations */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideInFromTop 0.3s ease-out;
}

/* Responsive Design */
@media (max-width: 640px) {
  .card {
    width: 100%;
  }

  .user-name {
    font-size: 1.25rem;
  }
}
/* CSS */
.block-actions {
  display: flex;
  justify-content: space-between;
  padding: 16px;
}

.block-actions div {
  gap: .5rem;
}

.align-items-center {
  align-items: center !important;
}

.d-flex {
  display: flex !important;
}

.block-actions .action-icon {
  cursor: pointer;
  color: #656565;
  width: 22px !important;
  height: 22px !important;
}

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

.icon {
  width: 22px;
  height: 22px;
  display: block;
}

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

.money-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.money-text {
  font-size: 14px;
}

.right .icon-right {
  width: 17px;
  height: 20px;
  display: block;
}

.block-actions:hover {
  border-color: #d6d6d6;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  margin: auto;
  max-width: 600px;
  width: 90%;
  animation: slideIn 0.3s ease;
}

.modal-close {
  padding: 5px;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close:hover,
.modal-close:focus {
  background: #e5e7eb;
  color: #1e293b;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-post-card {
  max-width: 100%;
  width: 100%;
}

.modal-video-container {
  width: 100%;
  background-color: #000;
  position: relative;
}

.modal-video {
  width: 100%;
  height: auto;
  max-height: 70vh;
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Checkout Modal Styles */
#checkoutModal input[type="text"],
#checkoutModal input[type="email"] {
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#checkoutModal input[type="text"]:focus,
#checkoutModal input[type="email"]:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

#checkoutModal input[type="text"]::placeholder,
#checkoutModal input[type="email"]::placeholder {
  color: #9ca3af;
}

#checkoutModalClose {
  color: #6b7280;
}

#checkoutModalClose:hover {
  background: #e5e7eb !important;
  color: #1f2937;
  transform: rotate(90deg);
}

#checkoutModalClose:active {
  background: #d1d5db !important;
  transform: rotate(90deg) scale(0.95);
}

#copyPixBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 141, 61, 0.3);
}

#copyPixBtn:active {
  transform: translateY(0);
}
