/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  background-color: #faf7f2;
  font-size: 32px;
  line-height: 1.5;
  color: #000;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.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("image.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.card-body {
  padding: 0 1.25rem 1.5rem;
  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;
}

.external-link {
  color: black;
}

.user-info {
  margin-top: 0.75rem;
}

.user-name {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: black;
}

.user-handle {
  font-size: 1rem;
  color: black;
}

.user-bio {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: black;
}

.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;
  margin-bottom: 0.75rem;
}

.subscription-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.6rem;

  background: linear-gradient(135deg, #f79e59, #fac69d, #f7ab99);
  border: none;
  border-radius: 1.5rem;
  color: black;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.75rem;
}

.button-text {
  font-weight: bold;
}

.button-price {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: bold;
}

/* Promotions Section */
.promotions-section {
  margin-top: 1rem;
}

.promotions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.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: 3px;
  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.5rem;
  right: 0.5rem;
  height: 2px;
  background-color: #e5e7eb;
}

.tab-indicator::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 50%;
  background-color: #f97316;
  transition: all 0.2s;
  left: 0;
}

.tab-indicator.media::after {
  left: 50%;
}

.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: black;
  cursor: pointer;
  transition: color 0.2s;
  font-size: 1.1rem;
  font-weight: bold;
}

.tab.active {
  background: white;
  color: #f97316;
}

.tab-icon {
  width: 1rem;
  height: 1.25rem;
}

/* Post Card */
.post-card {
  padding: 1rem;
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.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: 600;
  font-size: 1.125rem;
  color: black;
}

.post-user-handle {
  font-size: 1rem;
  color: black;
}

.post-menu {
  color: black;
}

.menu-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.post-content {
  margin-top: 0.75rem;
  border-radius: 0.375rem;
  background-color: rgba(0, 0, 0, 0.04);
  height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: black;
}

.lock-icon {
  height: 2.5rem;
  width: 2.5rem;
}

.post-meta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.image-icon {
  height: 1rem;
  width: 1rem;
}

.post-footer {
  margin-top: 0.75rem;
  display: flex;
  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;
}

.filter-button {
  font-weight: normal;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  transition: all 0.2s;
  background-color: #f3f4f6;
  color: black;
  border: none;
  cursor: pointer;
}

.filter-button:hover {
  background-color: #e5e7eb;
}

.filter-button.active {
  color: #fb923c;
}

.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;
}

.media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.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%;
    max-width: 22.5rem;
  }

  .user-name {
    font-size: 1.25rem;
  }

  .tab {
    font-size: 0.875rem;
  }
}
/* CSS */
.block-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  width: 100%;
  max-width: 400px;
}

.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 {
  /* Deixe vazio como no HTML original, ou defina um texto aqui */
  font-size: 14px;
}

.right .icon-right {
  width: 17px;
  height: 20px;
  display: block;
}

/* Extras opcionais */
.block-actions:hover {
  border-color: #d6d6d6;
}
