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

body {
  font-family:
    "Roboto",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: #f2f2f2;
  color: #242529;
  line-height: 1.5;
}

.app-container {
  max-width: 500px;
  margin: 0 auto;
  background-color: #fff;
  min-height: 100vh;
}

/* Header */
.header {
  background-color: #00aff0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.icon-back {
  width: 24px;
  height: 24px;
  color: #fff;
  cursor: pointer;
}

.header-info {
  color: #fff;
}

.header-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 600;
}

.verified-icon-small {
  width: 14px;
  height: 14px;
  color: #fff;
}

.header-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  opacity: 0.9;
}

.header-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-stats svg {
  width: 12px;
  height: 12px;
}

.icon-menu {
  width: 24px;
  height: 24px;
  color: #fff;
  cursor: pointer;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.of-logo {
  height: 28px;
}

/* Cover Photo */
.cover-photo {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

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

/* Profile Section */
.profile-section {
  background-color: #fff;
  padding: 0 16px 16px;
  position: relative;
}

.profile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.avatar-container {
  margin-top: -40px;
  position: relative;
}

.avatar-container.live {
  padding: 4px;
  background: linear-gradient(135deg, #ff0000, #ff4444);
  border-radius: 50%;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  display: block;
}

.live-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff0000;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.profile-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.action-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn svg {
  width: 18px;
  height: 18px;
  color: #242529;
}

.profile-name {
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  width: 18px;
  height: 18px;
  color: #00aff0;
}

.profile-handle {
  font-size: 14px;
  color: #8a96a3;
  margin-top: 2px;
}

.profile-bio {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.emoji {
  font-style: normal;
}

.profile-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #8a96a3;
}

.meta-item svg {
  width: 16px;
  height: 16px;
  color: #8a96a3;
}

.meta-item.link {
  color: #00aff0;
}

.meta-item.link svg {
  color: #00aff0;
}

.info-toggle {
  margin-top: 12px;
  background: none;
  border: none;
  color: #00aff0;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

/* Subscription */
.subscription-section {
  padding: 16px;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscription-label {
  font-size: 12px;
  color: #8a96a3;
  margin-bottom: 12px;
  font-weight: 500;
}

.subscribe-btn {
  width: 100%;
  background: #00aff0;
  border: none;
  border-radius: 24px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.subscribe-btn:hover {
  background: #008ccf;
}

.subscribe-btn.secondary {
  background: #00aff0;
}

.subscribe-btn.secondary:hover {
  background: #008ccf;
}

.subscribe-btn.premium {
  background: #00aff0;
}

.subscribe-btn.premium:hover {
  background: #008ccf;
}

.subscribe-btn span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.subscribe-btn .price {
  font-weight: 400;
}

/* Tabs */
.tabs {
  display: flex;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

.tab {
  flex: 1;
  padding: 14px;
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: #8a96a3;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.tab.active {
  color: #242529;
  border-bottom-color: #00aff0;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: #242529;
}

.filter-actions {
  display: flex;
  gap: 16px;
}

.filter-actions svg {
  width: 20px;
  height: 20px;
  color: #8a96a3;
  cursor: pointer;
}

/* Posts */
.posts {
  background: #f2f2f2;
}

.post {
  background: #fff;
  margin-bottom: 8px;
}

.post-header {
  display: flex;
  align-items: flex-start;
  padding: 12px 16px;
  gap: 10px;
  position: relative;
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.post-user-info {
  flex: 1;
}

.post-name {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified-icon-tiny {
  width: 14px;
  height: 14px;
  color: #00aff0;
}

.post-handle {
  font-size: 13px;
  color: #8a96a3;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-date {
  font-size: 12px;
  color: #8a96a3;
}

.post-menu {
  width: 20px;
  height: 20px;
  color: #8a96a3;
  cursor: pointer;
}

.post-pin {
  width: 16px;
  height: 16px;
  color: #8a96a3;
  position: absolute;
  right: 16px;
  top: 40px;
}

.post-content {
  padding: 0 16px 12px;
}

.post-content p {
  font-size: 14px;
  line-height: 1.5;
}

.post-media {
  width: 100%;
  height: 300px;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.post-media.locked {
  background: #000;
}

.post-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
}

.lock-icon {
  width: 32px;
  height: 32px;
  color: #fff;
  background: rgba(120, 120, 120, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px;
  border-radius: 50%;
  box-sizing: content-box;
}

/* Engagement Stats (likes + comments) */
.post-engagement {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(120, 120, 120, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 12px;
}

.engagement-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.engagement-item svg {
  flex-shrink: 0;
}

.engagement-item span {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.post-cta {
  padding: 12px 16px;
  background: #fff;
}

.post-cta .cta-btn {
  width: 100%;
  background: #00aff0;
  border: none;
  border-radius: 24px;
  padding: 14px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.post-cta .cta-btn:hover {
  background: #008ccf;
}

/* Testimonials */
.testimonials-section {
  background: #fff;
  padding: 20px 16px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #242529;
}

.testimonial {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  background: #00aff0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

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

.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: #242529;
}

.testimonial-text {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

/* Trust Badges */
.trust-section {
  background: #fff;
  padding: 20px 16px;
  border-top: 1px solid #e5e5e5;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.trust-item:last-child {
  border-bottom: none;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: #00aff0;
  flex-shrink: 0;
}

.trust-item span {
  font-size: 13px;
  color: #242529;
}

/* CTA Section */
.cta-section {
  padding: 20px 16px;
  background: #fff;
}

.cta-btn {
  width: 100%;
  background: #00aff0;
  border: none;
  border-radius: 24px;
  padding: 16px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #008ccf;
}

/* FAQ */
.faq-section {
  background: #fff;
  padding: 20px 16px;
  border-top: 1px solid #e5e5e5;
}

.faq-item {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 14px;
  font-weight: 600;
  color: #242529;
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* ========== CHECKOUT MODAL ========== */
.checkout-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.checkout-modal-overlay.active {
  display: flex;
}

.checkout-modal {
  background: #fff;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
  padding: 28px 22px 34px;
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #242529;
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.12);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.checkout-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f2f2f2;
  border: none;
  color: #242529;
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.checkout-modal-close:hover {
  background: #e0e0e0;
}

.checkout-modal-header {
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.checkout-modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #242529;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.checkout-modal-product {
  font-size: 14px;
  color: #00aff0;
  font-weight: 600;
}

.checkout-modal-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #d0ecff;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
  color: #0284c7;
}

.checkout-modal-notice svg {
  flex-shrink: 0;
  color: #00aff0;
}

/* Form Fields */
.checkout-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-field label {
  font-size: 12px;
  font-weight: 600;
  color: #8a96a3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkout-field input {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: #242529;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-family: inherit;
}

.checkout-field input::placeholder {
  color: #bbb;
}

.checkout-field input:focus {
  border-color: #00aff0;
  box-shadow: 0 0 0 3px rgba(0, 175, 240, 0.1);
}

/* Order Bumps */
.order-bumps {
  margin-bottom: 16px;
}

.order-bumps-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #242529;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.order-bump {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fafafa;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.order-bump:hover {
  border-color: #00aff0;
  background: #f6fbff;
  box-shadow: 0 2px 8px rgba(0, 175, 240, 0.08);
}

.order-bump input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: #00aff0;
  cursor: pointer;
  margin-top: 2px;
  border-radius: 4px;
}

.order-bump-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: #f0f9ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00aff0;
}

.order-bump-content {
  flex: 1;
}

.order-bump-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.order-bump-name {
  font-size: 14px;
  font-weight: 700;
  color: #242529;
}

.order-bump-price {
  font-size: 13px;
  font-weight: 700;
  color: #00aff0;
  white-space: nowrap;
}

.order-bump-desc {
  font-size: 12px;
  color: #8a96a3;
  line-height: 1.4;
}

/* Total */
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #f0f0f0;
  margin-bottom: 16px;
}

.checkout-total span:first-child {
  font-size: 15px;
  font-weight: 600;
  color: #8a96a3;
}

.checkout-total-valor {
  font-size: 22px;
  font-weight: 800;
  color: #00aff0;
}

/* Continuar Button */
.checkout-continuar-btn {
  width: 100%;
  background: #00aff0;
  border: none;
  border-radius: 12px;
  padding: 15px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.checkout-continuar-btn:hover {
  background: #0098d4;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 175, 240, 0.25);
}

.checkout-continuar-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Security Badge */
.checkout-modal-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  color: #aaa;
}

.checkout-modal-security svg {
  color: #00aff0;
  flex-shrink: 0;
}

/* Loading Spinner */
.checkout-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 0;
  color: #8a96a3;
  font-size: 14px;
}

.checkout-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #f0f0f0;
  border-top: 3px solid #00aff0;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* PIX Display */
.pix-display {
  text-align: center;
  padding: 10px 0;
}

.pix-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pix-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #242529;
}

.pix-qr-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  padding: 16px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
}

.pix-instruction {
  font-size: 13px;
  color: #8a96a3;
  margin-bottom: 12px;
}

.pix-copy-area {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.pix-copy-area input {
  flex: 1;
  background: #fafafa;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 12px;
  color: #242529;
  font-family: monospace;
  outline: none;
  min-width: 0;
}

.pix-copy-btn {
  background: #00aff0;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.pix-copy-btn:hover {
  background: #0098d4;
}

.pix-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #8a96a3;
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
}

/* Post Actions Bar */
.post-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
}

.post-actions-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.post-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.post-action-btn:hover {
  transform: scale(1.15);
}

.post-action-btn:active {
  transform: scale(0.95);
}

/* ========== MODAL DE AVISO ========== */
.aviso-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.aviso-modal-overlay.active {
  display: flex;
}

.aviso-modal {
  background: #fff;
  width: 90%;
  max-width: 340px;
  border-radius: 20px;
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
  animation: avisoFadeIn 0.25s ease-out;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

@keyframes avisoFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.aviso-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f2f2f2;
  border: none;
  color: #242529;
  font-size: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}

.aviso-modal-close:hover {
  background: #e0e0e0;
}

.aviso-modal-icon {
  margin-bottom: 16px;
}

.aviso-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #242529;
  margin-bottom: 8px;
}

.aviso-modal-text {
  font-size: 14px;
  color: #8a96a3;
  line-height: 1.5;
  margin-bottom: 22px;
}

.aviso-modal-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00aff0;
  border: none;
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.aviso-modal-btn:hover {
  background: #0098d4;
  transform: translateY(-1px);
}

.aviso-modal-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 768px) {
  body {
    background: #f2f2f2;
  }

  .app-container {
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .checkout-modal {
    border-radius: 20px;
    margin-bottom: 20px;
  }
}
