:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --online-color: #22c55e;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.app-container {
    width: 100%;
    max-width: 480px;
    background-color: var(--bg-color);
    min-height: 100vh;
    padding-bottom: 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.profile-header {
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.banner {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

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

.profile-info {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background-color: var(--online-color);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: onlinePulse 2s infinite;
}

@keyframes onlinePulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.name {
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
}

.status {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 2px;
}

.bio {
    padding: 0 20px;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #334155;
}

.locked-content {
    padding: 0 20px;
    margin-bottom: 40px;
    text-align: center;
}

.highlight-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.locked-image-container {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.locked-image-container:hover {
    transform: scale(1.02);
}

.locked-img {
    width: 100%;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lock-icon {
    color: white;
    font-size: 48px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.plans {
    padding: 0 20px;
}

.plans-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.plan-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    position: relative;
}

.plan-card.highlighted {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}