@font-face { font-family: 'Poppins'; src: url('fonts/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('fonts/Poppins-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('fonts/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('fonts/Poppins-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --page: #faf8f6;
  --surface: #fff;
  --text: #161616;
  --muted: #6d6a68;
  --line: #e3e1df;
  --soft: #f4f1ee;
  --accent: #ff7654;
  --accent-yellow: #ffd64d;
  --accent-grad: linear-gradient(90deg, #ffc06f 0%, #ff9b72 48%, #ffcc59 100%);
  --shadow: 0 1px 2px rgba(20, 18, 16, .03), 0 8px 24px rgba(20, 18, 16, .035);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-family: 'Poppins', Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.privacy-app { min-height: 100vh; }
.topbar { height: 52px; display: flex; align-items: center; justify-content: center; position: relative; background: var(--page); border-bottom: 1px solid #efedeb; }
.wordmark { color: #191919; font-size: 18px; font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.wordmark span { color: #22d94b; margin-left: 1px; }
.language-button { position: absolute; right: 12px; top: 10px; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #222; font-size: 26px; line-height: 1; cursor: pointer; }

.profile-page { width: calc(100% - 24px); max-width: 700px; margin: 0 auto 34px; }
.profile-card { margin-top: 0; background: var(--surface); border: 1px solid #dfddda; border-radius: 24px; overflow: hidden; box-shadow: none; }
.profile-cover { height: 65px; background: linear-gradient(110deg, #1b16c9 0%, #4934ff 26%, #ff5b91 55%, #ff9ac6 100%); background-size: cover; background-position: center; }
.profile-cover.has-image { background-size: cover; }
.profile-main { position: relative; padding: 31px 14px 15px; }
.avatar-wrap { position: absolute; left: 14px; top: -30px; width: 60px; height: 60px; padding: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.profile-avatar, .mini-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.profile-avatar { border: 1px solid #ddd; }
.avatar-fallback { display: grid; place-items: center; background: linear-gradient(145deg, #e6a78b, #a84d67); color: #fff; font-weight: 800; font-size: 21px; }
.profile-actions { position: absolute; right: 13px; top: 7px; display: flex; gap: 6px; }
.icon-button { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: #444; }
.icon-button svg { width: 17px; height: 17px; }
.identity { margin: 0; }
.creator-name { font-size: 15px; font-weight: 600; line-height: 1.25; display: flex; align-items: center; gap: 5px; }
.creator-user { margin-top: 1px; color: #555; font-size: 12px; }
.verified { width: 14px; height: 14px; border-radius: 50%; display: inline-grid; place-items: center; background: #39a8ed; color: #fff; font-size: 9px; }
.profile-bio { margin: 11px 0 3px; color: #494745; font-size: 12px; line-height: 1.45; }
.subscription-area { margin-top: 14px; }
.section-label { font-size: 12px; font-weight: 700; margin: 0 0 6px 1px; }
.subscription-row { min-height: 42px; padding: 0 18px; margin: 0 0 7px; border-radius: 999px; background: var(--accent-grad); display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: filter .15s, transform .15s; }
.subscription-row:hover { filter: saturate(1.08) brightness(.98); transform: translateY(-1px); }
.subscription-row strong, .subscription-row span { font-size: 13px; font-weight: 600; }
.subscription-row span { white-space: nowrap; }
.promotions-toggle { width: 100%; border: 0; background: transparent; padding: 5px 2px 6px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 12px; font-weight: 700; }
.promotions-toggle svg { width: 15px; height: 15px; transition: transform .18s; }
.promotions-toggle[aria-expanded=false] svg { transform: rotate(180deg); }

.content-tabs { margin: 16px 0 26px; height: 52px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #e3e1de; border-radius: 24px; overflow: hidden; box-shadow: none; }
.tab-button { position: relative; border: 0; border-right: 1px solid #e6e4e1; background: transparent; display: flex; justify-content: center; align-items: center; gap: 7px; cursor: pointer; font-size: 13px; color: #363432; }
.tab-button:last-child { border-right: 0; }
.tab-button svg { width: 15px; height: 15px; }
.tab-button.active { color: #e99b63; font-weight: 700; }
.tab-button.active:after { content: ""; position: absolute; height: 2px; background: #f3a05f; left: 0; right: 0; bottom: 0; }

.feed { display: grid; gap: 12px; }
.post-card { overflow: hidden; border-radius: 24px; background: #fff; box-shadow: none; }
.post-head { min-height: 56px; display: flex; align-items: center; padding: 8px 13px; }
.mini-avatar-wrap { width: 36px; height: 36px; flex: 0 0 auto; }
.mini-avatar { border: 1px solid rgba(0,0,0,.12); }
.post-author { margin-left: 8px; display: grid; gap: 2px; }
.post-author strong { font-size: 12px; line-height: 1; }
.post-author span { color: #66625f; font-size: 11px; line-height: 1; }
.post-menu { margin-left: auto; border: 0; background: transparent; font-weight: 700; font-size: 22px; line-height: 1; padding: 0 1px 7px; cursor: pointer; }
.locked-media { min-height: 330px; position: relative; display: grid; place-items: center; background: #f2eee8; background-size: cover; background-position: center; overflow: hidden; }
.locked-media:before { content: ""; position: absolute; width: 76%; height: 115%; left: -3%; top: -8%; border: 14px solid rgba(255,255,255,.73); border-radius: 50%; transform: rotate(13deg); pointer-events: none; }
.locked-media.has-image:before { opacity: .55; }
.lock-center { position: relative; z-index: 2; display: grid; justify-items: center; gap: 7px; text-align: center; padding: 24px; color: #68738a; }
.lock-icon { width: 36px; height: 36px; }
.lock-center strong { color: #5c6577; font-size: 15px; max-width: 300px; }
.lock-center span { font-size: 12px; color: #777f8f; }
.post-footer { height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; font-size: 21px; color: #696561; }
.social-icons { display: flex; gap: 11px; align-items: center; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.media-tile { aspect-ratio: 1; display: grid; place-items: center; background: #f1ede8 center/cover no-repeat; border-radius: 5px; overflow: hidden; }
.lock-icon.small { width: 24px; height: 24px; color: #667087; }
.empty-state { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); padding: 32px 15px; border-radius: 10px; text-align: center; color: var(--muted); font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; background: #222; color: #fff; padding: 10px 15px; border-radius: 999px; font-size: 12px; transition: .2s; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.form-page { min-height: 100vh; width: calc(100% - 24px); max-width: 700px; margin: auto; display: grid; align-content: start; padding: 58px 0 28px; }
.form-card { width: 100%; }
.checkout-brand { display: block; width: max-content; margin: 0 auto 18px; color: #191919; font-weight: 900; font-size: 18px; letter-spacing: -.08em; }
.checkout-brand span { color: #22d94b; }
.card { background: #fff; border: 1px solid #e3e0dd; border-radius: 24px; padding: 24px 20px; box-shadow: none; }
.card h1 { font-size: 22px; line-height: 1.15; margin: 4px 0 8px; }
.eyebrow { color: #e99462; font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.lead { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 17px; }
.checkout-creator { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.checkout-avatar { width: 46px; height: 46px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 1px 5px rgba(55, 35, 25, .16); flex: 0 0 auto; }
.checkout-creator > div:last-child { display: grid; gap: 2px; }
.checkout-creator strong { color: #24211f; font-size: 13px; }
.checkout-creator span { color: #958a82; font-size: 11px; }
.attestation-label { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; border: 1px solid #e2d7cf; border-radius: 12px; background: #fffaf6; color: #3f3935; font-size: 12px; line-height: 1.4; cursor: pointer; }
.attestation-label input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; min-width: 22px; min-height: 22px; margin: 0; padding: 0; border: 2px solid #b9aaa0; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 2px #fff; cursor: pointer; }
.attestation-label input[type="checkbox"]:checked { border-color: #d88458; background: #d88458; box-shadow: inset 0 0 0 4px #fff; }
.attestation-label input[type="checkbox"]:focus-visible { outline: 3px solid rgba(216, 132, 88, .28); outline-offset: 2px; }
.form-grid { display: grid; gap: 12px; }
label { display: grid; gap: 6px; color: #4f4b48; font-size: 12px; font-weight: 700; }
input, textarea, select { width: 100%; min-height: 48px; border: 1px solid #dedbd8; border-radius: 12px; padding: 0 13px; background: #fff; color: #222; outline: none; }
input:focus, textarea:focus, select:focus { border-color: #ef976d; box-shadow: 0 0 0 3px rgba(255,120,63,.10); }
.summary { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #eee9e4; margin-top: 4px; padding-top: 13px; font-size: 13px; }
.button { width: 100%; min-height: 44px; border: 0; border-radius: 999px; background: var(--accent-grad); color: #191919; display: inline-flex; justify-content: center; align-items: center; padding: 0 16px; font-size: 13px; font-weight: 800; cursor: pointer; }
.checkout-product { display: flex; gap: 11px; padding: 12px; margin-bottom: 14px; border-radius: 16px; background: #f7f2ec; }
.checkout-product-image { width: 62px; height: 62px; border-radius: 12px; background: #ece4db center/cover no-repeat; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; }
.checkout-product-image.fallback { background: linear-gradient(145deg, #e6a78b, #a84d67); color: #fff; font-size: 24px; font-weight: 800; }
.checkout-product-copy { display: grid; align-content: center; gap: 4px; }
.checkout-product-copy strong { font-size: 13px; }
.checkout-product-copy span { font-size: 11px; color: var(--muted); }
.notice { margin-top: 13px; border: 1px solid #eee1d5; background: #fff9f4; color: #6b625a; padding: 11px; border-radius: 8px; font-size: 11px; line-height: 1.5; }
.age-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--page); }
.age-card { width: min(100%, 410px); background: #fff; border: 1px solid #e3e0dd; border-radius: 24px; padding: 28px 20px; text-align: center; box-shadow: none; }
.age-mark { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-grad); font-weight: 900; font-size: 20px; }
.age-card h1 { margin: 0 0 8px; font-size: 22px; }
.age-card p { margin: 0 auto 19px; color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 340px; }
.age-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.button.secondary { background: #f0ece8; color: #4d4946; }
.pix-box { margin-top: 18px; padding: 16px; border: 1px solid #e7dfd7; border-radius: 20px; background: #fffaf5; }
.pix-status { margin-bottom: 10px; color: #d88458; font-size: 12px; font-weight: 700; }
.pix-qr { display: grid; justify-items: center; gap: 8px; margin: 2px 0 14px; }
.pix-qr img { width: min(240px, 70vw); height: auto; aspect-ratio: 1; padding: 8px; border: 1px solid #e7dfd7; border-radius: 14px; background: #fff; }
.pix-qr span { color: #81766d; font-size: 11px; text-align: center; }
.pix-code { max-height: 92px; overflow: auto; margin-bottom: 12px; padding: 12px; border: 1px dashed #d7ccc2; border-radius: 12px; background: #fff; color: #5f5852; font-family: monospace; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.pix-help { margin: 11px 0 0; color: #81766d; font-size: 11px; line-height: 1.45; }
.site-loading-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(250, 248, 246, .76); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease; }
.site-loading-overlay.is-visible { opacity: 1; visibility: visible; }
.site-loading-card { width: min(100%, 300px); display: grid; justify-items: center; gap: 9px; padding: 25px 22px; border: 1px solid #e5dfda; border-radius: 24px; background: #fff; box-shadow: 0 14px 40px rgba(50, 35, 25, .13); text-align: center; }
.site-loading-title { font-size: 14px; font-weight: 700; }
.site-loading-message { color: #79716c; font-size: 12px; }
.site-spinner, .button-spinner { display: inline-block; width: 25px; height: 25px; border: 3px solid #f8d8c7; border-top-color: #ed8d62; border-radius: 50%; animation: site-spin .72s linear infinite; }
.button-spinner { width: 14px; height: 14px; margin-right: 7px; border-width: 2px; border-color: rgba(30, 30, 30, .24); border-top-color: #2d2d2d; vertical-align: -2px; }
.is-button-loading { cursor: wait !important; opacity: .76; }
body.is-loading { overflow: hidden; }
.site-feedback-toast { position: fixed; left: 50%; bottom: 22px; z-index: 110; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 999px; background: #252321; color: #fff; font-size: 12px; transform: translate(-50%, 14px); opacity: 0; transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.site-feedback-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.site-feedback-toast.success { background: #258b58; }
.site-feedback-toast.error { background: #b74747; }
.feedback-alert { margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; font-size: 12px; line-height: 1.45; }
.feedback-alert.error { border: 1px solid #edc8c8; background: #fff2f2; color: #a34040; }
.feedback-alert.success { border: 1px solid #c5e7d3; background: #f0fff5; color: #28784c; }
@keyframes site-spin { to { transform: rotate(360deg); } }

@media (min-width: 700px) {
  .profile-page { margin-top: 0; }
  .locked-media { min-height: 430px; }
  .profile-cover { height: 65px; }
}
@media (max-width: 380px) {
  .profile-page { width: calc(100% - 12px); }
  .profile-main { padding-left: 12px; padding-right: 12px; }
  .creator-name { font-size: 14px; }
  .locked-media { min-height: 300px; }
}
