/* styles.css - Extracted from index.ejs inline styles */
:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --orange-900: #7c2d12;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 0.5rem;
  --radius-sm: 0.25rem;
  --radius-lg: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: white;
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 32px;
  width: auto;
}

/* Main Content */
main {
  padding: 2rem 1rem;
}

/* Profile Section */
.profile-section {
  position: relative;
  margin-bottom: 4rem;
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 12rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.banner-content {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

.banner-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.banner-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: white;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.card-header {
  padding: 1.5rem 1.5rem 0.5rem;
}

.card-header h3 {
  font-size: 1.125rem;
  font-weight: 500;
}

.card-content {
  padding: 1.5rem;
}

/* Profile Card */
.profile-card {
  padding-top: 0.5rem;
  margin-top: 2rem;
}

.profile-card span {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.username {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.bio {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

/* Subscription Buttons */
.subscription-link {
  display: block;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.subscription-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 3.5rem;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.primary-button {
  background: linear-gradient(to right, var(--orange-400), var(--orange-500));
  color: white;
  border: none;
}

.primary-button:hover {
  background: linear-gradient(to right, var(--orange-500), var(--orange-600));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.outline-button {
  background-color: white;
  border: 1px solid var(--orange-200);
  color: var(--gray-800);
}

.outline-button:hover {
  background-color: var(--orange-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: var(--orange-100);
  color: var(--orange-800);
}

.price {
  font-weight: 700;
}

.highlight {
  color: var(--orange-600);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Promotions */
.promotions {
  margin-top: 1.5rem;
}

.promotions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.promotions-header h4 {
  font-size: 0.875rem;
  font-weight: 500;
}

.chevron {
  color: var(--gray-400);
  transition: transform 0.3s ease;
}

/* Tabs */
.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.tab {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  background-color: var(--gray-100);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  color: var(--gray-600);
}

.tab.active {
  background-color: var(--orange-50);
  color: var(--orange-500);
  font-weight: 500;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Media Subtabs */
.media-subtabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.subtab {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  background-color: var(--gray-100);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s;
  color: var(--gray-600);
  white-space: nowrap;
}

.subtab.active {
  background-color: var(--orange-100);
  color: var(--orange-700);
  font-weight: 500;
}

/* Gallery */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 20px;
}

.gallery-item {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-item img:first-child {
  width: 100%;
  height: auto;
  display: block;
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 300px;
  z-index: 1;
}

/* Post Card */
.post-card {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border-bottom: 1px solid var(--gray-100);
}

.post-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.post-user h4 {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.125rem;
}

.post-username {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Post Content */
.post-content {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.post-image, .post-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-video-container, .post-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.lock-icon {
  position: relative;
  z-index: 1;
  color: var(--gray-400);
  background-color: rgba(255, 255, 255, 0.5);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Post Stats */
.post-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--gray-600);
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
}

.post-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

/* Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.media-item {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--orange-50);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-item .lock-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0;
}

.logo-background {
  position: absolute;
  width: 80%;
  max-width: 200px;
  height: auto;
  opacity: 0.1;
  z-index: 0;
}

/* Testimonials */
.testimonials-scroll {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 0;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 250px;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  white-space: normal;
  text-align: center;
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.testimonial-card p {
  margin-top: 5px;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: #fff;
  padding: 20px 10px;
  font-size: 13px;
  color: #555;
  text-align: center;
  border-top: 1px solid #eee;
  margin-top: 30px;
}

.footer a {
  color: #ff6d00;
  text-decoration: none;
}

/* FAQ */
.faq {
  padding: 30px 20px;
  max-width: 600px;
  margin: 40px auto;
  border-radius: 10px;
  background: #f9f9f9;
}

.faq h2 {
  text-align: center;
  font-size: 22px;
  color: #ff6d00;
  margin-bottom: 20px;
}

.faq details {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 15px;
}

.faq summary {
  font-weight: bold;
  cursor: pointer;
}

.faq details p {
  margin-top: 10px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background-color: white;
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  z-index: 50;
}

.cookie-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.cookie-consent button {
  align-self: center;
  padding: 0.5rem 1.5rem;
}

/* Popup Compra */
.popup-compra {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #f68f72;
  border: 2px solid #e2e2e2;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  font-family: Arial, sans-serif;
  color: #fff;
  z-index: 9999;
  opacity: 0;
  transform: translateY(30px);
  animation: popupLoop 30s infinite;
}

.popup-compra .texto {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

@keyframes popupLoop {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  5% {
    opacity: 1;
    transform: translateY(0);
  }
  16.66% {
    opacity: 1;
    transform: translateY(0);
  }
  16.67% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Responsive */
@media (min-width: 768px) {
  .cookie-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cookie-consent button {
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .banner-stats {
    font-size: 0.75rem;
  }
}

/* Post Actions */
.post-actions {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  border: none;
  background-color: transparent;
  color: var(--gray-600);
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.action-button:hover {
  background-color: var(--gray-100);
}

.action-button.bookmark {
  margin-left: auto;
}

