* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.feed-container {
    max-width: 550px;
    margin: 0 auto;
    padding: 0 16px;
}

.post {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.1),
        0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.15),
        0 4px 16px rgba(0,0,0,0.1);
}

.post-header {
    display: flex;
    align-items: center;
    padding: 20px 24px 0;
    gap: 12px;
}

.user-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.5);
}

.user-info {
    flex: 1;
}

.username {
    font-weight: 700;
    font-size: 15px;
    color: #1d1d1f;
    margin-bottom: 2px;
}

.post-time {
    font-size: 13px;
    color: #6e6e73;
    font-weight: 400;
}

.dots {
    color: #6e6e73;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.dots:hover {
    background: rgba(0,0,0,0.05);
}

.post-text {
    padding: 0 24px 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #1d1d1f;
    font-weight: 400;
}

.post-media {
    width: 100%;
}

.post-media img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0;
}

.post-stats {
    display: flex;
    gap: 20px;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
}

.post-actions {
    display: flex;
    padding: 12px 24px;
    gap: 8px;
}

.action {
    flex: 1;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.action:hover {
    background: rgba(0,0,0,0.03);
}

.action.liked {
    color: #ef5350;
    background: rgba(239, 83, 80, 0.1);
}

.action i {
    font-size: 18px;
    width: 20px;
}

.post-preview {
    padding: 0 24px 24px;
    font-size: 14px;
    color: #1d1d1f;
}

.preview-user {
    font-weight: 700;
    color: #1d1d1f;
}

@media (max-width: 600px) {
    .feed-container {
        padding: 0 12px;
    }
    
    .post {
        margin-bottom: 20px;
        border-radius: 16px;
    }
    
    .post-header, .post-text, .post-actions {
        padding-left: 20px;
        padding-right: 20px;
    }
}