:root {
  --page-bg: #fbeee6;
  --card-bg: #ffffff;
  --surface-2: #f4ede8;
  --text: #1a1a1a;
  --text-dim: #767676;
  --accent-start: #ff7a3d;
  --accent-end: #ffb37a;
  --accent-solid: #ff7a3d;
  --success: #1fa855;
  --radius: 20px;
  --radius-pill: 999px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page-bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.hidden { display: none !important; }

.age-gate { position: fixed; inset: 0; background: rgba(20,12,8,0.85); display: flex; align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.age-gate-box { background: var(--card-bg); border-radius: var(--radius); padding: 32px 24px; max-width: 380px; text-align: center; }
.age-gate-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.app { max-width: 640px; margin: 0 auto; padding: 16px 12px 60px; }
@media (min-width: 769px) { .app { max-width: 736px; } }

.card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 24px rgba(60, 30, 10, 0.08); }
.cover { width: 100%; aspect-ratio: 3 / 1; overflow: hidden; background: var(--surface-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-row { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 20px; margin-top: -44px; }
.avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 4px solid var(--card-bg); background: var(--surface-2); flex-shrink: 0; }
.stats-icons { display: flex; gap: 16px; padding-bottom: 8px; }
.stat-icon { display: flex; align-items: center; gap: 5px; color: var(--text); font-size: 13px; font-weight: 600; }
.stat-icon svg { width: 17px; height: 17px; color: var(--text-dim); }
.profile-info { padding: 10px 20px 0; }
.creator-name { margin: 0 0 2px; font-size: 21px; display: flex; align-items: center; gap: 6px; }
.creator-name .verified-badge { width: 18px; height: 18px; flex-shrink: 0; }
.handle { color: var(--text-dim); margin: 0 0 10px; font-size: 14px; }
.bio { color: #333; line-height: 1.5; margin: 0 0 12px; white-space: pre-line; font-size: 14px; }
.social-links { display: flex; gap: 10px; margin-bottom: 6px; }
.social-links a { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); color: var(--text); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; text-decoration: none; }

.plans { padding: 12px 20px 20px; }
.plans-title { font-size: 19px; margin: 10px 0 12px; }
.plans-list { display: flex; flex-direction: column; gap: 12px; }
.plan-card { background: linear-gradient(135deg, var(--accent-start), var(--accent-end)); border: none; border-radius: var(--radius-pill); padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; box-shadow: 0 4px 14px rgba(255, 122, 61, 0.28); }
.plan-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 122, 61, 0.42); filter: brightness(1.03); }
.plan-card .plan-label { font-weight: 700; color: #fff; }
.plan-card .plan-price { font-size: 18px; font-weight: 700; color: #fff; white-space: nowrap; }
.oferta-extra { background: #ffe9d6; color: #a1531c; text-align: center; font-weight: 700; font-size: 13px; border-radius: var(--radius-pill); padding: 12px 18px; margin-top: 12px; }
.subscription-badge { background: #e3f6e9; color: #1f7a42; text-align: center; font-weight: 700; font-size: 13px; border-radius: var(--radius-pill); padding: 12px 18px; margin: 0 0 12px; }
.subscription-badge.pending { background: #ffe9d6; color: #a1531c; }
.promo-toggle { width: 100%; background: none; border: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 0 12px; font-size: 19px; font-weight: 700; color: var(--text); cursor: pointer; font-family: inherit; }
.promo-toggle .chevron { width: 20px; height: 20px; transition: transform .2s ease; color: var(--text-dim); }
.promo-toggle.collapsed .chevron { transform: rotate(180deg); }

.content-tabs { display: flex; gap: 8px; background: var(--card-bg); border-radius: var(--radius); padding: 8px; margin: 14px 12px; box-shadow: 0 4px 24px rgba(60, 30, 10, 0.08); }
.tab-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: none; border: none; border-radius: var(--radius-pill); padding: 12px 10px; font-size: 14px; font-weight: 700; color: var(--text-dim); cursor: pointer; font-family: inherit; }
.tab-btn svg { width: 18px; height: 18px; }
.tab-btn.active { background: linear-gradient(135deg, var(--accent-start), var(--accent-end)); color: #fff; }
.tab-panel { background: var(--card-bg); border-radius: var(--radius); padding: 20px; margin: 0 12px; box-shadow: 0 4px 24px rgba(60, 30, 10, 0.08); }
.tab-empty { color: var(--text-dim); text-align: center; margin: 10px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(9px); transform: scale(1.15); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(20,12,8,0.28); }
.gallery-item svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; color: #fff; z-index: 1; }
.unlock-btn { width: 100%; justify-content: center; gap: 8px; }
.unlock-btn svg { width: 18px; height: 18px; color: #fff; }

.footer { padding: 20px 12px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer .unlock-btn { max-width: 640px; margin: 0 auto; }
.footer-logo { display: flex; justify-content: center; }
.footer-logo img { height: 22px; width: auto; max-width: 160px; object-fit: contain; opacity: 0.85; }
.disclaimer { color: var(--text-dim); font-size: 12px; text-align: center; margin: 0; }

.btn { display: inline-block; border: none; border-radius: var(--radius-pill); padding: 12px 20px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--accent-start), var(--accent-end)); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-dim); border: 1px solid #ddd; }

.modal { position: fixed; inset: 0; background: rgba(20,12,8,.6); display: flex; align-items: center; justify-content: center; z-index: 998; padding: 16px; }
.modal-box { background: #fff; border-radius: 20px; padding: 28px 22px; max-width: 380px; width: 100%; position: relative; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.modal-close { position: absolute; top: 10px; right: 14px; background: none; border: none; color: var(--text-dim); font-size: 22px; cursor: pointer; line-height: 1; }
.qr-placeholder { width: 220px; height: 220px; background: #fff; border: 1px solid var(--surface-2); border-radius: 8px; margin: 10px auto; display: flex; align-items: center; justify-content: center; color: #999; font-size: 12px; text-align: center; padding: 10px; }
.pix-copy-row { display: flex; gap: 8px; margin: 14px 0; }
.pix-copy-row input { flex: 1; background: var(--surface-2); border: 1px solid #e6d9d0; color: var(--text); border-radius: 8px; padding: 10px; font-size: 12px; min-width: 0; }
.modal-amount { font-size: 20px; font-weight: 700; color: var(--accent-solid); }
.modal-status { color: var(--text-dim); }

.dev-note { max-width: 640px; margin: 0 auto 16px; padding: 10px 20px; background: #fff; color: var(--text-dim); font-size: 12px; text-align: center; border-radius: 10px; box-shadow: 0 2px 10px rgba(60,30,10,0.06); }
