:root {
    --bg-color: #f6f5f3;
    --card-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #717171;
    --accent: #ff8e6e;
    --accent-light: #ffd0c1;
    --border-color: #e6e6e6;
    --success: #10b981;
    --verified-color: #f97316;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* Header */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo strong {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-icons i {
    font-size: 20px;
    color: var(--text-secondary);
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* Cards */
.profile-card, .content-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

/* Banner */
.banner {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #e5e5e5;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Info */
.profile-info {
    padding: 0 24px 24px;
    position: relative;
    margin-top: -50px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}

.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    overflow: hidden;
    background-color: #fff;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    padding-bottom: 8px;
}

.stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Profile Details */
.profile-details {
    margin-bottom: 20px;
}

.name {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified {
    color: var(--verified-color);
    font-size: 16px;
}

.handle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.bio {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 4px;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.social-links {
    margin-bottom: 24px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-color);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background-color: #eaeaeb;
}

/* Subscription Section */
.subscription-section {
    background-color: var(--bg-color);
    border-radius: 16px;
    padding: 20px;
}

.subscription-header h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.text-accent {
    color: var(--accent);
}

.promo-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.promo-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.promo-banner p {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.subscription-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sub-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.sub-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.primary-sub {
    background-color: var(--accent-light);
    color: #e55c3c;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.primary-sub .discount-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    background-color: #fbbf24;
    color: #000;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
    animation: pulse-promo 2s infinite;
}

@keyframes pulse-promo {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.primary-sub .btn-text {
    font-size: 16px;
}

.other-subscriptions {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subs-title {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    padding: 4px 0;
}

.secondary-sub {
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--accent-light);
    color: #e55c3c;
    padding: 14px 20px;
    font-size: 15px;
}

/* Tabs */
.tabs {
    display: flex;
    border-top: 1px solid var(--border-color);
}

.tab {
    flex: 1;
    background: none;
    border: none;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.tab.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

/* Feed Placeholder */
.content-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feed-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-header div {
    display: flex;
    flex-direction: column;
}

.feed-header .name {
    font-size: 16px;
}

.feed-header .handle {
    font-size: 14px;
    margin: 0;
}

.feed-actions {
    margin-left: auto;
    color: var(--text-secondary);
    cursor: pointer;
}

.locked-content {
    background-color: var(--bg-color);
    border-radius: 16px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.lock-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
}

.locked-stats {
    font-size: 14px;
    padding: 0;
}

.feed-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
}

.left-actions {
    display: flex;
    gap: 16px;
    font-size: 20px;
    color: var(--text-secondary);
}

.right-actions {
    font-size: 20px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 0 0 24px;
    }
    .profile-card, .content-card {
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid var(--border-color);
    }
}
