* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile Wrapper Container */
.mobile-wrapper {
    width: 100%;
    max-width: 480px;
    /* Standard mobile max width */
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
}

/* Force body styling for desktop backgrounds to highlight the mobile view */
body {
    background-color: #f0f2f5;
    color: #152A3F;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* App Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #ffffff;
    border-bottom: 1px solid #EAEAEA;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #000;
}

.logo .dot {
    color: #F17036;
}

/* Main Profile Name Top Navigation */
.profile-top-name {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #ffffff;
}

.profile-top-name h2 {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

/* Cover Image Placeholder */
.cover-image-container {
    width: 100%;
    height: 140px;
    background-color: #EEE;
    position: relative;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Information Section */
.profile-info-container {
    padding: 0 16px 16px;
    background-color: #ffffff;
    position: relative;
}

/* Avatar and Stats Container */
.avatar-and-stats {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -40px;
    margin-bottom: 16px;
}

.avatar-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    position: relative;
    z-index: 2;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6B7B8C;
    font-weight: 600;
}

.stat i {
    font-size: 16px;
}

/* Profile Details Box */
.profile-details {
    margin-bottom: 20px;
}

.profile-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 2px;
    color: #152A3F;
}

.profile-handle {
    font-size: 14px;
    color: #8C99A5;
    margin-bottom: 12px;
}

.profile-bio {
    font-size: 14px;
    line-height: 1.5;
    color: #152A3F;
    word-break: break-word;
}

