@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #E6E8EA;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    color: #152A3F;
}

.mobile-wrapper {
    width: 100%;
    max-width: 414px;
    background-color: #FAF9F7;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Header */
.app-header {
    height: 60px;
    background: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid #EBEBEB;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: #000;
    display: flex;
    align-items: baseline;
}

.logo .dot {
    color: #F17036;
    font-size: 28px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions i {
    font-size: 22px;
    color: #152A3F;
    cursor: pointer;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F1F1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    border: 1px solid #ddd;
    cursor: pointer;
}

/* Main Area */
.app-main {
    flex: 1;
    padding: 16px 16px 24px 16px;
}

/* Top Name Section */
.profile-top-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

.profile-top-name .spacer {
    width: 24px;
}

.profile-top-name h2 {
    font-size: 16px;
    font-weight: 600;
    color: #1A2F44;
}

.profile-top-name i {
    font-size: 24px;
    color: #1A2F44;
    cursor: pointer;
}

/* Main Profile Card */
.profile-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #EBEBEB;
    overflow: hidden;
    margin-bottom: 16px;
}

.cover-image-container {
    height: 140px;
    width: 100%;
    background-color: #EBEBEB;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info-container {
    padding: 0 16px 24px 16px;
}

/* Avatar & Stats */
.avatar-and-stats {
    display: flex;
    justify-content: space-between;
}

.avatar-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    margin-top: -48px;
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-row {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    align-items: center;
}

.stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.stat i {
    color: #6B7B8C;
    font-size: 16px;
}

/* Profile Details */
.profile-details {
    margin-top: 12px;
    margin-bottom: 24px;
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    color: #1A2F44;
    margin-bottom: 2px;
}

.profile-handle {
    font-size: 15px;
    color: #6B7B8C;
    margin-bottom: 8px;
}

.profile-bio {
    font-size: 15px;
    color: #000;
    line-height: 1.4;
}

.read-more {
    color: #F17036;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-top: 2px;
}

/* Offer Section Enhanced */
.oferta-section-enhanced {
    background-color: #FAF5EE;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
}

.oferta-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.oferta-title {
    font-size: 16px;
    font-weight: 700;
    color: #1A2F44;
    display: flex;
    align-items: center;
    gap: 6px;
}

.oferta-timer {
    font-size: 13px;
    color: #8C99A5;
}

.oferta-button-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.oferta-badge-green {
    position: absolute;
    top: -12px;
    left: 16px;
    background: #E5F9EB;
    color: #32B860;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    z-index: 2;
}

.btn-oferta-novo {
    width: 100%;
    background: linear-gradient(90deg, #F9AB79 0%, #F18663 100%);
    padding: 14px 20px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    border: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(241, 112, 54, 0.2);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn-oferta-novo:active {
    transform: scale(0.98);
}

.oferta-preco-original {
    font-size: 12px;
    color: #1A2F44;
}

.oferta-preco-original strike {
    color: #8C99A5;
}

/* Secondary Buttons */
.btn-secondary-novo {
    width: 100%;
    background: linear-gradient(90deg, #F9AB79 0%, #F18663 100%);
    color: #000;
    padding: 16px 20px;
    border-radius: 24px;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(241, 112, 54, 0.15);
    cursor: pointer;
    transition: transform 0.1s;
}

.btn-secondary-novo:active {
    transform: scale(0.98);
}

.section-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Subscriptions Section */
.subscriptions-section {
    margin-top: 24px;
}

/* Bottom Stats Card */
.stats-card {
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    border-radius: 16px;
    display: flex;
    margin-bottom: 24px;
    overflow: hidden;
}

.stat-tab {
    flex: 1;
    text-align: center;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 500;
    color: #1A2F44;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
}

.stat-tab i {
    font-size: 22px;
    color: #6B7B8C;
}

.stat-tab.active-tab {
    border-bottom: 2px solid #F17036;
    color: #F17036;
    background-color: #FFF9F6;
}

.stat-tab.active-tab i {
    color: #F17036;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 414px;
    height: 64px;
    background: #FFFFFF;
    border-top: 1px solid #EBEBEB;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #8C99A5;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-item i {
    font-size: 24px;
}

.nav-item.active {
    color: #1A2F44;
}

.nav-item.active i {
    color: #1A2F44;
    font-weight: bold;
}

/* Notifications Overlay */
.notification-container {
    display: none;
    position: absolute;
    top: 60px;
    right: 16px;
    width: 340px;
    max-width: calc(100vw - 32px);
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #EBEBEB;
    z-index: 200;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

.notification-container.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-item {
    display: flex;
    padding: 16px;
    gap: 12px;
    cursor: pointer;
    background: #FFF9F6;
    /* Subtle highlight for unread notice */
    border-bottom: 3px solid #F17036;
    /* Indicate priority/action */
    height: 110px;
    align-items: center;
}

.notification-item:hover {
    background: #F9F9F9;
}

.notification-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #F17036;
    /* Accent color to draw attention */
}

.notification-content p {
    font-size: 14px;
    color: #1A2F44;
    margin-bottom: 6px;
    line-height: 1.4;
}

.notification-content .highlight {
    color: #F17036;
    font-weight: 700;
}

.notification-meta {
    font-size: 12px;
    color: #8C99A5;
}

/* Post List & Cards */
.post-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.post-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.post-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.post-user-details {
    display: flex;
    flex-direction: column;
}

.post-name {
    font-size: 15px;
    font-weight: 700;
    color: #1A2F44;
    display: flex;
    align-items: center;
    gap: 4px;
}

.verified-icon {
    color: #F17036;
    font-size: 16px;
}

.post-handle {
    font-size: 13px;
    color: #6B7B8C;
}

.post-options {
    font-size: 24px;
    color: #152A3F;
    cursor: pointer;
}

.post-locked-content {
    background-color: #F4EBE0;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.post-locked-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(14px);
    z-index: 0;
}

.post-locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(244, 235, 224, 0.45);
    /* A slightly transparent beige overlay to maintain the Privacy signature tint */
    z-index: 1;
}

.post-locked-content::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border: 12px solid rgba(255, 253, 246, 0.75);
    border-radius: 50%;
    left: -40px;
    top: -40px;
    z-index: 1;
}

.post-lock-icon {
    font-size: 64px;
    color: #6B7B8C;
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.post-locked-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #6B7B8C;
    font-weight: 500;
}

.post-locked-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-locked-stats span i {
    font-size: 18px;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.post-actions-left {
    display: flex;
    gap: 16px;
}

.post-actions-left i,
.post-actions-right i {
    font-size: 24px;
    color: #6B7B8C;
    cursor: pointer;
}

/* Media Content Subnav & Grid */
.media-content-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    padding-top: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.media-subnav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.media-subnav-item {
    font-size: 15px;
    font-weight: 500;
    color: #1A2F44;
    cursor: pointer;
    padding: 6px 16px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
}

.media-subnav-item.active {
    background: #FFF0E6;
    color: #F17036;
}

.media-subnav-item:hover:not(.active) {
    background: #F9F9F9;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding-bottom: 4px;
    /* Space if needed */
}

.media-grid-item {
    background-color: #F4EBE0;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-grid-overlay {
    position: absolute;
    width: 140%;
    height: 140%;
    border: 4px solid #FFFFFF;
    border-radius: 50%;
    left: -30%;
    top: -30%;
    z-index: 1;
}

.media-grid-item i {
    font-size: 28px;
    color: #6B7B8C;
    position: relative;
    z-index: 2;
}

/* Checkout Modal */
.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
}

.checkout-overlay.show {
    visibility: visible;
    opacity: 1;
}

.checkout-card {
    background: #FFF9F6;
    width: 100%;
    max-width: 414px;
    border-radius: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 90vh;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}

.checkout-card.show {
    transform: scale(1);
    opacity: 1;
}

.checkout-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-cover {
    height: 110px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.checkout-user-section {
    display: flex;
    align-items: flex-start;
    padding: 0 16px;
    margin-top: -35px;
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.checkout-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3px solid #FFF9F6;
    object-fit: cover;
    margin-right: 12px;
}

.checkout-user-info {
    margin-top: 40px;
}

.checkout-name {
    font-size: 16px;
    font-weight: 700;
    color: #1A2F44;
}

.checkout-handle {
    font-size: 14px;
    color: #6B7B8C;
}

.checkout-benefits {
    padding: 0 16px;
    margin-bottom: 24px;
}

.checkout-benefits-title {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.checkout-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #333;
}

.checkout-divider {
    height: 1px;
    background-color: #EBEBEB;
    margin: 0;
}

.checkout-form {
    padding: 24px 16px;
    background: #FFFFFF;
}

.checkout-form-text {
    font-size: 14px;
    color: #4A5568;
    margin-bottom: 16px;
    font-weight: 500;
}

.checkout-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    margin-bottom: 10px;
    background-color: #FAFAFA;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.checkout-input:focus {
    outline: none;
    border-color: #F17036;
    background-color: #FFFFFF;
}

.checkout-input::placeholder {
    color: #A0A0A0;
}