/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-dark-primary: #050505;
    --text-main: #ffffff;
    --text-muted: #888888;

    --brand-orange: #f26222;
    --btn-gradient: linear-gradient(90deg, #f8a068 0%, #ffc0a0 100%);

    --card-bg: #111111;
    --card-radius: 12px;
    --feed-max-width: 600px;
}

body {
    background-color: var(--bg-dark-primary);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.glass-effect {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid #1a1a1a;
    border-radius: var(--card-radius);
}

.verified-badge {
    color: var(--brand-orange);
    font-size: 1.1rem;
}

.verified-badge-outline {
    color: var(--brand-orange);
    font-size: 1.3rem;
    font-weight: bold;
}

.icon-btn {
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.2s;
}

.icon-btn:hover {
    color: var(--brand-orange);
}

.ml-auto {
    margin-left: auto;
}

/* ========================================= */
/* CABEÇALHOS                                */
/* ========================================= */
.global-topbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1a1a1a;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.main-content {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

.feed-column {
    width: 100%;
    max-width: var(--feed-max-width);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.inner-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #000000;
    position: relative;
    z-index: 100;
    margin-bottom: 10px;
    border-radius: 12px 12px 0 0;
}

.inner-app-header h2 {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* ========================================= */
/* ÁREA DO PERFIL                            */
/* ========================================= */
.profile-card {
    overflow: hidden;
}

.banner {
    width: 100%;
    height: 160px;
    background-image: url('Chamada_de_Video_Story.jpg'); /* Altera para a tua imagem */
    background-size: cover;
    background-position: center 30%;
}

.profile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 16px;
    margin-top: -35px;
}

.avatar-container {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    position: relative;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: url('joannadarc2501_588459020_18035377844721332_8155242443347470808_n.webp'); /* Altera para a tua imagem */
    background-size: cover;
}

.stats-bar {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    margin-top: 45px;
}

.stats-bar span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-details {
    padding: 16px;
    margin-top: 0;
}

.user-details h1 {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.handle {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.bio-container {
    margin-bottom: 10px;
}

.bio {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #e4e4e4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bio.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.read-more-btn {
    color: #ff7043;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 6px;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 16px;
    margin-bottom: 8px;
    display: flex;
}

.social-icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #242424;
    border-radius: 10px;
    font-size: 1.4rem;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.social-icon-box:hover {
    background-color: #333;
}

/* ========================================= */
/* ÁREA DE ASSINATURAS (TEMA ESCURO NOVO)    */
/* ========================================= */
.dark-theme-card {
    background-color: #000000;
    border-radius: 24px;
    padding: 24px 20px;
    margin-top: 16px;
    margin-bottom: 24px;
    color: #ffffff;
    border: 1px solid #1a1a1a;
}

.dark-theme-card .promo-card {
    background-color: transparent;
    padding: 0;
    margin-bottom: 24px;
}

.dark-theme-card .promo-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.dark-theme-card .promo-timer {
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.dark-theme-card .special-offer-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #141414;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 32px;
    border: 1px solid #1f1f1f;
}

.small-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.dark-theme-card .offer-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0e0e0;
}

.subscribe-button-container {
    position: relative;
    margin-bottom: 8px;
    margin-top: 12px;
}

.dark-theme-card .badge-save {
    position: absolute;
    background-color: #e6f7eb;
    color: #34c759;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    top: -14px;
    left: 20px;
    z-index: 2;
}

.dark-theme-card .btn-subscribe,
.dark-theme-card .plan-item {
    width: 100%;
    background: linear-gradient(90deg, #f87b38 0%, #fac47d 100%);
    color: #111;
    border-radius: 50px;
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark-theme-card .btn-subscribe:hover,
.dark-theme-card .plan-item:hover {
    opacity: 0.9;
}

.dark-theme-card .price-original {
    text-align: right;
    color: #888;
    font-weight: 500;
    font-size: 0.85rem;
    margin-top: 8px;
}

.dark-theme-card .price-original del {
    text-decoration: line-through;
}

.dark-theme-card .plans-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4px 14px 4px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    user-select: none;
    color: #ffffff;
}

#plans-caret {
    transition: transform 0.3s ease;
}

.plans-header.collapsed #plans-caret {
    transform: rotate(180deg);
}

.plans-content {
    max-height: 300px;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.plans-content.collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.dark-theme-card .plan-item {
    margin-bottom: 12px;
}

.plan-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.plan-price {
    font-weight: 700;
    font-size: 0.95rem;
}

/* ========================================= */
/* FEED E ABAS (NAV BAR DE TABS)             */
/* ========================================= */
.content-feed {
    margin-top: 24px;
}

.tabs-container {
    display: flex;
    position: relative;
    background: #111111; 
    border-radius: 12px; 
    margin-bottom: 24px;
    border: 1px solid #1a1a1a; 
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 18px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #888888;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.tab-item i {
    font-size: 1.25rem;
}

.tab-item.active {
    color: var(--brand-orange);
}

.tab-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--brand-orange);
    border-radius: 3px 3px 0 0;
    transition: transform 0.3s ease;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active-content {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================= */
/* CABEÇALHO DO POST (NOME E FOTO)           */
/* ========================================= */
.post-header {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #1a1a1a;
}

.post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #2a2a2a;
    background-image: url('joannadarc2501_588459020_18035377844721332_8155242443347470808_n.webp');
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.post-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.post-meta strong {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-handle {
    font-size: 0.85rem;
    color: #888888;
    font-weight: 400;
}

.post-dots {
    color: #888888;
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: auto;
}

/* ========================================= */
/* POST BLOQUEADO (FUNDO DA FOTO)            */
/* ========================================= */
.locked-content-light {
    min-height: 240px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: transparent; 
}

.locked-icon-large {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 14px;
    z-index: 1;
}

.locked-stats-row {
    display: flex;
    gap: 20px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 1;
}

.locked-stats-row span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.locked-stats-row i {
    font-size: 1rem;
}

.post-footer {
    padding: 14px 18px;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    color: #555555;
}

.action-icons {
    display: flex;
    gap: 16px;
}

.post-footer i {
    cursor: pointer;
    transition: 0.2s;
}

.post-footer i:hover {
    color: #ffffff;
}

/* ========================================= */
/* GRADE DE MÍDIAS (ABA MÍDIAS) E FILTROS    */
/* ========================================= */
.media-filters {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 20px;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
    overflow-x: auto;
    background: transparent;
    border: none;
    border-radius: 0;
}

.media-filters::-webkit-scrollbar {
    display: none;
}

.filter-item {
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-item.active {
    color: var(--brand-orange);
    background-color: rgba(242, 98, 34, 0.15);
    font-weight: 600;
}

.filter-item:not(.active):hover {
    color: #ffffff;
}

.media-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0;
    animation: fadeIn 0.3s ease;
    background-color: #000000;
}

.media-grid.active-grid {
    display: grid;
}

.media-item {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    cursor: pointer;
}

.lock-keyhole {
    width: 28px;
    height: 28px;
    color: #8a95a6;
    z-index: 2;
    margin-bottom: 8px;
}

.watermark-logo {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0.06;
    pointer-events: none;
}

.lock-grid {
    font-size: 1.8rem;
    color: #6a7486;
    z-index: 2;
}

/* ========================================= */
/* MENU DROPDOWN (COMPARTILHAR)              */
/* ========================================= */
.header-actions {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 130%;
    right: 0;
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 8px 0;
    width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    z-index: 200;
    border: 1px solid #2a2a2a;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 8px;
    width: 12px;
    height: 12px;
    background-color: #1a1a1a;
    transform: rotate(45deg);
    border-left: 1px solid #2a2a2a;
    border-top: 1px solid #2a2a2a;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    z-index: 2;
}

.dropdown-item i {
    font-size: 1.2rem;
}

.dropdown-item:hover {
    background-color: #2a2a2a;
}

.dropdown-menu.show {
    display: block;
    animation: fadeInMenu 0.2s ease forwards;
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================= */
/* CHECKOUT BOTTOM SHEET                     */
/* ========================================= */
.checkout-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.checkout-overlay.active {
    display: block;
}

.checkout-sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 600px;
    background: #050505;
    border-radius: 20px 20px 0 0;
    z-index: 2001;
    padding: 0 0 32px 0;
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 92vh;
    overflow-y: auto;
}

.checkout-sheet.active {
    transform: translateX(-50%) translateY(0);
}

.checkout-sheet::-webkit-scrollbar {
    width: 3px;
}

.checkout-sheet::-webkit-scrollbar-track {
    background: transparent;
}

.checkout-sheet::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.checkout-header-banner {
    width: 100%;
    height: 100px;
    background-image: url('joannadarc2501_584612512_18035195831721332_8588526403539263318_n.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.checkout-close-img {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s;
}

.checkout-close-img:hover {
    background: rgba(0, 0, 0, 0.7);
}

.checkout-profile-content {
    display: flex;
    align-items: center;
    padding: 0 16px;
    margin-top: -30px;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.checkout-avatar-wrap {
    background: #050505;
    border-radius: 50%;
    padding: 4px;
}

.checkout-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-image: url('joannadarc2501_588459020_18035377844721332_8155242443347470808_n.webp');
    background-size: cover;
}

.checkout-profile-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 30px;
}

.checkout-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.checkout-handle {
    font-size: 0.8rem;
    color: #888;
}

.checkout-benefits {
    padding: 20px 16px 8px;
}

.benefits-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #bbb;
    font-weight: 500;
    margin-bottom: 8px;
}

.benefit-item i {
    color: var(--brand-orange);
    font-size: 1.1rem;
}

.checkout-divider {
    height: 1px;
    background: #1a1a1a;
    margin: 8px 0;
}

.checkout-payment {
    padding: 12px 16px 0;
}

.payment-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.payment-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 2px;
}

.payment-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.qr-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.qr-code {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    border: 4px solid #fff;
    background-color: #fff;
    display: block;
}

.pix-key-box {
    background: transparent;
    border: 1px solid #444;
    border-radius: 50px;
    padding: 12px 16px;
    margin-bottom: 16px;
    text-align: center;
    overflow: hidden;
}

.pix-key-text {
    font-size: 0.75rem;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.btn-pix {
    width: 100%;
    background: var(--btn-gradient);
    color: #000;
    border: none;
    border-radius: 50px;
    padding: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    margin-bottom: 4px;
}

.btn-pix:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-pix:active {
    transform: scale(0.98);
}

.btn-payment-white {
    width: 100%;
    background: #f0f0f0;
    color: #000;
    border: none;
    border-radius: 50px;
    padding: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.btn-payment-white:hover {
    background: #e0e0e0;
}

.picpay-logo-color {
    height: 16px;
    object-fit: contain;
}

/* ========================================= */
/* NOTIFICAÇÃO DE CÓPIA (TEXTO SIMPLES)      */
/* ========================================= */
.copy-notification {
    color: #00d200; 
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    margin-top: 12px; 
    
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s ease;
}

.copy-notification.show {
    opacity: 1; 
    visibility: visible;
}