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

:root {
    --primary-color: #FF6B00;
    --primary-hover: #ff5c00;
    --text-primary: #333333;
    --text-secondary: #666666;
    --background: #F8F8F8;
    --white: #FFFFFF;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --container-width: 800px;
    --card-radius: 16px;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.logo {
    height: 32px;
}

main {
    margin-top: 64px;
    padding-bottom: 40px;
    flex: 1;
}

.profile-banner {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin-bottom: -80px;
}

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

.profile-info {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    position: relative;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    margin: -100px auto 24px;
    box-shadow: var(--shadow);
}

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

.profile-content {
    text-align: center;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--background);
    border-radius: var(--card-radius);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
}

.stat-icon-wrapper {
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(255, 107, 0, 0.1);
}

.stat-icon {
    color: var(--primary-color);
    font-size: 1.1rem !important;
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

.stat-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: lowercase;
    line-height: 1;
    letter-spacing: -0.2px;
}

.profile-header {
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.verified-badge i {
    font-size: 16px !important;
}

.username {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.bio-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.bio {
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.bio-more {
    display: none;
}

.bio.expanded .bio-more {
    display: inline;
}

.read-more {
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
    padding: 4px 8px;
    border-radius: 20px;
    transition: background-color 0.2s ease;
}

.read-more:hover {
    background-color: rgba(255, 107, 0, 0.1);
}

.read-more i {
    font-size: 20px !important;
    transition: transform 0.3s ease;
}

.read-more.expanded i {
    transform: rotate(180deg);
}

.subscription-section {
    margin-top: 2rem;
}

.subscription-section h2 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.subscribe-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--card-radius);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.subscribe-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.subscribe-text {
    font-size: 0.95rem;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.subscribe-button i {
    font-size: 20px !important;
}

.content-section {
    margin-top: 24px;
}

.post-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-image {
    width: 100%;
    display: block;
}

.post-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

.post-stats {
    display: flex;
    gap: 20px;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.post-stat i {
    color: var(--primary-color);
}

.post-time {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.time-icon {
    font-size: 16px !important;
}

footer {
    background-color: var(--white);
    padding: 24px 0;
    border-top: 1px solid #EEEEEE;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-logo {
    height: 24px;
    opacity: 0.8;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 768px) {
    :root {
        --container-width: 100%;
    }

    .profile-banner {
        height: 200px;
        margin-bottom: -60px;
    }

    .profile-picture {
        width: 120px;
        height: 120px;
        margin-top: -80px;
    }

    .profile-stats {
        padding: 0.5rem;
        gap: 0.75rem;
    }

    .stat-item {
        padding: 4px;
        gap: 6px;
    }

    .stat-icon-wrapper {
        width: 28px;
        height: 28px;
    }

    .stat-icon {
        font-size: 1rem !important;
    }

    .stat-value {
        font-size: 0.9rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .subscribe-text {
        font-size: 0.85rem;
    }
}