.read-more {
    background: none;
    border: none;
    color: #F17036;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

/* Oferta Section Structure */
.oferta-section-enhanced {
    background: linear-gradient(135deg, #FFF0E8 0%, #FFE5D6 100%);
    border: 1px solid #FAD1B8;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.oferta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.oferta-title {
    font-weight: 700;
    font-size: 15px;
    color: #D35400;
}

.oferta-timer {
    font-size: 12px;
    font-weight: 600;
    color: #E74C3C;
    background: rgba(231, 76, 60, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.oferta-button-container {
    position: relative;
    margin-top: 12px;
}

.btn-oferta-novo {
    width: 100%;
    background-color: #F17036;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(241, 112, 54, 0.3);
}

.btn-oferta-novo:focus {
    outline: none;
}

.btn-oferta-novo:active {
    transform: scale(0.98);
}

.oferta-badge-green {
    position: absolute;
    top: -12px;
    right: 16px;
    background-color: #32B860;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.oferta-preco-original {
    text-align: center;
    font-size: 13px;
    color: #8C99A5;
    margin-top: 12px;
}

/* Assinaturas Standard Buttons */
.subscriptions-section {
    margin-bottom: 16px;
}

.section-subtitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #152A3F;
    margin-bottom: 12px;
}

.btn-secondary-novo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F17036;
    border: none;
    padding: 14px 20px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(241, 112, 54, 0.3);
}

.btn-secondary-novo:focus {
    outline: none;
}

.btn-secondary-novo:active {
    transform: scale(0.98);
}

/* Profile View Tabs */
.stats-card {
    display: flex;
    border-top: 1px solid #EAEAEA;
    border-bottom: 1px solid #EAEAEA;
    background-color: #ffffff;
}

.stat-tab {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: #8C99A5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
}

.stat-tab i {
    font-size: 18px;
}

.active-tab {
    color: #F17036;
    border-bottom: 2px solid #F17036;
}

/* Post Content Styling */
.post-feed {
    background-color: #F4F5F7;
    padding-top: 8px;
    padding-bottom: 50px;
}

.post-card {
    background-color: #ffffff;
    margin-bottom: 8px;
    padding-bottom: 12px;
}

/* Post Header Profile Info */
.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: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.post-name {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #152A3F;
}

.verified-icon {
    color: #F17036;
    font-size: 16px;
}

.post-handle {
    font-size: 13px;
    color: #8C99A5;
}

.post-options {
    color: #8C99A5;
    font-size: 24px;
}

/* Locked Content Blurred Box */
.post-locked-content {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    /* 4:3 Aspect Ratio approx */
    overflow: hidden;
    background-color: #eaeaea;
}

.post-locked-blur {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    z-index: 1;
    animation: slowVideoPan 20s ease-in-out infinite alternate;
}

@keyframes slowVideoPan {
    0% {
        transform: scale(1) translate(0, 0);
    }

    33% {
        transform: scale(1.1) translate(-2%, 2%);
    }

    66% {
        transform: scale(1.1) translate(2%, -2%);
    }

    100% {
        transform: scale(1) translate(-1%, -1%);
    }
}

.post-locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.post-lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 42px;
    z-index: 3;
}

.post-locked-stats {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 16px;
    border-radius: 20px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
}

.post-locked-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Post Action Buttons */
.post-actions {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px 0;
}

.post-actions-left {
    display: flex;
    gap: 16px;
    color: #152A3F;
    font-size: 24px;
}

.post-actions-right {
    color: #152A3F;
    font-size: 24px;
}

/* Media Grid Layout */
.media-content-card {
    background-color: #ffffff;
    min-height: 500px;
}

.media-subnav {
    display: flex;
    padding: 12px 16px;
    gap: 12px;
    overflow-x: auto;
    border-bottom: 1px solid #EAEAEA;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.media-subnav::-webkit-scrollbar {
    display: none;
}

.media-subnav-item {
    font-size: 13px;
    font-weight: 600;
    color: #8C99A5;
    background: #F4F5F7;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.media-subnav-item.active {
    background: #F17036;
    color: white;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
}

.media-grid-item {
    aspect-ratio: 1;
    background-color: #EEE;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-locked-blur {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 1;
    animation: slowVideoPan 20s ease-in-out infinite alternate;
}

.media-grid-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

.media-grid-item i {
    position: relative;
    color: white;
    font-size: 24px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    padding: 8px;
}

/* Notification Popup */
.notification-container {
    position: absolute;
    top: 60px;
    right: 16px;
    width: 320px;
    max-width: calc(100% - 32px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-container.show {
    display: flex;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #EAEAEA;
    cursor: pointer;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #F9FAFB;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.notification-content p {
    font-size: 13px;
    line-height: 1.4;
    color: #152A3F;
    margin-bottom: 4px;
}

.notification-meta {
    font-size: 11px;
    color: #8C99A5;
}

.notification-content .highlight {
    color: #32B860;
    font-weight: 700;
}

/* Checkout Modal */
.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.checkout-overlay.show {
    opacity: 1;
    visibility: visible;
}

.checkout-card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.checkout-card.show {
    transform: translateY(0);
}

.checkout-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.checkout-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.checkout-cover {
    height: 100px;
    background-size: cover;
    background-position: center;
    background-color: #EEE;
}

.checkout-user-section {
    display: flex;
    align-items: flex-end;
    padding: 0 20px;
    margin-top: -30px;
    margin-bottom: 20px;
}

.checkout-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    object-fit: cover;
    background-color: #FFF;
}

.checkout-user-info {
    margin-left: 12px;
    margin-bottom: 4px;
}

.checkout-name {
    font-size: 18px;
    font-weight: 800;
    color: #152A3F;
}

.checkout-handle {
    font-size: 13px;
    color: #8C99A5;
}

.checkout-benefits {
    padding: 0 20px;
}

.checkout-benefits-title {
    font-size: 15px;
    font-weight: 700;
    color: #152A3F;
    margin-bottom: 12px;
}

.checkout-benefits-list {
    list-style: none;
    padding: 0;
}

.checkout-benefits-list li {
    font-size: 14px;
    color: #4A5568;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-divider {
    height: 8px;
    background-color: #F4F5F7;
    margin: 20px 0;
}

.checkout-form {
    padding: 0 20px 24px;
}

.checkout-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    font-size: 15px;
    margin-bottom: 12px;
    background-color: #F9FAFB;
    transition: all 0.2s;
    outline: none;
    color: #152A3F;
}

.checkout-input::placeholder {
    color: #8C99A5;
}

.checkout-input:focus {
    border-color: #F17036;
    background-color: #FFF;
    box-shadow: 0 0 0 3px rgba(241, 112, 54, 0.1);
}

.checkout-btn-pix {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #32B860;
    box-shadow: 0 4px 12px rgba(50, 184, 96, 0.3);
}

.checkout-btn-pix:hover {
    background-color: #2da355;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #EAEAEA;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #CCC;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: -100px;
    left: 16px;
    width: 90%;
    max-width: 320px;
    background-color: #FFF9F6;
    border: 1px solid #F17036;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(241, 112, 54, 0.2);
    z-index: 10000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1), opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

.toast-notification.show {
    bottom: 24px;
    opacity: 1;
    pointer-events: auto;
}

.toast-dot {
    width: 10px;
    height: 10px;
    background-color: #F17036;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.toast-content {
    flex-grow: 1;
}

.toast-text {
    font-size: 14px;
    color: #4A5568;
    line-height: 1.4;
    margin-bottom: 4px;
}

.toast-name {
    font-weight: 800;
    color: #8C401A;
}

.toast-plan-badge {
    display: inline-block;
    background-color: #FFE5D6;
    color: #8C401A;
    font-weight: 800;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 4px;
    vertical-align: middle;
}

.toast-time {
    font-size: 12px;
    color: #8C99A5;
}

.toast-close {
    color: #8C401A;
    cursor: pointer;
    font-size: 16px;
    margin-left: 8px;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}